-seems like svn doesnt automatically notice lowercase/uppercase changes, whatever...

This commit is contained in:
fix94.1 2014-03-31 18:31:24 +00:00
parent d4ce44ebec
commit c5e1c014af
2 changed files with 3 additions and 4 deletions

View File

@ -13,7 +13,7 @@ STRIP = $(PREFIX)strip
MACHDEP = -mcpu=750 -mno-eabi MACHDEP = -mcpu=750 -mno-eabi
CFLAGS = $(MACHDEP) -O1 -Werror -Wall -pipe -mno-sdata CFLAGS = $(MACHDEP) -O1 -Werror -Wall -pipe -mno-sdata
LDFLAGS = $(MACHDEP) -n -nostartfiles -nostdlib -Wl,-T,link.ld -L. LDFLAGS = $(MACHDEP) -n -nostartfiles -nostdlib -Wl,-T,link.ld -L.
ASFLAGS = -D_LANGUAGE_ASSEMBLY -DHW_RVL ASFLAGS = -D_LANGUAGE_ASSEMBLY -DHW_RVL -x assembler-with-cpp
TARGET_LINKED = boot.elf TARGET_LINKED = boot.elf
TARGET = extldr.bin TARGET = extldr.bin

View File

@ -13,9 +13,8 @@ void _main(void)
sync_after_write(start, 0xF0000); sync_after_write(start, 0xF0000);
gprintf("Done! Jumping to Entrypoint...\n"); gprintf("Done! Jumping to Entrypoint...\n");
asm volatile ( asm volatile (
"lis %r3, start@h\n" "lis %r3, 0x80A8\n"
"ori %r3, %r3, start@l\n" "ori %r3, %r3, 0x0000\n"
"lwz %r3, 0(%r3)\n"
"mtlr %r3\n" "mtlr %r3\n"
"blr\n" "blr\n"
); );