Commit 48d6a47
committed
binutils: Pull in segment first section address check workaround
This commit pulls in the segment first section address check workaround
for the header-less sections whose LMA is not equal to VMA.
This fixes the following error observed when running objcopy with
--change-section-lma option using a valid input ELF file that contains
a section whose LMA is not equal to VMA:
error in private header data: sorry, cannot handle this file
Note that this is only a workaround and not a complete fix as noted in
the referenced binutils commit; however, it should be generic enough so
that the above error is never observed in practice.
Signed-off-by: Stephanos Ioannidis <[email protected]>1 parent a1f3887 commit 48d6a47
1 file changed
+1
-1
lines changed
0 commit comments