From 199114c25d5f48c6f616a7b071c17553eafab61b Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Fri, 23 Jan 2009 14:45:48 +0000 Subject: * 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. --- gas/config/obj-elf.h | 4 ++++ gas/config/tc-s390.h | 2 -- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'gas/config') 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 -- cgit v1.1