/SPARTAN/trunk/arch/mips/boot/_link.ld |
---|
0,0 → 1,16 |
/* |
* MIPS linker script |
* |
* kernel text |
* kernel data |
* |
*/ |
/* OUTPUT_FORMAT(ecoff-littlemips) */ |
OUTPUT_FORMAT(binary) |
SECTIONS { |
.image 0x0: AT (0) { |
*(.text); |
*(.reginfo); |
} |
} |
/SPARTAN/trunk/arch/mips/boot/Makefile |
---|
13,7 → 13,7 |
LD=$(MIPS_BINUTILS_DIR)/$(MIPS_TARGET)-ld |
ASFLAGS=-mips2 -I../../../include |
LFLAGS=--oformat=binary -mips2 -e start |
LFLAGS=--oformat=binary -mips2 -e start -T _link.ld |
.S.o: |
$(CC) $(ASFLAGS) -c -o $@ $< |