summaryrefslogtreecommitdiff
path: root/usr.bin/strip
AgeCommit message (Collapse)Author
2010-09-03add an EXIT STATUS section for /usr/bin;Jason McIntyre
2010-06-03tweak previous; ok deraadtJason McIntyre
2010-06-01Add compatibility interfaces for new names binutils-based strip(1) prefersTheo de Raadt
for some of it's options ok miod kettenis drahn
2010-05-24- note -o as an extensionJason McIntyre
- sync usage() and synopsis
2010-05-24document the -o optionTheo de Raadt
2010-05-24Support the -o operation in the non-binutils version, since someTheo de Raadt
architectures still use this (debug kernel builds want to have it). ok miod
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms
2009-06-19format comment so source code fits on a 80-column display.Igor Sobrado
2009-02-10STANDARDS:Jason McIntyre
mark these utilities as being either optional (SD/FR/UP); or as being compliant only with XPG4 (XSI); strip.1 and talk.1 are tweaked purely for consistency; thanks otto for feedback
2009-02-08bump the posix reference in STANDARDS to IEEE Std 1003.1-2008, with a fewJason McIntyre
updates to follow;
2007-09-02use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsgTheo de Raadt
2007-08-06the ellipsis is not an optional argument; while here, sync the usageIgor Sobrado
and synopsis of commands lots of good ideas by jmc@ ok jmc@
2007-05-31convert to new .Dd format;Jason McIntyre
2007-05-31- note some apps which are xpg4, not posixJason McIntyre
- note that some apps are optional to posix after some discussion w/ otto
2004-10-09s/fix_long_order/fix_32_orderMichael Shalayeff
2004-07-12m88k cross-compile goo.Miod Vallat
2004-03-31allow cross-compiling for m68k and better usage(); miod@ okMichael Shalayeff
2003-06-10mostly ansi cleanup; pval okTheo de Raadt
2003-06-03Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2002-08-21Working strip -x support.Marc Espie
Since we keep relocations, we need to ensure that: 1/ symbols used by relocations are actually kept, 2/ refs to ext symbols in relocations are correctly renumbered after killing some symbols. okay art@ (can't break things further than they were broken anyways). Thanks to Laurent Bercot (ska@quatramaran.ens.fr) for pointing out that strip -x was broken.
2002-08-21Postpone ftruncate after unmap. Works around a bug in non-ubc memoryMarc Espie
handling. Also, avoids dumping core on badly formed object. ok millert@, miod@, art@
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ↵Todd C. Miller
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
2001-11-19kill more registersMike Pechkin
millert@ ok
2001-07-18-Wall cleanupPeter Valchev
2000-10-12Check for MAP_FAILED in mmap return value, not -1.Artur Grabowski
2000-09-26Remove unnecessary arguments to .Nm macro.Aaron Campbell
2000-06-30warnx?/errx? paranoia (use "%s" not a bare string unless it is aTodd C. Miller
constant). These are not security holes but it is worth fixing them anyway both for robustness and so folks looking for examples in the tree are not misled into doing something potentially dangerous. Furthermore, it is a bad idea to assume that pathnames will not include '%' in them and that error routines don't return strings with '%' in them (especially in light of the possibility of locales).
2000-02-05Make hoststrip build correctly if cross-compilingNiklas Hallqvist
1999-05-10Fixes endianess problems with old a.out tools. This makes buildingMarc Espie
some cross toolchains possible. This also changes some utilities's behavior slightly: - nm, strip, size now handle any a.out format they know about. - ranlib complains if it detects mixed archives (several object formats for different boxes). In the presence of mixed objects, you still have file, ranlib or ld to prevent you from getting too confused...
1998-09-27usr.bin/ man page cleanups, n-sAaron Campbell
1998-05-11Support building for cross purposesNiklas Hallqvist
1997-09-11cleanup -WallTheo de Raadt
1997-04-27COPY -> INSTALL_COPY and STRIP -> INSTALL_STRIPTodd C. Miller
This fixes namespace problems where STRIP is sometimes used as the name of the strip(1) to use and other times used as the flag to send install(1) when stripping (or not). COPY doesn't have this problem (yet) but was poorly named.
1997-04-03fix my last fix. warnx, not warn!Michael Shalayeff
1997-02-13ok, this time the $HOSTCC stuff works correctlyTheo de Raadt
1997-02-11build hoststrip for install purposes; noted by tv@slack.iag.net, pr #88Theo de Raadt
1997-02-09use library err/warnMichael Shalayeff
1997-01-15getopt(3) returns -1 when out of args, not EOF, whee!Todd C. Miller
1997-01-14hack: if we're M68K, also allow us to strip M68K4K. Works for me.Jason Downs
1996-12-08install -> ${INSTALL}, -c -> ${COPY}Jason Downs
1996-09-03need param.hTheo de Raadt
1996-09-03check mid of exec tooTheo de Raadt
1996-06-26rcsidTheo de Raadt
1995-10-18initial import of NetBSD treeTheo de Raadt