binutils-gdb/ld/testsuite/ld-elf/pr20828-b.sd

10 lines
342 B
Plaintext

# Make sure `edata' is global rather than local in the dynamic symbol table,
# e.g.:
# Num: Value Size Type Bind Vis Ndx Name
# 1: 00000000 0 NOTYPE GLOBAL DEFAULT 1 edata
# vs:
# 1: 00000000 0 NOTYPE LOCAL DEFAULT 1 edata
#...
*[0-9]+: +[0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +[0-9]+ +edata
#pass