bug-binutils
[Top][All Lists]
Advanced

[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: Wed, 25 Mar 2020 14:55:45 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=25662

--- Comment #8 from Jozef Lawrynowicz <jozef.l at mittosystems dot com> ---
Created attachment 12404
  --> https://sourceware.org/bugzilla/attachment.cgi?id=12404&action=edit
testcase

(In reply to Alan Modra from comment #7)
> Updated patch applied.  Jozef, perhaps you could add a testcase to ensure
> this doesn't regress.  Ideally one that doesn't require a C compiler.

How about the attached patch?
I tested that it fails on x86_64-pc-linux-gnu, msp430-elf and arm-eabi before
your patch, and passes with the patch applied.

-- 
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]