Commit Graph

18 Commits

Author SHA1 Message Date
Peter Wemm
66422f5b7a Initiate deorbit burn for the i386-only a.out related support. Moves are
under way to move the remnants of the a.out toolchain to ports.  As the
comment in src/Makefile said, this stuff is deprecated and one should not
expect this to remain beyond 4.0-REL.  It has already lasted WAY beyond
that.

Notable exceptions:
gcc - I have not touched the a.out generation stuff there.
ldd/ldconfig - still have some code to interface with a.out rtld.
old as/ld/etc - I have not removed these yet, pending their move to ports.
some includes - necessary for ldd/ldconfig for now.

Tested on: i386 (extensively), alpha
2002-09-17 01:49:00 +00:00
Mark Murray
91bd71d206 Remove leaf node WARNS?=2 (that mainly I added). This should
help the GCC3 transition and CURRENT in general.
2002-02-08 22:31:43 +00:00
David Malone
054bbc7bc3 Warns cleanups. Don't use gccism -Wall. 2001-12-03 21:13:03 +00:00
Brian Feldman
9e5900ee43 Since we build and install gasp(1) in /usr/libexec/${OBJFORMAT}/,
and it is a user-run utility, it should be in objformat, so gasp
is in the ${PATH} :)
1999-12-24 15:18:19 +00:00
John Polstra
eca7742c3c Link objformat statically by default. This makes it possible to
build 2.2-stable worlds on 3.0-current systems again.  objformat
calls getobjformat(), which doesn't exist in 2.2's libc.
Technically there should have been a version number bump when it was
added in -current.  But it's used in so few places that it hardly
seems worth that.  Besides, the objformat program is very heavily
used during a make world; it won't hurt to have it load a little
faster.
1998-11-01 02:37:40 +00:00
David E. O'Brien
5c21e13f1a Add manpage for objformat. This needs major word smithing. 1998-10-25 13:25:42 +00:00
John Polstra
778a593eb2 Remove most of the code and replace it with a call to getobjformat(). 1998-10-21 15:13:16 +00:00
Peter Wemm
d6e03c9b6d Add objformat links for gdb and (while we're at it) c++filt.
This means we can (assuming an a.out gdb is present) debug a.out kernels
and crashdumps with gdb -aout.
1998-10-15 00:19:08 +00:00
John Polstra
e936391783 Add links to addr2line, objcopy, and objdump. These exist only for
ELF, but still I think this is the best way to get them into the
shell's search path.
1998-09-16 04:11:15 +00:00
John Birrell
a89fd81d2b The selection of a default object format is based on OBJFORMAT, not
BINFORMAT.
1998-08-18 06:55:36 +00:00
Peter Wemm
e27b6961ff Convert to more canonical format.. It seems that both Soren and I were
working on this in parallel.. :-(
1998-05-27 15:43:24 +00:00
Søren Schmidt
dfd93f4d1d Compile & use objformat as it was intended to, I have no idea why
that failed for me before :(
1998-05-27 07:59:37 +00:00
Søren Schmidt
cabb97dcbf ELF preparation step 2:
Move a.out libraries to /usr/lib/aout to make space for ELF libs.
Make rtld usr /usr/lib/aout as default library path.
Make ldconfig reject /usr/lib as an a.out library path.
Fix various Makefiles for LIBDIR!=/usr/lib breakage.

This will after a make world & reboot give a system that no
longer uses /usr/lib/*, infact one could remove all the old
libraries there, they are not used anymore.

We are getting close to an ELF make world, but I'll let this
all settle for a week or two...
1998-05-26 20:12:56 +00:00
Søren Schmidt
bcd26b5b67 Get owner/group/modes right 1998-05-26 12:27:37 +00:00
Søren Schmidt
8d46441ba4 Oops, remember CFLAGS...
Also compile directly to the target on install.
1998-05-26 06:51:28 +00:00
Søren Schmidt
e793c690a0 Only compile on install. 1998-05-25 15:00:49 +00:00
Søren Schmidt
8d2cfc044c Make objformat DTRT when in the make world environment. 1998-05-25 14:42:22 +00:00
Peter Wemm
6593044822 Import intial version of an a.out/elf tool wrapper/selector. It is
not active yet, just a work-in-progress.
1998-03-10 05:20:58 +00:00