Nios II - Fix I/O Macros and mini-app stubs
-Fix asm/io.h macros -Eliminate use of CACHE_BYPASS in cpu code -Eliminate assembler warnings -Fix mini-app stubs and force no small data Patch by Scott McNutt, 08 Jun 2006
This commit is contained in:
@@ -42,7 +42,7 @@ LOAD_ADDR = 0x00800000 -L $(gcclibdir)/m32 -T nios.lds
|
||||
endif
|
||||
|
||||
ifeq ($(ARCH),nios2)
|
||||
LOAD_ADDR = 0x00800000 -L $(gcclibdir) -T nios2.lds
|
||||
LOAD_ADDR = 0x02000000 -L $(gcclibdir) -T nios2.lds
|
||||
endif
|
||||
|
||||
ifeq ($(ARCH),m68k)
|
||||
|
||||
@@ -92,7 +92,7 @@ gd_t *global_data;
|
||||
#x ":\n" \
|
||||
" movhi r8, %%hi(%0)\n" \
|
||||
" ori r8, r0, %%lo(%0)\n" \
|
||||
" add r8, r0, r15\n" \
|
||||
" add r8, r8, r15\n" \
|
||||
" ldw r8, 0(r8)\n" \
|
||||
" ldw r8, %1(r8)\n" \
|
||||
" jmp r8\n" \
|
||||
|
||||
Reference in New Issue
Block a user