Commit graph

2345 commits

Author SHA1 Message Date
Per Bothner
adf441b919 * aout-target.h (MY(write_object_contents):
Set obj_reloc_entry_size (abfd).
	* gen-aout.c:  Change to emit a .c files, not a .h file.
1992-02-16 21:05:54 +00:00
Per Bothner
6f34472d93 * Makefile.in: Bump version to 1.96, and remove -beta
suffix from distribution name.
	* m68k-pinsn.c:  New macro COERCE_SIGNED_CHAR to extract
	the signed value of a character (even if chars are unsigned).
	* sparc-pinsn.c:  Add new operand types.
1992-02-16 20:58:45 +00:00
Per Bothner
c3d97ef66b *** empty log message *** 1992-02-16 20:49:26 +00:00
Roland Pesch
e62b9411b5 Two typos fixed, spotted by Jim Irwin of WRS 1992-02-16 01:46:59 +00:00
Roland Pesch
195758fa2a Fix missing user-font lines in introductory example (spotted by J Irwin,
WRS).
1992-02-16 01:39:35 +00:00
Per Bothner
7e5c1057bb * Makefile.in: Major changes. Removed some the sed
magic to converts scripts, since that is now handled
	by genscripts.sh and the *.sc-sh scipt generators.
	* config.h:  Remove a bunch of macros defining emulations
	and targets.  This becomes one less file to edit when
	adding emulations or targets.
	* ldemul.h (struct ld_emulation_xfer_struct):  Add
	emulation_name and target_name fields.
	* ldemul.c, ldemul.h:  Define some default functions used
	by most emulations (and remove from the *.em scripts).
	* ldemul.c (ldemul_choose_target):  Search the new
	ld_emulations array using a loop (instead of a hardwired
	nested if statement).
	Define the ld_emulation from the automatically-geenrated
	ldemul-list.h.  This means you no longer have to edit ldemul.c
	to add a new emulation.
	* ldmain.c:  Replace {GLD,LNK}960_EMULATION_NAME by
	their expansions, since the former no longer exist.
	* PORTING:  A very rough first draft of a porting guide.
1992-02-15 23:13:00 +00:00
Per Bothner
15c5ec2e27 * config/mt-foo: Changed EMUL=GLDFOO_EMULATION_NAME
to EMUL=foo. (The GLDFOO_EMULATION_NAMEs have bee removed.)
	* config/mh-foo:  Rename LDEMULATION names as appropriate
	(usually 'gldfoo' -> plain 'foo').
1992-02-15 22:21:43 +00:00
Per Bothner
de566389ca Major rewrite of how ld is configured. The major idea
is to use shell scripts to generate everything.
	* Each emulation is defined by a short shell script with
	extension *.sh that specifies the emulation-specific
	parameters (such as the name of the *.sh-sc and *.em
	files to use).
	* genscript.sh is the master shell script used to generate
	an emulation.  It is passed various argument, including
	the name a the emulation-speciic *.sh file that it
	"sources" to set variables to emulation-specifc parameters.
1992-02-15 22:13:53 +00:00
Per Bothner
6ecb2b74ee Major rewrite of how ld is configured. The major idea
is to use shell scripts to generate everything.
	* generic.em replaces ldtemplate.
	* Other *.em files replace various *.c files.
	A *.em file is a shell script that generates the corresponding
	ld__*.c file that implements an emulation.  This is usually
	a straight 'cat' of a here-document, possibly with substitutions.
	* Script files (*.sc) are places by *.sc-sh scripts.
	Again, these are simple shell scripts that 'cat'
	here-documents, usually with some substitutions.
	The output a *.sc-sh is a script file.
1992-02-15 22:07:15 +00:00
K. Richard Pixley
3340f7e5fd White space and comment changes. #ifdef __STDC__ becomes #if __STDC__
== 1.  Get the declarations right in listing.[hc].
1992-02-15 21:13:03 +00:00
K. Richard Pixley
a87b326934 White space and comment changes, and #ifdef __STDC__ becomes #if
__STDC__ == 1.
1992-02-15 21:09:34 +00:00
Fred Fish
5b3fb53040 Remove obsolete use of BSF_ABSOLUTE and replace with bfd_abs_section ref. 1992-02-14 04:13:53 +00:00
Steve Chamberlain
d5cd3c0e3d pointer lint and tandem target. 1992-02-14 02:29:39 +00:00
Steve Chamberlain
a213432461 Fix typeo which crept in between compiling and checking in 1992-02-14 01:48:00 +00:00
Steve Chamberlain
a0f3f080c1 * coffcode.h (get_normalized_symtab): fixed bug where symbols
with more than one auxent can cause nasty core dumps.
1992-02-14 01:37:56 +00:00
Fred Fish
d35bf52d93 Fix code in elf_symtab_read which attempts to read the standard ELF
symbol table and add symbol information to the misc function vector.
This allows minimum functionality with non -g compiled code, and is
vital for use with shared libraries (non of which are currently
compiled with -g).

Note to anyone doing any SVR4/gdb work.  This bug was introduced into
gdb just prior to the gdb 4.4 release, thus any versions currently
in the field will have broken shared library support since no symbol
information at all will be available for the shared library.  This
fix, along with one about to go into bfd's elf.c should fix that
problem.
1992-02-14 01:22:12 +00:00
Roland Pesch
0c5e345c0f Might as well keep the contents of the gas/doc subdir, as well as the
dir itself.
1992-02-14 00:28:22 +00:00
Roland Pesch
a262a1b2ca It's OK to keep the doc subdirectory, really. 1992-02-14 00:21:34 +00:00
Stu Grossman
5b620e7567 * xm-vaxbsd.h: Close off comment. 1992-02-13 20:44:23 +00:00
Heinz G. Seidl
26ca719c03 terminated unterminated comment 1992-02-13 19:39:48 +00:00
Fred Fish
0a663e9eb9 Define NEED_POSIX_SETPGID for all SVR4 hosts. 1992-02-13 15:47:18 +00:00
K. Richard Pixley
920babce5a clean up Sanitize for gas 1992-02-13 10:13:24 +00:00
K. Richard Pixley
a7f4a774e6 add README fluff 1992-02-13 09:56:39 +00:00
K. Richard Pixley
5c640b08ee fluff 1992-02-13 09:56:04 +00:00
K. Richard Pixley
0117086004 All files over ~5 lines get copylefted. All copylefted files get
copylefted 1992.
1992-02-13 09:49:39 +00:00
K. Richard Pixley
8b228fe958 force all files to end in "/* end of filename" 1992-02-13 09:13:54 +00:00
K. Richard Pixley
1d63ba3ba0 remove all rcs keywords 1992-02-13 08:39:15 +00:00
K. Richard Pixley
a39116f1c9 White space and comments only. The devo tree prior to this delta is
tagged as "vanilla" for your convenience.

There are also some comment changes.
1992-02-13 08:33:54 +00:00
K. Richard Pixley
77806c3e79 I think this solves the MAKEINFO and BISON rooting problems. 1992-02-13 00:20:17 +00:00
Steve Chamberlain
ee1e80ef4c Make the emulation GLD960, not GLD 1992-02-12 06:42:21 +00:00
Sean Eric Fagan
a11d7ba33e Updating gprof for latest bfd stuff, and making configure work. 1992-02-11 23:15:03 +00:00
Steve Chamberlain
dcde00c429 ldlang.c: now won't core dump with -M
configure.in: add configure target for vxworks960
1992-02-11 20:21:52 +00:00
Michael Tiemann
d68f75c44d #include <sys/stdtypes.h> before <stddef.h> so that when we compile
with GCC, the compiler does not stumble over `size_t', `ptrdiff_t',
and `wchar_t'.  Also note that the comment in <stddef.h> says that we
have to #include <sys/stdtypes.h> before including <stddef.h> when on
a sun.
1992-02-11 10:34:03 +00:00
Steve Chamberlain
20ec2f6c98 New files for MRI syntax assembler 1992-02-11 00:51:52 +00:00
Steve Chamberlain
ffc5003225 * ldexp.c, ldlang.c: added new idea "abs_output_section", removes
tests for NULL pointers all over the place.
	* ldlang.c (lang_process): remember to relocate global symbols
	*after* relaxing has done it stuff.
1992-02-11 00:23:32 +00:00
Sean Eric Fagan
b745cf362d Added mh-apollo68v and mt-os68k as files-to-keep. 1992-02-11 00:16:18 +00:00
Sean Eric Fagan
d5231b0895 Added a68v-xdep.c os68k-xdep.c, tm-os68k.h, and xm-apollo68v.h as files-
to-keep.
1992-02-11 00:14:59 +00:00
Sean Eric Fagan
d96234d279 Added mh-apollo68 and mt-os68k as files-to-keep. 1992-02-11 00:10:56 +00:00
Sean Eric Fagan
3aaa5a482f Added h-apollo68v.h as a file to keep. 1992-02-11 00:08:55 +00:00
Sean Eric Fagan
5e4d4b0f32 all: Don't include <sys/file.h> if NO_SYS_FILE is defined. On the Apollo,
this file does not exist, and not including it hasn't seemed to
	cause problems.
main.c:  Use the proper enum's in the options structure initialization;
	the Apollo compiler chokes on this.
1992-02-11 00:01:35 +00:00
Sean Eric Fagan
b159ce3f16 Makefile.in: Removed some '#''s that caused an extraneous include of
the host/site/target files.
configure.in:  Added support for hosting on an Apollo Series 400, and
	targeting on an OS/68k machine.
1992-02-10 23:58:50 +00:00
Sean Eric Fagan
dd16baba0b Added support for OS/68k (as a target) and Apollo Series 400's (as
a host).
1992-02-10 23:43:56 +00:00
Sean Eric Fagan
93deef92f4 Added support for hosting on an Apollo Series 400 (under System V emulation),
and targeted towards an OS/68000 system.
1992-02-10 23:31:40 +00:00
Sean Eric Fagan
36a2f895f8 Added support for hosting on an Apollo Series 400 processor (under
System V emulation), and targeted towards an OS/68000 system.
1992-02-10 23:30:35 +00:00
Sean Eric Fagan
87780a059a Added support for hosting on an Apollo Series 400 box, and targeted towards
an OS/68000 system.
1992-02-10 23:26:10 +00:00
Sean Eric Fagan
9ba0618dc7 Adding support for hosting on an apollo series 400 (68k processor). 1992-02-10 23:22:24 +00:00
Steve Chamberlain
ca3c5c6329 Make undefined refs not make an executable 1992-02-10 18:54:27 +00:00
K. Richard Pixley
bcdbe02f82 In configure{.in} {host|target}_makefile_frag should name a file
relative to srcdir.  I think it now does.  configure has been
corrected.  configure.texi has been clarified.
1992-02-08 08:57:08 +00:00
K. Richard Pixley
b8972815d5 correct a collision against recent configure changes 1992-02-08 02:22:09 +00:00
Heinz G. Seidl
0862386b13 added libg++ 1992-02-08 00:32:56 +00:00