aboutsummaryrefslogtreecommitdiff
path: root/ld/emultempl
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2014-04-09 13:25:04 +0930
committerAlan Modra <amodra@gmail.com>2014-04-09 13:49:05 +0930
commite30d16e9ecd56cd2557b30ae1116946d772944b3 (patch)
tree9fef2df6c691c66591210b45bd40669aa5f899c0 /ld/emultempl
parent81b1ec4ff645501f0ea7fc32af34e96e1972b5c1 (diff)
downloadgdb-e30d16e9ecd56cd2557b30ae1116946d772944b3.zip
gdb-e30d16e9ecd56cd2557b30ae1116946d772944b3.tar.gz
gdb-e30d16e9ecd56cd2557b30ae1116946d772944b3.tar.bz2
Fix fallout from splitting ldbuildid.[ch] off elf32.em.
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.
Diffstat (limited to 'ld/emultempl')
-rw-r--r--ld/emultempl/nds32elf.em1
-rw-r--r--ld/emultempl/spuelf.em2
2 files changed, 2 insertions, 1 deletions
diff --git a/ld/emultempl/nds32elf.em b/ld/emultempl/nds32elf.em
index 417eda5..96e6aa3 100644
--- a/ld/emultempl/nds32elf.em
+++ b/ld/emultempl/nds32elf.em
@@ -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 */
diff --git a/ld/emultempl/spuelf.em b/ld/emultempl/spuelf.em
index eaf4de7..5167b35 100644
--- a/ld/emultempl/spuelf.em
+++ b/ld/emultempl/spuelf.em
@@ -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"