From: Stan Shebs Date: Fri, 13 Sep 2002 04:00:56 +0000 (+0000) Subject: darwin.h (USER_LABEL_PREFIX): Define here... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6ab9a3f4a825a8b60b3230bc39c7995b2409d2e2;p=gcc.git darwin.h (USER_LABEL_PREFIX): Define here... * config/darwin.h (USER_LABEL_PREFIX): Define here... * config/i386/darwin.h: ... instead of here. From-SVN: r57090 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a5bdc1d0059..814fa4040e8 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,8 @@ 2002-09-12 Stan Shebs + * 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. diff --git a/gcc/config/darwin.h b/gcc/config/darwin.h index 0c327b93b30..62cfa4be7f4 100644 --- a/gcc/config/darwin.h +++ b/gcc/config/darwin.h @@ -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. */ diff --git a/gcc/config/i386/darwin.h b/gcc/config/i386/darwin.h index b37d4e89094..55c29fd945f 100644 --- a/gcc/config/i386/darwin.h +++ b/gcc/config/i386/darwin.h @@ -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"