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]+[ ]d[ ]_*foo1_start
9 [0-9a-f]+[ ]d[ ]_*foo1_end
10 [0-9a-f]+[ ]d[ ]_*foo2_start
11 [0-9a-f]+[ ]D[ ]_*foo2
12 [0-9a-f]+[ ]d[ ]_*foo2_end