rename nm and strip to acknm and ackstrip
this is to force invocations of these utils for ack to be explicitly named such, so in the future binutils can be installed in /usr/pkg without the g- prefix.
This commit is contained in:
parent
0f92964a2f
commit
453be3b530
8 changed files with 8 additions and 8 deletions
|
@ -18,14 +18,14 @@ SUBDIR= aal add_route adduser advent arp ash at autil awk \
|
|||
less lex life loadkeys loadramdisk logger login look lp \
|
||||
lpd ls lspci M m4 mail make MAKEDEV man \
|
||||
mdb mdocml mesg mined mkdep mkdir mkdist mkfifo mkfs mknod \
|
||||
mkproto modem mount mt netconf newroot nice nm nohup \
|
||||
mkproto modem mount mt netconf newroot nice acknm nohup \
|
||||
nonamed od packit packman passwd paste patch pax \
|
||||
ping postinstall poweroff pr prep printf printroot \
|
||||
profile progressbar proto pr_routes ps pwd pwdauth \
|
||||
ramdisk rarpd rawspeed rcp rdate readall readclock \
|
||||
readfs reboot remsync rev rget rlogin rlogind rmdir \
|
||||
rotate rsh rshd sed service setup shar size \
|
||||
sleep slip sort spell split srccrc stat strings strip \
|
||||
sleep slip sort spell split srccrc stat strings ackstrip \
|
||||
stty su sum svclog swapfs swifi sync synctree sysenv \
|
||||
syslogd tail talk talkd tar tcpd tcpdp tcpstat tee telnet \
|
||||
telnetd term termcap tget time tinyhalt top touch tr \
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
PROG= nm
|
||||
PROG= acknm
|
||||
MAN=
|
||||
|
||||
.include <bsd.prog.mk>
|
|
@ -1,4 +1,4 @@
|
|||
PROG= strip
|
||||
PROG= ackstrip
|
||||
MAN=
|
||||
|
||||
.include <bsd.prog.mk>
|
|
@ -8,7 +8,7 @@ fi
|
|||
if file $1 | grep NSYM >/dev/null 2>&1; then
|
||||
NM="gnm --radix=d"
|
||||
else
|
||||
NM="nm -d"
|
||||
NM="acknm -d"
|
||||
fi
|
||||
|
||||
$NM -n $1 | grep ' [bBdD] [^.]' | awk '{ if (lastpos) printf "%10ld kB %s\n", ($1-lastpos)/1024, lastname; lastpos=$1; lastname=$3 }' | sort -n
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
# Configuration options:
|
||||
|
||||
# Location and parameters of nm program to extract symbol tables
|
||||
$nm = "/usr/bin/nm -dn";
|
||||
$nm = "/usr/bin/acknm -dn";
|
||||
|
||||
# Location of src (including trailing /)
|
||||
$src_root = qw(
|
||||
|
|
|
@ -5,12 +5,12 @@ then echo "Usage: $0 <executable> [0x... [0x... ] ]"
|
|||
exit 1
|
||||
fi
|
||||
|
||||
PATH=$PATH:/usr/gnu/bin
|
||||
PATH=$PATH:/usr/gnu/bin:/usr/pkg/bin
|
||||
|
||||
if file $1 | grep NSYM >/dev/null 2>&1; then
|
||||
NM="gnm --radix=d"
|
||||
else
|
||||
NM="nm -d"
|
||||
NM="acknm -d"
|
||||
fi
|
||||
|
||||
executable=$1
|
||||
|
|
Loading…
Reference in a new issue