Date: Tue, 10 Feb 2004 12:48:42 -0500 From: Ken Smith <kensmith@cse.Buffalo.EDU> To: Ruslan Ermilov <ru@freebsd.org> Cc: sparc64@freebsd.org Subject: Re: cvs commit: src/sys/boot/sparc64 Makefile.inc src/sys/boot/sparc64/boot1 Makefile src/sys/boot/sparc64/loader Makefile Message-ID: <20040210174842.GA10649@electra.cse.Buffalo.EDU> In-Reply-To: <20040209151115.GA22404@FreeBSD.org.ua> References: <200402091417.i19EH2pU029367@repoman.freebsd.org> <20040209151115.GA22404@FreeBSD.org.ua>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Feb 09, 2004 at 05:11:15PM +0200, Ruslan Ermilov wrote: > While here. Since (as opposed to other architectures) "loader" > is the pure ELF binary, is there any reason not to _strip_ it? > > %%% > Index: Makefile > =================================================================== > RCS file: /home/ncvs/src/sys/boot/sparc64/loader/Makefile,v > retrieving revision 1.16 > diff -u -r1.16 Makefile > --- Makefile 9 Feb 2004 14:17:02 -0000 1.16 > +++ Makefile 9 Feb 2004 15:07:58 -0000 > @@ -1,7 +1,6 @@ > # $FreeBSD: src/sys/boot/sparc64/loader/Makefile,v 1.16 2004/02/09 14:17:02 ru Exp $ > > PROG= loader > -STRIP= > NEWVERSWHAT= "bootstrap loader" sparc64 > INSTALLFLAGS= -b > > %%% I don't know of any reason not to strip it, but I'm definitely not in a position to speak for sparc64@. It seems to work on my test machine (SunBlade 100): FreeBSD/sparc64 bootstrap loader, Revision 1.0 (root@bostic.dcsl.buffalo.edu, Tue Feb 10 12:42:22 EST 2004) bootpath="/pci@1f,0/ide@d/disk@0,0:a" Loading /boot/defaults/loader.conf /boot/kernel/kernel data=0x372708+0x43528 syms=[0x8+0x56010+0x8+0x44045] bostic 1 % file /boot/loader /boot/loader: ELF 64-bit MSB executable, SPARC V9, version 1 (FreeBSD), statically linked, stripped bostic 2 % uname -a FreeBSD bostic.dcsl.buffalo.edu 5.2.1-RC FreeBSD 5.2.1-RC #0: Sun Feb 1 09:31:02 GMT 2004 root@bobbi.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC sparc64 bostic 3 % -- Ken Smith - From there to here, from here to | kensmith@cse.buffalo.edu there, funny things are everywhere. | - Theodore Geisel |
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040210174842.GA10649>