]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Define __bss_size symbol to indicate the final size of .bss section.
authorNick Clifton <nickc@redhat.com>
Tue, 8 Aug 2000 22:04:32 +0000 (22:04 +0000)
committerNick Clifton <nickc@redhat.com>
Tue, 8 Aug 2000 22:04:32 +0000 (22:04 +0000)
ld/ChangeLog
ld/scripttempl/elfm68hc11.sc
ld/scripttempl/elfm68hc12.sc

index 32304c439349a40d6eefe776604ad5e1b8dd2c06..1d5ab752c2f778ee65b955051fb3800874ccd555 100644 (file)
@@ -1,3 +1,9 @@
+2000-08-08  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
+
+       * scripttempl/elfm68hc11.sc: Define __bss_size symbol to indicate
+       the final size of .bss section.
+       * scripttempl/elfm68hc12.sc: Likewise.
+
 2000-08-04  Alan Modra  <alan@linuxcare.com.au>
 
        * emultempl/elf32.em (gld_${EMULATION_NAME}_parse_args): Rename to
index 668fc0aa8728bb51770a9d726046826615c9f5d9..19cf06e1196fe11bc2a9eaaa782dfaabb3fca283 100644 (file)
@@ -311,6 +311,8 @@ SECTIONS
     *(COMMON)
     ${RELOCATING+PROVIDE (_end = .);}
   } ${RELOCATING+ > ${DATA_MEMORY}}
+  ${RELOCATING+__bss_size = SIZEOF(.bss);}
+  ${RELOCATING+PROVIDE (__bss_size = SIZEOF(.bss));}
 
   ${RELOCATING+${CTOR}}
   ${RELOCATING+${DTOR}}
index 8a4eb44835504de0bea27b62386f816ef06965d7..bd70c13fbd658534785983425919c1e563b1f0c4 100644 (file)
@@ -311,6 +311,8 @@ SECTIONS
     *(COMMON)
     ${RELOCATING+PROVIDE (_end = .);}
   } ${RELOCATING+ > ${DATA_MEMORY}}
+  ${RELOCATING+__bss_size = SIZEOF(.bss);}
+  ${RELOCATING+PROVIDE (__bss_size = SIZEOF(.bss));}
 
   ${RELOCATING+${CTOR}}
   ${RELOCATING+${DTOR}}