2014-09-12 22:14:23 +00:00
|
|
|
#name: --gc-sections with KEEP
|
|
|
|
#source: dummy.s
|
|
|
|
#ld: --gc-sections -T pr14265.t -e 0 tmpdir/pr14265.o
|
|
|
|
#nm: --format=bsd --numeric-sort
|
|
|
|
|
|
|
|
#...
|
2015-08-28 15:32:19 +00:00
|
|
|
[0-9a-f]+[ ][dD][ ]_*foo1_start
|
2017-04-10 11:32:00 +00:00
|
|
|
#...
|
2014-09-12 22:14:23 +00:00
|
|
|
[0-9a-f]+[ ]D[ ]_*foo1
|
2017-04-10 11:32:00 +00:00
|
|
|
#...
|
2015-08-28 15:32:19 +00:00
|
|
|
[0-9a-f]+[ ][dD][ ]_*foo1_end
|
|
|
|
[0-9a-f]+[ ][dD][ ]_*foo2_start
|
2014-09-12 22:14:23 +00:00
|
|
|
[0-9a-f]+[ ]D[ ]_*foo2
|
2015-08-28 15:32:19 +00:00
|
|
|
[0-9a-f]+[ ][dD][ ]_*foo2_end
|
2014-09-12 22:14:23 +00:00
|
|
|
#...
|