bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/19013] Section corrupted with elf64-x86-64 input -> elf32-i386 o


From: toni at famkaufmann dot info
Subject: [Bug ld/19013] Section corrupted with elf64-x86-64 input -> elf32-i386 output
Date: Tue, 29 Sep 2015 02:30:00 +0000

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

--- Comment #2 from Antoine Kaufmann <toni at famkaufmann dot info> ---
I worked around the issue for me, but still the behavior seems strange. And if
I have ld generate the 64 bit elf and then use objcopy to generate elf32-i386
the section contents also look fine, and everything seems to work as expected.

As I see this, either this is a bug where ld just does not handle this weird
case correctly, or for some reason I don't currently understand ld can't
actually do this right. So if it is a bug it sounds like something that should
probably be fixed, or if it can't or want be fixed at least some error message
should show up instead of silently truncating sections.

But yes this is clearly not a high priority issue.

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