15d5fa1607
* elfcpp_swap.h: #include "config.h". Only #include <byteswap.h> if HAVE_BYTESWAP_H is defined; if not, provide definitions for bswap_{16,32,64}. For gcc 4.3 and later, use the builtin bswap functions. Check WORDS_BIGENDIAN rather than __BYTE_ORDER. gold:/ * configure.ac: Check for byteswap.h. * configure: Rebuild. * config.in: Rebuild. |
||
---|---|---|
.. | ||
ChangeLog | ||
README | ||
dwarf.h | ||
elfcpp.h | ||
elfcpp_file.h | ||
elfcpp_internal.h | ||
elfcpp_swap.h | ||
i386.h | ||
powerpc.h | ||
sparc.h | ||
x86_64.h |
README
elfcpp is a C++ library for reading and writing ELF information. This was written to support gold, the ELF linker, and may not be generally useful. elfcpp does not do file I/O. It deals only with offsets and memory data. For efficiency, most accessors are templates with two arguments: the ELF file class (32 or 64 bits) and the endianness.