Include bfd.h before sysdep.h, so ansidecl and PROTO() get defined first.

This commit is contained in:
John Gilmore 1991-10-11 11:22:05 +00:00
parent 1b78540a99
commit 2a5f387b08
8 changed files with 16 additions and 68 deletions

View File

@ -25,8 +25,8 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
# include "target.h"
# include "am29k-opcode.h"
#else
# include "sysdep.h"
# include "bfd.h"
# include "sysdep.h"
# include "a29k-opcode.h"
# define am29k_opcodes a29k_opcodes
# define am29k_opcode a29k_opcode

View File

@ -1,8 +1,7 @@
/*** copy.c -- copy object file from input to output, optionally
massaging it */
#include <sysdep.h>
#include "bfd.h"
#include "sysdep.h"
asymbol **sympp;
char *input_target = NULL;

View File

@ -46,6 +46,7 @@
#if 0 /* Should really be part of BFD */
#define nounderscore 1 /* define this is names don't start with _ */
#endif
#include "bfd.h"
#include "sysdep.h"
#include <ctype.h>

View File

@ -19,12 +19,10 @@ You should have received a copy of the GNU General Public License
along with BFD; see the file COPYING. If not, write to
the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
/* $Id$
$Log
*/
/* $Id$ */
#include "sysdep.h"
#include "bfd.h"
#include "sysdep.h"
extern char *xmalloc();
extern int fputs();

View File

@ -20,9 +20,12 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
/* $Id$
$Log$
Revision 1.2 1991/06/14 22:54:44 steve
*** empty log message ***
Revision 1.3 1991/10/11 11:22:00 gnu
Include bfd.h before sysdep.h, so ansidecl and PROTO() get defined first.
* Revision 1.2 1991/06/14 22:54:44 steve
* *** empty log message ***
*
* Revision 1.1.1.1 1991/03/21 21:26:46 gumby
* Back from Intel with Steve
*
@ -55,10 +58,9 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
* Initial revision
*
*/
#include "bfd.h"
#include "sysdep.h"
#include <stdio.h>
#include "bfd.h"
#include "m68k-opcode.h"
extern int fputs();

View File

@ -15,16 +15,15 @@
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#include "bfd.h"
#include "sysdep.h"
#include "getopt.h"
#include <stdio.h>
#include <signal.h>
#include <sys/types.h>
#include <sys/stat.h>
#include "getopt.h"
#include "bfd.h"
enum strip_action {
strip_undef,
strip_all, /* strip all symbols */

View File

@ -18,58 +18,11 @@ You should have received a copy of the GNU General Public License
along with the binutils; see the file COPYING. If not, write to
the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
/* $Id$
$Log$
Revision 1.8 1991/06/14 22:54:48 steve
*** empty log message ***
/* $Id$ */
* Revision 1.6 1991/05/23 03:49:10 rich
* new sparc-opcode, new pinsn.
*
* Revision 1.5 1991/05/22 01:40:35 rich
* Oops.
*
* Revision 1.4 1991/05/22 01:17:48 rich
* v9 stuff.
*
* Revision 1.3 1991/05/19 08:00:57 rich
* Updated to relect a gdb change in sparc-opcode.h.
*
* Revision 1.2 1991/04/18 21:14:21 steve
* Send the right # of args to an fprintf
*
* Revision 1.1.1.1 1991/03/21 21:26:56 gumby
* Back from Intel with Steve
*
* Revision 1.1 1991/03/21 21:26:55 gumby
* Initial revision
*
* Revision 1.1 1991/03/13 00:34:40 chrisb
* Initial revision
*
* Revision 1.3 1991/03/09 04:36:31 rich
* Modified Files:
* sparc-pinsn.c ostrip.c objdump.c m68k-pinsn.c i960-pinsn.c
* binutils.h
*
* Pulled sysdep.h out of bfd.h.
*
* Revision 1.2 1991/03/08 21:54:53 rich
* Modified Files:
* Makefile ar.c binutils.h bucomm.c copy.c cplus-dem.c getopt.c
* i960-pinsn.c m68k-pinsn.c nm.c objdump.c sparc-opcode.h
* sparc-pinsn.c strip.c
*
* Verifying Portland tree with steve's last changes. Also, some partial
* porting.
*
* Revision 1.1 1991/02/22 16:48:04 sac
* Initial revision
*
*/
#include "bfd.h"
#include "sysdep.h"
#include <stdio.h>
#include "bfd.h"
#include "sparc-opcode.h"
extern int fputs();

View File

@ -18,13 +18,9 @@
/* BUGS: When there's not enough memory, this should do the copy
in pieces rather than just fail as it does now */
#include "sysdep.h"
#include "bfd.h"
#include "sysdep.h"
#include "getopt.h"
#include <signal.h>
/* Various program options */