stub: we can reuse our existing mipsel-* tools for mips (big endian).

This commit is contained in:
Markus F.X.J. Oberhumer 2007-11-14 04:40:40 +01:00
parent 27db44a8db
commit d63dc7adfb
2 changed files with 5 additions and 6 deletions

View File

@ -812,12 +812,11 @@ m68k-atari.tos.h : $(srcdir)/src/$$T.S
# // mipseb.r3000-linux.elf
# ************************************************************************/
# BUG: generate bad data [byte-swapped] using 'mipsel', but at least 'make' completes.
mipseb.r3000-linux.elf%.h : tc_list = mipseb.r3000-linux.elf default
mipseb.r3000-linux.elf%.h : tc_bfdname = elf32-bigmips
tc.mipseb.r3000-linux.elf.as = mips-linux-as-2.17 -O -mno-pdr
tc.mipseb.r3000-linux.elf.gcc = mips-linux-gcc-4.1.2 -meb -march=r3000 -mno-abicalls -mabi=eabi -G0 -nostdinc -MMD -MT $@
tc.mipseb.r3000-linux.elf.as = mipsel-elf-as-20060406 -EB -O -mno-pdr
tc.mipseb.r3000-linux.elf.gcc = mipsel-linux-gcc-4.1.1 -meb -march=r3000 -mno-abicalls -mabi=eabi -G0 -nostdinc -MMD -MT $@
tc.mipseb.r3000-linux.elf.gcc += -fno-exceptions -fno-asynchronous-unwind-tables
tc.mipseb.r3000-linux.elf.gcc += -Wall -W -Wcast-align -Wcast-qual -Wstrict-prototypes -Wwrite-strings -Werror

View File

@ -29,13 +29,13 @@
#define STUB_MIPSEB_R3000_LINUX_ELF_ENTRY_SIZE 10218
#define STUB_MIPSEB_R3000_LINUX_ELF_ENTRY_ADLER32 0xcf7e81ee
#define STUB_MIPSEB_R3000_LINUX_ELF_ENTRY_CRC32 0xbc6803c2
#define STUB_MIPSEB_R3000_LINUX_ELF_ENTRY_ADLER32 0x532081de
#define STUB_MIPSEB_R3000_LINUX_ELF_ENTRY_CRC32 0xf0aa70ce
unsigned char stub_mipseb_r3000_linux_elf_entry[10218] = {
127, 69, 76, 70, 1, 2, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, /* 0x 0 */
0, 1, 0, 8, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, /* 0x 10 */
0, 0, 30, 0, 0, 0, 16, 1, 0, 52, 0, 0, 0, 0, 0, 40, /* 0x 20 */
0, 0, 30, 0, 0, 0, 0, 1, 0, 52, 0, 0, 0, 0, 0, 40, /* 0x 20 */
0, 21, 0, 18, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, /* 0x 30 */
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 17, 0, 43, /* 0x 40 */
39,247, 0, 0, 60, 13,128, 0, 1,160, 72, 33, 36, 11, 0, 1, /* 0x 50 */