]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - ld/lexsup.c
Add -z globalaudit linker command line option to set the DF_GLOBALAUDIT flag bit...
authorNick Clifton <nickc@redhat.com>
Fri, 11 Aug 2017 15:36:28 +0000 (16:36 +0100)
committerNick Clifton <nickc@redhat.com>
Fri, 11 Aug 2017 15:36:28 +0000 (16:36 +0100)
commit93ab9c0de7ba4a477720622c7e772d76f646e3f5
treee970b9fea358a9fe4b8cf06865dcb76c02d2ae48
parent9593aade74f0da0c08a4ab55e4c59173b07b1f63
Add -z globalaudit linker command line option to set the DF_GLOBALAUDIT flag bit in the dynamic tags.

* emultempl/elf32.em (handle_option): Accept the -z globalaudit
command line option.
* lexsup.c (elf_static_list_options): Add -z globalaudit.
* ld.texinfo: Document the support for the new command line
option.
* NEWS: Mention the new feature.
* testsuite/ld-elf/audit.exp: Add a test of the -z globalaudit
command line option.
* testsuite/ld-elf/globalaudit.rd: New file: Expected output from
readelf.
ld/ChangeLog
ld/NEWS
ld/emultempl/elf32.em
ld/ld.texinfo
ld/lexsup.c
ld/testsuite/ld-elf/audit.exp
ld/testsuite/ld-elf/globalaudit.rd [new file with mode: 0644]