summaryrefslogtreecommitdiff
path: root/binutils/syslex.l
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2012-05-16 14:26:44 +0000
committerNick Clifton <nickc@redhat.com>2012-05-16 14:26:44 +0000
commit57381938f7d49479bec39a418110e83e253632b0 (patch)
treeecdd6376af205ea1fd84253b87e4a5fe078e958c /binutils/syslex.l
parent8a9be7a90c414b1e7023e7c3bfc584cd4432c7ae (diff)
downloadbinutils-redhat-57381938f7d49479bec39a418110e83e253632b0.tar.gz
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.l')
-rw-r--r--binutils/syslex.l6
1 files changed, 4 insertions, 2 deletions
diff --git a/binutils/syslex.l b/binutils/syslex.l
index abfa678376..14aee731e3 100644
--- a/binutils/syslex.l
+++ b/binutils/syslex.l
@@ -1,7 +1,7 @@
%option noinput nounput
%{
-/* Copyright 2001, 2003, 2005, 2007, 2011 Free Software Foundation, Inc.
+/* Copyright 2001, 2003, 2005, 2007, 2011, 2012 Free Software Foundation, Inc.
This file is part of GNU Binutils.
@@ -20,7 +20,8 @@
Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA
02110-1301, USA. */
-#include "config.h"
+/* Note: config.h is #included via syslex_wrap.c. */
+
#ifdef HAVE_STRING_H
#include <string.h>
#else
@@ -28,6 +29,7 @@
#include <strings.h>
#endif
#endif
+
#include "sysinfo.h"
#ifndef YY_NO_UNPUT