Commit Graph

55 Commits

Author SHA1 Message Date
wiz cfb72c3de3 Adapt to /usr/share/misc/style.
Sync usage with man page.
Use getprogname()/setprogname().
2004-08-24 12:25:26 +00:00
wiz 71ad289a40 One object-file argument is mandatory, noted by jmc@openbsd.
New sentence, new line. Use more mdoc macros.
2004-08-24 12:11:44 +00:00
salo 0f5a0c156d netbsd.org->NetBSD.org 2003-07-26 20:34:11 +00:00
wiz 990562bfef .Nm does not need a dummy argument ("") before punctuation or
for correct formatting of the SYNOPSIS any longer.
2003-02-25 10:34:36 +00:00
fvdl 286cf86961 Get the right formats for x86_64. 2002-12-05 01:38:26 +00:00
scw 4c8e482124 Add SH5 support. (Missed these during the last sweep of my local tree) 2002-07-11 21:46:21 +00:00
tsutsui 490896d4c4 Include <limits.h> for SIZE_T_MAX since time.h no longer
includes <machine/limits.h>.
2002-06-30 03:26:59 +00:00
ross 2a76afae02 Generate <>& symbolically. I'm avoiding .../dist/... directories for now. 2002-02-08 01:36:18 +00:00
fredette a01e8e37b1 Define both NLIST_AOUT and NLIST_ELF32 for m68000. 2001-12-12 22:14:46 +00:00
wiz c0de7313ab Whitespace fixes. 2001-10-04 11:20:17 +00:00
bjh21 b7abea421d Build in ELF32 support on all ARM platforms. 2001-06-30 14:52:42 +00:00
tsutsui de539bb089 Define both NLIST_AOUT and NLIST_ELF32 on all m68k
rather than checking ${MACHINE}.
2001-02-18 05:22:46 +00:00
itojun 92ee339d1c sh3 split 2001-01-04 09:43:05 +00:00
simonb 0a76fbb1e6 Another object file format reference for hp300. 2001-01-02 12:30:14 +00:00
mrg ad2b8edf8a fix oversight in previous: also look for $MACHINE_ARCH of mipse[bl]. 2000-12-23 09:06:06 +00:00
scw 9bb48d10db Pick the supported object formats in the Makefile instead of extern.h.
This gives more control of which platforms support which formats.
(Basically because __%{MACHINE}__ is not pre-defined by the compiler)
2000-12-18 08:51:39 +00:00
lukem 279552d3db fix up various .Nm abuses:
- keep the case consistent between the actual name and what's referenced.
  e.g, if it's `foo', don't use '.Nm Foo' at the start of a sentence.
- remove unnecessary `.Nm foo' after the first occurrence (except for
  using `.Nm ""' if there's stuff following, or for the 2nd and so on
  occurrences in a SYNOPSIS
- use Sx, Ic, Li, Em, Sq, and Xr as appropriate
2000-11-07 06:43:24 +00:00
mrg 14e83027c8 add sparc64 support. 2000-08-09 14:22:15 +00:00
cgd db755e7c76 sweep of my licenses (userland files w/o only my copyright) for
consistency.  (no functional changes)
2000-06-14 17:24:02 +00:00
cgd d220ca5ba3 fix up NetBSD RCS Ids to match the standard, and the leading comment as
to match as well.  No functional changes.
2000-06-14 06:48:47 +00:00
bjh21 6c97e2bd78 Initial commit of arm26 port 2000-05-09 21:55:44 +00:00
mycroft d14de3b0e1 __sparc -> __sparc__ 2000-05-07 18:16:51 +00:00
msaitoh 049ad0d982 machine/exec_coff.h -> sys/exec_coff.h 2000-01-07 09:40:33 +00:00
msaitoh 17b68982ad crunchide for coff (COFF executables not currently supported!) 1999-11-26 13:47:52 +00:00
erh 6752f572d8 Remove ELFNAME defines since they are defined in sys/exec_elf.h 1999-11-04 02:00:17 +00:00
kleink 522cbf0248 Update to match new SVR4-style definition names in <sys/exec_elf.h>. 1999-10-25 13:55:06 +00:00
hannken b383db3e6c Undo last change. While these macros are defined in exec_elf.h, they are
enclosed by `#ifdef _KERNEL'.
1999-10-22 10:47:37 +00:00
erh e896ce55a0 Remove ELFNAME macros which are already defined in exec_elf.h 1999-10-21 21:16:07 +00:00
christos f6ae64deff Free the right thing. 1999-09-20 04:12:16 +00:00
garbled 9e44e9b578 More and more .Os cleanups. .Os is defined in the tmac.doc-common file,
so we shouldn't override it with versions in the manpages.  Many more to
come.
1999-03-22 18:16:34 +00:00
mycroft a1c657fe56 Clean up SYNOPSIS formatting. 1999-03-07 11:29:58 +00:00
christos 19a77af4a3 Add ELF for sparc and i386 (Andrew Gillham) 1999-03-03 12:23:20 +00:00
kleink 3ed4fcf61e In userland, pull in <errno.h> instead of <sys/errno.h> for the declaration
of errno.
1999-01-11 22:39:59 +00:00
cgd ca87c75e7d completely reimplement ELF symbol hiding. now it's even more of a gross
hack, but more likely to work on non-alpha ELF systems.
1998-11-03 02:30:16 +00:00
mycroft c563c17d5a Define NLIST_ELF32 on PowerPC. 1998-05-06 13:16:57 +00:00
lukem 3e8e744696 getopt returns -1 not EOF 1997-11-01 06:49:14 +00:00
jonathan 3153b91d91 Add elf32 for mips.
(probably  doesn't work,  due to GP-register-relative relocs.)
1997-08-20 01:21:37 +00:00
mikel 7b94178928 include <unistd.h> for prototypes and cleanup unused variables; from
Enami Tsugutomo in PR bin/3972.
while I'm here, sort #includes according to KNF.
1997-08-12 06:07:23 +00:00
hannken dd99907a60 Get rid of compiler warning:
`warning: `cmp' might be used uninitialized in this function'.
1997-08-08 11:08:10 +00:00
perry 88a54d8a99 1) RCSid police
2) Add __RCSIDs where apropriate.
3) WARNS=1, and clean up sources for WARNS=1 (including replacement of
   a mktemp with a mkstemp even though it was probably safe...)
4) Some other small cosmetic changes
1997-08-02 21:30:05 +00:00
cgd 2ea81b29dd parens around macro value. (oops!) 1997-01-23 19:13:56 +00:00
cgd 4f2317d97b add ELF support. tested on an alpha (64-bit ELF), but compiled with both
32- and 64-bit ELF support.
1997-01-23 05:43:29 +00:00
cgd 4790c9bc3d note that -k/-f should be give C names. note what i've done 1997-01-23 05:28:50 +00:00
cgd 4a4977d054 clean up formatting glitches (bogus newlines in source) 1997-01-23 05:14:37 +00:00
cgd d2fff4533c change the keep list (in_keep_list()) semantics: now keep list is C labels 1997-01-23 05:13:00 +00:00
cgd b78496eee9 add ECOFF, ELF32, and ELF64 recognition code. Right now, when
you try to hide symbols in these kinds of files, an error message
is printed noting that the executable format is not supported.
1997-01-22 23:57:18 +00:00
cgd d7b9b1a503 dd the various #defines/#ifdefs for ECOFF support. ECOFF will
probably never be completely supported here (since its internal vs.
external symbol handling is so annoying), but at least we can recognize
the ECOFF binaries and print something useful, on machines that use
them.
1997-01-22 23:53:58 +00:00
cgd 144d8aad7e a couple more bogons. (i'd been testing with the wrong executable!)
Now it really works.
1997-01-22 23:33:08 +00:00
cgd eb8abf7e9d include extern.h, add newline to new fprintf 1997-01-22 23:21:49 +00:00
cgd 34f3806288 fix a couple of goofs ('hide' now returns errors!), move #ifdef 1997-01-22 23:21:01 +00:00