Fix fallout from splitting ldbuildid.[ch] off elf32.em.
authorAlan Modra <amodra@gmail.com>
Wed, 9 Apr 2014 03:55:04 +0000 (13:25 +0930)
committerAlan Modra <amodra@gmail.com>
Wed, 9 Apr 2014 04:19:05 +0000 (13:49 +0930)
bfd/
* libcoff.h: Regenerate.
ld/
* emultempl/spuelf.em: Include safe-ctype.h, remove duplicate errno.h.
* emultempl/nds32elf.em: Include bfd_stdint.h.
* po/POTFILES.in: Regenerate.

bfd/ChangeLog
bfd/libcoff.h
ld/ChangeLog
ld/emultempl/nds32elf.em
ld/emultempl/spuelf.em
ld/po/POTFILES.in

index b95d49c..e38c6a4 100644 (file)
@@ -1,5 +1,9 @@
 2014-04-09  Alan Modra  <amodra@gmail.com>
 
+       * libcoff.h: Regenerate.
+
+2014-04-09  Alan Modra  <amodra@gmail.com>
+
        * elf32-ppc.c (ppc_elf_relocate_section): Remove bctr from list
        of safe ppc476 insns at end of page.  Also remove non-branch insns.
        Expand comments.
index 6cb387c..19ba7e7 100644 (file)
@@ -124,7 +124,7 @@ typedef struct pe_tdata
   bfd_boolean (*in_reloc_p) (bfd *, reloc_howto_type *);
   flagword real_flags;
 
-  /* build-id info. */
+  /* Build-id info.  */
   struct
   {
     bfd_boolean (*after_write_object_contents) (bfd *);
index b64c2e6..447e4a7 100644 (file)
@@ -1,5 +1,11 @@
 2014-04-09  Alan Modra  <amodra@gmail.com>
 
+       * emultempl/spuelf.em: Include safe-ctype.h, remove duplicate errno.h.
+       * emultempl/nds32elf.em: Include bfd_stdint.h.
+       * po/POTFILES.in: Regenerate.
+
+2014-04-09  Alan Modra  <amodra@gmail.com>
+
        * emultempl/ppc32elf.em (no_zero_padding, ppc_finish): New functions.
        (LDEMUL_FINISH): Define.
 
index 417eda5..96e6aa3 100644 (file)
@@ -25,6 +25,7 @@ fragment <<EOF
 #include "libbfd.h"
 #include "elf-bfd.h"
 #include "elf/nds32.h"
+#include "bfd_stdint.h"
 #include "elf32-nds32.h"
 
 static int relax_fp_as_gp = 1;         /* --mrelax-omit-fp  */
index eaf4de7..5167b35 100644 (file)
@@ -447,7 +447,7 @@ EOF
 
 if grep -q 'ld_elf.*ppc.*_emulation' ldemul-list.h; then
   fragment <<EOF
-#include <errno.h>
+#include "safe-ctype.h"
 #include "filenames.h"
 #include "libiberty.h"
 
index 55cbd13..fcc2894 100644 (file)
@@ -3,6 +3,8 @@ elf-hints-local.h
 emultempl/armcoff.em
 emultempl/pe.em
 ld.h
+ldbuildid.c
+ldbuildid.h
 ldcref.c
 ldctor.c
 ldctor.h