Hello,
I am trying to compile the uclinux for a big endian target ; I use assembler,
compiler and linker option to generate big endian code.

I got this error message :

arm-uclinux-gcc -D__KERNEL__ -I/home/xde/linux/linux/include -mcpu=arm7tdmi
-fno-strict-aliasing -mapcs-32 -g -mbig-endian -Wall -Wstrict-prototypes -O2 
-fno-strength-reduce -pipe -DNO_MM -D__ASSEMBLY__ -c -o proc-arm6,7.o
proc-arm6,7.S
proc-arm6,7.S: Assembler messages:
proc-arm6,7.S:82: Error: address offset too large
proc-arm6,7.S:85: Error: address offset too large

Indeed, TSS_SAVE is not a good value for the compiler.

this comes from the /arch/armnommu/lib/constant.h that follows :
/*
 *  contants.h generated by getconstants
 * DO NOT EDIT!
 */
#define _current        _current_set
#define TSS_SAVE        -1274937344
#define TSS_FPESAVE     671219712
#define MM      -1073610752
#define KSWI_BASE       0x900000
#define KSWI_SYS_BASE   0x9F0000
#define SYS_ERROR0      0x9F0000

Does anyone have any idea ?

Thank you

unsubscribe: body of `unsubscribe linux-arm' to [EMAIL PROTECTED]
++        Please use [EMAIL PROTECTED] for           ++
++                        kernel-related discussions.                      ++

Reply via email to