MIPS: Why .pdr section is not stripped?

Sergei Poselenov sposelenov@emcraft.com
Fri Aug 1 15:19:00 GMT 2008


Hello,

I'm working with old MIPS toolchain (gcc-3.2, binutils 2.11.94)
and noted that "strip --strip-unneeded" leaves the .pdr section
untouched.

Is it used for relocations? It doesn't seem so - this section is
not mapped to any segment, as "readelf -l" shows.

Finally I removed it manually with objcopy and program ran
without problems.

Is it a 'strip' bug? Is it safe to use the same objcopy trick with
shared libraries?

Could someone explain?

Thanks a lot,
Sergei



More information about the Binutils mailing list