This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
PATCH: PR gas/9915: LOCAL_LABELS_DOLLAR doesn't work on Freebsd/x86
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: binutils at sources dot redhat dot com
- Cc: gcc at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
- Date: Sun, 1 Mar 2009 13:50:28 -0800
- Subject: PATCH: PR gas/9915: LOCAL_LABELS_DOLLAR doesn't work on Freebsd/x86
Since LOCAL_LABELS_DOLLAR doesn't work on any x86 targets where
'$' is used as immediate prefix, I am planning to check in this
patch. If I don't get any objections within 2 weeks, I will check
it in.
Thanks.
H.J.
---
2009-03-01 H.J. Lu <hongjiu.lu@intel.com>
PR gas/9915
* config/tc-i386.h (LOCAL_LABELS_DOLLAR): New. Defined as 0.
(LOCAL_LABELS_FB): Undefine befoe define.
--- gas/config/tc-i386.h.foo 2009-01-15 06:37:31.000000000 -0800
+++ gas/config/tc-i386.h 2009-03-01 13:45:12.000000000 -0800
@@ -90,6 +90,10 @@ extern void i386_elf_emit_arch_note (voi
#define SUB_SEGMENT_ALIGN(SEG, FRCHAIN) 0
+/* '$' may be used as immediate prefix. */
+#undef LOCAL_LABELS_DOLLAR
+#define LOCAL_LABELS_DOLLAR 0
+#undef LOCAL_LABELS_FB
#define LOCAL_LABELS_FB 1
extern const char extra_symbol_chars[];