[Bug 231790] objcopy: corrupts relocation entries in big-endian mips64 output when adjusting symbol indexes

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Oct 2 15:08:57 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=231790

--- Comment #11 from commit-hook at freebsd.org ---
A commit references this bug:

Author: emaste
Date: Tue Oct  2 15:08:42 UTC 2018
New revision: 339083
URL: https://svnweb.freebsd.org/changeset/base/339083

Log:
  libelf: correct mips64el test to use ELF header

  libelf maintains two views of endianness: e_byteorder, and
  e_ident[EI_DATA] in the ELF header itself.  e_byteorder is not always
  kept in sync, so use the ELF header endianness to test for mips64el.

  PR:           231790
  Bisected by:  sbruno
  Reviewed by:  jhb
  Approved by:  re (kib)
  MFC with:     r338478
  Sponsored by: The FreeBSD Foundation
  Differential Revision:        https://reviews.freebsd.org/D17380

Changes:
  head/contrib/elftoolchain/libelf/gelf_mips64el.c

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-mips mailing list