bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/23699] ihex output fails for mipsel-elf-objcopy


From: sowaac.rhn at porcupinefactory dot org
Subject: [Bug binutils/23699] ihex output fails for mipsel-elf-objcopy
Date: Sat, 22 Sep 2018 13:10:16 +0000

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

--- Comment #1 from rhn <sowaac.rhn at porcupinefactory dot org> ---
Created attachment 11269
  --> https://sourceware.org/bugzilla/attachment.cgi?id=11269&action=edit
Workaround checking for signedness

This is the best workaround I could come up with (based on Pinguino.cc own
workaround).

It has a flaw that by excluding the range 0x7fffffff..0xffffffff, it will break
non-sign-extended (source) targets. a better solution would let the ihex
printer know whether the original addresses were sign-extended.

The bfd_target struct could be extended, to carry some signedness about the
input bfd.

Or, the ihex target could get a backend_data structure (currently null),
copying the input backend.

Or, the ihex backend could get a special treatment somewhere inside copy_file.
It's likely to be many places, and it likely would have to indicate that it
needs such a treatment in a special way.

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