diff options
author | Alan Modra <amodra@gmail.com> | 2021-03-31 18:15:46 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2021-03-31 23:07:51 +1030 |
commit | fdb21288ca98d0ebb7819a752631a31aa0010be3 (patch) | |
tree | 04f241a59cfb89049795d5b850e3cda435587ba8 | |
parent | 65c5fbd4fdecd96c91f43edc673e1e14f37c5cbd (diff) | |
download | gdb-fdb21288ca98d0ebb7819a752631a31aa0010be3.zip gdb-fdb21288ca98d0ebb7819a752631a31aa0010be3.tar.gz gdb-fdb21288ca98d0ebb7819a752631a31aa0010be3.tar.bz2 |
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.
-rw-r--r-- | gas/ChangeLog | 7 | ||||
-rw-r--r-- | gas/config/bfin-lex-wrapper.c | 4 | ||||
-rw-r--r-- | gas/config/bfin-lex.l | 2 | ||||
-rw-r--r-- | gas/itbl-lex-wrapper.c | 4 | ||||
-rw-r--r-- | gas/itbl-lex.l | 1 |
5 files changed, 11 insertions, 7 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 8c4eab1..9a007c7 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,5 +1,12 @@ 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. * as.c, * as.h, * atof-generic.c, * config/atof-ieee.c, * config/bfin-aux.h, * config/obj-coff.c, * config/obj-ecoff.c, diff --git a/gas/config/bfin-lex-wrapper.c b/gas/config/bfin-lex-wrapper.c index 010c37c..9c08e8c 100644 --- a/gas/config/bfin-lex-wrapper.c +++ b/gas/config/bfin-lex-wrapper.c @@ -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" diff --git a/gas/config/bfin-lex.l b/gas/config/bfin-lex.l index be72a18..eaaaf74 100644 --- a/gas/config/bfin-lex.l +++ b/gas/config/bfin-lex.l @@ -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" diff --git a/gas/itbl-lex-wrapper.c b/gas/itbl-lex-wrapper.c index 385cadd..01ee7a0 100644 --- a/gas/itbl-lex-wrapper.c +++ b/gas/itbl-lex-wrapper.c @@ -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" diff --git a/gas/itbl-lex.l b/gas/itbl-lex.l index 9b1e6f0..03ef518 100644 --- a/gas/itbl-lex.l +++ b/gas/itbl-lex.l @@ -21,7 +21,6 @@ 02110-1301, USA. */ %{ -#include "as.h" #include "itbl-lex.h" #include <itbl-parse.h> |