From 0e227c3fdb2786c4cfbdb847e30fa49fde140565 Mon Sep 17 00:00:00 2001 From: Dave Murphy Date: Mon, 12 May 2008 06:06:23 +0000 Subject: [PATCH] update for latest binutils --- dkarm-eabi/crtls/gba_cart.ld | 5 ++--- dkarm-eabi/crtls/gba_mb.ld | 4 ++-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/dkarm-eabi/crtls/gba_cart.ld b/dkarm-eabi/crtls/gba_cart.ld index 436b7aa..c2ae17b 100644 --- a/dkarm-eabi/crtls/gba_cart.ld +++ b/dkarm-eabi/crtls/gba_cart.ld @@ -162,7 +162,7 @@ SECTIONS __data_lma = __iwram_lma + SIZEOF(.iwram) ; - .bss ALIGN(4) : + .bss ALIGN(4) (NOLOAD) : { __bss_start = ABSOLUTE(.); __bss_start__ = ABSOLUTE(.); @@ -241,7 +241,7 @@ SECTIONS __pad_lma = __ewram_lma + SIZEOF(.ewram); - .sbss ALIGN(4): + .sbss ALIGN(4)(NOLOAD): { __sbss_start = ABSOLUTE(.); *(.sbss) @@ -249,7 +249,6 @@ SECTIONS __sbss_end = ABSOLUTE(.); } AT>ewram - __ewram_end = __sbss_end ; __eheap_start = __sbss_end; __end__ = __sbss_end; diff --git a/dkarm-eabi/crtls/gba_mb.ld b/dkarm-eabi/crtls/gba_mb.ld index b47cc4c..347e702 100644 --- a/dkarm-eabi/crtls/gba_mb.ld +++ b/dkarm-eabi/crtls/gba_mb.ld @@ -170,7 +170,7 @@ SECTIONS __data_lma = __iwram_lma + SIZEOF(.iwram) ; - .bss ALIGN(4) : + .bss ALIGN(4) (NOLOAD): { __bss_start = ABSOLUTE(.); __bss_start__ = ABSOLUTE(.); @@ -229,7 +229,7 @@ SECTIONS __ewram_overlay_lma = __ewram_lma + SIZEOF(.ewram); - .sbss ALIGN(4): + .sbss ALIGN(4)(NOLOAD): { __sbss_start = ABSOLUTE(.); *(.sbss)