wiz
4c02e23096
Sort options in usage.
2019-05-19 09:14:13 +00:00
christos
59e8d36e8f
- add flag to produce OMAGIC
...
- factor out complicated inline code into simpler functions
- add options parsing
2019-05-18 21:16:12 +00:00
skrll
4402b4d24a
Fix build on ppc64
2019-04-27 15:43:09 +00:00
skrll
6e604a1916
A couple of fixes so that NetBSD/cats builds (on linux), works, and
...
produces a symbol table that is readable (by 4.4BSD nm(1) at least)
- Change from OMAGIC to ZMAGIC
- Resize the a.out string table if we run out of space.
- output symbol table size as int32_t (the code already assumes no 64bit
a.out.
2019-04-26 07:35:21 +00:00
martin
212399f8da
Gcc, please shut up with those stupid warnings!
2016-03-07 22:16:38 +00:00
martin
cb0ca8dd7b
Try to fix build on 32bit architectures.
2016-03-07 08:59:00 +00:00
christos
fd89278a5f
PR/50897: David Binderman: fix memory leaks. While here, modernize error
...
handling, and types.
2016-03-06 16:13:21 +00:00
martin
bf186f94c5
David Binderman in PR bin/50897: fix memory leak.
2016-03-06 15:44:06 +00:00
tsutsui
b578f76170
Make this cross-tool ready. Mostly taken from elf2ecoff(1).
...
XXX: assume no LP64 a.out binaries
2011-07-10 05:07:48 +00:00
tsutsui
da8589ed6d
Set a_midmag MAGIC in a.out header properly for more possible a.out ports
...
in the past per ex.e_machine in ELF header.
2011-07-10 04:56:31 +00:00
tsutsui
41319be297
ANSIfy, de-__P(), KNF, misc cosmetics.
2011-06-28 13:15:24 +00:00
dogcow
7aaa51f5d6
Fix sign/unsigned and discards qualifiers. Based on patch by mlelstv.
2009-04-18 10:12:42 +00:00
simonb
ba5d7d507c
s/the the/to the/.
2004-04-23 02:55:11 +00:00
soren
89c5a767f8
Fix doubled 'the's.
2000-03-13 22:55:05 +00:00
is
05af6871fb
new symbol names for former Elf_xxx
2000-01-11 20:33:21 +00:00
is
ee9bf4dc7c
Make this also work for PowerPC targets.
2000-01-09 11:26:01 +00:00
drochner
1899563c96
make it compile after ELF definition changes
1999-11-02 21:13:17 +00:00
simonb
552d6a2ac5
Truncate the output file before writing to it, and silence the verbose
...
output.
1998-11-27 05:09:49 +00:00
lukem
ae88474da7
WARNSify, fix .Nm usage
1997-10-18 13:48:35 +00:00
tls
9d225a1783
RCS ID police
1997-01-09 20:18:21 +00:00
jonathan
58e8bd3b69
Rework to compile with <sys/exec_elf.h>.
1996-10-16 00:27:05 +00:00
jonathan
559daf5070
Add RCS id lines to Ted Lemon's original code.
...
Update elf2ecoff to compile against NetBSD-1.2 distribtion ECOFF headers.
1996-09-29 22:01:44 +00:00
jonathan
55e1f3d7f3
Import Ted Lemon's ELF toolchain utilties used to build kernels
...
for the pmax port in NetBSD 1.1 and 1.2.
1996-09-29 21:48:29 +00:00