From 236d5abf995ea8c4948130437fc84372bcd5de4e Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 8 Aug 2000 22:04:32 +0000 Subject: Define __bss_size symbol to indicate the final size of .bss section. --- ld/scripttempl/elfm68hc11.sc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ld/scripttempl/elfm68hc11.sc') diff --git a/ld/scripttempl/elfm68hc11.sc b/ld/scripttempl/elfm68hc11.sc index 668fc0aa872..19cf06e1196 100644 --- a/ld/scripttempl/elfm68hc11.sc +++ b/ld/scripttempl/elfm68hc11.sc @@ -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}} -- cgit v1.2.1