Per Bothner [Tue, 8 Oct 1991 00:56:23 +0000 (00:56 +0000)]
Fixed typo (for RANLIB_PROG).
Started writing rules for making a tar file.
Steve Chamberlain [Tue, 8 Oct 1991 00:40:43 +0000 (00:40 +0000)]
Fix bug with expressions like @foo+20
Steve Chamberlain [Tue, 8 Oct 1991 00:39:51 +0000 (00:39 +0000)]
*** empty log message ***
Per Bothner [Mon, 7 Oct 1991 23:14:30 +0000 (23:14 +0000)]
* ar.c, Makefile.in, new files {is,not,maybe}-ranlib.c:
Make two different binaries for ar and ranlib, instead of
distinguishing them at run time using argv[0].
(Old behavior is still available if you "make ar_with_ranlib",
but it is not the default.)
* ranlib.sh (new): An alternative one-line
shell implementation of ranlib.
Per Bothner [Mon, 7 Oct 1991 23:14:25 +0000 (23:14 +0000)]
Initial revision
Steve Chamberlain [Mon, 7 Oct 1991 15:07:29 +0000 (15:07 +0000)]
Added right dependencies for h8300hds.sc
John Gilmore [Mon, 7 Oct 1991 07:23:08 +0000 (07:23 +0000)]
First stage of coff-encap work.
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.
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.
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.
Steve Chamberlain [Sun, 6 Oct 1991 19:17:07 +0000 (19:17 +0000)]
Support for the h8300 with an hds monitor, first cut.
Steve Chamberlain [Sun, 6 Oct 1991 19:17:06 +0000 (19:17 +0000)]
Initial revision
Steve Chamberlain [Sun, 6 Oct 1991 19:02:50 +0000 (19:02 +0000)]
Initial revision
John Gilmore [Sat, 5 Oct 1991 06:20:30 +0000 (06:20 +0000)]
configure, config.sub gone
John Gilmore [Sat, 5 Oct 1991 06:18:50 +0000 (06:18 +0000)]
h-amix.h
John Gilmore [Sat, 5 Oct 1991 06:18:24 +0000 (06:18 +0000)]
a.out.vax.h gone.
John Gilmore [Sat, 5 Oct 1991 06:16:44 +0000 (06:16 +0000)]
howto.c, configure, config.sub gone.
John Gilmore [Sat, 5 Oct 1991 05:38:12 +0000 (05:38 +0000)]
oops
John Gilmore [Sat, 5 Oct 1991 05:35:21 +0000 (05:35 +0000)]
Intel 386 Mach host port
John Gilmore [Sat, 5 Oct 1991 05:35:06 +0000 (05:35 +0000)]
Intel 386 Mach host port.
John Gilmore [Sat, 5 Oct 1991 05:34:05 +0000 (05:34 +0000)]
Initial revision
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.
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.
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.
John Gilmore [Sat, 5 Oct 1991 04:55:03 +0000 (04:55 +0000)]
Initial revision
John Gilmore [Sat, 5 Oct 1991 04:50:54 +0000 (04:50 +0000)]
Cope with renames of a few BFD types & enums.
Roland Pesch [Sat, 5 Oct 1991 02:08:34 +0000 (02:08 +0000)]
*** empty log message ***
Roland Pesch [Sat, 5 Oct 1991 02:07:51 +0000 (02:07 +0000)]
Initial revision
Roland Pesch [Sat, 5 Oct 1991 01:49:09 +0000 (01:49 +0000)]
Fixed info-markup bugs; makeinfo now succeeds with no complaints.
Steve Chamberlain [Sat, 5 Oct 1991 00:42:57 +0000 (00:42 +0000)]
New file from bfd.c
Steve Chamberlain [Sat, 5 Oct 1991 00:42:03 +0000 (00:42 +0000)]
*** empty log message ***
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
Steve Chamberlain [Sat, 5 Oct 1991 00:36:45 +0000 (00:36 +0000)]
Added -N and fixed -n flags.
Changed name of h8 support
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.
Steve Chamberlain [Fri, 4 Oct 1991 23:52:42 +0000 (23:52 +0000)]
Various binary patten fixes.
Roland Pesch [Fri, 4 Oct 1991 23:48:16 +0000 (23:48 +0000)]
*** empty log message ***
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...
Roland Pesch [Fri, 4 Oct 1991 23:44:08 +0000 (23:44 +0000)]
Specify TEXINPUTS when calling TeX so right texinfo.tex is used.
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.
John Gilmore [Fri, 4 Oct 1991 08:28:03 +0000 (08:28 +0000)]
Add 386 Mach host support.
John Gilmore [Fri, 4 Oct 1991 08:27:35 +0000 (08:27 +0000)]
Initial revision
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>).
John Gilmore [Fri, 4 Oct 1991 06:49:34 +0000 (06:49 +0000)]
SVR4
John Gilmore [Fri, 4 Oct 1991 06:49:00 +0000 (06:49 +0000)]
SVR4 support
John Gilmore [Fri, 4 Oct 1991 06:48:59 +0000 (06:48 +0000)]
Initial revision
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.)
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.
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!
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.
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.
John Gilmore [Thu, 3 Oct 1991 22:24:27 +0000 (22:24 +0000)]
Add elf-*.h files.
John Gilmore [Thu, 3 Oct 1991 22:23:56 +0000 (22:23 +0000)]
Add elf.c
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].
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>.)
Steve Chamberlain [Thu, 3 Oct 1991 15:41:41 +0000 (15:41 +0000)]
* 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
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.
Steve Chamberlain [Thu, 3 Oct 1991 14:49:10 +0000 (14:49 +0000)]
*** empty log message ***
Stu Grossman [Thu, 3 Oct 1991 00:28:29 +0000 (00:28 +0000)]
*** empty log message ***
K. Richard Pixley [Wed, 2 Oct 1991 13:06:16 +0000 (13:06 +0000)]
No longer needs to propogate configure and config.sub.
K. Richard Pixley [Wed, 2 Oct 1991 12:35:42 +0000 (12:35 +0000)]
Some $(srcdir)'s become $(unsubdir)'s.
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.
K. Richard Pixley [Wed, 2 Oct 1991 07:24:45 +0000 (07:24 +0000)]
no more configure on which to depend
K. Richard Pixley [Wed, 2 Oct 1991 06:29:53 +0000 (06:29 +0000)]
Added +site=foo option for naming site specific Makefile fragments.
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.
K. Richard Pixley [Wed, 2 Oct 1991 06:02:35 +0000 (06:02 +0000)]
Added rcs log line.
K. Richard Pixley [Wed, 2 Oct 1991 06:01:47 +0000 (06:01 +0000)]
+template dies an ugly death.
K. Richard Pixley [Wed, 2 Oct 1991 04:52:31 +0000 (04:52 +0000)]
Very minor bug, broke "make -t".
K. Richard Pixley [Wed, 2 Oct 1991 04:23:13 +0000 (04:23 +0000)]
Update subdir names to reflect current reality.
K. Richard Pixley [Wed, 2 Oct 1991 04:15:56 +0000 (04:15 +0000)]
resync
K. Richard Pixley [Wed, 2 Oct 1991 04:01:08 +0000 (04:01 +0000)]
steves h8 patches
K. Richard Pixley [Tue, 1 Oct 1991 21:00:50 +0000 (21:00 +0000)]
exploit the new executable config.status
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.
John Gilmore [Tue, 1 Oct 1991 19:26:34 +0000 (19:26 +0000)]
Initial revision
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.
Steve Chamberlain [Tue, 1 Oct 1991 18:29:28 +0000 (18:29 +0000)]
*** empty log message ***
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.
John Gilmore [Tue, 1 Oct 1991 13:37:14 +0000 (13:37 +0000)]
Avoid depending on number of initializers.
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.
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)
John Gilmore [Tue, 1 Oct 1991 12:08:20 +0000 (12:08 +0000)]
Vax Ultrix changes from 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>)
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.
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.
Steve Chamberlain [Tue, 1 Oct 1991 03:58:36 +0000 (03:58 +0000)]
Added new macro NEWHOWTO
Steve Chamberlain [Tue, 1 Oct 1991 03:57:46 +0000 (03:57 +0000)]
Modified to generate the right includes for the new files
Steve Chamberlain [Tue, 1 Oct 1991 03:56:32 +0000 (03:56 +0000)]
added:
* amdcoff.c: (a29k_reloc) fix error 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.
Steve Chamberlain [Tue, 1 Oct 1991 03:51:53 +0000 (03:51 +0000)]
Various lints and uses the new arch functions
Steve Chamberlain [Tue, 1 Oct 1991 03:50:57 +0000 (03:50 +0000)]
Use the new architecture functions
Steve Chamberlain [Tue, 1 Oct 1991 03:46:35 +0000 (03:46 +0000)]
Better support for the h8, and various architecture things
K. Richard Pixley [Tue, 1 Oct 1991 03:46:00 +0000 (03:46 +0000)]
Exploit the new executable config.status
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.
Steve Chamberlain [Tue, 1 Oct 1991 03:43:11 +0000 (03:43 +0000)]
Initial revision
K. Richard Pixley [Tue, 1 Oct 1991 03:11:29 +0000 (03:11 +0000)]
Trivial cleanup.
K. Richard Pixley [Tue, 1 Oct 1991 02:56:06 +0000 (02:56 +0000)]
Add am29k, remove a redundant case.
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.
K. Richard Pixley [Tue, 1 Oct 1991 02:38:26 +0000 (02:38 +0000)]
Reword recurr.
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
Per Bothner [Mon, 30 Sep 1991 20:32:26 +0000 (20:32 +0000)]
Rename os for Sony News to newsos[34].