mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-15 04:31:49 +08:00
574df58f52
Merge -z ibt and -z shstk only with GNU_PROPERTY_X86_FEATURE_1_AND, not any GNU_PROPERTY_X86_UINT32_AND_XXX properties. bfd/ PR ld/26711 * elfxx-x86.c (_bfd_x86_elf_merge_gnu_properties): Merge -z ibt and -z shstk only with GNU_PROPERTY_X86_FEATURE_1_AND. ld/ PR ld/26711 * testsuite/ld-i386/i386.exp: Run ld/26711 tests. * testsuite/ld-x86-64/x86-64.exp: Likewise. * testsuite/ld-i386/pr26711-1.d: Likewise. * testsuite/ld-i386/pr26711-2.d: Likewise. * testsuite/ld-i386/pr26711-3.d: Likewise. * testsuite/ld-x86-64/pr26711-1-x32.d: Likewise. * testsuite/ld-x86-64/pr26711-1.d: Likewise. * testsuite/ld-x86-64/pr26711-2-x32.d: Likewise. * testsuite/ld-x86-64/pr26711-2.d: Likewise. * testsuite/ld-x86-64/pr26711-3-x32.d: Likewise. * testsuite/ld-x86-64/pr26711-3.d: Likewise. * testsuite/ld-x86-64/pr26711.s: Likewise.
11 lines
310 B
Makefile
11 lines
310 B
Makefile
#source: pr26711.s
|
|
#source: start.s
|
|
#as: --64 -defsym __64_bit__=1 -mx86-used-note=no
|
|
#ld: -m elf_x86_64 -z shstk
|
|
#readelf: -n
|
|
|
|
Displaying notes found in: .note.gnu.property
|
|
[ ]+Owner[ ]+Data size[ ]+Description
|
|
GNU 0x[0-9a-f]+ NT_GNU_PROPERTY_TYPE_0
|
|
Properties: x86 feature: SHSTK
|