summaryrefslogtreecommitdiff
path: root/gcc/config/arm/aout.h
diff options
context:
space:
mode:
authordje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>1996-04-12 18:47:39 +0000
committerdje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>1996-04-12 18:47:39 +0000
commit3e4bbaf4f583af0346337a3882c5511b15ca52af (patch)
tree681c594921f00242bd2010136e37ab4a292c4a11 /gcc/config/arm/aout.h
parent760b70b89de177a8262c20c2a040970566ef93e4 (diff)
downloadgcc-3e4bbaf4f583af0346337a3882c5511b15ca52af.tar.gz
* arm/aout.h (ASM_GENERATE_INTERNAL_LABEL): Use LOCAL_LABEL_PREFIX.
(ASM_OUTPUT_ADDR_{VEC,DIFF_ELT}): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11706 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/arm/aout.h')
-rw-r--r--gcc/config/arm/aout.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/config/arm/aout.h b/gcc/config/arm/aout.h
index 7a4f29fffb6..9e7d5985eec 100644
--- a/gcc/config/arm/aout.h
+++ b/gcc/config/arm/aout.h
@@ -1,5 +1,5 @@
/* Definitions of target machine for GNU compiler, for ARM with a.out
- Copyright (C) 1995 Free Software Foundation, Inc.
+ Copyright (C) 1995, 1996 Free Software Foundation, Inc.
Contributed by Richard Earnshaw (rearnsha@armltd.co.uk)
This file is part of GNU CC.
@@ -134,7 +134,7 @@ do { \
/* Make an internal label into a string. */
#define ASM_GENERATE_INTERNAL_LABEL(STRING, PREFIX, NUM) \
- sprintf (STRING, "*%s%d", PREFIX, NUM)
+ sprintf (STRING, "*%s%s%d", LOCAL_LABEL_PREFIX, PREFIX, NUM)
/* Nothing special is done about jump tables */
/* #define ASM_OUTPUT_CASE_LABEL(STREAM,PREFIX,NUM,TABLE) */
@@ -147,10 +147,10 @@ do { \
/* Output an element of a dispatch table. */
#define ASM_OUTPUT_ADDR_VEC_ELT(STREAM,VALUE) \
- fprintf (STREAM, "\t.word\tL%d\n", VALUE)
+ fprintf (STREAM, "\t.word\t%sL%d\n", LOCAL_LABEL_PREFIX, VALUE)
#define ASM_OUTPUT_ADDR_DIFF_ELT(STREAM,VALUE,REL) \
- fprintf (STREAM, "\tb\tL%d\n", (VALUE))
+ fprintf (STREAM, "\tb\t%sL%d\n", LOCAL_LABEL_PREFIX, (VALUE))
/* Output various types of constants. For real numbers we output hex, with
a comment containing the "human" value, this allows us to pass NaN's which