darwin.h (USER_LABEL_PREFIX): Define here...
authorStan Shebs <shebs@apple.com>
Fri, 13 Sep 2002 04:00:56 +0000 (04:00 +0000)
committerStan Shebs <shebs@gcc.gnu.org>
Fri, 13 Sep 2002 04:00:56 +0000 (04:00 +0000)
        * config/darwin.h (USER_LABEL_PREFIX): Define here...
        * config/i386/darwin.h: ... instead of here.

From-SVN: r57090

gcc/ChangeLog
gcc/config/darwin.h
gcc/config/i386/darwin.h

index a5bdc1d005962ff16a226d9931ff729f770de5a6..814fa4040e8e3225e0ab1ddc9f3f0b5a36470a7e 100644 (file)
@@ -1,5 +1,8 @@
 2002-09-12  Stan Shebs  <shebs@apple.com>
 
+       * config/darwin.h (USER_LABEL_PREFIX): Define here...
+       * config/i386/darwin.h: ... instead of here.
+
        * target.h (struct gcc_target): New field
        terminate_dw2_eh_frame_info.
        * target-def.h (TARGET_TERMINATE_DW2_EH_FRAME_INFO): Define.
index 0c327b93b3071152063af1b528c2e6aa0ce8a20c..62cfa4be7f45bedc27e8c2d234d171d87392239f 100644 (file)
@@ -141,6 +141,10 @@ do { text_section ();                                                      \
 #define TARGET_ASM_CONSTRUCTOR  machopic_asm_out_constructor
 #define TARGET_ASM_DESTRUCTOR   machopic_asm_out_destructor
 
+/* Always prefix with an underscore.  */
+
+#define USER_LABEL_PREFIX "_"
+
 /* Don't output a .file directive.  That is only used by the assembler for
    error reporting.  */
 
index b37d4e890943dc1c94de12416004845ff54d5229..55c29fd945f0e1c15a4f3709fadd0b0abbc65362 100644 (file)
@@ -72,11 +72,6 @@ Boston, MA 02111-1307, USA.  */
 
 #define LPREFIX "L"
 
-/* This definition is unlikely to be used, but provide it just in
-   case.  */
-
-#define USER_LABEL_PREFIX "_"
-
 /* Assembler pseudos to introduce constants of various size.  */
 
 #define ASM_BYTE_OP "\t.byte\t"