summaryrefslogtreecommitdiff
path: root/usr.bin/strip
AgeCommit message (Collapse)Author
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