aboutsummaryrefslogtreecommitdiff
path: root/gas/config
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@linux-m68k.org>2009-01-23 14:45:48 +0000
committerAndreas Schwab <schwab@linux-m68k.org>2009-01-23 14:45:48 +0000
commit199114c25d5f48c6f616a7b071c17553eafab61b (patch)
tree1af087ed03f0888c8ccda4d3418a41adaa77effb /gas/config
parent28caa1861d3c213026143c94ec6e82d7ec90c09c (diff)
downloadgdb-199114c25d5f48c6f616a7b071c17553eafab61b.zip
gdb-199114c25d5f48c6f616a7b071c17553eafab61b.tar.gz
gdb-199114c25d5f48c6f616a7b071c17553eafab61b.tar.bz2
* config/obj-elf.h (LOCAL_LABEL_PREFIX): Conditionally define.
* config/tc-s390.h (LOCAL_LABEL_PREFIX): Don't define. testsuite/: * gas/mips/mips16-e.d: Adjust for change in LOCAL_LABEL_PREFIX. * gas/mips/mipsel16-e.d: Likewise. * gas/mips/tmips16-e.d: Likewise. * gas/mips/tmipsel16-e.d: Likewise.
Diffstat (limited to 'gas/config')
-rw-r--r--gas/config/obj-elf.h4
-rw-r--r--gas/config/tc-s390.h2
2 files changed, 4 insertions, 2 deletions
diff --git a/gas/config/obj-elf.h b/gas/config/obj-elf.h
index 95db355..e9a28c1 100644
--- a/gas/config/obj-elf.h
+++ b/gas/config/obj-elf.h
@@ -98,6 +98,10 @@ struct elf_obj_sy
#endif
extern void elf_begin (void);
+#ifndef LOCAL_LABEL_PREFIX
+#define LOCAL_LABEL_PREFIX '.'
+#endif
+
/* should be conditional on address size! */
#define elf_symbol(asymbol) ((elf_symbol_type *) (&(asymbol)->the_bfd))
diff --git a/gas/config/tc-s390.h b/gas/config/tc-s390.h
index 7ac135c..1636400 100644
--- a/gas/config/tc-s390.h
+++ b/gas/config/tc-s390.h
@@ -51,8 +51,6 @@ extern const char *s390_target_format (void);
/* Whether or not the target is big endian */
extern int target_big_endian;
-#define LOCAL_LABEL_PREFIX '.'
-
/* Permit temporary numeric labels. */
#define LOCAL_LABELS_FB 1