From ccf2f65243b93ddfadc0ed00736bfa94c1db7f7f Mon Sep 17 00:00:00 2001 From: Richard Sandiford Date: Thu, 8 Apr 2004 15:17:35 +0000 Subject: [PATCH] * elflink.c: Include libiberty.h. * Makefile.am (elflink.lo): Depend on libiberty.h. * Makefile.in: Regenerate. --- bfd/ChangeLog | 6 ++++++ bfd/Makefile.am | 2 +- bfd/Makefile.in | 2 +- bfd/elflink.c | 1 + 4 files changed, 9 insertions(+), 2 deletions(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 3ae020326fc..68cc8248eee 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,9 @@ +2004-04-08 Richard Sandiford + + * elflink.c: Include libiberty.h. + * Makefile.am (elflink.lo): Depend on libiberty.h. + * Makefile.in: Regenerate. + 2004-04-06 Daniel Jacobowitz * elfxx-mips.c (MIPS_ELF_STUB_SECTION_NAME): Always use diff --git a/bfd/Makefile.am b/bfd/Makefile.am index bc2f64f94da..c395d3275b7 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 aa60ce9fbbc..4d4d784cc96 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 5c8072ad25e..4c27f8840e6 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) -- 2.30.2