aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorStan Shebs <shebs@apple.com>2002-09-13 04:00:56 +0000
committerStan Shebs <shebs@gcc.gnu.org>2002-09-13 04:00:56 +0000
commit6ab9a3f4a825a8b60b3230bc39c7995b2409d2e2 (patch)
tree1a3bcc888c552deaa75a88d5e06879c43b57aa38 /gcc
parent7606e68f7bb875c16efb0831ecfd7526a962b77e (diff)
downloadgcc-6ab9a3f4a825a8b60b3230bc39c7995b2409d2e2.zip
gcc-6ab9a3f4a825a8b60b3230bc39c7995b2409d2e2.tar.gz
gcc-6ab9a3f4a825a8b60b3230bc39c7995b2409d2e2.tar.bz2
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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog3
-rw-r--r--gcc/config/darwin.h4
-rw-r--r--gcc/config/i386/darwin.h5
3 files changed, 7 insertions, 5 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index a5bdc1d..814fa40 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/config/darwin.h b/gcc/config/darwin.h
index 0c327b9..62cfa4b 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 b37d4e8..55c29fd 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"