aboutsummaryrefslogtreecommitdiff
path: root/gcc/config.gcc
diff options
context:
space:
mode:
authorSteven Bosscher <steven@gcc.gnu.org>2010-05-18 08:12:56 +0000
committerIain Sandoe <iains@gcc.gnu.org>2010-05-18 08:12:56 +0000
commit02540df4e6b7c030012c1c5d1383dc03a41f6f8e (patch)
tree39b77ee32c3ee392fdb9b93500e805b045d06bf2 /gcc/config.gcc
parent451078b5e0ebc5a97db4fa973088ec58ff11ece6 (diff)
downloadgcc-02540df4e6b7c030012c1c5d1383dc03a41f6f8e.zip
gcc-02540df4e6b7c030012c1c5d1383dc03a41f6f8e.tar.gz
gcc-02540df4e6b7c030012c1c5d1383dc03a41f6f8e.tar.bz2
add lto to powerpc-*darwin and enable for 32bit darwin
Steven Bosscher <steven@gcc.gnu.org> ChangeLog: * configure.ac (--enable-lto): All *-apple-darwin* now support LTO. * configure: Regenerate. gcc/ChangeLog: * config.gcc (powerpc-*-darwin*, powerpc64-*-darwin*): Add lto-macho as lto_binary_reader. * darwin.c (darwin_asm_named_section): Do not add assembler comment after .section directive; just print it before the directive instead. M gcc/config.gcc M gcc/config/darwin.c M ChangeLog M gcc/ChangeLog From-SVN: r159527
Diffstat (limited to 'gcc/config.gcc')
-rw-r--r--gcc/config.gcc2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/config.gcc b/gcc/config.gcc
index da56fbe..2c4d121 100644
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -1891,12 +1891,14 @@ powerpc-*-darwin*)
*-darwin[0-6]*)
;;
esac
+ lto_binary_reader=lto-macho
extra_headers=altivec.h
;;
powerpc64-*-darwin*)
tm_file="${tm_file} ${cpu_type}/darwin8.h ${cpu_type}/darwin64.h"
extra_options="${extra_options} ${cpu_type}/darwin.opt"
# We're omitting t-darwin8 to avoid building any multilibs
+ lto_binary_reader=lto-macho
extra_headers=altivec.h
;;
powerpc*-*-freebsd*)