Commit | Line | Data |
---|---|---|
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 | |
4 | #as: -mabi=lp64 --defsym __guard_property_bti__=1 --defsym __property_pac__=1 | |
5 | #ld: -shared --force-bti | |
6 | #warning: .*property-bti-pac2.*: warning: BTI turned on by --force-bti.* | |
7 | #warning: .*bti-plt-1.*: warning: BTI turned on by --force-bti.* | |
8 | #readelf: -n | |
9 | ||
10 | # Should warn about the missing input BTI NOTE but should | |
11 | # still mark output as BTI | |
12 | ||
13 | Displaying notes found in: .note.gnu.property | |
14 | Owner Data size Description | |
15 | GNU 0x00000010 NT_GNU_PROPERTY_TYPE_0 | |
16 | Properties: AArch64 feature: BTI, PAC |