OSDN Git Service
(root)
/
pf3gnuchains
/
pf3gnuchains4x.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Define __bss_size symbol to indicate the final size of .bss section.
[pf3gnuchains/pf3gnuchains4x.git]
/
ld
/
scripttempl
/
elfm68hc12.sc
diff --git
a/ld/scripttempl/elfm68hc12.sc
b/ld/scripttempl/elfm68hc12.sc
index
8a4eb44
..
bd70c13
100644
(file)
--- a/
ld/scripttempl/elfm68hc12.sc
+++ b/
ld/scripttempl/elfm68hc12.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}}