binutils-gdb.git
33 years agoInitial revision
Per Bothner [Mon, 7 Oct 1991 23:14:25 +0000 (23:14 +0000)]
Initial revision

33 years agoAdded right dependencies for h8300hds.sc
Steve Chamberlain [Mon, 7 Oct 1991 15:07:29 +0000 (15:07 +0000)]
Added right dependencies for h8300hds.sc

33 years agoFirst stage of coff-encap work.
John Gilmore [Mon, 7 Oct 1991 07:23:08 +0000 (07:23 +0000)]
First stage of coff-encap work.

33 years ago* m68kcoff.h: Remove `tagentries' which snuck in from the i960
John Gilmore [Mon, 7 Oct 1991 02:29:42 +0000 (02:29 +0000)]
* m68kcoff.h:  Remove `tagentries' which snuck in from the i960
COFF port.

33 years ago* aout64.h: Move struct internal_exec to ../bfd/libaout.h so
John Gilmore [Mon, 7 Oct 1991 02:29:12 +0000 (02:29 +0000)]
* aout64.h:  Move struct internal_exec to ../bfd/libaout.h so
it can be shared by all `a.out-family' code.  Rename
EXTERNAL_LIST_SIZE to EXTERNAL_NLIST_SIZE.  Use basic types
for nlist members, and make strx integral rather than pointer.
More commentary on n_type values.

33 years ago* archures.c: Rename `struct bfd_arch_info_struct' to `struct
John Gilmore [Mon, 7 Oct 1991 02:16:22 +0000 (02:16 +0000)]
* archures.c: Rename `struct bfd_arch_info_struct' to `struct
bfd_arch_info'.  Rename `typedef bfd_arch_info_struct_type' to
`bfd_arch_info_type'.  All uses changed.

33 years agoSupport for the h8300 with an hds monitor, first cut.
Steve Chamberlain [Sun, 6 Oct 1991 19:17:07 +0000 (19:17 +0000)]
Support for the h8300 with an hds monitor, first cut.

33 years agoInitial revision
Steve Chamberlain [Sun, 6 Oct 1991 19:17:06 +0000 (19:17 +0000)]
Initial revision

33 years agoInitial revision
Steve Chamberlain [Sun, 6 Oct 1991 19:02:50 +0000 (19:02 +0000)]
Initial revision

33 years agoconfigure, config.sub gone
John Gilmore [Sat, 5 Oct 1991 06:20:30 +0000 (06:20 +0000)]
configure, config.sub gone

33 years agoh-amix.h
John Gilmore [Sat, 5 Oct 1991 06:18:50 +0000 (06:18 +0000)]
h-amix.h

33 years agoa.out.vax.h gone.
John Gilmore [Sat, 5 Oct 1991 06:18:24 +0000 (06:18 +0000)]
a.out.vax.h gone.

33 years agohowto.c, configure, config.sub gone.
John Gilmore [Sat, 5 Oct 1991 06:16:44 +0000 (06:16 +0000)]
howto.c, configure, config.sub gone.

33 years agooops
John Gilmore [Sat, 5 Oct 1991 05:38:12 +0000 (05:38 +0000)]
oops

33 years agoIntel 386 Mach host port
John Gilmore [Sat, 5 Oct 1991 05:35:21 +0000 (05:35 +0000)]
Intel 386 Mach host port

33 years agoIntel 386 Mach host port.
John Gilmore [Sat, 5 Oct 1991 05:35:06 +0000 (05:35 +0000)]
Intel 386 Mach host port.

33 years agoInitial revision
John Gilmore [Sat, 5 Oct 1991 05:34:05 +0000 (05:34 +0000)]
Initial revision

33 years ago* h8300-opcode.h: Remove `_enum' from the typedef for an enum.
John Gilmore [Sat, 5 Oct 1991 05:29:40 +0000 (05:29 +0000)]
* h8300-opcode.h:  Remove `_enum' from the typedef for an enum.
* bfd.h:  Update to match bfd changes.

33 years ago* bfd.c: Remove strerror() to libiberty.
John Gilmore [Sat, 5 Oct 1991 05:18:08 +0000 (05:18 +0000)]
* bfd.c:  Remove strerror() to libiberty.

* elf.c:  Remove elf_set_section_contents, use generic one.  Lint.
* libbfd-in.h, libbfd.c:  Add bfd_generic_set_section_contents.
* libbfd.c (bfd_generic_{get,set}_section_contents):  Check that
last byte of transfer, not first byte, is within the section.

* host-aout.c:  Remove `BSD' archive support.  Lint.

* archures.c: Rename `struct bfd_arch_info_struct' to `struct
bfd_arch_info'.  Rename `typedef bfd_arch_info_struct_type' to
`bfd_arch_info_type'.  All uses changed.
* reloc.c:  Rename `bfd_reloc_status_enum_type' to
`bfd_reloc_status_type'.  Rename `bfd_reloc_code_enum_real_type'
to `bfd_reloc_code_real_type'.  (This seems to be a misnomer,
it needs a better name.)  All uses changed.
* targets.c:  Rename `enum target_flavour_enum' to `enum
target_flavour', and remove the `_enum' from all of the enum
values themselves.  All uses changed.

* configure.in, config/h-i386mach:  i386 mach host.
* config/t-i386-aout:  Use host-aout.c.

* trad-core.c:  Give it its own xvec's to make it independent
of other file formats.
* ecoff.c, host-aout.c:  Remove refs to trad-core.
* config/t-dec3100, t-hp300bsd, t-tahoe, t-vax:  Define TRAD_CORE.
* targets.c:  #ifdef TRAD_CORE, include it in the vector.

33 years ago* Makefile.in: Avoid using $< in non-suffix rules (breaks on Sun Make).
John Gilmore [Sat, 5 Oct 1991 04:55:05 +0000 (04:55 +0000)]
* Makefile.in:  Avoid using $< in non-suffix rules (breaks on Sun Make).
* ldfile.c, ldlang.c, ldmain.c, ldwrite.c:  Cope with renames of a
few BFD types & enums.
* ChangeLog:  Create.

33 years agoInitial revision
John Gilmore [Sat, 5 Oct 1991 04:55:03 +0000 (04:55 +0000)]
Initial revision

33 years agoCope with renames of a few BFD types & enums.
John Gilmore [Sat, 5 Oct 1991 04:50:54 +0000 (04:50 +0000)]
Cope with renames of a few BFD types & enums.

33 years ago*** empty log message ***
Roland Pesch [Sat, 5 Oct 1991 02:08:34 +0000 (02:08 +0000)]
*** empty log message ***

33 years agoInitial revision
Roland Pesch [Sat, 5 Oct 1991 02:07:51 +0000 (02:07 +0000)]
Initial revision

33 years agoFixed info-markup bugs; makeinfo now succeeds with no complaints.
Roland Pesch [Sat, 5 Oct 1991 01:49:09 +0000 (01:49 +0000)]
Fixed info-markup bugs; makeinfo now succeeds with no complaints.

33 years agoNew file from bfd.c
Steve Chamberlain [Sat, 5 Oct 1991 00:42:57 +0000 (00:42 +0000)]
New file from bfd.c

33 years ago*** empty log message ***
Steve Chamberlain [Sat, 5 Oct 1991 00:42:03 +0000 (00:42 +0000)]
*** empty log message ***

33 years agoFri Oct 4 17:38:03 1991 Steve Chamberlain (steve at cygnus.com)
Steve Chamberlain [Sat, 5 Oct 1991 00:39:21 +0000 (00:39 +0000)]
Fri Oct  4 17:38:03 1991  Steve Chamberlain  (steve at cygnus.com)

* reloc.c: Extended NEWHOWTO macro
* ieee.c: Changed the way 8bit pcrel is done
* cpu-h8300.c: got the registers in the right order

33 years agoAdded -N and fixed -n flags.
Steve Chamberlain [Sat, 5 Oct 1991 00:36:45 +0000 (00:36 +0000)]
Added -N and fixed -n flags.

Changed name of h8 support

33 years ago More patches from Peter Schauer <pes@regent.e-technik.tu-muenchen.de>:
Per Bothner [Sat, 5 Oct 1991 00:25:09 +0000 (00:25 +0000)]
More patches from Peter Schauer <pes@regent.e-technik.tu-muenchen.de>:
* mips-xdep.c (store_inferior_registers):  Don't try to
write the (pseudo) FP.
* mipsread.c (parse_partial_symbols):  Improved algorithm for
setting pst->texthigh.

33 years agoVarious binary patten fixes.
Steve Chamberlain [Fri, 4 Oct 1991 23:52:42 +0000 (23:52 +0000)]
Various binary patten fixes.

33 years ago*** empty log message ***
Roland Pesch [Fri, 4 Oct 1991 23:48:16 +0000 (23:48 +0000)]
*** empty log message ***

33 years agoImprove TEXINPUTS var set on calling TeX, so that things work even if
Roland Pesch [Fri, 4 Oct 1991 23:46:57 +0000 (23:46 +0000)]
Improve TEXINPUTS var set on calling TeX, so that things work even if
old value didn't specify current dir for input...

33 years agoSpecify TEXINPUTS when calling TeX so right texinfo.tex is used.
Roland Pesch [Fri, 4 Oct 1991 23:44:08 +0000 (23:44 +0000)]
Specify TEXINPUTS when calling TeX so right texinfo.tex is used.

33 years agoUse john's heuristic for finding ourselves. kinda like hare krishna.
K. Richard Pixley [Fri, 4 Oct 1991 22:52:09 +0000 (22:52 +0000)]
Use john's heuristic for finding ourselves.  kinda like hare krishna.

33 years agoAdd 386 Mach host support.
John Gilmore [Fri, 4 Oct 1991 08:28:03 +0000 (08:28 +0000)]
Add 386 Mach host support.

33 years agoInitial revision
John Gilmore [Fri, 4 Oct 1991 08:27:35 +0000 (08:27 +0000)]
Initial revision

33 years ago* coffread.c, dbxread.c, symfile.c, symmisc.c, symtab.h: Remove
John Gilmore [Fri, 4 Oct 1991 07:40:21 +0000 (07:40 +0000)]
* coffread.c, dbxread.c, symfile.c, symmisc.c, symtab.h:  Remove
vestiges of typevectors, which were for symsegs and are no longer
used.  (From a question by Eliot Dresselhaus
<dresselh@RFT30.nas.nasa.gov>).

33 years agoSVR4
John Gilmore [Fri, 4 Oct 1991 06:49:34 +0000 (06:49 +0000)]
SVR4

33 years agoSVR4 support
John Gilmore [Fri, 4 Oct 1991 06:49:00 +0000 (06:49 +0000)]
SVR4 support

33 years agoInitial revision
John Gilmore [Fri, 4 Oct 1991 06:48:59 +0000 (06:48 +0000)]
Initial revision

33 years ago* dbxread.c, coffread.c: static-ize functions that were
John Gilmore [Fri, 4 Oct 1991 06:46:30 +0000 (06:46 +0000)]
* dbxread.c, coffread.c:  static-ize functions that were
gratuitiously external.  (From Fred Fish.)

33 years ago* c-exp.y: sym->class to SYMBOL_CLASS (sym).
John Gilmore [Fri, 4 Oct 1991 03:17:46 +0000 (03:17 +0000)]
* c-exp.y:  sym->class to SYMBOL_CLASS (sym).
* dbxread.c (dbx_lookup_type):  Keep doubling size of typevector
until it is large enough.

33 years ago* bfd-in.h: enum boolean => enum bfd_boolean for SVR4. Gumby's
John Gilmore [Fri, 4 Oct 1991 02:50:35 +0000 (02:50 +0000)]
* bfd-in.h:  enum boolean => enum bfd_boolean for SVR4.  Gumby's
prediction is vindicated!

33 years ago* bfd-in.h, libbfd-in.h, doc/Makefile, doc/tolibbfd, doc/intobfd:
John Gilmore [Fri, 4 Oct 1991 02:49:40 +0000 (02:49 +0000)]
* bfd-in.h, libbfd-in.h, doc/Makefile, doc/tolibbfd, doc/intobfd:
Remove refs to howto.c, since Steve forgot.

33 years ago* bfd-in.h: enum boolean => enum bfd_boolean for SVR4. Gumby's
John Gilmore [Fri, 4 Oct 1991 02:49:06 +0000 (02:49 +0000)]
* bfd-in.h:  enum boolean => enum bfd_boolean for SVR4.  Gumby's
prediction is vindicated!

* bfd-in.h, libbfd-in.h, doc/Makefile, doc/tolibbfd, doc/intobfd:
Remove refs to howto.c, since Steve forgot.

33 years agoAdd elf-*.h files.
John Gilmore [Thu, 3 Oct 1991 22:24:27 +0000 (22:24 +0000)]
Add elf-*.h files.

33 years agoAdd elf.c
John Gilmore [Thu, 3 Oct 1991 22:23:56 +0000 (22:23 +0000)]
Add elf.c

33 years agoAdded a kludge for when yacc is used in place of bison:
Per Bothner [Thu, 3 Oct 1991 21:50:08 +0000 (21:50 +0000)]
Added a kludge for when yacc is used in place of bison:
Rename the yacc outputs y.tab.[ch] to what we want: ldgram.[ch].

33 years ago* dbxread.c (read_type): Handle error case slightly better.
John Gilmore [Thu, 3 Oct 1991 16:35:17 +0000 (16:35 +0000)]
* dbxread.c (read_type):  Handle error case slightly better.
Make complaint message not C++-specific.

* symtab.c (lookup_symtab_1, lookup_symbol):  "fatal" errors
between symtabs and psymtabs become ordinary error()s.

* dbxread.c (read_dbx_symtab):  Relocate end_of_text_addr
properly, making "end pc" correct in shared lib psymtabs.
(From Guy Harris <guy@auspex.com>.)

33 years ago * fixed prototype for reloc_type_lookup
Steve Chamberlain [Thu, 3 Oct 1991 15:41:41 +0000 (15:41 +0000)]
 * fixed prototype for reloc_type_lookup

33 years ago* fixed prototype for reloc_type_lookup
Steve Chamberlain [Thu, 3 Oct 1991 15:41:11 +0000 (15:41 +0000)]
* fixed prototype for reloc_type_lookup

33 years ago * elf.c: took the abort out of set_arch_mach so that objdump -i will
Steve Chamberlain [Thu, 3 Oct 1991 14:51:20 +0000 (14:51 +0000)]
* elf.c: took the abort out of set_arch_mach so that objdump -i will
still work. Now allows any architecture/machine to be set.

33 years ago*** empty log message ***
Steve Chamberlain [Thu, 3 Oct 1991 14:49:10 +0000 (14:49 +0000)]
*** empty log message ***

33 years ago*** empty log message ***
Stu Grossman [Thu, 3 Oct 1991 00:28:29 +0000 (00:28 +0000)]
*** empty log message ***

33 years agoNo longer needs to propogate configure and config.sub.
K. Richard Pixley [Wed, 2 Oct 1991 13:06:16 +0000 (13:06 +0000)]
No longer needs to propogate configure and config.sub.

33 years agoSome $(srcdir)'s become $(unsubdir)'s.
K. Richard Pixley [Wed, 2 Oct 1991 12:35:42 +0000 (12:35 +0000)]
Some $(srcdir)'s become $(unsubdir)'s.

33 years agoSome $(srcdir)'s become $(unsubdir)'s in order to support +objdir.
K. Richard Pixley [Wed, 2 Oct 1991 10:05:30 +0000 (10:05 +0000)]
Some $(srcdir)'s become $(unsubdir)'s in order to support +objdir.

33 years agono more configure on which to depend
K. Richard Pixley [Wed, 2 Oct 1991 07:24:45 +0000 (07:24 +0000)]
no more configure on which to depend

33 years agoAdded +site=foo option for naming site specific Makefile fragments.
K. Richard Pixley [Wed, 2 Oct 1991 06:29:53 +0000 (06:29 +0000)]
Added +site=foo option for naming site specific Makefile fragments.

33 years agoRemoved +f option. Used to stand for +forcesubdirs which is now
K. Richard Pixley [Wed, 2 Oct 1991 06:15:13 +0000 (06:15 +0000)]
Removed +f option.  Used to stand for +forcesubdirs which is now
called +subdirs.

33 years agoAdded rcs log line.
K. Richard Pixley [Wed, 2 Oct 1991 06:02:35 +0000 (06:02 +0000)]
Added rcs log line.

33 years ago+template dies an ugly death.
K. Richard Pixley [Wed, 2 Oct 1991 06:01:47 +0000 (06:01 +0000)]
+template dies an ugly death.

33 years agoVery minor bug, broke "make -t".
K. Richard Pixley [Wed, 2 Oct 1991 04:52:31 +0000 (04:52 +0000)]
Very minor bug, broke "make -t".

33 years agoUpdate subdir names to reflect current reality.
K. Richard Pixley [Wed, 2 Oct 1991 04:23:13 +0000 (04:23 +0000)]
Update subdir names to reflect current reality.

33 years agoresync
K. Richard Pixley [Wed, 2 Oct 1991 04:15:56 +0000 (04:15 +0000)]
resync

33 years agosteves h8 patches
K. Richard Pixley [Wed, 2 Oct 1991 04:01:08 +0000 (04:01 +0000)]
steves h8 patches

33 years agoexploit the new executable config.status
K. Richard Pixley [Tue, 1 Oct 1991 21:00:50 +0000 (21:00 +0000)]
exploit the new executable config.status

33 years ago* Makefile.in, configure.in, targets.c, elf.c: Add preliminary
John Gilmore [Tue, 1 Oct 1991 19:46:47 +0000 (19:46 +0000)]
* Makefile.in, configure.in, targets.c, elf.c:  Add preliminary
ELF support good enough for GDB.
* configure.in, config/h-amix, config/t-m68k-elf:  Handle
m68k-cbm-svr4 host and target.

33 years agoInitial revision
John Gilmore [Tue, 1 Oct 1991 19:26:34 +0000 (19:26 +0000)]
Initial revision

33 years ago* bfd.h, elf-common.h, elf-external.h, elf-internal.h:
John Gilmore [Tue, 1 Oct 1991 19:25:51 +0000 (19:25 +0000)]
* bfd.h, elf-common.h, elf-external.h, elf-internal.h:
Add preliminary ELF support, sufficient for GDB, from Fred Fish.
* sysdep.h, sys/h-amix.h:  Support Amiga SVR4.

33 years ago*** empty log message ***
Steve Chamberlain [Tue, 1 Oct 1991 18:29:28 +0000 (18:29 +0000)]
*** empty log message ***

33 years agoAvoid 'v' flag on archive updates, since it just wastes space in the log.
John Gilmore [Tue, 1 Oct 1991 13:41:00 +0000 (13:41 +0000)]
Avoid 'v' flag on archive updates, since it just wastes space in the log.

33 years agoAvoid depending on number of initializers.
John Gilmore [Tue, 1 Oct 1991 13:37:14 +0000 (13:37 +0000)]
Avoid depending on number of initializers.

33 years ago* dbxread.c: Enable, but soften, const_vol_complaint.
John Gilmore [Tue, 1 Oct 1991 13:29:10 +0000 (13:29 +0000)]
* dbxread.c:  Enable, but soften, const_vol_complaint.
(read_dbx_symtab):  N_STSYM and N_LCSYM define static vars.
Ditto Gould N_NBSTS and N_NBLCS.  Also, all types in the psymtab
should be file-scope, not global.
(read_struct_type):  Remove ancient multiple-inheritance warning.
(read_range_type):  Check base type, complain & patch if undefined.

33 years ago* stack.c (frame_info): Demangle the function name in `info stack'.
John Gilmore [Tue, 1 Oct 1991 12:25:38 +0000 (12:25 +0000)]
* stack.c (frame_info):  Demangle the function name in `info stack'.
(From Peter Schauer)

33 years agoVax Ultrix changes from David Taylor <taylor@think.com>.
John Gilmore [Tue, 1 Oct 1991 12:08:20 +0000 (12:08 +0000)]
Vax Ultrix changes from David Taylor <taylor@think.com>.

33 years ago* sys/h-vaxult.h: Make it work. (David Taylor <taylor@think.com>)
John Gilmore [Tue, 1 Oct 1991 12:00:11 +0000 (12:00 +0000)]
* sys/h-vaxult.h:  Make it work.  (David Taylor <taylor@think.com>)

33 years ago * bfd.h, change version number to 0.18, this makes a
Steve Chamberlain [Tue, 1 Oct 1991 04:20:30 +0000 (04:20 +0000)]
* bfd.h, change version number to 0.18, this makes a
gap, but now is the same as the linker version number.

33 years ago * bfd-in.h VERSION, change version number to 0.18, this makes a
Steve Chamberlain [Tue, 1 Oct 1991 04:20:02 +0000 (04:20 +0000)]
* bfd-in.h VERSION, change version number to 0.18, this makes a
gap, but now is the same as the linker version number.

33 years agoAdded new macro NEWHOWTO
Steve Chamberlain [Tue, 1 Oct 1991 03:58:36 +0000 (03:58 +0000)]
Added new macro NEWHOWTO

33 years agoModified to generate the right includes for the new files
Steve Chamberlain [Tue, 1 Oct 1991 03:57:46 +0000 (03:57 +0000)]
Modified to generate the right includes for the new files

33 years agoadded:
Steve Chamberlain [Tue, 1 Oct 1991 03:56:32 +0000 (03:56 +0000)]
added:
* amdcoff.c: (a29k_reloc) fix error message.

33 years agoInsert the incidentals and things I forgot to ci last time, same log message:
Steve Chamberlain [Tue, 1 Oct 1991 03:55:40 +0000 (03:55 +0000)]
Insert the incidentals and things I forgot to ci last time, same log message:

Mon Sep 30 15:13:46 1991  Steve Chamberlain  (steve at cygnus.com)

* cpu-a29k.c, cpu-i386.c, cpu-m68k.c, cpu-mips.c, cpu-vax.c,
cpu-h8300.c, cpu-i960.c, cpu-m88k.c, cpu-sparc.c: added. These
files will eventually contain processor specific bits for bfd,
like strange relocation information and dis/assembly.  So far only
the H8 has been even partially done.  This work also ties in with
the change in handling architectures.

* amdcoff.c: (a29k_reloc) fix error message.

* aout-f1.h: (choose_reloc_size) now calls bfd_get_arch to
discover the architecture of the bfd. (sunos4_callback) calls the
function bfd_set_arch_mach rather than stuffing stuff directly
into the bfd. (sunos4_write_object_contents), changed names of
accessor functions.

* aoutx.h: (set_arch_mach) now calls bfd_default_set_arch_mach to
setup the environment.

* archive.c: (bfd_slurp_coff_armap) coff archives always have the
headers in big endian format, regardless of the endianess of the
host or target.

* archures.c: totally changed. Now an architecture is represented
with a pointer to an info structure rather than an enumerated type
and a long. The old info is available as two elements in the
structure.  Future enhancements to architecure support will
involve pointers to methods being placed into the info structure.

* bfd.c: changed the definition of the bfd structure for the new
architecture stuff.

* bout.c: (b_out_set_arch_mach) changed to use the new
architecture mechanism.

* coffcode.h: (coff_set_arch_mach, coff_set_flags) changed to use
the new architecture mechanism.

* configure.in: added h8 stuff.

* ieee.c: too many changes to note.  Now ieee files written with
bfd gas and ld can be read by gld and ieee only linkers and
simulators.

* libbfd.c, libbfd.h: changed prototype of bfd_write.

* newsos3.c: (newos3_callback) now calls bfd_set_arch_mach rather
than fixing the structure directly.

* oasys.c: (oasys_object_p) now calls bfd_default_set_arch_mach rather
than fixing the structure directly.

* opncls.c: (new_bfd) makes sure that bfd_init has been called
before opening a bfd.

* srec.c: (srec_set_arch_mach) now calls bfd_default_set_arch_mach
rather than fixing the structure directly.

* targets.c: (target_vector) now by defining SELECT_VECS (perhaps
in the t/hmake file) a user can select which backends they want
linked with bfd without changing the source.

* init.c: new, looks after initializing modules.

* howto.c: for future use, will allow an application to work out
what cookie to use as a handle on a relcoatio howto.

33 years agoVarious lints and uses the new arch functions
Steve Chamberlain [Tue, 1 Oct 1991 03:51:53 +0000 (03:51 +0000)]
Various lints and uses the new arch functions

33 years agoUse the new architecture functions
Steve Chamberlain [Tue, 1 Oct 1991 03:50:57 +0000 (03:50 +0000)]
Use the new architecture functions

33 years agoBetter support for the h8, and various architecture things
Steve Chamberlain [Tue, 1 Oct 1991 03:46:35 +0000 (03:46 +0000)]
Better support for the h8, and various architecture things

33 years agoExploit the new executable config.status
K. Richard Pixley [Tue, 1 Oct 1991 03:46:00 +0000 (03:46 +0000)]
Exploit the new executable config.status

33 years agoMon Sep 30 15:13:46 1991 Steve Chamberlain (steve at cygnus.com)
Steve Chamberlain [Tue, 1 Oct 1991 03:43:43 +0000 (03:43 +0000)]
Mon Sep 30 15:13:46 1991  Steve Chamberlain  (steve at cygnus.com)

* cpu-a29k.c, cpu-i386.c, cpu-m68k.c, cpu-mips.c, cpu-vax.c,
cpu-h8300.c, cpu-i960.c, cpu-m88k.c, cpu-sparc.c: added. These
files will eventually contain processor specific bits for bfd,
like strange relocation information and dis/assembly.  So far only
the H8 has been even partially done.  This work also ties in with
the change in handling architectures.

* aout-f1.h: (choose_reloc_size) now calls bfd_get_arch to
discover the architecture of the bfd. (sunos4_callback) calls the
function bfd_set_arch_mach rather than stuffing stuff directly
into the bfd. (sunos4_write_object_contents), changed names of
accessor functions.

* aoutx.h: (set_arch_mach) now calls bfd_default_set_arch_mach to
setup the environment.

* archive.c: (bfd_slurp_coff_armap) coff archives always have the
headers in big endian format, regardless of the endianess of the
host or target.

* archures.c: totally changed. Now an architecture is represented
with a pointer to an info structure rather than an enumerated type
and a long. The old info is available as two elements in the
structure.  Future enhancements to architecure support will
involve pointers to methods being placed into the info structure.

* bfd.c: changed the definition of the bfd structure for the new
architecture stuff.

* bout.c: (b_out_set_arch_mach) changed to use the new
architecture mechanism.

* coffcode.h: (coff_set_arch_mach, coff_set_flags) changed to use
the new architecture mechanism.

* configure.in: added h8 stuff.

* ieee.c: too many changes to note.  Now ieee files written with
bfd gas and ld can be read by gld and ieee only linkers and
simulators.

* libbfd.c, libbfd.h: changed prototype of bfd_write.

* newsos3.c: (newos3_callback) now calls bfd_set_arch_mach rather
than fixing the structure directly.

* oasys.c: (oasys_object_p) now calls bfd_default_set_arch_mach rather
than fixing the structure directly.

* opncls.c: (new_bfd) makes sure that bfd_init has been called
before opening a bfd.

* srec.c: (srec_set_arch_mach) now calls bfd_default_set_arch_mach
rather than fixing the structure directly.

* targets.c: (target_vector) now by defining SELECT_VECS (perhaps
in the t/hmake file) a user can select which backends they want
linked with bfd without changing the source.

* init.c: new, looks after initializing modules.

* howto.c: for future use, will allow an application to work out
what cookie to use as a handle on a relcoatio howto.

33 years agoInitial revision
Steve Chamberlain [Tue, 1 Oct 1991 03:43:11 +0000 (03:43 +0000)]
Initial revision

33 years agoTrivial cleanup.
K. Richard Pixley [Tue, 1 Oct 1991 03:11:29 +0000 (03:11 +0000)]
Trivial cleanup.

33 years agoAdd am29k, remove a redundant case.
K. Richard Pixley [Tue, 1 Oct 1991 02:56:06 +0000 (02:56 +0000)]
Add am29k, remove a redundant case.

33 years ago* use aliases as directory names.
K. Richard Pixley [Tue, 1 Oct 1991 02:44:32 +0000 (02:44 +0000)]
* use aliases as directory names.
* put aliases AND parsed triples into Makefiles.
* config.status is a shell script.
* remove formfeeds from resulting Makefile.

33 years agoReword recurr.
K. Richard Pixley [Tue, 1 Oct 1991 02:38:26 +0000 (02:38 +0000)]
Reword recurr.

33 years ago* srec.c: Better error checking, partly from Peter Schauer.
John Gilmore [Mon, 30 Sep 1991 20:50:18 +0000 (20:50 +0000)]
* srec.c:  Better error checking, partly from Peter Schauer.
(srec_object_p):  Avoid assuming any file that starts with 'S' is
an S-record file!  (Check for 3 uppercase-hex digits after it.)
(ISHEX):  Define new macro for checking supposedly hex characters.
(pass_over):  Treat as EOF any S-record line that:
    *  doesn't have hex in either size character
    *  produces a size larger than 0x7F
    *  has an unrecognized type number

33 years agoRename os for Sony News to newsos[34].
Per Bothner [Mon, 30 Sep 1991 20:32:26 +0000 (20:32 +0000)]
Rename os for Sony News to newsos[34].

33 years ago * sysdep.h: Define NEWSOS3_SYS, and use it.
Per Bothner [Mon, 30 Sep 1991 19:54:08 +0000 (19:54 +0000)]
* sysdep.h: Define NEWSOS3_SYS, and use it.

33 years ago * bucomm.c (fatal): Conditionally compile fatal() depending on
Per Bothner [Mon, 30 Sep 1991 19:47:49 +0000 (19:47 +0000)]
* bucomm.c (fatal):  Conditionally compile fatal() depending on
MISSING_VFPRINTF, and don't confuse the issue with NO_VARARGS.
* objdump.c (dump_headers):  Trivial output format change.
* objdump.c (display_info): Loop over integers, not enums,
to appease old compilers.

33 years ago* symtab.c (lookup_method_type): Arguments were swapped in all
John Gilmore [Sat, 28 Sep 1991 17:13:08 +0000 (17:13 +0000)]
* symtab.c (lookup_method_type):  Arguments were swapped in all
callers, so fix it here.  I'm amazed this worked at all!

33 years ago* eval.c (evaluate_subexp_for_address): Don't use
John Gilmore [Sat, 28 Sep 1991 17:09:07 +0000 (17:09 +0000)]
* eval.c (evaluate_subexp_for_address):  Don't use
TYPE_POINTER_TYPE directly (it might be zero if this type has
never had a pointer created before); use lookup_pointer_type.