PATCH: PR gas/9915: LOCAL_LABELS_DOLLAR doesn't work on Freebsd/x86

H.J. Lu hjl.tools@gmail.com
Sun Mar 1 21:50:00 GMT 2009


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[];



More information about the Binutils mailing list