freebsd-nq/contrib/elftoolchain
Ed Maste ccbdcd03f2 libelf: Fix cross-endian ELF note file / memory conversion
The namesz and descsz variables need to be used in native endianness.
The sizes are in native order after swapping in the file to memory case,
and before swapping in the memory to file case.

This issue was identified for r273443, but the change was applied to the
wrong case. Revert r273443 to fix the to-memory case, and apply the
equivalent change to the to-file case.

Sponsored by:	DARPA, AFRL
Reviewed by:	adrian, brooks, marcel
Differential Revision: https://reviews.freebsd.org/D1257
2014-12-02 22:35:43 +00:00
..
addr2line Copy elftoolchain binutils replacements from vendor branch 2014-11-27 20:12:13 +00:00
common
cxxfilt Copy elftoolchain binutils replacements from vendor branch 2014-11-27 20:12:13 +00:00
elfcopy Track libarchive API change 2014-12-01 16:10:44 +00:00
libdwarf Remove trailing whitespace. 2014-01-21 20:17:10 +00:00
libelf libelf: Fix cross-endian ELF note file / memory conversion 2014-12-02 22:35:43 +00:00
libelftc Fix elftoolchain tools in-tree build 2014-12-01 16:07:31 +00:00
nm Fix elftoolchain tools in-tree build 2014-12-01 16:07:31 +00:00
size Temporarily disable non-FreeBSD NT_ note types 2014-12-01 16:10:03 +00:00
strings Fix elftoolchain tools in-tree build 2014-12-01 16:07:31 +00:00