From 0d87fcd2cd4825bd45150e83f9b34708946186f0 Mon Sep 17 00:00:00 2001 From: dje Date: Wed, 15 Oct 2008 12:23:55 +0000 Subject: 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 --- gcc/config/rs6000/aix51.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'gcc/config/rs6000/aix51.h') diff --git a/gcc/config/rs6000/aix51.h b/gcc/config/rs6000/aix51.h index 4a5a9ecfe10..981b94a6058 100644 --- a/gcc/config/rs6000/aix51.h +++ b/gcc/config/rs6000/aix51.h @@ -185,3 +185,8 @@ do { \ /* 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 -- cgit v1.2.1