Port-arm archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: ARM ABI changes/combinations (was Re: Preparation for creating netbsd-7 branch)



On 7/22/14, 2:28 PM, Jeff Rizzo wrote:

So, what I am proposing:

- acorn26, acorn32, epoc32 remain MACHINE_ARCH=arm
- cats, netwinder, shark switch to MACHINE_ARCH=earmv4 (rename oabi equiv to ocats, onetwinder, oshark) - hpcarm, iyonix, zaurus switch to MACHINE_ARCH=earm (which is equivalent to earmv5, correct?) - evbarm switch default MACHINE_ARCH=earm, and also build the following MACHINE_ARCHes:
  * earm, earmeb
  * earmhf, earmhfeb
  * earmv6hf
  * earmv7hf

Does this make sense? If so, i'll post a diff with the proposed change to src, and once that's committed, I'll fix up the autobuild.

Does anyone have a start at documenting this on the wiki for someone who might actually want to use one of our arm ports? :)

+j



Attached is the proposed diff to build.sh with the changes, including hpcarm -> MACHINE_ARCH=earmv4 .

I would like to commit this in the next 48h unless there are objections.

Index: build.sh
===================================================================
RCS file: /cvsroot/src/build.sh,v
retrieving revision 1.285
diff -u -r1.285 build.sh
--- build.sh    6 Jul 2014 18:04:44 -0000       1.285
+++ build.sh    23 Jul 2014 18:43:32 -0000
@@ -602,31 +602,47 @@
 MACHINE=arc            MACHINE_ARCH=mipsel     DEFAULT
 MACHINE=atari          MACHINE_ARCH=m68k
 MACHINE=bebox          MACHINE_ARCH=powerpc
-MACHINE=cats           MACHINE_ARCH=arm        DEFAULT
-MACHINE=cats           MACHINE_ARCH=earmv4     ALIAS=ecats
+MACHINE=cats           MACHINE_ARCH=arm        ALIAS=ocats
+MACHINE=cats           MACHINE_ARCH=earmv4     ALIAS=ecats DEFAULT
 MACHINE=cesfic         MACHINE_ARCH=m68k
 MACHINE=cobalt         MACHINE_ARCH=mips64el   ALIAS=cobalt64
 MACHINE=cobalt         MACHINE_ARCH=mipsel     DEFAULT
 MACHINE=dreamcast      MACHINE_ARCH=sh3el
 MACHINE=emips          MACHINE_ARCH=mipseb
 MACHINE=epoc32         MACHINE_ARCH=arm
-MACHINE=evbarm         MACHINE_ARCH=arm        ALIAS=evbarm-el DEFAULT
-MACHINE=evbarm         MACHINE_ARCH=armeb      ALIAS=evbarm-eb
+MACHINE=evbarm         MACHINE_ARCH=arm        ALIAS=evboarm-el
+MACHINE=evbarm         MACHINE_ARCH=armeb      ALIAS=evboarm-eb
+MACHINE=evbarm         MACHINE_ARCH=earm       ALIAS=evbarm-el DEFAULT
 MACHINE=evbarm         MACHINE_ARCH=earm       ALIAS=evbearm-el
+MACHINE=evbarm         MACHINE_ARCH=earmeb     ALIAS=evbarm-eb
 MACHINE=evbarm         MACHINE_ARCH=earmeb     ALIAS=evbearm-eb
+MACHINE=evbarm         MACHINE_ARCH=earmhf     ALIAS=evbarmhf-el
 MACHINE=evbarm         MACHINE_ARCH=earmhf     ALIAS=evbearmhf-el
+MACHINE=evbarm         MACHINE_ARCH=earmhfeb   ALIAS=evbarmhf-eb
 MACHINE=evbarm         MACHINE_ARCH=earmhfeb   ALIAS=evbearmhf-eb
+MACHINE=evbarm         MACHINE_ARCH=earmv4     ALIAS=evbarmv4-el
 MACHINE=evbarm         MACHINE_ARCH=earmv4     ALIAS=evbearmv4-el
+MACHINE=evbarm         MACHINE_ARCH=earmv4eb   ALIAS=evbarmv4-eb
 MACHINE=evbarm         MACHINE_ARCH=earmv4eb   ALIAS=evbearmv4-eb
+MACHINE=evbarm         MACHINE_ARCH=earmv5     ALIAS=evbarmv5-el
 MACHINE=evbarm         MACHINE_ARCH=earmv5     ALIAS=evbearmv5-el
+MACHINE=evbarm         MACHINE_ARCH=earmv5eb   ALIAS=evbarmv5-eb
 MACHINE=evbarm         MACHINE_ARCH=earmv5eb   ALIAS=evbearmv5-eb
+MACHINE=evbarm         MACHINE_ARCH=earmv6     ALIAS=evbarmv6-el
 MACHINE=evbarm         MACHINE_ARCH=earmv6     ALIAS=evbearmv6-el
+MACHINE=evbarm         MACHINE_ARCH=earmv6hf   ALIAS=evbarmv6hf-el
 MACHINE=evbarm         MACHINE_ARCH=earmv6hf   ALIAS=evbearmv6hf-el
+MACHINE=evbarm         MACHINE_ARCH=earmv6eb   ALIAS=evbarmv6-eb
 MACHINE=evbarm         MACHINE_ARCH=earmv6eb   ALIAS=evbearmv6-eb
+MACHINE=evbarm         MACHINE_ARCH=earmv6hfeb ALIAS=evbarmv6hf-eb
 MACHINE=evbarm         MACHINE_ARCH=earmv6hfeb ALIAS=evbearmv6hf-eb
+MACHINE=evbarm         MACHINE_ARCH=earmv7     ALIAS=evbarmv7-el
 MACHINE=evbarm         MACHINE_ARCH=earmv7     ALIAS=evbearmv7-el
+MACHINE=evbarm         MACHINE_ARCH=earmv7eb   ALIAS=evbarmv7-eb
 MACHINE=evbarm         MACHINE_ARCH=earmv7eb   ALIAS=evbearmv7-eb
+MACHINE=evbarm         MACHINE_ARCH=earmv7hf   ALIAS=evbarmv7hf-el
 MACHINE=evbarm         MACHINE_ARCH=earmv7hf   ALIAS=evbearmv7hf-el
+MACHINE=evbarm         MACHINE_ARCH=earmv7hfeb ALIAS=evbarmv7hf-eb
 MACHINE=evbarm         MACHINE_ARCH=earmv7hfeb ALIAS=evbearmv7hf-eb
 MACHINE=evbcf          MACHINE_ARCH=coldfire
 MACHINE=evbmips                MACHINE_ARCH=           NO_DEFAULT
@@ -642,15 +658,16 @@
 MACHINE=ews4800mips    MACHINE_ARCH=mipseb
 MACHINE=hp300          MACHINE_ARCH=m68k
 MACHINE=hppa           MACHINE_ARCH=hppa
-MACHINE=hpcarm         MACHINE_ARCH=arm        DEFAULT
+MACHINE=hpcarm         MACHINE_ARCH=arm        ALIAS=hpcoarm
 MACHINE=hpcarm         MACHINE_ARCH=earm       ALIAS=hpcearm
+MACHINE=hpcarm         MACHINE_ARCH=earmv4     ALIAS=hpcearmv4 DEFAULT
 MACHINE=hpcmips                MACHINE_ARCH=mipsel
 MACHINE=hpcsh          MACHINE_ARCH=sh3el
 MACHINE=i386           MACHINE_ARCH=i386
 MACHINE=ia64           MACHINE_ARCH=ia64
 MACHINE=ibmnws         MACHINE_ARCH=powerpc
-MACHINE=iyonix         MACHINE_ARCH=arm        DEFAULT
-MACHINE=iyonix         MACHINE_ARCH=earm       ALIAS=eiyonix
+MACHINE=iyonix         MACHINE_ARCH=arm        ALIAS=oiyonix
+MACHINE=iyonix         MACHINE_ARCH=earm       ALIAS=eiyonix DEFAULT
 MACHINE=landisk                MACHINE_ARCH=sh3el
 MACHINE=luna68k                MACHINE_ARCH=m68k
 MACHINE=mac68k         MACHINE_ARCH=m68k
@@ -660,8 +677,8 @@
 MACHINE=mmeye          MACHINE_ARCH=sh3eb
 MACHINE=mvme68k                MACHINE_ARCH=m68k
 MACHINE=mvmeppc                MACHINE_ARCH=powerpc
-MACHINE=netwinder      MACHINE_ARCH=arm        DEFAULT
-MACHINE=netwinder      MACHINE_ARCH=earmv4     ALIAS=enetwinder
+MACHINE=netwinder      MACHINE_ARCH=arm        ALIAS=onetwinder
+MACHINE=netwinder      MACHINE_ARCH=earmv4     ALIAS=enetwinder DEFAULT
 MACHINE=news68k                MACHINE_ARCH=m68k
 MACHINE=newsmips       MACHINE_ARCH=mipseb
 MACHINE=next68k                MACHINE_ARCH=m68k
@@ -680,16 +697,16 @@
 MACHINE=sbmips         MACHINE_ARCH=mipsel     ALIAS=sbmips-el
 MACHINE=sgimips                MACHINE_ARCH=mips64eb   ALIAS=sgimips64
 MACHINE=sgimips                MACHINE_ARCH=mipseb     DEFAULT
-MACHINE=shark          MACHINE_ARCH=arm        DEFAULT
-MACHINE=shark          MACHINE_ARCH=earmv4     ALIAS=eshark
+MACHINE=shark          MACHINE_ARCH=arm        ALIAS=oshark
+MACHINE=shark          MACHINE_ARCH=earmv4     ALIAS=eshark DEFAULT
 MACHINE=sparc          MACHINE_ARCH=sparc
 MACHINE=sparc64                MACHINE_ARCH=sparc64
 MACHINE=sun2           MACHINE_ARCH=m68000
 MACHINE=sun3           MACHINE_ARCH=m68k
 MACHINE=vax            MACHINE_ARCH=vax
 MACHINE=x68k           MACHINE_ARCH=m68k
-MACHINE=zaurus         MACHINE_ARCH=arm        DEFAULT
-MACHINE=zaurus         MACHINE_ARCH=earm       ALIAS=ezaurus
+MACHINE=zaurus         MACHINE_ARCH=arm        ALIAS=ozaurus
+MACHINE=zaurus         MACHINE_ARCH=earm       ALIAS=ezaurus DEFAULT
 '
 
 # getarch -- find the default MACHINE_ARCH for a MACHINE,


Home | Main Index | Thread Index | Old Index