From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2214 invoked by alias); 6 Jun 2008 21:14:38 -0000 Received: (qmail 2200 invoked by uid 22791); 6 Jun 2008 21:14:37 -0000 X-Spam-Check-By: sourceware.org Received: from n71.bullet.mail.sp1.yahoo.com (HELO n71.bullet.mail.sp1.yahoo.com) (98.136.44.36) by sourceware.org (qpsmtpd/0.31) with SMTP; Fri, 06 Jun 2008 21:14:13 +0000 Received: from [216.252.122.216] by n71.bullet.mail.sp1.yahoo.com with NNFMP; 06 Jun 2008 21:14:11 -0000 Received: from [69.147.65.152] by t1.bullet.sp1.yahoo.com with NNFMP; 06 Jun 2008 21:14:11 -0000 Received: from [127.0.0.1] by omp400.mail.sp1.yahoo.com with NNFMP; 06 Jun 2008 21:14:11 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 675260.40057.bm@omp400.mail.sp1.yahoo.com Received: (qmail 66866 invoked by uid 60001); 6 Jun 2008 21:14:11 -0000 Received: from [98.210.112.142] by web46302.mail.sp1.yahoo.com via HTTP; Fri, 06 Jun 2008 14:14:11 PDT X-Mailer: YahooMailRC/975.41 YahooMailWebService/0.7.199 Date: Fri, 06 Jun 2008 21:14:00 -0000 From: Stephen Andieta Subject: Re: How to reserve an Elf e_machine value To: gcc@gcc.gnu.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-ID: <500031.66172.qm@web46302.mail.sp1.yahoo.com> Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org X-SW-Source: 2008-06/txt/msg00159.txt.bz2 Yep, my request to registry@caldera.com just bounced, so I will live with a random number. Thanks, Stephen ----- Original Message ---- From: Michael Meissner To: Stephen Andieta Cc: gcc@gcc.gnu.org Sent: Wednesday, June 4, 2008 7:44:30 AM Subject: Re: How to reserve an Elf e_machine value On Tue, Jun 03, 2008 at 08:46:44AM -0700, Stephen Andieta wrote: > > I am working on a compiler kit for an in-house processor that uses Elf as > object file format. Since this compiler will be released to external > customers, I need to reserve an 'official' e_machine value for this > processor. Somehow I am unable to find out how to reserve such a value. How > should I do this? > Thanks, Stephen. This is a binutils problem, not a GCC. The problem is the company that assigns the official numbers (SCO) is rapidily spinning out of control, and may not be responsive any more. When I registered EM_MEP in 2003, the address used was registry@caldera.com. If you can't get an official number, there is this comment in elf/common.h: /* If it is necessary to assign new unofficial EM_* values, please pick large random numbers (0x8523, 0xa7f2, etc.) to minimize the chances of collision with official or non-GNU unofficial values. NOTE: Do not just increment the most recent number by one. Somebody else somewhere will do exactly the same thing, and you will have a collision. Instead, pick a random number. Normally, each entity or maintainer responsible for a machine with an unofficial e_machine number should eventually ask registry@caldera.com for an officially blessed number to be added to the list above. */ -- Michael Meissner, AMD 90 Central Street, MS 83-29, Boxborough, MA, 01719, USA michael.meissner@amd.com