arm.c (arm_override_options): Turn off flag_dwarf2_cfi_asm for AAPCS variants.

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

	* config/arm/arm.c (arm_override_options): Turn off
	flag_dwarf2_cfi_asm for AAPCS variants.

From-SVN: r152369
This commit is contained in:
Ramana Radhakrishnan 2009-10-01 12:18:34 +00:00 committed by Ramana Radhakrishnan
parent 6096017ee3
commit 3a303360aa
2 changed files with 12 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2009-10-01 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
* config/arm/arm.c (arm_override_options): Turn off
flag_dwarf2_cfi_asm for AAPCS variants.
2009-10-01 Martin Jambor <mjambor@suse.cz>
PR middle-end/12392

View file

@ -1298,6 +1298,13 @@ 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--;)
{