This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH][AArch64] Fix LINUX_TARGET_LINK_SPEC to be consistent with ARM
- From: Szabolcs Nagy <szabolcs dot nagy at arm dot com>
- To: Marcus Shawcroft <marcus dot shawcroft at gmail dot com>
- Cc: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>, Marcus Shawcroft <Marcus dot Shawcroft at arm dot com>
- Date: Fri, 24 Jul 2015 17:17:36 +0100
- Subject: Re: [PATCH][AArch64] Fix LINUX_TARGET_LINK_SPEC to be consistent with ARM
- Authentication-results: sourceware.org; auth=none
- References: <55AFCF1F dot 20000 at arm dot com> <CAFqB+Pwx3G6LGfvwSsHKcWHLm4RzdPTr5=RRtSwbSEBZTMeymg at mail dot gmail dot com>
On 24/07/15 13:50, Marcus Shawcroft wrote:
> On 22 July 2015 at 18:13, Szabolcs Nagy <szabolcs.nagy@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.nagy@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.