OSDN Git Service

(none)
authorryuz <ryuz>
Sun, 3 Dec 2006 05:40:53 +0000 (05:40 +0000)
committerryuz <ryuz>
Sun, 3 Dec 2006 05:40:53 +0000 (05:40 +0000)
sample/sh/sh7144/gcc/crt0.S
sample/sh/sh7144/gcc/link_ram.x
sample/sh/sh7144/gcc/vector.S

index 22f1135..712076f 100755 (executable)
@@ -71,10 +71,9 @@ ___main:
                                rts             /* 何もしない */
                                nop
 
-                               .align  4
+                               .align  2
 l_int_isp:             
-                               .long   __kernel_int_isp;
-
+                               .long   __kernel_int_isp
 l_data_rom:            
                                .long   ___data_rom
 l_data_start:  
index 4879a88..6b472b8 100755 (executable)
@@ -4,9 +4,9 @@ ENTRY(_pwr_reset)
 
 MEMORY
 {
-       vector : o = 0x400000, l = 0x0400
-       rom    : o = 0x400400, l = 0x7c00
-       ram    : o = 0x480000, l = 0x8000
+       vector : o = 0x400000, l = 0x00400
+       rom    : o = 0x400400, l = 0x0fc00
+       ram    : o = 0x410000, l = 0x10000
 }
 
 SECTIONS
@@ -14,7 +14,7 @@ SECTIONS
        .vector :
        {
                ___vector = . ; 
-               *(.vector)
+               */vector.o(.text)
                FILL(0xff)
                ___vector_end = . ; 
        } > vector
index 8b96928..9e8be19 100755 (executable)
 
 
 
-                               .section        .vector
+                               .text
 
                                .long   _pwr_reset                      /* パワーオンリセット */
                                .long   ___bss_end