diff options
author | ro <ro@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-03-06 12:24:11 +0000 |
---|---|---|
committer | ro <ro@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-03-06 12:24:11 +0000 |
commit | ec5f5503d57404e3c4c264cf56d9e87861da3ec1 (patch) | |
tree | 14da2ada2f7518ba6f71d4203b2bc3a82f87ef48 /libgcc | |
parent | 4fa1f8926227d4e79975b674dc4292b9bec4b137 (diff) | |
download | gcc-ec5f5503d57404e3c4c264cf56d9e87861da3ec1.tar.gz |
Don't install vtv_*.o unless --enable-vtable-verify (PR libgcc/59339)
PR libgcc/59339
* config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
(*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
vtv_*.o to extra_parts if enable_vtable_verify.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208381 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgcc')
-rw-r--r-- | libgcc/ChangeLog | 7 | ||||
-rw-r--r-- | libgcc/config.host | 5 |
2 files changed, 11 insertions, 1 deletions
diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog index 0b908d9be78..381a5e27c66 100644 --- a/libgcc/ChangeLog +++ b/libgcc/ChangeLog @@ -1,3 +1,10 @@ +2014-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> + + PR libgcc/59339 + * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu) + (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add + vtv_*.o to extra_parts if enable_vtable_verify. + 2014-03-06 Nick Clifton <nickc@redhat.com> * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S diff --git a/libgcc/config.host b/libgcc/config.host index 185d40bf676..bdc725f32a4 100644 --- a/libgcc/config.host +++ b/libgcc/config.host @@ -228,7 +228,10 @@ case ${host} in ;; *-*-linux* | frv-*-*linux* | *-*-kfreebsd*-gnu | *-*-knetbsd*-gnu | *-*-gnu* | *-*-kopensolaris*-gnu) tmake_file="$tmake_file t-crtstuff-pic t-libgcc-pic t-eh-dw2-dip t-slibgcc t-slibgcc-gld t-slibgcc-elf-ver t-linux" - extra_parts="crtbegin.o crtbeginS.o crtbeginT.o crtend.o crtendS.o vtv_start.o vtv_end.o vtv_start_preinit.o vtv_end_preinit.o" + extra_parts="crtbegin.o crtbeginS.o crtbeginT.o crtend.o crtendS.o" + if test x$enable_vtable_verify = xyes; then + extra_parts="$extra_parts vtv_start.o vtv_end.o vtv_start_preinit.o vtv_end_preinit.o" + fi ;; *-*-lynxos*) tmake_file="$tmake_file t-lynx $cpu_type/t-crtstuff t-crtstuff-pic t-libgcc-pic" |