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 /gas/config | |
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.
Diffstat (limited to 'gas/config')
-rw-r--r-- | gas/config/bfin-lex-wrapper.c | 4 | ||||
-rw-r--r-- | gas/config/bfin-lex.l | 2 |
2 files changed, 2 insertions, 4 deletions
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" |