aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-aarch64/protections/bti-plt-2-a-ii.d
blob: b3d69b8a91e95b8d7002571b95f2c36eccca795f (plain)
1
2
3
4
5
6
7
8
#name: Specifying '-z force-bti -z bti-report=error' reports errors (shared)
#source: bti-plt-1.s
#source: bti-plt-2.s
#target: [check_shared_lib_support]
#as: -mabi=lp64
#ld: -shared -z force-bti -z bti-report=error -T bti-plt.ld
#error: .*bti-plt-2\.o: error: BTI is required by -z force-bti.*
#error: .*bti-plt-1\.o: error: BTI is required by -z force-bti.*