summaryrefslogtreecommitdiff
path: root/gcc/xcoffout.h
diff options
context:
space:
mode:
authordje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>2008-10-15 12:23:55 +0000
committerdje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>2008-10-15 12:23:55 +0000
commit0d87fcd2cd4825bd45150e83f9b34708946186f0 (patch)
tree1b2c780421da8cfa5c7c460e21fa7cc634af1f3b /gcc/xcoffout.h
parent958a71b8ff55307f590584359eea6da2bb1806db (diff)
downloadgcc-0d87fcd2cd4825bd45150e83f9b34708946186f0.tar.gz
PR target/35483
Based on patches by Laurent Vivier. * xcoffout.h (DBX_FINISH_STABS): Translate dollar sign to underscore. * config/rs6000/rs6000-protos.h (rs6000_xcoff_strip_dollar): Declare. * config/rs6000/xcoff.h (ASM_DECLARE_FUNCTION_NAME): Translate dollar sign to underscore. (ASM_OUTPUT_EXTERNAL): Same. (ASM_OUTPUT_LABELREF): New. * config/rs6000/rs6000.c (rs6000_xcoff_strip_dollar): New. * config/rs6000/aix51.h (TARGET_USE_JCR_SECTION): Define. * config/rs6000/aix52.h (TARGET_USE_JCR_SECTION): Define. * config/rs6000/aix53.h (TARGET_USE_JCR_SECTION): Define. * config/rs6000/aix61.h (TARGET_USE_JCR_SECTION): Define. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@141134 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/xcoffout.h')
-rw-r--r--gcc/xcoffout.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/xcoffout.h b/gcc/xcoffout.h
index be6d2a2e1d2..2143192c38f 100644
--- a/gcc/xcoffout.h
+++ b/gcc/xcoffout.h
@@ -84,7 +84,7 @@ along with GCC; see the file COPYING3. If not see
fputs (_p+1, asm_out_file); \
else \
for (; *_p != '[' && *_p; _p++) \
- putc (*_p, asm_out_file); \
+ putc (*_p != '$' ? *_p : '_', asm_out_file); \
} \
else \
output_addr_const (asm_out_file, ADDR); \