Re: Objcopy and strip incorrectly zero ELF virtual address

2012-06-28 Thread nick clifton
Hi Juho, If objcopy or strip is applied to an ELF executable which has a LOAD segment in the program header, but none of the sections refer to it, the virtual address of the segment is set to zero. This behavior is incorrect, as the virtual address is not supposed to be used like this according

Objcopy and strip incorrectly zero ELF virtual address

2012-06-04 Thread Juho Östman
I have tested binutils 2.22, built for target arm-eabi. If objcopy or strip is applied to an ELF executable which has a LOAD segment in the program header, but none of the sections refer to it, the virtual address of the segment is set to zero. This behavior is incorrect, as the virtual address is