Files
binutils-gdb/ld/testsuite/ld-scripts/exclude-file-3.map
Michael Matz 885d86436c section-select: Fix exclude-file-3
this testcase wasn't correctly testing everything, it passed, even
though sections from an excluded file were included.  Fixing this
reveals a problem in the new section selector.  This fixes that as
well.
2022-11-30 17:15:08 +01:00

10 lines
274 B
Plaintext

#...
\.data +0x[0-9a-f]+ +0x[0-9a-f]+
EXCLUDE_FILE\(\*-b\.o\) \*\(\.data \.data\.\*\)
\.data +0x[0-9a-f]+ +0x[0-9a-f]+ tmpdir/exclude-file-a\.o
\.data\.1 +0x[0-9a-f]+ +0x[0-9a-f]+ tmpdir/exclude-file-a\.o
#failif
.*data +0x[0-9a-f]+ +0x[0-9a-f]+ .*exclude-file-b.*
#...