aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/darwin9.h
diff options
context:
space:
mode:
authorIain Sandoe <iains@gcc.gnu.org>2010-07-19 09:11:12 +0000
committerIain Sandoe <iains@gcc.gnu.org>2010-07-19 09:11:12 +0000
commit9005471b8382cc019ccd189b51ef7422027735f7 (patch)
treed05b69bd4499cd79c964ff9f989bf6e6b5f94c44 /gcc/config/darwin9.h
parent39354b3b991ec0b77d9137c64eea9551ff0ec6f7 (diff)
downloadgcc-9005471b8382cc019ccd189b51ef7422027735f7.zip
gcc-9005471b8382cc019ccd189b51ef7422027735f7.tar.gz
gcc-9005471b8382cc019ccd189b51ef7422027735f7.tar.bz2
allow darwin branch island control depening on system version
* config/i386/darwin.h: Define darwin_emit_branch_islands. (TARGET_MACHO_BRANCH_ISLANDS): New. (FUNCTION_PROFILER): Use TARGET_MACHO_BRANCH_ISLANDS. * config/i386/i386.h (TARGET_MACHO_BRANCH_ISLANDS): Define a default value. * config/i386/i386.c (output_pic_addr_const): Do not emit branch islands unless TARGET_MACHO_BRANCH_ISLANDS is set. (x86_output_mi_thunk): Adjust symbol creation. * config/rs6000/darwin.h: Define darwin_emit_branch_islands. Remove out of date comment. * config/rs6000/rs6000.c (print_operand): Adjust symbol. DARWIN_LINKER_GENERATES_ISLANDS: Remove. DARWIN_GENERATE_ISLANDS: Ditto. (output_call): Do not emit branch islands unless darwin_emit_branch_islands is set. * config/darwin.c: Declare darwin_emit_branch_islands. (machopic_indirect_data_reference): Do not emit unless darwin_emit_branch_islands is set. (darwin_override_options): Set darwin_emit_branch_islands where it is needed. * config/darwin9.h DARWIN_LINKER_GENERATES_ISLANDS: Remove. From-SVN: r162299
Diffstat (limited to 'gcc/config/darwin9.h')
-rw-r--r--gcc/config/darwin9.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/gcc/config/darwin9.h b/gcc/config/darwin9.h
index 7a07374..f152710 100644
--- a/gcc/config/darwin9.h
+++ b/gcc/config/darwin9.h
@@ -44,9 +44,6 @@ along with GCC; see the file COPYING3. If not see
/* libSystem contains unwind information for signal frames. */
#define DARWIN_LIBSYSTEM_HAS_UNWIND
-/* The linker can generate branch islands. */
-#define DARWIN_LINKER_GENERATES_ISLANDS 1
-
#undef ASM_OUTPUT_ALIGNED_COMMON
#define ASM_OUTPUT_ALIGNED_COMMON(FILE, NAME, SIZE, ALIGN) \
do { \