John Gilmore [Fri, 11 Oct 1991 11:24:04 +0000 (11:24 +0000)]
Restructure configuration scheme for bfd, binutils, ld.
* include/sys/h-*.h: Move to bfd/hosts/h-*.h.
* configure.in: Revise to symlink sysdep.h to ../bfd/hosts/h-xxx.h.
Change some config names to match other dirs.
* *.c: Include bfd.h before sysdep.h, so ansidecl and PROTO()
get defined first.
* Makefile.in: Use -I. to get sysdep.h.
John Gilmore [Fri, 11 Oct 1991 10:43:34 +0000 (10:43 +0000)]
Restructure configuration scheme for bfd, binutils, ld.
* include/sys/h-*.h: Move to bfd/hosts/h-*.h.
* configure.in: Revise to symlink sysdep.h to hosts/h-xxx.h.
Change some config names to match other dirs.
* *.c: Include bfd.h before sysdep.h, so ansidecl and PROTO()
get defined first.
* Makefile.in: Use -I. to get sysdep.h.
* trad-core.c: Don't disable the whole file if SUN4_SYS.
* config/: Rename some config files to match up h-*.h names.
Remove all the HOST_SYS definitions from the config files.
* hosts/h-amix.h, h-i386v.h: Define POSIX_UTIME, not USG.
* hosts/h-hp9000.h: Remove USG comment.
* hosts/h-rs6000.h: Include <stdlib.h> for malloc.
* hosts/h-news.h, h-sparc-64.h: New config files that had
previously been kludged in the <sysdep.h> file.
John Gilmore [Fri, 11 Oct 1991 10:41:22 +0000 (10:41 +0000)]
* hosts/h-amix.h, h-i386v.h: Define POSIX_UTIME, not USG.
* hosts/h-hp9000.h: Remove USG comment.
* hosts/h-rs6000.h: Include <stdlib.h> for malloc.
* hosts/h-news.h, h-sparc-64.h: New config files that had
previously been kludged in the <sysdep.h> file.
John Gilmore [Fri, 11 Oct 1991 04:51:42 +0000 (04:51 +0000)]
* Makefile.in: Rename XDEPFILES.
* trad-core.c: Document how to use it nowadays.
* i386aout.c, newsos3.c: Clean up.
* i386coff.c: Allow 386 coff files to be used as core files too
(for reading core files from embedded systems).
John Gilmore [Thu, 10 Oct 1991 00:05:52 +0000 (00:05 +0000)]
* mipsread.c, coffread.c: initialise TYPE_VPTR_FIELDNO to -1.
This avoids coredumps under `set print object on' in value_headof
(called erroneously by value_from_vtable_info) for `p &struct'
or `p *struct'. From Peter Schauer.
Roland Pesch [Wed, 9 Oct 1991 00:29:37 +0000 (00:29 +0000)]
(ORIG: date: 1991/09/21 02:59:57; author: gnu; state: Exp; lines: +32 -28)
Rearrange "how to install" and "how to print the doc" stuff so it drops
easier into README.
Roland Pesch [Wed, 9 Oct 1991 00:22:44 +0000 (00:22 +0000)]
(ORIG: date: 1991/09/20 21:43:15; author: pesch; state: Exp;)
Merged in new doc on language setting, C, and Mod-2 by Andrew Beers;
cleanups to node structure.
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]>).