a few questions
by Unknown on Mar 10, 2004 |
Not available! | ||
Trust me, I think might be easier to change the official value ;-)
Anyway you can change the manual if you want. You take it fro mthe CVS,
change the value and put it back in the cvs.
regards,
Damjan
----- Original Message -----
From: "Johan Rydberg" jrydberg@night.trouble.net>
To: "List about OpenRISC project" openrisc@opencores.org>
Cc: lampret@opencores.org>
Sent: Wednesday, March 10, 2004 4:44 PM
Subject: Re: [openrisc] a few questions
"Damjan Lampret" lampret@opencores.org> wrote:
: > well i'm not sure which one is really official. does anyone know
: > of offical registry or something. anyway if you 'change' it to 92 let
me
: > know to fix it in uclinux & linux or they woun't work anymore.
: > also all existing binaries will need to be recompiled... : : And don't forget the openrisc arch manual. It also says describes the ELF.
: Use whatever is in the manual. I hate to keep changing the manual. I
think
: the manual uses Johan's number but not sure.
No, it uses 0x8472. Isn't it better to use the official value and change
the manual? If you hate it so much I could do the changes (provided that
OpenOffice can write valid MS Word files.)
--
Johan Rydberg, Free Software Developer, Sweden
http://rtmk.sf.net | http://www.nongnu.org/guss/
Playing Incubus - 11am
|
a few questions
by Unknown on Mar 10, 2004 |
Not available! | ||
Matjaz Breskvar phoenix@opencores.org> wrote:
: > >From include/elf/common.h:
: >
: > #define EM_OPENRISC 92 /* OpenRISC 32-bit embedded processor */
: >
: > A few lines below that:
: >
: > /* (Deprecated) Temporary number for the OpenRISC processor. */
: > #define EM_OR32 0x8472
: well i'm not sure which one is really official. does anyone know
: of offical registry or something. anyway if you 'change' it to 92 let me
: know to fix it in uclinux & linux or they woun't work anymore.
: also all existing binaries will need to be recompiled...
The official value should be 92 since I registered it with Caldera.
Ther is a comment in the file:
/* 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.
[...]
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. */
And 0x8472 seem very random to me :)
--
Johan Rydberg, Free Software Developer, Sweden
http://rtmk.sf.net | http://www.nongnu.org/guss/
Playing Frost - Alphabet
|
a few questions
by Unknown on Mar 10, 2004 |
Not available! | ||
"Damjan Lampret" lampret@opencores.org> wrote:
: > well i'm not sure which one is really official. does anyone know
: > of offical registry or something. anyway if you 'change' it to 92 let me
: > know to fix it in uclinux & linux or they woun't work anymore.
: > also all existing binaries will need to be recompiled...
:
: And don't forget the openrisc arch manual. It also says describes the ELF.
: Use whatever is in the manual. I hate to keep changing the manual. I think
: the manual uses Johan's number but not sure.
No, it uses 0x8472. Isn't it better to use the official value and change
the manual? If you hate it so much I could do the changes (provided that
OpenOffice can write valid MS Word files.)
--
Johan Rydberg, Free Software Developer, Sweden
http://rtmk.sf.net | http://www.nongnu.org/guss/
Playing Incubus - 11am
|