This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] S/390: Define LOCAL_LABEL_PREFIX
Andreas Kranz <andikr@gmx.net> writes:
>> My point is that this is not a s390 thing, but an ELF thing. It should
>> be a generic ELF setting, consistent with BFD.
>
> Ok. How about bfd/elf-bfd.h?
I don't think that's the right place to define it, it should rather be
in gas/obj-elf.h.
Andreas.
--- gas/obj-elf.h 04 Jul 2007 11:53:27 +0200 1.33
+++ gas/obj-elf.h 15 Jan 2009 11:26:33 +0100
@@ -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))
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."