From 3c138513fb44386c87bd5276725d5459f9243833 Mon Sep 17 00:00:00 2001 From: Andrew Hsieh Date: Tue, 26 Mar 2013 10:23:58 -0700 Subject: MIPS GCC 4.4.3 use .cfi_* directives by default Since we are building GCC 4.4.3 with binutils-2.21 whose ld has support for read-only .eh_frames Without this, "ld.mcld --eh-frame-hdr" very often Change-Id: Ie77b5e8eba02edc4fa44de060cb37fc1d569f027 --- gcc-4.4.3/gcc/config/mips/mips.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc-4.4.3') diff --git a/gcc-4.4.3/gcc/config/mips/mips.c b/gcc-4.4.3/gcc/config/mips/mips.c index 23dea588e..00e6b07c0 100644 --- a/gcc-4.4.3/gcc/config/mips/mips.c +++ b/gcc-4.4.3/gcc/config/mips/mips.c @@ -14073,7 +14073,7 @@ mips_override_options (void) GNU ld 2.21 and GCC 4.5 have support for read-only .eh_frames, but for the time being, we should stick to the approach used in 4.3 and earlier. */ - flag_dwarf2_cfi_asm = 0; + flag_dwarf2_cfi_asm = 1; mips_init_print_operand_punct (); -- cgit v1.2.3