aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-xtensa.h
diff options
context:
space:
mode:
authorBob Wilson <bob.wilson@acm.org>2007-11-30 23:47:55 +0000
committerBob Wilson <bob.wilson@acm.org>2007-11-30 23:47:55 +0000
commitee6365aa9e3219fb4f49fd13448faac0f17a128f (patch)
treebed3a671ac602805f543aaa295756f53463bfaa9 /gas/config/tc-xtensa.h
parent542162ebce58c5fd53bade345cd36d5248f65376 (diff)
downloadgdb-ee6365aa9e3219fb4f49fd13448faac0f17a128f.zip
gdb-ee6365aa9e3219fb4f49fd13448faac0f17a128f.tar.gz
gdb-ee6365aa9e3219fb4f49fd13448faac0f17a128f.tar.bz2
gas/
* config/tc-xtensa.h (md_allow_eh_opt): Define. gas/testsuite/ * gas/elf/elf.exp: Disable ehopt test for Xtensa.
Diffstat (limited to 'gas/config/tc-xtensa.h')
-rw-r--r--gas/config/tc-xtensa.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gas/config/tc-xtensa.h b/gas/config/tc-xtensa.h
index d3ae024..c9ae94d 100644
--- a/gas/config/tc-xtensa.h
+++ b/gas/config/tc-xtensa.h
@@ -374,6 +374,10 @@ extern char *xtensa_section_rename (char *);
#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