On 22 July 2015 at 18:13, Szabolcs Nagy <[email protected]> wrote: > Same as > https://gcc.gnu.org/ml/gcc-patches/2015-04/msg01387.html > but for AArch64. > > -dynamic-linker is only passed to the linker if !static && !shared. > > -rdynamic handling is changed too to be consistent with arm: > only pass -export-dynamic if !static. > > 2015-07-22 Szabolcs Nagy <[email protected]> > > PR target/65711 > * config/aarch64/aarch64-linux.h (LINUX_TARGET_LINK_SPEC): Move > -dynamic-linker within %{!static %{!shared, and -rdynamic within > %{!static.
OK and I think we should backport this to 5 and 4.9 Cheers /Marcus
