aboutsummaryrefslogtreecommitdiff
path: root/gold/reloc.h
diff options
context:
space:
mode:
authorDoug Kwan <dougkwan@google.com>2009-06-23 18:10:42 +0000
committerDoug Kwan <dougkwan@google.com>2009-06-23 18:10:42 +0000
commit3d857b98f555ee56c6fa6ed90c024424215574ed (patch)
treec68df6e845e52dc25b22b566e7d61de85004920f /gold/reloc.h
parent27aa8d6aa032b25160328cd92c78c4f8158fa0b7 (diff)
downloadgdb-3d857b98f555ee56c6fa6ed90c024424215574ed.zip
gdb-3d857b98f555ee56c6fa6ed90c024424215574ed.tar.gz
gdb-3d857b98f555ee56c6fa6ed90c024424215574ed.tar.bz2
2009-06-23 Doug Kwan <dougkwan@google.com>
* Makefile.am (libgold_a_LIBADD): New. (ld_new_DEPENDENCIES, ld_new_LDADD): Remove LIBOBJS * Makefile.in: Regenerate. * config.in (HAVE_DECL_MEMMEM, HAVE_DECL_STRNDUP): New. * configure: Regenerate. * configure.ac (AC_CHECK_DECLS): Add strndup and memmem. * fileread.cc: Include sys/state.h * gold.h: Declare memmem and strndup if found missing. * gold_reloc.h: Include byteswap.h if HAVE_BYTESWAP_H is defined.
Diffstat (limited to 'gold/reloc.h')
-rw-r--r--gold/reloc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gold/reloc.h b/gold/reloc.h
index d00578e..2229421 100644
--- a/gold/reloc.h
+++ b/gold/reloc.h
@@ -24,7 +24,9 @@
#define GOLD_RELOC_H
#include <vector>
+#ifdef HAVE_BYTESWAP_H
#include <byteswap.h>
+#endif
#include "elfcpp.h"
#include "workqueue.h"