[gold, strip] Question about the changed offset when stripping

Alexander Ivchenko aivchenk@gmail.com
Mon Dec 9 12:45:00 GMT 2013


> However, after updating to gdbserver 7.6 I was able to load the debug
> info.. Also if I firstly just objcopy the linked binary (thus, erasing
> the padding between .got.plt and .bss) and then strip

sorry: I've accidentally sent it before finishing. I meant that if I
firstly objcopy the linked binary (thus, erasing
 the padding between .got.plt and .bss) and then strip it, then
gdbserver<->gdb are successfully loading the debug info even for
gdbserver < 7.6.
That's cause in this case the addresses of all remained sections in
stripped and not stripped binaries are the same.

--Alexander



More information about the Binutils mailing list