]> rtime.felk.cvut.cz Git - sysless.git/commitdiff
h8300: correct broken ld-scipts for h8eurobot and h8canusb boards.
authorPavel Pisa <pisa@cmp.felk.cvut.cz>
Mon, 2 May 2011 21:56:34 +0000 (23:56 +0200)
committerPavel Pisa <pisa@cmp.felk.cvut.cz>
Mon, 2 May 2011 21:58:28 +0000 (23:58 +0200)
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
board/h8300/h8canusb/libs/h8canusb.ld-boot
board/h8300/h8canusb/libs/h8canusb.ld-flash
board/h8300/h8eurobot/libs/h8canusb.ld-boot
board/h8300/h8eurobot/libs/h8canusb.ld-flash

index b50ec7da2b0d422a5a2db7b2cbbf785ca7508201..c41f78a0aa30009efda1f06119a8fb90c50cf99b 100644 (file)
@@ -63,7 +63,8 @@ SECTIONS
         .data :
          AT ( ADDR( .tors ) + SIZEOF( .tors ) )
        {
-         _data_start = . ;
+         . = ALIGN( 0x4 ) ;
+         _data_start = ALIGN( 0x4 ) ;
           *(.data)
          . = ALIGN( 0x4 ) ;
          _edata = ALIGN( 0x4 ) ;
@@ -73,7 +74,8 @@ SECTIONS
        
         .bss :
         {
-         _bss_start = ALIGN( 0x10 ) ;
+         . = ALIGN( 0x4 ) ;
+         _bss_start = ALIGN( 0x4 ) ;
          *(.bss)
          *(COMMON)
          . = ALIGN( 0x4 ) ;
index e4a6c98cfb415ca292a670b5d3f80ce9215643df..bd2154b3640b0f9e2f0307de2b1707aee8dadb6d 100644 (file)
@@ -56,7 +56,8 @@ SECTIONS
        .data :
            AT ( ADDR( .tors ) + SIZEOF( .tors ) )
        {
-         _data_start = . ;
+         . = ALIGN( 0x4 ) ;
+         _data_start = ALIGN( 0x4 ) ;
          *(.data)
          . = ALIGN( 0x4 ) ;
          _edata = ALIGN( 0x4 ) ;
@@ -66,7 +67,8 @@ SECTIONS
 
        .bss :
        {
-         _bss_start = ALIGN( 0x10 ) ;
+         . = ALIGN( 0x4 ) ;
+         _bss_start = ALIGN( 0x4 ) ;
          *(.bss)
          *(COMMON)
          . = ALIGN( 0x4 ) ;
index b50ec7da2b0d422a5a2db7b2cbbf785ca7508201..c41f78a0aa30009efda1f06119a8fb90c50cf99b 100644 (file)
@@ -63,7 +63,8 @@ SECTIONS
         .data :
          AT ( ADDR( .tors ) + SIZEOF( .tors ) )
        {
-         _data_start = . ;
+         . = ALIGN( 0x4 ) ;
+         _data_start = ALIGN( 0x4 ) ;
           *(.data)
          . = ALIGN( 0x4 ) ;
          _edata = ALIGN( 0x4 ) ;
@@ -73,7 +74,8 @@ SECTIONS
        
         .bss :
         {
-         _bss_start = ALIGN( 0x10 ) ;
+         . = ALIGN( 0x4 ) ;
+         _bss_start = ALIGN( 0x4 ) ;
          *(.bss)
          *(COMMON)
          . = ALIGN( 0x4 ) ;
index 5882d68b844aa364bf601b89aa1f461b4c8ef222..697f8f7620ba3100650cd857091e1806e2fa27f4 100644 (file)
@@ -57,7 +57,8 @@ SECTIONS
        .data :
            AT ( ADDR( .tors ) + SIZEOF( .tors ) )
        {
-         _data_start = . ;
+         . = ALIGN( 0x4 ) ;
+         _data_start = ALIGN( 0x4 ) ;
          *(.data)
          . = ALIGN( 0x4 ) ;
          _edata = ALIGN( 0x4 ) ;
@@ -67,7 +68,8 @@ SECTIONS
 
        .bss :
        {
-         _bss_start = ALIGN( 0x10 ) ;
+         . = ALIGN( 0x4 ) ;
+         _bss_start = ALIGN( 0x4 ) ;
          *(.bss)
          *(COMMON)
          . = ALIGN( 0x4 ) ;