1 #name: --gc-sections with KEEP
3 #ld: --gc-sections -T pr14265.t -e 0 tmpdir/pr14265.o
4 #nm: --format=bsd --numeric-sort
7 [0-9a-f]+[ ][dD][ ]_*foo1_start
11 [0-9a-f]+[ ][dD][ ]_*foo1_end
12 [0-9a-f]+[ ][dD][ ]_*foo2_start
13 [0-9a-f]+[ ]D[ ]_*foo2
14 [0-9a-f]+[ ][dD][ ]_*foo2_end