mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-05 15:15:42 +00:00
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:
@@ -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.
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -21,7 +21,6 @@
|
||||
02110-1301, USA. */
|
||||
|
||||
%{
|
||||
#include "as.h"
|
||||
#include "itbl-lex.h"
|
||||
#include <itbl-parse.h>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user