kumquat-buildroot/package/gcc/4.8.2
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
..
100-uclibc-conf.patch
301-missing-execinfo_h.patch
302-c99-snprintf.patch
305-libmudflap-susv3-legacy.patch
810-arm-softfloat-libgcc.patch
830-arm_unbreak_armv4t.patch
840-PR57717.patch
841-PR57717-E500v2.patch
842-gcc-4.8.2-Fix-PR-target-58854.patch gcc 4.8.2: arm fixes for stack corruption 2014-01-27 09:17:36 +01:00
850-xtensa-libgcc-linker-script.patch gcc: xtensa: fix __builtin_frame_address use with shared libgcc 2014-02-11 19:33:19 +01:00
powerpc-link-with-math-lib.patch.conditional