This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[PATCH] S/390: Define LOCAL_LABEL_PREFIX
- From: "Andreas Krebbel" <krebbel at linux dot vnet dot ibm dot com>
- To: binutils at sourceware dot org
- Cc: schwidefsky at de dot ibm dot com
- Date: Wed, 14 Jan 2009 10:35:12 +0100
- Subject: [PATCH] S/390: Define LOCAL_LABEL_PREFIX
Hi,
the attached patch fixes a minor problem with the as-generated labels.
Due to a missing definition of the LOCAL_LABEL_PREFIX the label names
generated for fb labels do not start with a '.'.
Tested on s390 and s390x.
Ok to apply?
Bye,
-Andreas-
2009-01-14 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
* config/tc-s390.h: Define LOCAL_LABEL_PREFIX.
Index: src/gas/config/tc-s390.h
===================================================================
--- src.orig/gas/config/tc-s390.h
+++ src/gas/config/tc-s390.h
@@ -51,6 +51,8 @@ extern const char *s390_target_format (v
/* 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