gcc: fix visibility of symbols libgcc.a
[openwrt/openwrt.git] / toolchain / gcc / patches / 4.8-linaro / 850-use_shared_libgcc.patch
index ee3f602731f402992aae133eb121d1b89c5ae6cd..6fa19241f50d582a6881b938e9337ae45b47aa07 100644 (file)
 -    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 @@