This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
MIPS: Why .pdr section is not stripped?
- From: Sergei Poselenov <sposelenov at emcraft dot com>
- To: binutils at sourceware dot org
- Date: Fri, 01 Aug 2008 19:18:46 +0400
- Subject: MIPS: Why .pdr section is not stripped?
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