aboutsummaryrefslogtreecommitdiff
path: root/gas/config/obj-elf.h
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/obj-elf.h
parent28caa1861d3c213026143c94ec6e82d7ec90c09c (diff)
downloadbinutils-199114c25d5f48c6f616a7b071c17553eafab61b.zip
binutils-199114c25d5f48c6f616a7b071c17553eafab61b.tar.gz
binutils-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/obj-elf.h')
-rw-r--r--gas/config/obj-elf.h4
1 files changed, 4 insertions, 0 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))