[PATCH, LD, AArch64] Move ELF options behind -z
Sudakshina Das
Sudi.Das@arm.com
Wed Jun 5 10:11:00 GMT 2019
Hi
On 16/04/2019 13:39, Sudakshina Das wrote:
> Hi
>
> 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.
>
> Build and regression tested on aarch64-none-linux-gnu.
> Is this ok for trunk?
>
> Sudi
Sorry this fell off my radar.
Ping.
Depending on whether this patch or
https://www.sourceware.org/ml/binutils/2019-06/msg00047.html gets
approval before, I will rebase one of them. I hope that rebase does not
need another approval.
Thanks
Sudi
>
> *** 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.
More information about the Binutils
mailing list