1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
#source: dotsymref.s #source: nodotsym.s #as: -a64 #ld: -melf64ppc -Ttext=0x1000 -shared -z notext #objdump: -dR .*: file format .* Disassembly of section \.text: 0+1000 <\.foo-0x8>: .*: (00 00 00 00|08 10 00 00) .* .*: R_PPC64_RELATIVE \*ABS\*\+0x1008 .*: (00 00 10 08|00 00 00 00) .* 0+1008 <\.foo>: .*: (4e 80 00 20|20 00 80 4e) blr