aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-aarch64/protections/bti-plt-4-a-iii.d
blob: 8227dd0700b08d7297ac89ba8247db2f62ba96cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#name: Specifying '-z force-bti -z bti-report=warning' emits BTI feature and reports warnings (exec)
#source: bti-plt-1.s
#target: [check_shared_lib_support]
#as: -mabi=lp64
#ld: -z force-bti -z bti-report=warning -e _start -T bti-plt.ld -L./tmpdir -lbti-plt-so
#warning: .*bti-plt-1\.o: warning: BTI is required 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