[Top][All Lists]

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

[Bug binutils/25662] objcopy sets invalid sh_offset for the first sectio

From: jozef.l at mittosystems dot com
Subject: [Bug binutils/25662] objcopy sets invalid sh_offset for the first section in a no_contents segment containing program headers
Date: Tue, 24 Mar 2020 21:54:04 +0000


--- Comment #5 from Jozef Lawrynowicz <jozef.l at mittosystems dot com> ---
(In reply to Alan Modra from comment #4)
> Created attachment 12403 [details]
> Alternate patch
> This also fixes the testcase.  I'm inclined to go this way since it's really
> the lack of sh_offset adjustment for nobits sections that is breaking things
> for you.  What do you think?

Looks good to me, I prefer the reasoning behind your changes to what I
originally suggested as well.

I successfully regtested your patch for msp430-elf in the -msmall and -mlarge


You are receiving this mail because:
You are on the CC list for the bug.

reply via email to

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