1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
#PROG: objcopy #source: remove-relocs-01.s #objcopy: --remove-relocations=.data.relocs.01 #readelf: -r Relocation section '\.rela?\.data\.relocs\.02' at offset 0x[0-9a-f]+ contains 3 entries: .* .* .* .* Relocation section '\.rela?\.data\.relocs\.03' at offset 0x[0-9a-f]+ contains 3 entries: .* .* .* .*