aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-xtensa.h
diff options
context:
space:
mode:
authorBob Wilson <bob.wilson@acm.org>2006-08-08 19:09:34 +0000
committerBob Wilson <bob.wilson@acm.org>2006-08-08 19:09:34 +0000
commit1737851b2005af535e44e89a4e7f341eddddd0f0 (patch)
tree1850d29d718572eef76e443b68821f232ff3a36b /gas/config/tc-xtensa.h
parentce928021ab9b37594f8caa625b84783793ee5095 (diff)
downloadgdb-1737851b2005af535e44e89a4e7f341eddddd0f0.zip
gdb-1737851b2005af535e44e89a4e7f341eddddd0f0.tar.gz
gdb-1737851b2005af535e44e89a4e7f341eddddd0f0.tar.bz2
gas/ChangeLog:
* dwarf2dbg.c (DWARF2_USE_FIXED_ADVANCE_PC): New. (out_sleb128): New. (out_fixed_inc_line_addr): New. (process_entries): Use out_fixed_inc_line_addr when DWARF2_USE_FIXED_ADVANCE_PC is set. * config/tc-xtensa.h (DWARF2_USE_FIXED_ADVANCE_PC): Define. gas/testsuite/ChangeLog: * gas/lns/lns-common-1-alt.d: New file. * gas/lns/lns.exp: Use lns-common-1-alt.d for xtensa targets.
Diffstat (limited to 'gas/config/tc-xtensa.h')
-rw-r--r--gas/config/tc-xtensa.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gas/config/tc-xtensa.h b/gas/config/tc-xtensa.h
index 71f1ebb..838a9ad 100644
--- a/gas/config/tc-xtensa.h
+++ b/gas/config/tc-xtensa.h
@@ -371,6 +371,9 @@ extern char *xtensa_section_rename (char *);
#define MD_APPLY_SYM_VALUE(FIX) 0
#define SUB_SEGMENT_ALIGN(SEG, FRCHAIN) 0
+/* Use line number format that is amenable to linker relaxation. */
+#define DWARF2_USE_FIXED_ADVANCE_PC (linkrelax != 0)
+
/* Resource reservation info functions. */