mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-18 12:24:38 +08:00
Undo precipitous changes.
This commit is contained in:
parent
7054ee6d2b
commit
8215bbacd0
10
bfd/config.sub
vendored
10
bfd/config.sub
vendored
@ -162,12 +162,6 @@ iris | iris4d)
|
||||
vendor=sgi
|
||||
os=irix # maybe?
|
||||
;;
|
||||
|
||||
dpx2)
|
||||
vendor = bull
|
||||
cpu = m68k
|
||||
os = sysv
|
||||
;;
|
||||
isi | isi68)
|
||||
cpu=m68k
|
||||
vendor=isi
|
||||
@ -394,7 +388,7 @@ case "${vendor}" in
|
||||
cbm | convergent | convex | coff | cray | dec | encore |\
|
||||
gould | intel | isi | hp | ibm | little | mips | motorola |\
|
||||
ncr | next | none | nyu | sco | sequent | sgi | sony | sun |\
|
||||
unicom | utek | wrs | bull ) ;;
|
||||
unicom | utek | wrs ) ;;
|
||||
|
||||
# start-sanitize-v9
|
||||
hal) ;;
|
||||
@ -410,7 +404,7 @@ esac
|
||||
|
||||
case "${os}" in
|
||||
aix* | aout | bout | bsd* | coff | ctix* | dynix* | esix* | hpux* | irix* \
|
||||
| isc* | kern | mach* | newsos* | nindy* | none | osf* | osf* | sco* \
|
||||
| isc* | mach* | newsos* | nindy* | none | osf* | osf* | sco* \
|
||||
| sunos* | sysv* | ultrix* | unos* | v88r* | vms* | vxworks* \
|
||||
| sym[1-9]* | unicos* | uts | svr4 | amigados)
|
||||
;;
|
||||
|
@ -33,7 +33,6 @@ h-hp9000.h
|
||||
h-hp300bsd.h
|
||||
h-i386v.h
|
||||
h-irix3.h
|
||||
h-m68kv.h
|
||||
h-rs6000.h
|
||||
h-rtbsd.h
|
||||
h-sun3.h
|
||||
@ -51,8 +50,8 @@ echo Done in `pwd`.
|
||||
#
|
||||
#
|
||||
# $Log$
|
||||
# Revision 1.6 1991/09/19 21:05:02 steve
|
||||
# Stuff for new machiens
|
||||
# Revision 1.7 1991/09/20 03:42:22 gnu
|
||||
# Undo precipitous changes.
|
||||
#
|
||||
# Revision 1.5 1991/09/17 06:57:44 grossman
|
||||
# sgi/irix config stuff.
|
||||
|
@ -1,13 +1,11 @@
|
||||
#include <sys/types.h>
|
||||
#include <sys/file.h>
|
||||
#include <fcntl.h>
|
||||
#include <errno.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <ctype.h>
|
||||
#include <string.h>
|
||||
|
||||
#include <sys/file.h>
|
||||
#ifndef O_ACCMODE
|
||||
#define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR)
|
||||
#endif
|
||||
|
@ -22,24 +22,15 @@ struct external_filehdr {
|
||||
* F_AR32WR file has byte ordering of an AR32WR machine (e.g. vax)
|
||||
*/
|
||||
|
||||
#define F_RELFLG 0000001
|
||||
#define F_EXEC 0000002
|
||||
#define F_LNNO 0000004
|
||||
#define F_LSYMS 0000010
|
||||
#define F_MINMAL 0000020
|
||||
#define F_UPDATE 0000040
|
||||
#define F_SWABD 0000100
|
||||
#define F_AR16WR 0000200
|
||||
#define F_AR32WR 0000400
|
||||
#define F_AR32W 0001000
|
||||
#define F_PATCH 0002000
|
||||
#define F_NODF 0002000
|
||||
#define F_RELFLG (0x0001)
|
||||
#define F_EXEC (0x0002)
|
||||
#define F_LNNO (0x0004)
|
||||
#define F_LSYMS (0x0008)
|
||||
|
||||
#define I386MAGIC 0514
|
||||
|
||||
|
||||
#define I386MAGIC 0x14c
|
||||
#define I386BADMAG(x) (((x).f_magic!=I386MAGIC))
|
||||
#define I386AOUTMAGIC 0413
|
||||
#define I386AOUTVSTAMP 0000
|
||||
#define COFF_TIMESTAMP
|
||||
|
||||
|
||||
#define FILHDR struct external_filehdr
|
||||
@ -119,7 +110,7 @@ struct external_scnhdr {
|
||||
#define _TEXT ".text"
|
||||
#define _DATA ".data"
|
||||
#define _BSS ".bss"
|
||||
#define _COMMENT ".comment"
|
||||
|
||||
/*
|
||||
* s_flags "type"
|
||||
*/
|
||||
@ -320,6 +311,5 @@ struct external_reloc {
|
||||
#define DEFAULT_DATA_SECTION_ALIGNMENT 4
|
||||
#define DEFAULT_BSS_SECTION_ALIGNMENT 4
|
||||
#define DEFAULT_TEXT_SECTION_ALIGNMENT 4
|
||||
#define DEFAULT_COMMENT_SECTION_ALIGNMENT 4
|
||||
/* For new sections we havn't heard of before */
|
||||
#define DEFAULT_SECTION_ALIGNMENT 4
|
||||
|
@ -13,7 +13,7 @@ struct external_filehdr {
|
||||
};
|
||||
|
||||
|
||||
/* Motorola 68000/68008/68010/68020 file magic numbers*/
|
||||
/* Motorola 68000/68008/68010/68020 */
|
||||
#define MC68MAGIC 0520
|
||||
#define MC68KWRMAGIC 0520 /* writeable text segments */
|
||||
#define MC68TVMAGIC 0521
|
||||
@ -22,15 +22,8 @@ struct external_filehdr {
|
||||
#define M68MAGIC 0210
|
||||
#define M68TVMAGIC 0211
|
||||
|
||||
# define COFF_TIMESTAMP
|
||||
# define XPG3_FLAG
|
||||
# define MC68KBCSMAGIC 0526
|
||||
#define M68KBADMAG(x) \
|
||||
(((x).f_magic!=MC68MAGIC) && ((x).f_magic!=MC68KWRMAGIC) \
|
||||
&& ((x).f_magic!=MC68TVMAGIC) && ((x).f_magic!=MC68KROMAGIC) \
|
||||
&& ((x).f_magic!=MC68KPGMAGIC) && ((x).f_magic!=M68MAGIC) \
|
||||
&& ((x).f_magic!=M68TVMAGIC) && ((x).f_magic!=MC68KBCSMAGIC) )
|
||||
|
||||
#define M68KBADMAG(x) (((x).f_magic!=MC68MAGIC) && ((x).f_magic!=MC68KWRMAGIC) && ((x).f_magic!=MC68TVMAGIC) && \
|
||||
((x).f_magic!=MC68KROMAGIC) && ((x).f_magic!=MC68KPGMAGIC) && ((x).f_magic!=M68MAGIC) && ((x).f_magic!=M68TVMAGIC) )
|
||||
|
||||
|
||||
|
||||
@ -57,14 +50,6 @@ AOUTHDR;
|
||||
|
||||
#define AOUTSZ (sizeof(AOUTHDR))
|
||||
|
||||
|
||||
/* a.out header magic numbers */
|
||||
|
||||
#define MC68PGMAGIC 0413 /* Page aligned shared a.out */
|
||||
#define MC68WRMAGIC 0407 /* Private text */
|
||||
#define MC68ROMAGIC 0410 /* Shared text */
|
||||
#define MC68PGLIBMAGIC 0443 /* Page aligned shared lib */
|
||||
#define MC68AOUTVSTAMP 0000 /* Version stamp */
|
||||
|
||||
|
||||
/********************** SECTION HEADER **********************/
|
||||
@ -89,10 +74,6 @@ struct external_scnhdr {
|
||||
#define _TEXT ".text"
|
||||
#define _DATA ".data"
|
||||
#define _BSS ".bss"
|
||||
#define _TV ".tv"
|
||||
#define _NL ".nl"
|
||||
#define _INIT ".init"
|
||||
#define _FINI ".fini"
|
||||
|
||||
|
||||
#define SCNHDR struct external_scnhdr
|
||||
|
@ -18,21 +18,12 @@ struct internal_filehdr
|
||||
* F_AR32WR file has byte ordering of an AR32WR machine (e.g. vax)
|
||||
*/
|
||||
|
||||
#define F_RELFLG 0000001
|
||||
#define F_EXEC 0000002
|
||||
#define F_LNNO 0000004
|
||||
#define F_LSYMS 0000010
|
||||
#define F_MINMAL 0000020
|
||||
#define F_UPDATE 0000040
|
||||
#define F_SWABD 0000100
|
||||
#define F_AR16WR 0000200
|
||||
#define F_AR32WR 0000400
|
||||
#define F_AR32W 0001000
|
||||
#define F_PATCH 0002000
|
||||
#define F_NODF 0002000
|
||||
#define F_XPG3 0004000
|
||||
#define F_MC68NULLPTR 0020000
|
||||
|
||||
#define F_RELFLG (0x0001)
|
||||
#define F_EXEC (0x0002)
|
||||
#define F_LNNO (0x0004)
|
||||
#define F_LSYMS (0x0008)
|
||||
#define F_AR32WR (0x0010)
|
||||
#define F_AR32W 0x200
|
||||
/********************** AOUT "OPTIONAL HEADER" **********************/
|
||||
struct internal_aouthdr {
|
||||
short magic; /* type of file */
|
||||
@ -113,13 +104,6 @@ struct internal_scnhdr {
|
||||
#endif
|
||||
};
|
||||
|
||||
/*
|
||||
* names of "special" sections
|
||||
*/
|
||||
#define _TEXT ".text"
|
||||
#define _DATA ".data"
|
||||
#define _BSS ".bss"
|
||||
#define _COMMENT ".comment"
|
||||
|
||||
/*
|
||||
* s_flags "type"
|
||||
|
Loading…
Reference in New Issue
Block a user