diff options
author | Richard Henderson <rth@cygnus.com> | 1999-11-15 15:40:14 -0800 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 1999-11-15 15:40:14 -0800 |
commit | 290ad3550bbd3227775b898477a1a8eae353574a (patch) | |
tree | 1622c6e45f8f67b8ec2f6c3fb16fa98fbaf2cc5d /gcc | |
parent | 86765ca02c26068f928bf81010b2f4db0182ed69 (diff) | |
download | gcc-290ad3550bbd3227775b898477a1a8eae353574a.zip gcc-290ad3550bbd3227775b898477a1a8eae353574a.tar.gz gcc-290ad3550bbd3227775b898477a1a8eae353574a.tar.bz2 |
rs6000.h (ASM_OUTPUT_DEF): New.
* rs6000.h (ASM_OUTPUT_DEF): New.
Based on proposed addition from David Edelsohn.
From-SVN: r30539
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/rs6000/rs6000.h | 11 |
2 files changed, 16 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6208a159..688a150 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +Mon Nov 15 15:33:18 1999 Richard Henderson <rth@cygnus.com> + + * rs6000.h (ASM_OUTPUT_DEF): New. + Based on proposed addition from David Edelsohn. + 1999-11-15 Robert Lipe <RobertLipe@usa.net> Bruce Korb <autogen@linuxbox.com> diff --git a/gcc/config/rs6000/rs6000.h b/gcc/config/rs6000/rs6000.h index 97468f3..3250416 100644 --- a/gcc/config/rs6000/rs6000.h +++ b/gcc/config/rs6000/rs6000.h @@ -2819,6 +2819,17 @@ extern int toc_initialized; putc ('\n', FILE); \ } +/* This is how we tell the assembler that two symbols have the same value. */ + +#define ASM_OUTPUT_DEF(FILE,NAME1,NAME2) \ +do { \ + fputs("\t.set ", FILE); \ + assemble_name(FILE, NAME1); \ + fputc(',', FILE); \ + assemble_name(FILE, NAME2); \ + fputc('\n', FILE); \ +} while (0) + /* Output to assembler file text saying following lines may contain character constants, extra white space, comments, etc. */ |