backport: arm.c (arm_override_options): Really initialize flag_dwarf2_cfi_asm to 0.

2009-10-05  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>

	Backport from mainline.
        * config/arm/arm.c (arm_override_options): Really initialize
        flag_dwarf2_cfi_asm to 0.

From-SVN: r152447
This commit is contained in:
Ramana Radhakrishnan 2009-10-05 09:41:43 +00:00 committed by Ramana Radhakrishnan
parent 0c05b956ef
commit 60db1da645
2 changed files with 13 additions and 7 deletions

View File

@ -1,3 +1,9 @@
2009-10-05 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
Backport from mainline.
* config/arm/arm.c (arm_override_options): Really initialize
flag_dwarf2_cfi_asm to 0.
2009-10-02 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
Backport from mainline.

View File

@ -1138,13 +1138,6 @@ arm_override_options (void)
enum processor_type target_arch_cpu = arm_none;
enum processor_type selected_cpu = arm_none;
/* Ideally we would want to use CFI directives to generate
debug info. However this also creates the .eh_frame
section, so disable them until GAS can handle
this properly. See PR40521. */
if (TARGET_AAPCS_BASED)
flag_dwarf2_cfi_asm = 0;
/* Set up the flags based on the cpu/architecture selected by the user. */
for (i = ARRAY_SIZE (arm_select); i--;)
{
@ -1658,6 +1651,13 @@ arm_override_options (void)
max_insns_skipped = 3;
}
/* Ideally we would want to use CFI directives to generate
debug info. However this also creates the .eh_frame
section, so disable them until GAS can handle
this properly. See PR40521. */
if (TARGET_AAPCS_BASED)
flag_dwarf2_cfi_asm = 0;
/* Register global variables with the garbage collector. */
arm_add_gc_roots ();
}