|
Message
From: Matjaz Breskvar<phoenix@o...>
Date: Wed Mar 10 02:49:36 CET 2004
Subject: [openrisc] a few questions
* Johan Rydberg (jrydberg@n...) wrote: > Johan Rydberg <jrydberg@n...> wrote: > > : : So the general idea is that you either use openrisc or > : : short OR. So openrisc32 or OPENRISC32 would be the same as OR32... > : > : This is pretty much the same as SPARC, but the omit the "32" since > : it is the default -> sparc vs sparc64. This seem to be the convention. > : FWIW I think we should stick with the convention and use openrisc > > Another issue is what to do with the sources that is already a part > of the offical GNU binutils distribution. Right now there is my old > port (openrisc-*) and "your" port (or32-*), side by side. > > When I did my port I registered a elf machine architecture value for > OpenRISC. > > >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 > > Who made it deprecated, or was it already that when the port was > contributed? > > I could make an effort to merge them (remove one of them, clear some > issues and start using EM_OPENRISC.) and check out what needs to be > done to support 64 bit, unless someone objects. > > Comments?
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...
regards, p.
|
 |