aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/arm/thumb.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/arm/thumb.c')
-rw-r--r--gcc/config/arm/thumb.c14
1 files changed, 11 insertions, 3 deletions
diff --git a/gcc/config/arm/thumb.c b/gcc/config/arm/thumb.c
index c7cc7a28e45..43082bb2d72 100644
--- a/gcc/config/arm/thumb.c
+++ b/gcc/config/arm/thumb.c
@@ -1465,7 +1465,8 @@ thumb_unexpanded_epilogue ()
if ((live_regs_mask & (1 << PROGRAM_COUNTER)) == 0)
thumb_exit (asm_out_file,
(had_to_push_lr
- && is_called_in_ARM_mode (current_function_decl)) ? -1 : LINK_REGISTER);
+ && is_called_in_ARM_mode (current_function_decl)) ?
+ -1 : LINK_REGISTER);
}
else
{
@@ -1731,7 +1732,7 @@ thumb_print_operand (f, x, code)
return;
case '_':
- fputs (USER_LABEL_PREFIX, f);
+ fputs (user_label_prefix, f);
return;
case 'D':
@@ -1971,7 +1972,8 @@ thumb_return_in_memory (type)
return 1;
}
-void thumb_override_options()
+void
+thumb_override_options ()
{
if (structure_size_string != NULL)
{
@@ -1982,4 +1984,10 @@ void thumb_override_options()
else
warning ("Structure size boundary can only be set to 8 or 32");
}
+
+ if (flag_pic)
+ {
+ warning ("Position independent code not supported. Ignored");
+ flag_pic = 0;
+ }
}