#ld: -T pr24008.t -Map tmpdir/pr24008.map
#nm: -B
#map: pr24008.map

#...
0+42 A defined
#...
0+42 A sym1
#...
0+43 A sym2
#pass