aboutsummaryrefslogtreecommitdiff
path: root/binutils/syslex_wrap.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2012-05-16 14:26:46 +0000
committerNick Clifton <nickc@redhat.com>2012-05-16 14:26:46 +0000
commit691bf19c4ea5b2f5d615c4116649daf32f81cc7d (patch)
tree2d42f0d1967062b125b79665fff42824222052ad /binutils/syslex_wrap.c
parent8b127cbcc36cb65ef13eb756d02fe84aa120effb (diff)
downloadgdb-691bf19c4ea5b2f5d615c4116649daf32f81cc7d.zip
gdb-691bf19c4ea5b2f5d615c4116649daf32f81cc7d.tar.gz
gdb-691bf19c4ea5b2f5d615c4116649daf32f81cc7d.tar.bz2
PR binutils/13558
* bfd/aout-cris.c: Include sysdep.h before bfd.h. * bfd/aout-ns32k.c: Likewise. * bfd/aout-sparcle.c: Likewise. * bfd/aout0.c: Likewise. * bfd/bfd-in2.h: Likewise. * bfd/coff-stgo32.c: Likewise. * bfd/cpu-lm32.c: Likewise. * bfd/cpu-microblaze.c: Likewise. * bfd/cpu-score.c: Likewise. * bfd/cpu-tilegx.c: Likewise. * bfd/cpu-tilepro.c: Likewise. * bfd/elf32-lm32.c: Likewise. * bfd/elf32-microblaze.c: Likewise. * bfd/elf32-score7.c: Likewise. * bfd/elf32-tilepro.c: Likewise. * bfd/elfxx-tilegx.c: Likewise. * bfd/mach-o.h: Likewise. * bfd/nlm32-ppc.c: Likewise. * bfd/ns32knetbsd.c: Likewise. * bfd/pef.h: Likewise. * bfd/plugin.c: Likewise. * bfd/stab-syms.c: Likewise. * bfd/sunos.c: Likewise. * bfd/syms.c: Likewise. * bfd/xsym.h: Likewise. * Makefile.am (CFILES): Add syslex_wrap.c. (sysinfo): Depend upon syslex_wrap.o. (syslex_wrap.o): New rule. (syslex.o): Delete rule. * syslex_wrap.c: New file. * Makefile.in: Regenerate.
Diffstat (limited to 'binutils/syslex_wrap.c')
-rw-r--r--binutils/syslex_wrap.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/binutils/syslex_wrap.c b/binutils/syslex_wrap.c
new file mode 100644
index 0000000..e10b5fd
--- /dev/null
+++ b/binutils/syslex_wrap.c
@@ -0,0 +1,8 @@
+/* Wrapper source to ensure that config.h is the first header file seen by
+ the compiler. */
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
+#include "syslex.c"