|
|
AROS Core Developer |
Joined: 14-Jun-2005 Posts: 377
From: Germany | | |
|
| @Wumpus
Quote:
For the newer 64bit pi, setend is gone, not just deprecated. |
Yes, in 64bit mode it is gone. In 32bit mode setend is still available.
Quote:
The instruction endianness is always LE, but that doesn't really matter as long as the data structures are BE for 68k code to access. |
Yes, it is ok, but is's still total madness. When compiling for big-endian mode of ARM (the currently supported BE8 with BE data and LE instructions) the toolchain makes following: 1. First 32-bit big endian object files are created. *Both* data *and* instructions are big endian. 2. In last stage of building executable the linker is run with --be8 parameter. During linking stage *all* cpu instructions in the object files are byte-reversed to LE mode, whereas data is kept in BE.
I've spent last few days at trying to integrate that into AROS toolchain, together with fixing our gcc/binutils patches which did not understood difference between arm/armel and armeb targets.
Anyway, problems solved. AROS toolchain for big-endian arm is there and it is working now :D
|
|