This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] S/390: Define LOCAL_LABEL_PREFIX
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?
Tested on s390x and x86_64.
-Andreas-
Index: src/bfd/elf-bfd.h
===================================================================
--- src.orig/bfd/elf-bfd.h
+++ src/bfd/elf-bfd.h
@@ -2274,4 +2274,6 @@ extern bfd_boolean _sh_elf_set_mach_from
#define SYMBOLIC_BIND(INFO, H) \
((INFO)->symbolic || ((INFO)->dynamic && !(H)->dynamic))
+#define LOCAL_LABEL_PREFIX '.'
+
#endif /* _LIBELF_H_ */