Per Bothner [Tue, 8 Oct 1991 23:18:03 +0000 (23:18 +0000)]
* ldexp.h, ldlang.h: Change enum boolean -> enum bfd_boolean.
* ldtemplate: Remove ldfile_add_library_path calls;
just use the SEARCH_DIR commands in the script files.
* Makefile.in: Add LIB_PATH macro, which if set is used to replace
the SEARCH_DIR commands in the scripts (using ugly sed magic).
This is primarily intended for cross-linking, where you would
place libaries in a different place than native libraries.
Also, emulations made from ldtemplate now use $(srcdir).
* ldglda29k.sc: Change SEARCH_DIR commands to a conventional
form; people can use the Makefile's LIB_PATH to override.
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.
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 [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.
* 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.
Per Bothner [Sat, 5 Oct 1991 00:25:09 +0000 (00:25 +0000)]
More patches from Peter Schauer <[email protected]>:
* 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.
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
<[email protected]>).
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.