aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Sandiford <rdsandiford@googlemail.com>2004-04-08 15:17:35 +0000
committerRichard Sandiford <rdsandiford@googlemail.com>2004-04-08 15:17:35 +0000
commitccf2f65243b93ddfadc0ed00736bfa94c1db7f7f (patch)
treebd961a7cc48bbc442267fe2311c0df13484e88ba
parent52f89c0ab4be6b90f6611b01612d6a461aa3e4ad (diff)
downloadgdb-ccf2f65243b93ddfadc0ed00736bfa94c1db7f7f.zip
gdb-ccf2f65243b93ddfadc0ed00736bfa94c1db7f7f.tar.gz
gdb-ccf2f65243b93ddfadc0ed00736bfa94c1db7f7f.tar.bz2
* elflink.c: Include libiberty.h.
* Makefile.am (elflink.lo): Depend on libiberty.h. * Makefile.in: Regenerate.
-rw-r--r--bfd/ChangeLog6
-rw-r--r--bfd/Makefile.am2
-rw-r--r--bfd/Makefile.in2
-rw-r--r--bfd/elflink.c1
4 files changed, 9 insertions, 2 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 3ae0203..68cc824 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,9 @@
+2004-04-08 Richard Sandiford <rsandifo@redhat.com>
+
+ * elflink.c: Include libiberty.h.
+ * Makefile.am (elflink.lo): Depend on libiberty.h.
+ * Makefile.in: Regenerate.
+
2004-04-06 Daniel Jacobowitz <drow@mvista.com>
* elfxx-mips.c (MIPS_ELF_STUB_SECTION_NAME): Always use
diff --git a/bfd/Makefile.am b/bfd/Makefile.am
index bc2f64f9..c395d32 100644
--- a/bfd/Makefile.am
+++ b/bfd/Makefile.am
@@ -1322,7 +1322,7 @@ elf32.lo: elf32.c elfcode.h $(INCDIR)/filenames.h $(INCDIR)/libiberty.h \
$(INCDIR)/safe-ctype.h
elflink.lo: elflink.c $(INCDIR)/filenames.h $(INCDIR)/bfdlink.h \
elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
- $(INCDIR)/elf/external.h
+ $(INCDIR)/elf/external.h $(INCDIR)/libiberty.h
elf-strtab.lo: elf-strtab.c $(INCDIR)/filenames.h elf-bfd.h \
$(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
$(INCDIR)/bfdlink.h $(INCDIR)/hashtab.h $(INCDIR)/libiberty.h
diff --git a/bfd/Makefile.in b/bfd/Makefile.in
index aa60ce9..4d4d784 100644
--- a/bfd/Makefile.in
+++ b/bfd/Makefile.in
@@ -1859,7 +1859,7 @@ elf32.lo: elf32.c elfcode.h $(INCDIR)/filenames.h $(INCDIR)/libiberty.h \
$(INCDIR)/safe-ctype.h
elflink.lo: elflink.c $(INCDIR)/filenames.h $(INCDIR)/bfdlink.h \
elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
- $(INCDIR)/elf/external.h
+ $(INCDIR)/elf/external.h $(INCDIR)/libiberty.h
elf-strtab.lo: elf-strtab.c $(INCDIR)/filenames.h elf-bfd.h \
$(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
$(INCDIR)/bfdlink.h $(INCDIR)/hashtab.h $(INCDIR)/libiberty.h
diff --git a/bfd/elflink.c b/bfd/elflink.c
index 5c8072a..4c27f88 100644
--- a/bfd/elflink.c
+++ b/bfd/elflink.c
@@ -25,6 +25,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#define ARCH_SIZE 0
#include "elf-bfd.h"
#include "safe-ctype.h"
+#include "libiberty.h"
bfd_boolean
_bfd_elf_create_got_section (bfd *abfd, struct bfd_link_info *info)