cvs commit: src/sys/boot/sparc64 Makefile.inc src/sys/boot/sparc64/boot1 Makefile src/sys/boot/sparc64/loader Makefile

Ken Smith kensmith at cse.Buffalo.EDU
Tue Feb 10 09:48:43 PST 2004


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 at .  It seems to work on my test machine
(SunBlade 100):

FreeBSD/sparc64 bootstrap loader, Revision 1.0
(root at bostic.dcsl.buffalo.edu, Tue Feb 10 12:42:22 EST 2004)
bootpath="/pci at 1f,0/ide at d/disk at 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 at bobbi.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  sparc64
bostic 3 %

-- 
						Ken Smith
- From there to here, from here to      |       kensmith at cse.buffalo.edu
  there, funny things are everywhere.   |
                      - Theodore Geisel |


More information about the freebsd-sparc64 mailing list