Projet_SETI_RISC-V/riscv-gnu-toolchain/gdb/gas/testsuite/gas/mips/aent-2.d
2023-03-06 14:48:14 +01:00

19 lines
686 B
Makefile

#DUMPPROG: readelf
#readelf: -s
#name: MIPS .aent directive 2
#as: -32
#source: aent.s
# Verify that the .aent directive retains function symbol type annotation,
# e.g.:
# Num: Value Size Type Bind Vis Ndx Name
# 8: 00000000 16 FUNC GLOBAL DEFAULT 1 foo
# 9: 00000008 0 FUNC GLOBAL DEFAULT 1 bar
# vs:
# Num: Value Size Type Bind Vis Ndx Name
# 8: 00000000 16 FUNC GLOBAL DEFAULT 1 foo
# 9: 00000008 0 OBJECT GLOBAL DEFAULT 1 bar
#...
*[0-9]+: +[0-9]+ +[0-9]+ +FUNC +GLOBAL +DEFAULT(?: +\[[^]]*\])? +[0-9]+ foo
*[0-9]+: +[0-9]+ +[0-9]+ +FUNC +GLOBAL +DEFAULT(?: +\[[^]]*\])? +[0-9]+ bar
#pass