Don't include bfd/sysdep.h for gas files

* itbl-lex-wrapper.c: Include as.h not sysdep.h.
	* config/bfin-lex-wrapper.c: Likewise.
	* itbl-lex.l: Don't include as.h.
	* config/bfin-lex.l: Likewise.
This commit is contained in:
Alan Modra
2021-03-31 18:15:46 +10:30
parent 65c5fbd4fd
commit fdb21288ca
5 changed files with 11 additions and 7 deletions

View File

@@ -1,3 +1,10 @@
2021-03-31 Alan Modra <amodra@gmail.com>
* itbl-lex-wrapper.c: Include as.h not sysdep.h.
* config/bfin-lex-wrapper.c: Likewise.
* itbl-lex.l: Don't include as.h.
* config/bfin-lex.l: Likewise.
2021-03-31 Alan Modra <amodra@gmail.com>
* as.h (POISON_BFD_BOOLEAN): Define.

View File

@@ -18,8 +18,8 @@
02110-1301, USA. */
/* The C source file generated by flex includes stdio.h before any of
the C code in bfin-lex.l. Make sure we include sysdep.h first, so
the C code in bfin-lex.l. Make sure we include as.h first, so
that config.h can set the correct values for various things. */
#include "sysdep.h"
#include "as.h"
#include "config/bfin-lex.c"

View File

@@ -20,8 +20,6 @@
Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA
02110-1301, USA. */
%{
#include "as.h"
#include "bfin-defs.h"
#include "config/bfin-parse.h"

View File

@@ -18,8 +18,8 @@
02110-1301, USA. */
/* The C source file generated by flex includes stdio.h before any of
the C code in itbl-lex.l. Make sure we include sysdep.h first, so
the C code in itbl-lex.l. Make sure we include as.h first, so
that config.h can set the correct values for various things. */
#include "sysdep.h"
#include "as.h"
#include "itbl-lex.c"

View File

@@ -21,7 +21,6 @@
02110-1301, USA. */
%{
#include "as.h"
#include "itbl-lex.h"
#include <itbl-parse.h>