Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Nov 1998 14:04:09 +0530 (IST)
From:      Kapil Chowksey <kchowksey@hss.hns.com>
To:        Alfred Perlstein <bright@hotjobs.com>
Cc:        sparc@FreeBSD.ORG
Subject:   Re: Huzzah!
Message-ID:  <199811290834.OAA23721@chambal.hss.hns.com>
In-Reply-To: <Pine.BSF.4.05.9811281801340.1605-100000@bright.fx.genx.net>
References:  <19981128204917.CUXT5035.fep03-svc@winworkstation> <Pine.BSF.4.05.9811281801340.1605-100000@bright.fx.genx.net>

next in thread | previous in thread | raw e-mail | index | archive | help

On Sat, 28 November, Alfred Perlstein wrote:

> ~ % file t.o
> t.o: ELF 64-bit MSB relocatable, RS6000, version 1   
> 
> The RS6000 thing bugs me but it just seems to be bad magic in the file(1)
> datafiles.

This thing will bug the PROM also. Apply this patch to allow the PROM
to boot elf images created by binutils :

--- contrib/binutils/include/elf/common.h.old	Mon Sep  7 23:07:15 1998
+++ contrib/binutils/include/elf/common.h	Wed Nov  4 18:11:39 1998
@@ -82,8 +82,6 @@
 
 #define EM_MIPS_RS4_BE 10	/* MIPS R4000 big-endian */
 
-#define EM_SPARC64     11	/* SPARC v9 (not official) 64-bit */
-
 #define EM_PARISC      15	/* HPPA */
 
 #define EM_SPARC32PLUS 18	/* Sun's "v8plus" */
@@ -91,6 +89,8 @@
 #define EM_PPC	       20	/* PowerPC */
 
 #define EM_SH	       42	/* Hitachi SH */
+
+#define EM_SPARC64     43	/* SPARC v9 (PROM wants this) 64-bit */
 
 /* If it is necessary to assign new unofficial EM_* values, please pick large
    random numbers (0x8523, 0xa7f2, etc.) to minimize the chances of collision

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-sparc" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199811290834.OAA23721>