diff options
author | rms <rms@138bc75d-0d04-0410-961f-82ee72b054a4> | 1993-01-05 04:46:25 +0000 |
---|---|---|
committer | rms <rms@138bc75d-0d04-0410-961f-82ee72b054a4> | 1993-01-05 04:46:25 +0000 |
commit | bc00ccc6757936073e3c6c2b36dd46a4c9ec45b3 (patch) | |
tree | f02c7d1bedb1804c4a3e1f51d06ede1f09fd3738 /gcc/config/i386/bsd.h | |
parent | 5cb2846cc393dcad2d16c244788b40b374de862a (diff) | |
download | gcc-bc00ccc6757936073e3c6c2b36dd46a4c9ec45b3.tar.gz |
(ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_INTERNAL_LABEL):
Alternate definitions if NO_UNDERSCORES.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@3092 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/i386/bsd.h')
-rw-r--r-- | gcc/config/i386/bsd.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/gcc/config/i386/bsd.h b/gcc/config/i386/bsd.h index 8d233140169..164290c5a5b 100644 --- a/gcc/config/i386/bsd.h +++ b/gcc/config/i386/bsd.h @@ -85,21 +85,31 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ to a multiple of 2**LOG bytes. */ #define ASM_OUTPUT_ALIGN(FILE,LOG) \ - if ((LOG)!=0) fprintf ((FILE), "\t.align %d\n", (LOG)) + if ((LOG)!=0) fprintf ((FILE), "\t.align %d\n", (LOG)) /* This is how to store into the string BUF the symbol_ref name of an internal numbered label where PREFIX is the class of label and NUM is the number within the class. This is suitable for output with `assemble_name'. */ +#ifdef NO_UNDERSCORES +#define ASM_GENERATE_INTERNAL_LABEL(BUF,PREFIX,NUMBER) \ + sprintf ((BUF), "*.%s%d", (PREFIX), (NUMBER)) +#else #define ASM_GENERATE_INTERNAL_LABEL(BUF,PREFIX,NUMBER) \ sprintf ((BUF), "*%s%d", (PREFIX), (NUMBER)) +#endif /* This is how to output an internal numbered label where PREFIX is the class of label and NUM is the number within the class. */ +#ifdef NO_UNDERSCORES +#define ASM_OUTPUT_INTERNAL_LABEL(FILE,PREFIX,NUM) \ + fprintf (FILE, ".%s%d:\n", PREFIX, NUM) +#else #define ASM_OUTPUT_INTERNAL_LABEL(FILE,PREFIX,NUM) \ fprintf (FILE, "%s%d:\n", PREFIX, NUM) +#endif /* This is how to output a reference to a user-level label named NAME. */ |