This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH, LD, AArch64] Move ELF options behind -z
- From: Nick Clifton <nickc at redhat dot com>
- To: Sudakshina Das <Sudi dot Das at arm dot com>, "binutils at sourceware dot org" <binutils at sourceware dot org>
- Cc: nd <nd at arm dot com>, Richard Earnshaw <Richard dot Earnshaw at arm dot com>, Ramana Radhakrishnan <Ramana dot Radhakrishnan at arm dot com>, "H.J. Lu" <hjl dot tools at gmail dot com>
- Date: Thu, 6 Jun 2019 12:11:07 +0100
- Subject: Re: [PATCH, LD, AArch64] Move ELF options behind -z
- References: <05992ce6-1fae-2354-d717-e3d1d6032d5f@arm.com> <f8185a44-a058-aac7-8bb5-7ec1f805a3ec@arm.com>
Hi Sudi,
>> This patch moves the current AArch64 ld options of --force-bti and
>> --pac-plt to -z force-bti and -z pac-plt since these are ELF specific
>> options.
> Ping.
Doh - sorry for missing this one.
>> *** bfd/ChangeLog ***
>> 2019-xx-xx Sudakshina Das <sudi.das@arm.com>
>>
>> * bfd-in.h: Change comment.
>> * bfd-in2.h: Regenerate.
>> * elfnn-aarch64.c (elfNN_aarch64_merge_gnu_properties): Update
>> warning.
>> * elfxx-aarch64.c (_bfd_aarch64_elf_link_setup_gnu_properties):
>> Likwise.
>>
>> *** ld/ChangeLog ***
> 2019-xx-xx Sudakshina Das <sudi.das@arm.com>
>>
>> * NEWS: Update options names.
>> * emultempl/aarch64elf.em (OPTION_FORCE_BTI, OPTION_PAC_PLT): Remove.
>> (PARSE_AND_LIST_LONGOPTS): Remove force-bti and pac-plt.
>> (PARSE_AND_LIST_OPTIONS): Update to -z.
>> (PARSE_AND_LIST_ARGS_CASE_Z_AARCH64): New.
>> (PARSE_AND_LIST_ARGS_CASE_Z): Add PARSE_AND_LIST_ARGS_CASE_Z_AARCH64.
>> (PARSE_AND_LIST_ARGS_CASES): Move cases for these options.
>> * testsuite/ld-aarch64/bti-pac-plt-1.d: Update option.
>> * testsuite/ld-aarch64/bti-pac-plt-2.d: Likewise.
>> * testsuite/ld-aarch64/bti-plt-1.d: Likewise.
>> * testsuite/ld-aarch64/bti-plt-2.d: Likewise.
>> * testsuite/ld-aarch64/bti-plt-3.d: Likewise.
>> * testsuite/ld-aarch64/bti-plt-4.d: Likewise.
>> * testsuite/ld-aarch64/bti-plt-6.d: Likewise.
>> * testsuite/ld-aarch64/bti-plt-7.d: Likewise.
>> * testsuite/ld-aarch64/bti-warn.d: Likewise.
>> * testsuite/ld-aarch64/pac-plt-1.d: Likewise.
>> * testsuite/ld-aarch64/pac-plt-2.d: Likewise.
Approved - please apply.
Cheers
Nick