diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b514755f19b..ee2e8d73b8a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2015-06-23 Ludovic Courtès + + PR 65711 + * config/arm/linux-elf.h (LINUX_TARGET_LINK_SPEC): Move + '-dynamic-linker' within %{!shared: ...}. + 2015-06-23 Uros Bizjak PR target/66560 diff --git a/gcc/config/arm/linux-elf.h b/gcc/config/arm/linux-elf.h index 6455e62489d..49ad9543f26 100644 --- a/gcc/config/arm/linux-elf.h +++ b/gcc/config/arm/linux-elf.h @@ -70,7 +70,7 @@ %{symbolic:-Bsymbolic} \ %{!static: \ %{rdynamic:-export-dynamic} \ - -dynamic-linker " GNU_USER_DYNAMIC_LINKER "} \ + %{!shared:-dynamic-linker " GNU_USER_DYNAMIC_LINKER "}} \ -X \ %{mbig-endian:-EB} %{mlittle-endian:-EL}" \ SUBTARGET_EXTRA_LINK_SPEC