aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-aarch64/bti-plt-7.d
blob: 4d232902437b53526ceea04fe4dd6e2b37a021f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#name: Warn when neither inputs has GNU NOTE BTI
#source: property-bti-pac2.s
#source: plt_mapping_symbol.s
#target: [check_shared_lib_support]
#as: -mabi=lp64
#ld: -shared -z force-bti
#warning: .*plt_mapping_symbol.*: warning: BTI turned on by -z force-bti.*
#warning: .*property-bti-pac2.*: warning: BTI turned on by -z force-bti.*
#readelf: -n

# Should warn about the missing input BTI NOTE but should
# still mark output as BTI

Displaying notes found in: .note.gnu.property
[ 	]+Owner[ 	]+Data size[ 	]+Description
  GNU                  0x00000010	NT_GNU_PROPERTY_TYPE_0
      Properties: AArch64 feature: BTI