aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-aarch64/protections/gcs-dynamic-2-d.d
blob: 58498e6c00b690218cf9dd0817326b1e90cb46e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#name: '-z gcs=always -z gcs-report' and shared libraries without GCS feature reports warnings.
#source: gcs.s
#source: gcs2.s
#alltargets: [check_shared_lib_support] *linux*
#as: -march=armv9.4-a+gcs  -defsym __property_gcs__=1
#ld: -z gcs=always -z gcs-report -L./tmpdir -lnogcs-so -lbti-plt-so -lgcs-so2
#warning: \A[^\n]*libnogcs-so\.so: warning: GCS is required by -z gcs[^\n]*\n
#warning:   [^\n]*libbti-plt-so\.so: warning: GCS is required by -z gcs[^\n]*
#readelf: -n

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