[PATCH] libgcc: use linker script for libgcc_s.so on xtensa

Sterling Augustine augustine.sterling@gmail.com
Tue Jan 21 19:45:00 GMT 2014


On Mon, Jan 20, 2014 at 9:46 PM, Baruch Siach <baruch@tkos.co.il> wrote:
> Hi Sterling,
>
> On Mon, Jan 20, 2014 at 12:06:59PM -0800, Sterling Augustine wrote:
>> On Sun, Jan 19, 2014 at 1:21 AM, Baruch Siach <baruch@tkos.co.il> wrote:
>> > 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:
>>
>> This is OK for mainline.
>
> Thanks. This is needed for the 4.7 and 4.8 branches as well.

Checked in on all three branches.

Cheers.



More information about the Gcc-patches mailing list