forked from riscvarchive/riscv-binutils-gdb
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
121 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
ld/testsuite/ld-riscv-elf/property-force-zicfilp-all-missing.d
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#name: Warn with all missing GNU NOTE Zicfilp input | ||
#source: property1.s | ||
#source: property2.s | ||
#as: -mabi=lp64 | ||
#ld: -shared -z force-zicfilp | ||
#warning: .*: warning: Zicfilp turned on by -z force-zicfilp.*$ | ||
#readelf: -n | ||
|
||
# Should warn about the missing input ZICFILP NOTE but should | ||
# still mark output as ZICFILP | ||
|
||
Displaying notes found in: .note.gnu.property | ||
[ ]+Owner[ ]+Data size[ ]+Description | ||
[ ]+GNU[ ]+0x00000020[ ]+NT_GNU_PROPERTY_TYPE_0 | ||
[ ]+Properties: RISC-V AND feature: ZICFILP | ||
[ ]+RISC-V OR feature: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#name: Warn with one missing GNU NOTE Zicfilp input | ||
#source: property1.s | ||
#source: property2.s | ||
#as: -mabi=lp64 -defsym __property_zicfilp__=1 -defsym __property_zicfiss__=1 | ||
#ld: -shared -z force-zicfilp | ||
#warning: .*: warning: Zicfilp turned on by -z force-zicfilp.*$ | ||
#readelf: -n | ||
|
||
# Should warn about the missing input ZICFILP NOTE but should | ||
# still mark output as ZICFILP | ||
|
||
Displaying notes found in: .note.gnu.property | ||
[ ]+Owner[ ]+Data size[ ]+Description | ||
[ ]+GNU[ ]+0x00000020[ ]+NT_GNU_PROPERTY_TYPE_0 | ||
[ ]+Properties: RISC-V AND feature: ZICFILP | ||
[ ]+RISC-V OR feature: ZICFISS | ||
|