diff options
author | David Edelsohn <dje@gcc.gnu.org> | 2008-10-15 08:23:55 -0400 |
---|---|---|
committer | David Edelsohn <dje@gcc.gnu.org> | 2008-10-15 08:23:55 -0400 |
commit | ee06c6a59e447dd8eef90cd4caac05402cf32df4 (patch) | |
tree | 1b2c780421da8cfa5c7c460e21fa7cc634af1f3b /gcc/config/rs6000/aix53.h | |
parent | 307233c206c8853cb277f7e62b14c99fb695b6be (diff) | |
download | gcc-ee06c6a59e447dd8eef90cd4caac05402cf32df4.zip gcc-ee06c6a59e447dd8eef90cd4caac05402cf32df4.tar.gz gcc-ee06c6a59e447dd8eef90cd4caac05402cf32df4.tar.bz2 |
re PR c++/35483 (GCC on AIX doesn't support dollar in symbols name.)
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.
From-SVN: r141134
Diffstat (limited to 'gcc/config/rs6000/aix53.h')
-rw-r--r-- | gcc/config/rs6000/aix53.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/config/rs6000/aix53.h b/gcc/config/rs6000/aix53.h index f599508..09cd2bf 100644 --- a/gcc/config/rs6000/aix53.h +++ b/gcc/config/rs6000/aix53.h @@ -192,3 +192,8 @@ extern long long int atoll(const char *); /* This target uses the aix64.opt file. */ #define TARGET_USES_AIX64_OPT 1 + +/* This target defines SUPPORTS_WEAK and TARGET_ASM_NAMED_SECTION, + but does not have crtbegin/end. */ + +#define TARGET_USE_JCR_SECTION 0 |