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: nickc at redhat dot com
Subject: [Bug binutils/23699] ihex output fails for mipsel-elf-objcopy
Date: Mon, 01 Oct 2018 16:33:03 +0000

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

Nick Clifton <nickc at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nickc at redhat dot com

--- Comment #2 from Nick Clifton <nickc at redhat dot com> ---
Hi rhn,

(In reply to rhn from comment #1)
> Created attachment 11269 [details]
> Workaround checking for signedness

[Sorry I have not had time to look at this, but...]

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


If the bfd_target's flavour is bfd_target_elf_flavour then you can
cast bfd target's backend field to a struct elf_backend_data pointer
(or use the xvec_get_elf_backend_data macro).  Then you can access the
sign_extend_vma field, which will be set for targets like the MIPS which
use signed address ranges.

Cheers
  Nick

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