Commit Graph

32 Commits

Author SHA1 Message Date
apb
a291dbbc01 In preparation for making TOOL_LORDER use TOOL_JOIN, TOOL_MKTEMP and
TOOL_SED:

* Parameterise JOIN, MKTEMP, NM, SED, and SORT.  Previously
  only NM and MKTEMP were parameterised.
* Rewrite some duplicated code using a loop.
* More careful quoting of shell variables.
* `...` -> $(...)
2007-01-14 16:29:35 +00:00
christos
0b5ed2ad28 In preparation for making TOOL_LORDER use TOOL_JOIN, TOOL_MKTEMP and
TOOL_SED:

* Parameterise JOIN, MKTEMP, NM, SED, and SORT.  Previously
  only NM and MKTEMP were parameterised.
* Rewrite some duplicated code using a loop.
* More careful quoting of shell variables.
* `...` -> $(...)
2006-06-27 12:28:43 +00:00
fredb
6eda52d041 Invoke "join" using POSIX syntax. Should fix a problem cross-building from
Linux reported to tech-toolchain by Jesse Off.
2005-01-04 18:09:33 +00:00
agc
89aaa1bb64 Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22365, verified by myself.
2003-08-07 11:13:06 +00:00
thorpej
fece31c9b7 Get MKTEMP from the environment. 2002-09-14 05:00:58 +00:00
bjh21
d62839b83d Send error messages to stderr rather than stdout. 2002-05-12 09:01:45 +00:00
tv
33333aa345 Use "trap ... 0" instead of "trap ... EXIT", and use numeric signals for
"trap ... HUP ..." if the named signals cause the trap statement to fail.
This improves backwards compatibility of this script.
2001-09-28 14:41:44 +00:00
lukem
79c6c68dcc use mktemp(1) as appropriate 2001-06-18 12:07:32 +00:00
mycroft
e9109c511c Convert the evil sed crap to 3 separate invocations of sed.
This is way faster over NFS.
1998-11-09 04:52:44 +00:00
fair
3dead0dc84 per PR#4304 no need to set PATH (especially after testing it!) 1998-04-09 05:28:07 +00:00
lukem
1ebd6d74c3 fix .Nm usage 1997-10-19 04:21:49 +00:00
cgd
2e906b2aaf quote ${NM} so that multi-word values work right (for some defn of "right") 1997-07-22 05:21:03 +00:00
cgd
e765fcae61 find nm more correctly: if user has set 'NM', use it but expand it to a
full path using the user's path, before setting the path used by the
script.  If it can't be found, try using the standard path used by the
script to find it (/bin:/usr/bin), and if it still can't be found, exit.
If user hasn't set NM, try to use nm, again searched for via their path,
then via the standard path.
1997-07-20 23:25:12 +00:00
thorpej
af1cedb966 - Don't bother with two different versions of lorder.sh ... the version
for GNU nm(1) works just fine with the NetBSD nm(1).
- Allow the program to use for nm(1) to be overridden with the variable
  $NM.
1997-04-17 06:48:10 +00:00
christos
3917c3179d - Makefile cleanups 1997-03-24 21:57:01 +00:00
thorpej
150c33e60b Use ${INSTALL}. 1996-10-18 05:55:26 +00:00
cgd
3beadd2412 don't forget to remove the _symbol_ temp file. 1995-12-20 04:45:11 +00:00
jonathan
3716ffd555 Use GNU-binutils friendly lorder script on mips as well as alpha. 1995-12-18 07:59:12 +00:00
jonathan
39890661ee Eliminate separate invocation of nm for each .o file on command line.
Add check for dependencies introduced by symbol types 'G' (mips gp-relative
constant pool) and 'R' (readonly data).
1995-12-18 07:45:17 +00:00
jtc
4d85334f0f Sync with 4.4lite2 1995-08-31 22:36:32 +00:00
cgd
ac78a644f2 install special version (for GNU nm) on the alpha 1995-04-24 07:39:04 +00:00
cgd
63f109153f delete extra comment line 1995-04-24 07:38:52 +00:00
jtc
6d298651c9 Merged with 4.4lite.
Changed to conform to NetBSD's new RCS Id convention.
1994-12-23 01:13:58 +00:00
jtc
d5252c4795 imported from 44lite 1994-12-22 21:09:00 +00:00
cgd
7bcf9338df specify man pages the new way. 1994-12-22 12:29:38 +00:00
jtc
419e05f42c Fix example. Thanks to Brad Parker (brad@stemwinder.fcr.com) 1994-11-03 15:31:17 +00:00
mycroft
c3e42d1c64 Add RCS indentifiers. 1993-08-01 07:22:47 +00:00
mycroft
690cae8181 Add RCS indentifiers. 1993-07-31 15:17:49 +00:00
cgd
cbdb50c1c1 incorporate changes from 0-9-base to 0-9-ALPHA 1993-07-28 00:56:43 +00:00
mycroft
7b2a71af26 Oops. Remove some more cruft. 1993-04-26 01:54:30 +00:00
mycroft
48939e660e Don't make `all' target depend on man page; bsd.prog.mk takes care of this. 1993-04-26 01:53:05 +00:00
cgd
61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00