bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

objcopy: creating corrupted ELF output


From: Joerg . Hermann2
Subject: objcopy: creating corrupted ELF output
Date: Thu, 7 Aug 2003 13:40:06 +0200

Hi,
I was trying to strip of some symbols from an ELF file 
without code sections (it just contained a symbol table).
The result was a file that did not contain the .shstrtab
section.
After investigating the issue, I found that the offset
for the shstrtab has been set to 0. The reason was, that
the offset has not been set to an initial value before.

The attached patch fixed the problem for my application.
I'm not sure if this is the right way of solving this
issue, but at least I want to communicate it.

Please respond via PM, since I'm not subscribed to this list.

Jörg



--
Jörg Hermann


Attachment: binutils-elf.patch
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]