Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/evbarm/stand/gzboot Use LOADADDR() where appropriate.



details:   https://anonhg.NetBSD.org/src/rev/b12f68a820dd
branches:  trunk
changeset: 526094:b12f68a820dd
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Thu Apr 25 01:48:21 2002 +0000

description:
Use LOADADDR() where appropriate.

diffstat:

 sys/arch/evbarm/stand/gzboot/IQ80310_flash_0x80000/ldscript    |  8 ++++----
 sys/arch/evbarm/stand/gzboot/IQ80321_flash_0xf0080000/ldscript |  8 ++++----
 2 files changed, 8 insertions(+), 8 deletions(-)

diffs (70 lines):

diff -r f16574d9a2c9 -r b12f68a820dd sys/arch/evbarm/stand/gzboot/IQ80310_flash_0x80000/ldscript
--- a/sys/arch/evbarm/stand/gzboot/IQ80310_flash_0x80000/ldscript       Thu Apr 25 01:47:56 2002 +0000
+++ b/sys/arch/evbarm/stand/gzboot/IQ80310_flash_0x80000/ldscript       Thu Apr 25 01:48:21 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ldscript,v 1.6 2002/04/11 21:48:18 thorpej Exp $       */
+/*     $NetBSD: ldscript,v 1.7 2002/04/25 01:48:21 thorpej Exp $       */
 
 OUTPUT_FORMAT("elf32-littlearm", "elf32-bigarm",
              "elf32-littlearm")
@@ -32,14 +32,14 @@
   PROVIDE (etext = .);
   __data_store = FLASH + SIZEOF(.text);
   .data    :
-  AT (FLASH + SIZEOF(.text))
+  AT (LOADADDR(.text) + SIZEOF(.text))
   {
     __data_start = . ;
     *(.data)
     *(.data.*)
   } > sdram
   .sdata     : 
-  AT (FLASH + SIZEOF(.text) + SIZEOF(.data))
+  AT (LOADADDR(.data) + SIZEOF(.data))
   {
     *(.sdata) 
     *(.sdata.*)
@@ -75,7 +75,7 @@
   _bss_end__ = . ; __bss_end__ = . ; __end__ = . ;
   PROVIDE (end = .);
   .image   (FLASH + SIZEOF(.text) + SIZEOF(.data) + SIZEOF(.sdata)) :
-  AT (FLASH + SIZEOF(.text) + SIZEOF(.data) + SIZEOF(.sdata))
+  AT (LOADADDR(.sdata) + SIZEOF(.sdata))
   {
     *(.image)
   }
diff -r f16574d9a2c9 -r b12f68a820dd sys/arch/evbarm/stand/gzboot/IQ80321_flash_0xf0080000/ldscript
--- a/sys/arch/evbarm/stand/gzboot/IQ80321_flash_0xf0080000/ldscript    Thu Apr 25 01:47:56 2002 +0000
+++ b/sys/arch/evbarm/stand/gzboot/IQ80321_flash_0xf0080000/ldscript    Thu Apr 25 01:48:21 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ldscript,v 1.3 2002/04/11 21:48:18 thorpej Exp $       */
+/*     $NetBSD: ldscript,v 1.4 2002/04/25 01:48:21 thorpej Exp $       */
 
 OUTPUT_FORMAT("elf32-littlearm", "elf32-bigarm",
              "elf32-littlearm")
@@ -32,14 +32,14 @@
   PROVIDE (etext = .);
   __data_store = FLASH + SIZEOF(.text);
   .data    :
-  AT (FLASH + SIZEOF(.text))
+  AT (LOADADDR(.text) + SIZEOF(.text))
   {
     __data_start = . ;
     *(.data)
     *(.data.*)
   } > sdram
   .sdata     : 
-  AT (FLASH + SIZEOF(.text) + SIZEOF(.data))
+  AT (LOADADDR(.data) + SIZEOF(.data))
   {
     *(.sdata) 
     *(.sdata.*)
@@ -75,7 +75,7 @@
   _bss_end__ = . ; __bss_end__ = . ; __end__ = . ;
   PROVIDE (end = .);
   .image   (FLASH + SIZEOF(.text) + SIZEOF(.data) + SIZEOF(.sdata)) :
-  AT (FLASH + SIZEOF(.text) + SIZEOF(.data) + SIZEOF(.sdata))
+  AT (LOADADDR(.sdata) + SIZEOF(.sdata))
   {
     *(.image)
   }



Home | Main Index | Thread Index | Old Index