1.1 --- a/gcc/gcc.patch Sun Mar 18 18:45:29 2012 +0100 1.2 +++ b/gcc/gcc.patch Thu Mar 22 20:51:00 2012 +0100 1.3 @@ -64,7 +64,7 @@ 1.4 diff -Nau gcc/config/sol2.h.orig gcc/config/sol2.h 1.5 --- gcc/config/sol2.h.orig 2011-01-26 21:23:17.000000000 +0100 1.6 +++ gcc/config/sol2.h 2011-03-27 18:06:45.477952967 +0200 1.7 -@@ -183,8 +183,8 @@ 1.8 +@@ -181,8 +181,8 @@ 1.9 "%{h*} %{v:-V} \ 1.10 %{!shared:%{!static:%{rdynamic: " RDYNAMIC_SPEC "}}} \ 1.11 %{static:-dn -Bstatic} \ 1.12 @@ -72,9 +72,9 @@ 1.13 - %{symbolic:-Bsymbolic -G -dy -z text} \ 1.14 + %{shared:-G -dy} \ 1.15 + %{symbolic:-Bsymbolic -G -dy} \ 1.16 + %{pthreads|pthread|threads:" LIB_THREAD_LDFLAGS_SPEC "} \ 1.17 %(link_arch) \ 1.18 %{Qy:} %{!Qn:-Qy}" 1.19 - 1.20 Index: gcc/system.h 1.21 diff -Nau gcc/system.h.orig gcc/system.h 1.22 --- gcc/system.h.orig 2011-01-09 13:41:33.000000000 +0100