On 24/07/15 13:50, Marcus Shawcroft wrote: > On 22 July 2015 at 18:13, Szabolcs Nagy <szabolcs.n...@arm.com> 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 <szabolcs.n...@arm.com> >> >> 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 >
Committed to trunk in r226158. Backported to 5 in r226165. Backported to 4.9 in r226169.