[PATCH, 4.4] ARM PR42503: backport libgcc.so linker script support
Richard Earnshaw
rearnsha@arm.com
Mon Jan 4 11:21:00 GMT 2010
On Tue, 2009-12-29 at 23:55 +0100, Mikael Pettersson wrote:
> 4.5 added support for targets to install libgcc.so as a linker
> script that sources in both the shared and the static libgcc.
> This is needed when shared libraries like libstdc++ use routines
> that the target only provides in the static libgcc. See PR40134.
>
> This patch backports the libgcc.so linker script support and
> enables it for arm*-*-linux-*eabi. This fixes PR42503: a recent
> regression in 4.4 for ARM where a backport of __sync_syncronize()
> support broke libjava because libstdc++ now refers to a routine
> that only exists in the static libgcc.
>
> Regression tested on {i686,powerpc64}-linux and armv5tel-linux-gnueabi.
>
> Ok for 4.4? (I don't have write access.)
>
> gcc/
>
> 2009-12-29 Mikael Pettersson <mikpe@it.uu.se>
>
> PR target/42503
>
> Backport from mainline:
>
> 2009-09-09 Jakub Jelinek <jakub@redhat.com>
>
> * config/t-slibgcc-elf-ver (SHLIB_MAKE_SOLINK, SHLIB_INSTALL_SOLINK):
> New variables.
> (SHLIB_LINK, SHLIB_INSTALL): Use them.
> * config/t-slibgcc-libgcc: New file.
>
> 2009-10-19 Matthias Klose <doko@ubuntu.com>
>
> PR target/40134
> * config.gcc (arm*-*-linux-*eabi): Use config/t-slibgcc-libgcc.
OK
Don't forget that the Copyright year should be amended to 2010.
R.
More information about the Gcc-patches
mailing list