link error with ramdisk file

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

 



I'm getting the following error when creating a ramdisk on a big endian system:

$ mips-linux-ld -T ld.script -b binary -o ramdisk.o ramdisk.gz
mips-linux-ld: ramdisk.gz: compiled for a little endian system and target is big 
endian
File in wrong format: failed to merge target specific data of file ramdisk.gz


I get the same error regardless of what I use for the input file.  I don't 
understand how this linker error can occur when the input file format is binary.
Isn't the linker just ignoring the contents of the input file with the
"-b binary" option?

Thanks!

Gerald



[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux