Commit Graph

16 Commits

Author SHA1 Message Date
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
5dd2c95881 When invoked as "objformat" to print out the current object format,
produce an error message if any arguments are given on the command
line.
1998-10-24 02:01:30 +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
8472e43276 Change /etc/objectformat to /etc/objformat. Last chance 'cause it's E-day.
Suggested by: jdp
1998-08-30 20:40:29 +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