buildrootschalter/package/gcc
Baruch Siach dd1c4f65b1 gcc: xtensa: fix __builtin_frame_address use with shared libgcc
The xtensa port uses __xtensa_libgcc_window_spill in libgcc to implement
__builtin_frame_address. This symbol is local/hidden in libgcc. This is not a
problem when linking against static libgcc. But g++ defaults to
-shared-libgcc, thus breaking link against C++ shared libraries that are using
__builtin_frame_address as follows:

ld: test: hidden symbol `__xtensa_libgcc_window_spill' in .../libgcc.a(lib2funcs.o) is referenced by DSO

Add upstream patches that make libgcc_s.so a linker script that links in
unresolved symbols from the static libgcc, similar to the ARM and PowerPC
ports.

Fixes:
http://autobuild.buildroot.net/results/e2d/e2d1a763fa86b8575e2e48e6d73c018175f43e7c/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-02-11 19:33:19 +01:00
..
4.2.2-avr32-2.1.5 gcc: fix libstdc++_pic for AVR32 2013-08-22 23:06:52 +02:00
4.3.6 gcc-initial, gcc-intermediate, gcc-final: optimize extraction 2013-07-03 23:37:23 +02:00
4.4.7 gcc-initial, gcc-intermediate, gcc-final: optimize extraction 2013-07-03 23:37:23 +02:00
4.5.4 gcc-initial, gcc-intermediate, gcc-final: optimize extraction 2013-07-03 23:37:23 +02:00
4.6.4 gcc-initial, gcc-intermediate, gcc-final: optimize extraction 2013-07-03 23:37:23 +02:00
4.7.3 gcc: xtensa: fix __builtin_frame_address use with shared libgcc 2014-02-11 19:33:19 +01:00
4.8.2 gcc: xtensa: fix __builtin_frame_address use with shared libgcc 2014-02-11 19:33:19 +01:00
gcc-final Strip *.so* and not only executable files 2014-02-04 18:10:15 +01:00
gcc-initial Revert "toolchain-internal: skip gcc-intermediate when possible" 2013-10-04 08:58:08 +02:00
gcc-intermediate Rename BUILDROOT_LIBC to BR_LIBC 2014-02-04 15:06:46 +01:00
Config.in.host arch: add support for "jaguar" AMD CPU optimisations 2014-01-15 23:19:46 +01:00
gcc.mk gcc: add microblaze internal toolchain 2013-12-06 22:45:42 +01:00