OpenBSD CVS

CVS log for src/usr.bin/strip/Attic/strip.c


[BACK] Up to [local] / src / usr.bin / strip

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.31, Fri Jul 5 21:38:37 2013 UTC (10 years, 10 months ago) by miod
Branch: MAIN
CVS Tags: HEAD
Changes since 1.30: +1 -1 lines
FILE REMOVED

Remove usr.bin/strip and usr.bin/strings, no longer built.

Revision 1.30 / (download) - annotate - [select for diffs], Thu Mar 21 19:53:32 2013 UTC (11 years, 2 months ago) by deraadt
Branch: MAIN
Changes since 1.29: +5 -5 lines
Diff to previous 1.29 (colored)

In a comment, talk about PAGE_SIZE instead of NBPG

Revision 1.29 / (download) - annotate - [select for diffs], Tue Jun 1 21:44:39 2010 UTC (13 years, 11 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_5_3_BASE, OPENBSD_5_3, OPENBSD_5_2_BASE, OPENBSD_5_2, OPENBSD_5_1_BASE, OPENBSD_5_1, OPENBSD_5_0_BASE, OPENBSD_5_0, OPENBSD_4_9_BASE, OPENBSD_4_9, OPENBSD_4_8_BASE, OPENBSD_4_8
Changes since 1.28: +10 -3 lines
Diff to previous 1.28 (colored)

Add compatibility interfaces for new names binutils-based strip(1) prefers
for some of it's options
ok miod kettenis drahn

Revision 1.28 / (download) - annotate - [select for diffs], Mon May 24 23:42:39 2010 UTC (13 years, 11 months ago) by jmc
Branch: MAIN
Changes since 1.27: +2 -2 lines
Diff to previous 1.27 (colored)

- note -o as an extension
- sync usage() and synopsis

Revision 1.27 / (download) - annotate - [select for diffs], Mon May 24 20:07:07 2010 UTC (13 years, 11 months ago) by deraadt
Branch: MAIN
Changes since 1.26: +67 -18 lines
Diff to previous 1.26 (colored)

Support the -o operation in the non-binutils version, since some
architectures still use this (debug kernel builds want to have it).
ok miod

Revision 1.26 / (download) - annotate - [select for diffs], Tue Oct 27 23:59:44 2009 UTC (14 years, 6 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_4_7_BASE, OPENBSD_4_7
Changes since 1.25: +1 -12 lines
Diff to previous 1.25 (colored)

rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and
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

Revision 1.25 / (download) - annotate - [select for diffs], Fri Jun 19 09:40:43 2009 UTC (14 years, 11 months ago) by sobrado
Branch: MAIN
CVS Tags: OPENBSD_4_6_BASE, OPENBSD_4_6
Changes since 1.24: +6 -4 lines
Diff to previous 1.24 (colored)

format comment so source code fits on a 80-column display.

Revision 1.24 / (download) - annotate - [select for diffs], Sun Sep 2 15:19:34 2007 UTC (16 years, 8 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_4_5_BASE, OPENBSD_4_5, OPENBSD_4_4_BASE, OPENBSD_4_4, OPENBSD_4_3_BASE, OPENBSD_4_3
Changes since 1.23: +3 -3 lines
Diff to previous 1.23 (colored)

use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg

Revision 1.23 / (download) - annotate - [select for diffs], Sat Oct 9 20:36:05 2004 UTC (19 years, 7 months ago) by mickey
Branch: MAIN
CVS Tags: OPENBSD_4_2_BASE, OPENBSD_4_2, OPENBSD_4_1_BASE, OPENBSD_4_1, OPENBSD_4_0_BASE, OPENBSD_4_0, OPENBSD_3_9_BASE, OPENBSD_3_9, OPENBSD_3_8_BASE, OPENBSD_3_8, OPENBSD_3_7_BASE, OPENBSD_3_7
Changes since 1.22: +4 -4 lines
Diff to previous 1.22 (colored)

s/fix_long_order/fix_32_order

Revision 1.22 / (download) - annotate - [select for diffs], Mon Jul 12 10:44:11 2004 UTC (19 years, 10 months ago) by miod
Branch: MAIN
CVS Tags: OPENBSD_3_6_BASE, OPENBSD_3_6
Changes since 1.21: +7 -2 lines
Diff to previous 1.21 (colored)

m88k cross-compile goo.

Revision 1.21 / (download) - annotate - [select for diffs], Wed Mar 31 21:22:06 2004 UTC (20 years, 1 month ago) by mickey
Branch: MAIN
Changes since 1.20: +11 -3 lines
Diff to previous 1.20 (colored)

allow cross-compiling for m68k and better usage(); miod@ ok

Revision 1.20 / (download) - annotate - [select for diffs], Tue Jun 10 22:20:52 2003 UTC (20 years, 11 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_5_BASE, OPENBSD_3_5, OPENBSD_3_4_BASE, OPENBSD_3_4
Changes since 1.19: +6 -18 lines
Diff to previous 1.19 (colored)

mostly ansi cleanup; pval ok

Revision 1.19 / (download) - annotate - [select for diffs], Tue Jun 3 02:56:17 2003 UTC (20 years, 11 months ago) by millert
Branch: MAIN
Changes since 1.18: +3 -7 lines
Diff to previous 1.18 (colored)

Remove the advertising clause in the UCB license which Berkeley
rescinded 22 July 1999.  Proofed by myself and Theo.

Revision 1.18 / (download) - annotate - [select for diffs], Wed Aug 21 15:53:12 2002 UTC (21 years, 9 months ago) by espie
Branch: MAIN
CVS Tags: OPENBSD_3_3_BASE, OPENBSD_3_3, OPENBSD_3_2_BASE, OPENBSD_3_2
Changes since 1.17: +82 -6 lines
Diff to previous 1.17 (colored)

Working strip -x support.

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.

Revision 1.17 / (download) - annotate - [select for diffs], Wed Aug 21 15:51:08 2002 UTC (21 years, 9 months ago) by espie
Branch: MAIN
Changes since 1.16: +22 -16 lines
Diff to previous 1.16 (colored)

Postpone ftruncate after unmap. Works around a bug in non-ubc memory
handling.
Also, avoids dumping core on badly formed object.

ok millert@, miod@, art@

Revision 1.16 / (download) - annotate - [select for diffs], Sat Feb 16 21:27:53 2002 UTC (22 years, 3 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_1_BASE, OPENBSD_3_1
Changes since 1.15: +6 -6 lines
Diff to previous 1.15 (colored)

Part one of userland __P removal.  Done with a simple regexp with some minor hand editing to make comments line up correctly.  Another pass is forthcoming that handles the cases that could not be done automatically.

Revision 1.15 / (download) - annotate - [select for diffs], Mon Nov 19 19:02:16 2001 UTC (22 years, 6 months ago) by mpech
Branch: MAIN
Changes since 1.14: +9 -9 lines
Diff to previous 1.14 (colored)

kill more registers

millert@ ok

Revision 1.14 / (download) - annotate - [select for diffs], Wed Jul 18 17:17:39 2001 UTC (22 years, 10 months ago) by pvalchev
Branch: MAIN
CVS Tags: OPENBSD_3_0_BASE, OPENBSD_3_0
Changes since 1.13: +7 -4 lines
Diff to previous 1.13 (colored)

-Wall cleanup

Revision 1.13 / (download) - annotate - [select for diffs], Thu Oct 12 10:15:38 2000 UTC (23 years, 7 months ago) by art
Branch: MAIN
CVS Tags: OPENBSD_2_9_BASE, OPENBSD_2_9, OPENBSD_2_8_BASE, OPENBSD_2_8
Changes since 1.12: +3 -3 lines
Diff to previous 1.12 (colored)

Check for MAP_FAILED in mmap return value, not -1.

Revision 1.11.4.1 / (download) - annotate - [select for diffs], Fri Oct 6 21:16:16 2000 UTC (23 years, 7 months ago) by jason
Branch: OPENBSD_2_7
Changes since 1.11: +4 -4 lines
Diff to previous 1.11 (colored) next main 1.12 (colored)

Pull in patch from current (even more to come):
Fix (millert):
warnx?/errx? paranoia (use "%s" not a bare string unless it is a
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).

Revision 1.12 / (download) - annotate - [select for diffs], Fri Jun 30 16:00:20 2000 UTC (23 years, 10 months ago) by millert
Branch: MAIN
Changes since 1.11: +4 -4 lines
Diff to previous 1.11 (colored)

warnx?/errx? paranoia (use "%s" not a bare string unless it is a
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).

Revision 1.11 / (download) - annotate - [select for diffs], Mon May 10 16:14:07 1999 UTC (25 years ago) by espie
Branch: MAIN
CVS Tags: OPENBSD_2_7_BASE, OPENBSD_2_6_BASE, OPENBSD_2_6
Branch point for: OPENBSD_2_7
Changes since 1.10: +22 -12 lines
Diff to previous 1.10 (colored)

Fixes endianess problems with old a.out tools. This makes building
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...

Revision 1.10 / (download) - annotate - [select for diffs], Mon May 11 07:41:25 1998 UTC (26 years ago) by niklas
Branch: MAIN
CVS Tags: OPENBSD_2_5_BASE, OPENBSD_2_5, OPENBSD_2_4_BASE, OPENBSD_2_4
Changes since 1.9: +7 -2 lines
Diff to previous 1.9 (colored)

Support building for cross purposes

Revision 1.9 / (download) - annotate - [select for diffs], Thu Sep 11 11:21:54 1997 UTC (26 years, 8 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_3_BASE, OPENBSD_2_3, OPENBSD_2_2_BASE, OPENBSD_2_2
Changes since 1.8: +5 -4 lines
Diff to previous 1.8 (colored)

cleanup -Wall

Revision 1.8 / (download) - annotate - [select for diffs], Thu Apr 3 19:33:50 1997 UTC (27 years, 1 month ago) by mickey
Branch: MAIN
CVS Tags: OPENBSD_2_1_BASE, OPENBSD_2_1
Changes since 1.7: +3 -3 lines
Diff to previous 1.7 (colored)

fix my last fix. warnx, not warn!

Revision 1.7 / (download) - annotate - [select for diffs], Sun Feb 9 16:37:13 1997 UTC (27 years, 3 months ago) by mickey
Branch: MAIN
Changes since 1.6: +8 -34 lines
Diff to previous 1.6 (colored)

use library err/warn

Revision 1.6 / (download) - annotate - [select for diffs], Wed Jan 15 23:43:15 1997 UTC (27 years, 4 months ago) by millert
Branch: MAIN
Changes since 1.5: +3 -3 lines
Diff to previous 1.5 (colored)

getopt(3) returns -1 when out of args, not EOF, whee!

Revision 1.5 / (download) - annotate - [select for diffs], Tue Jan 14 10:33:00 1997 UTC (27 years, 4 months ago) by downsj
Branch: MAIN
Changes since 1.4: +7 -2 lines
Diff to previous 1.4 (colored)

hack: if we're M68K, also allow us to strip M68K4K.  Works for me.

Revision 1.4 / (download) - annotate - [select for diffs], Tue Sep 3 11:08:00 1996 UTC (27 years, 8 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_0_BASE, OPENBSD_2_0
Changes since 1.3: +3 -2 lines
Diff to previous 1.3 (colored)

need param.h

Revision 1.3 / (download) - annotate - [select for diffs], Tue Sep 3 06:54:43 1996 UTC (27 years, 8 months ago) by deraadt
Branch: MAIN
Changes since 1.2: +3 -3 lines
Diff to previous 1.2 (colored)

check mid of exec too

Revision 1.2 / (download) - annotate - [select for diffs], Wed Jun 26 05:39:32 1996 UTC (27 years, 10 months ago) by deraadt
Branch: MAIN
Changes since 1.1: +3 -1 lines
Diff to previous 1.1 (colored)

rcsid

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Wed Oct 18 08:46:09 1995 UTC (28 years, 7 months ago) by deraadt
CVS Tags: netbsd_1_1
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

initial import of NetBSD tree

Revision 1.1 / (download) - annotate - [select for diffs], Wed Oct 18 08:46:09 1995 UTC (28 years, 7 months ago) by deraadt
Branch: MAIN

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.