diff options
author | Ian Lance Taylor <ian@airs.com> | 1999-06-21 10:11:52 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1999-06-21 10:11:52 +0000 |
commit | 8588f814f00dc208a1f7ddb26e9e64b71e2a6537 (patch) | |
tree | b58a3f09f4585b4edf41bcadc6a94b0e21d24cc8 /opcodes | |
parent | 58e6e8b1edc139129fe07690e200fbd24886202d (diff) | |
download | gdb-8588f814f00dc208a1f7ddb26e9e64b71e2a6537.tar.gz |
* alpha-dis.c: Don't include <stdlib.h>.
* arm-dis.c: Include "sysdep.h".
* tic30-dis.c: Don't include <stdlib.h> or <string.h>. Include
"sysdep.h".
* Makefile.am: Rebuild dependencies.
* Makefile.in: Rebuild.
Diffstat (limited to 'opcodes')
-rw-r--r-- | opcodes/ChangeLog | 9 | ||||
-rw-r--r-- | opcodes/Makefile.am | 23 | ||||
-rw-r--r-- | opcodes/Makefile.in | 34 | ||||
-rw-r--r-- | opcodes/alpha-dis.c | 1 | ||||
-rw-r--r-- | opcodes/arm-dis.c | 1 | ||||
-rw-r--r-- | opcodes/tic30-dis.c | 5 |
6 files changed, 48 insertions, 25 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index 508abe34fe4..e28f03bdc21 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,3 +1,12 @@ +1999-06-21 Ian Lance Taylor <ian@zembu.com> + + * alpha-dis.c: Don't include <stdlib.h>. + * arm-dis.c: Include "sysdep.h". + * tic30-dis.c: Don't include <stdlib.h> or <string.h>. Include + "sysdep.h". + * Makefile.am: Rebuild dependencies. + * Makefile.in: Rebuild. + 1999-06-16 Nick Clifton <nickc@cygnus.com> * arm-dis.c (print_insn_arm): Add detection of IMB and IMBRange diff --git a/opcodes/Makefile.am b/opcodes/Makefile.am index 6659561a512..79fabc55629 100644 --- a/opcodes/Makefile.am +++ b/opcodes/Makefile.am @@ -239,11 +239,18 @@ alpha-dis.lo: alpha-dis.c $(INCDIR)/ansidecl.h sysdep.h \ config.h $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/opcode/alpha.h alpha-opc.lo: alpha-opc.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/alpha.h \ $(BFD_H) opintl.h -arm-dis.lo: arm-dis.c $(INCDIR)/dis-asm.h $(BFD_H) \ - $(INCDIR)/ansidecl.h arm-opc.h $(INCDIR)/coff/internal.h \ - $(BFDDIR)/libcoff.h $(INCDIR)/bfdlink.h opintl.h $(BFDDIR)/elf-bfd.h \ +arc-dis.lo: arc-dis.c $(INCDIR)/dis-asm.h $(BFD_H) \ + $(INCDIR)/ansidecl.h $(INCDIR)/opcode/arc.h $(BFDDIR)/elf-bfd.h \ $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \ - $(INCDIR)/elf/arm.h $(INCDIR)/elf/reloc-macros.h + $(INCDIR)/bfdlink.h $(INCDIR)/elf/arc.h $(INCDIR)/elf/reloc-macros.h \ + opintl.h +arc-opc.lo: arc-opc.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/arc.h \ + opintl.h +arm-dis.lo: arm-dis.c sysdep.h config.h $(INCDIR)/dis-asm.h \ + $(BFD_H) arm-opc.h $(INCDIR)/coff/internal.h $(BFDDIR)/libcoff.h \ + $(INCDIR)/bfdlink.h opintl.h $(BFDDIR)/elf-bfd.h $(INCDIR)/elf/common.h \ + $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/elf/arm.h \ + $(INCDIR)/elf/reloc-macros.h cgen-asm.lo: cgen-asm.c sysdep.h config.h $(INCDIR)/libiberty.h \ $(BFD_H) $(INCDIR)/symcat.h $(INCDIR)/opcode/cgen.h \ opintl.h @@ -337,11 +344,15 @@ sparc-dis.lo: sparc-dis.c $(INCDIR)/ansidecl.h sysdep.h \ config.h $(INCDIR)/opcode/sparc.h $(INCDIR)/dis-asm.h \ $(BFD_H) $(INCDIR)/libiberty.h opintl.h sparc-opc.lo: sparc-opc.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/sparc.h -tic30-dis.lo: tic30-dis.c $(INCDIR)/dis-asm.h $(BFD_H) \ - $(INCDIR)/ansidecl.h $(INCDIR)/opcode/tic30.h +tic30-dis.lo: tic30-dis.c sysdep.h config.h $(INCDIR)/dis-asm.h \ + $(BFD_H) $(INCDIR)/opcode/tic30.h tic80-dis.lo: tic80-dis.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/tic80.h \ $(INCDIR)/dis-asm.h $(BFD_H) tic80-opc.lo: tic80-opc.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/tic80.h +v850-dis.lo: v850-dis.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/v850.h \ + $(INCDIR)/dis-asm.h $(BFD_H) opintl.h +v850-opc.lo: v850-opc.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/v850.h \ + opintl.h vax-dis.lo: vax-dis.c $(INCDIR)/opcode/vax.h $(INCDIR)/dis-asm.h \ $(BFD_H) $(INCDIR)/ansidecl.h w65-dis.lo: w65-dis.c w65-opc.h $(INCDIR)/dis-asm.h \ diff --git a/opcodes/Makefile.in b/opcodes/Makefile.in index eae7bfa261e..86ed179b42b 100644 --- a/opcodes/Makefile.in +++ b/opcodes/Makefile.in @@ -103,8 +103,6 @@ VERSION = @VERSION@ WIN32LDFLAGS = @WIN32LDFLAGS@ WIN32LIBADD = @WIN32LIBADD@ archdefs = @archdefs@ -cgen = @cgen@ -cgendir = @cgendir@ l = @l@ AUTOMAKE_OPTIONS = cygnus @@ -272,10 +270,6 @@ POTFILES = $(HFILES) $(CFILES) CLEANFILES = \ libopcodes.a stamp-lib dep.sed .dep .dep1 - - - -# The start marker is written this way to pass through automake unscathed. ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 mkinstalldirs = $(SHELL) $(top_srcdir)/../mkinstalldirs CONFIG_HEADER = config.h @@ -304,7 +298,7 @@ acinclude.m4 aclocal.m4 config.in configure configure.in DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) -TAR = tar +TAR = gtar GZIP_ENV = --best SOURCES = libopcodes.a.c $(libopcodes_la_SOURCES) OBJECTS = libopcodes.a.o $(libopcodes_la_OBJECTS) @@ -692,8 +686,7 @@ po/POTFILES.in: @MAINT@ Makefile config.status: $(srcdir)/configure $(srcdir)/../bfd/configure.in $(SHELL) ./config.status --recheck - - +# The start marker is written this way to pass through automake unscathed. # This dependency stuff is copied from BFD. @@ -745,11 +738,18 @@ alpha-dis.lo: alpha-dis.c $(INCDIR)/ansidecl.h sysdep.h \ config.h $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/opcode/alpha.h alpha-opc.lo: alpha-opc.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/alpha.h \ $(BFD_H) opintl.h -arm-dis.lo: arm-dis.c $(INCDIR)/dis-asm.h $(BFD_H) \ - $(INCDIR)/ansidecl.h arm-opc.h $(INCDIR)/coff/internal.h \ - $(BFDDIR)/libcoff.h $(INCDIR)/bfdlink.h opintl.h $(BFDDIR)/elf-bfd.h \ +arc-dis.lo: arc-dis.c $(INCDIR)/dis-asm.h $(BFD_H) \ + $(INCDIR)/ansidecl.h $(INCDIR)/opcode/arc.h $(BFDDIR)/elf-bfd.h \ $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \ - $(INCDIR)/elf/arm.h $(INCDIR)/elf/reloc-macros.h + $(INCDIR)/bfdlink.h $(INCDIR)/elf/arc.h $(INCDIR)/elf/reloc-macros.h \ + opintl.h +arc-opc.lo: arc-opc.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/arc.h \ + opintl.h +arm-dis.lo: arm-dis.c sysdep.h config.h $(INCDIR)/dis-asm.h \ + $(BFD_H) arm-opc.h $(INCDIR)/coff/internal.h $(BFDDIR)/libcoff.h \ + $(INCDIR)/bfdlink.h opintl.h $(BFDDIR)/elf-bfd.h $(INCDIR)/elf/common.h \ + $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/elf/arm.h \ + $(INCDIR)/elf/reloc-macros.h cgen-asm.lo: cgen-asm.c sysdep.h config.h $(INCDIR)/libiberty.h \ $(BFD_H) $(INCDIR)/symcat.h $(INCDIR)/opcode/cgen.h \ opintl.h @@ -843,11 +843,15 @@ sparc-dis.lo: sparc-dis.c $(INCDIR)/ansidecl.h sysdep.h \ config.h $(INCDIR)/opcode/sparc.h $(INCDIR)/dis-asm.h \ $(BFD_H) $(INCDIR)/libiberty.h opintl.h sparc-opc.lo: sparc-opc.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/sparc.h -tic30-dis.lo: tic30-dis.c $(INCDIR)/dis-asm.h $(BFD_H) \ - $(INCDIR)/ansidecl.h $(INCDIR)/opcode/tic30.h +tic30-dis.lo: tic30-dis.c sysdep.h config.h $(INCDIR)/dis-asm.h \ + $(BFD_H) $(INCDIR)/opcode/tic30.h tic80-dis.lo: tic80-dis.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/tic80.h \ $(INCDIR)/dis-asm.h $(BFD_H) tic80-opc.lo: tic80-opc.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/tic80.h +v850-dis.lo: v850-dis.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/v850.h \ + $(INCDIR)/dis-asm.h $(BFD_H) opintl.h +v850-opc.lo: v850-opc.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/v850.h \ + opintl.h vax-dis.lo: vax-dis.c $(INCDIR)/opcode/vax.h $(INCDIR)/dis-asm.h \ $(BFD_H) $(INCDIR)/ansidecl.h w65-dis.lo: w65-dis.c w65-opc.h $(INCDIR)/dis-asm.h \ diff --git a/opcodes/alpha-dis.c b/opcodes/alpha-dis.c index db55799ee68..db2d8fac021 100644 --- a/opcodes/alpha-dis.c +++ b/opcodes/alpha-dis.c @@ -20,7 +20,6 @@ along with this file; see the file COPYING. If not, write to the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#include <stdlib.h> #include <stdio.h> #include "ansidecl.h" #include "sysdep.h" diff --git a/opcodes/arm-dis.c b/opcodes/arm-dis.c index fadedf57d39..81a3593e6d7 100644 --- a/opcodes/arm-dis.c +++ b/opcodes/arm-dis.c @@ -19,6 +19,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +#include "sysdep.h" #include "dis-asm.h" #define DEFINE_TABLE #include "arm-opc.h" diff --git a/opcodes/tic30-dis.c b/opcodes/tic30-dis.c index 105145778b3..5ccf893f2f2 100644 --- a/opcodes/tic30-dis.c +++ b/opcodes/tic30-dis.c @@ -1,5 +1,5 @@ /* Disassembly routines for TMS320C30 architecture - Copyright (C) 1998 Free Software Foundation, Inc. + Copyright (C) 1998, 1999 Free Software Foundation, Inc. Contributed by Steven Haworth (steve@pm.cse.rmit.edu.au) This program is free software; you can redistribute it and/or modify @@ -19,8 +19,7 @@ #include <errno.h> #include <math.h> -#include <stdlib.h> -#include <string.h> +#include "sysdep.h" #include "dis-asm.h" #include "opcode/tic30.h" |