* config/tc-xtensa.h (md_allow_eh_opt): Define.
gas/testsuite/
* gas/elf/elf.exp: Disable ehopt test for Xtensa.
+2007-11-30 Bob Wilson <bob.wilson@acm.org>
+
+ * config/tc-xtensa.h (md_allow_eh_opt): Define.
+
2007-11-29 Mark Shinwell <shinwell@codesourcery.com>
* config/tc-mips.c (mips_cpu_info_table): Add loongson2e
#define md_relax_frag(segment, fragP, stretch) \
xtensa_relax_frag (fragP, stretch, &stretched)
+/* Only allow call frame debug info optimization when linker relaxation is
+ not enabled as otherwise we could generate the DWARF directives without
+ the relocs necessary to patch them up. */
+#define md_allow_eh_opt (linkrelax == 0)
#define LOCAL_LABELS_FB 1
#define WORKING_DOT_WORD 1
+2007-11-30 Bob Wilson <bob.wilson@acm.org>
+
+ * gas/elf/elf.exp: Disable ehopt test for Xtensa.
+
2007-11-29 Mark Shinwell <shinwell@codesourcery.com>
* config/tc-mips.c (mips_cpu_info_table): Add loongson2e
}
}
- # The MN10300 port disables the assembler's call frame optimization
- # because it interfers with link time relaxation of function prologues.
- if {![istarget "mn10300-*-*"] && ![istarget "am3*-*-*"]} then {
+ # The MN10300 and Xtensa ports disable the assembler's call frame
+ # optimization because it interfers with link-time relaxation of
+ # function prologues.
+ if {![istarget "mn10300-*-*"]
+ && ![istarget "xtensa*-*-*"]
+ && ![istarget "am3*-*-*"]} then {
run_dump_test "ehopt0"
}
run_dump_test "group0a"