Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2020-06-26 | libctf, elfcpp, gold: do not assume that <byteswap.h> contains bswap_* | Nick Alcock | 1 | -5/+11 | |
At least one C library (uclibc-ng) defines some of these only when the compiler is GCC. We might as well test for all three cases and handle any of them being missing. Very similar code exists in libctf and split between elfcpp and gold: fix both. (Also sync up elfcpp with a change made to libctf swap.h a few months ago: since there is no out-of-line definition of the bswap replacements, they should be declared static inline, not just inline, to prevent the linker generating out-of-line references to them.) PR libctf/25120 libctf/ * configure.ac: Check for bswap_16, bswap_32, and bswap_64 decls. * swap.h (bswap_16): Do not assume that presence of <byteswap.h> means this is declared. (bswap_32): Likewise. (bswap_64): Likewise. (bswap_identity_64): Remove, unused. * configure: Regenerated. * config.h.in: Likewise. gold/ * configure.ac: Check for bswap_16, bswap_32, and bswap_64 decls. * configure: Regenerated. * config.h.in: Likewise. elfcpp/ * elfcpp_swap.h (bswap_16): Do not assume that presence of <byteswap.h> means this is declared. Make static inline, matching recent change to libctf, since there is no non-inline definition of these functions. (bswap_32): Likewise. (bswap_64): Likewise. | |||||
2020-01-01 | Update year range in copyright notice of binutils files | Alan Modra | 1 | -1/+1 | |
2019-01-01 | Update year range in copyright notice of binutils files | Alan Modra | 1 | -1/+1 | |
2018-01-03 | Update year range in copyright notice of binutils files | Alan Modra | 1 | -1/+1 | |
2017-01-02 | Update year range in copyright notice of all files. | Alan Modra | 1 | -1/+1 | |
2016-01-01 | Copyright update for binutils | Alan Modra | 1 | -1/+1 | |
2015-01-02 | ChangeLog rotatation and copyright year update | Alan Modra | 1 | -1/+1 | |
2014-03-05 | Update copyright years | Alan Modra | 1 | -1/+1 | |
2012-04-23 | elfcpp/ | Cary Coutant | 1 | -1/+66 | |
* elfcpp_swap.h (struct Swap_aligned32): New template. gold/ * gdb-index.cc (Gdb_index::do_write): Use Swap_aligned32 for writing CU range table of gdb index. | |||||
2009-03-02 | elfcpp:/ | Ian Lance Taylor | 1 | -3/+55 | |
* 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. | |||||
2008-04-03 | * elfcpp_swap.h (Swap_unaligned<64, true>::writeval): Correct | Ian Lance Taylor | 1 | -8/+8 | |
byte order. | |||||
2007-10-01 | Add Signed_valtype and use it for sign extension. Fix names of rela8. | Ian Lance Taylor | 1 | -3/+7 | |
2007-09-22 | Add licensing text to every source file. | Ian Lance Taylor | 1 | -0/+29 | |
2006-11-29 | Hash tables, dynamic section, i386 PLT, gold_assert. | Ian Lance Taylor | 1 | -17/+17 | |
2006-11-06 | Rework swapping code. | Ian Lance Taylor | 1 | -0/+350 | |