Minor glitch fix for reset16 from last checkin.
This commit is contained in:
parent
dc97310a17
commit
62edf8e35e
6 changed files with 12 additions and 12 deletions
|
|
@ -41,6 +41,7 @@ SECTIONS
|
|||
.text (.) : {
|
||||
_text = .;
|
||||
*(.text);
|
||||
*(.text.*);
|
||||
_etext = .;
|
||||
}
|
||||
.rodata (.) : {
|
||||
|
|
@ -92,8 +93,8 @@ SECTIONS
|
|||
_estack = .;
|
||||
}
|
||||
|
||||
|
||||
/DISCARD/ : {
|
||||
*(*)
|
||||
*(.comment)
|
||||
*(.note)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ addaction linuxbios.rom export size=`ls -l linuxbios.strip | (read p c u g size
|
|||
addaction linuxbios.rom echo $$size ; \
|
||||
addaction linuxbios.rom dd if=linuxbios.strip of=linuxbios.rom bs=1 seek=`expr $(ROM_IMAGE_SIZE) - $$size`
|
||||
|
||||
makerule linuxbios.strip: linuxbios ; objcopy -O binary -R .note -R .comment -S linuxbios linuxbios.strip
|
||||
makerule linuxbios.strip: linuxbios ; objcopy -O binary linuxbios linuxbios.strip
|
||||
|
||||
makerule linuxbios.o : crt0.o linuxbios.a $(LIBGCC_FILE_NAME) ; $(CC) -nostdlib -r -o $@ crt0.o linuxbios.a $(LIBGCC_FILE_NAME)
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
jmp cpu_reset_out
|
||||
#include <cpu/p6/mtrr.h>
|
||||
|
||||
#ifdef DEBUG
|
||||
cpu_reset_str: .string "cpu_reset\r\n";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue