aarch64 and arm testsuite fixes for targets lacking shared libs
[deliverable/binutils-gdb.git] / ld / testsuite / ld-aarch64 / bti-warn.d
CommitLineData
4e539114
SD
1#name: Warn when both have GNU prop but neither BTI
2#source: property-bti-pac2.s
3#source: bti-plt-1.s
3c3358ca 4#target: [check_shared_lib_support]
4e539114 5#as: -mabi=lp64 --defsym __guard_property_bti__=1 --defsym __property_pac__=1
8bf6d176
SD
6#ld: -shared -z force-bti
7#warning: .*property-bti-pac2.*: warning: BTI turned on by -z force-bti.*
8#warning: .*bti-plt-1.*: warning: BTI turned on by -z force-bti.*
4e539114
SD
9#readelf: -n
10
11# Should warn about the missing input BTI NOTE but should
12# still mark output as BTI
13
14Displaying notes found in: .note.gnu.property
dbe15e4e 15[ ]+Owner[ ]+Data size[ ]+Description
4e539114
SD
16 GNU 0x00000010 NT_GNU_PROPERTY_TYPE_0
17 Properties: AArch64 feature: BTI, PAC
This page took 0.054692 seconds and 4 git commands to generate.