X-Git-Url: https://hackdaworld.org/gitweb/?p=my-code%2Farm.git;a=blobdiff_plain;f=betty%2Flpc2220_ram.ld;h=735689386da6f6cc787039a87100c76f9ca6ae4c;hp=c6fd14d22621d47090e3efe687951fd15594cb2f;hb=945d83a31473b984473f571bb92486991d14aa16;hpb=21b21d3d5c7feb1ece4c8ea3d495e03c502450ea diff --git a/betty/lpc2220_ram.ld b/betty/lpc2220_ram.ld index c6fd14d..7356893 100644 --- a/betty/lpc2220_ram.ld +++ b/betty/lpc2220_ram.ld @@ -20,7 +20,14 @@ SECTIONS { . = ALIGN(4); - .data : { *(.data) } /* initialized data */ + /* define end of text symbol */ + _etext = .; + + .data : { /* initialized data */ + _data = .; + *(.data) + _edata = .; + } . = ALIGN(4);