[PATCH] S/390: Define LOCAL_LABEL_PREFIX

Andreas Kranz andikr@gmx.net
Thu Jan 15 10:02:00 GMT 2009


> 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_ */



More information about the Binutils mailing list