SHA256
1
0
forked from pool/binutils
binutils/local-label-prefix.diff

14 lines
319 B
Diff

--- gas/config/obj-elf.h
+++ 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))