From 2c60412f00cbf5d2877e7041fd7c672ebe21fb6e Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Mon, 24 Feb 2014 21:09:37 +0000 Subject: gcc: fix visibility of symbols libgcc.a Symbols need to be hidden, even for the static variant Signed-off-by: Felix Fietkau git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39749 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- toolchain/gcc/patches/4.8-linaro/850-use_shared_libgcc.patch | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'toolchain/gcc/patches/4.8-linaro') diff --git a/toolchain/gcc/patches/4.8-linaro/850-use_shared_libgcc.patch b/toolchain/gcc/patches/4.8-linaro/850-use_shared_libgcc.patch index ee3f602731..6fa19241f5 100644 --- a/toolchain/gcc/patches/4.8-linaro/850-use_shared_libgcc.patch +++ b/toolchain/gcc/patches/4.8-linaro/850-use_shared_libgcc.patch @@ -33,17 +33,6 @@ - printf ("\n local:\n\t*;\n};\n"); + printf ("\n\t*;\n};\n"); } ---- a/libgcc/Makefile.in -+++ b/libgcc/Makefile.in -@@ -368,7 +368,7 @@ endif - # For -fvisibility=hidden. We need both a -fvisibility=hidden on - # the command line, and a #define to prevent libgcc2.h etc from - # overriding that with #pragmas. --vis_hide = @vis_hide@ -+vis_hide = - - ifneq (,$(vis_hide)) - --- a/gcc/config/rs6000/linux.h +++ b/gcc/config/rs6000/linux.h @@ -61,6 +61,9 @@ -- cgit v1.2.3