X-Git-Url: https://hackdaworld.org/gitweb/?a=blobdiff_plain;f=betty%2Flpc2220_ram.ld;h=735689386da6f6cc787039a87100c76f9ca6ae4c;hb=6a1c483e9c2da2e1affde2a7f3b40ff1c3b09a5f;hp=c6fd14d22621d47090e3efe687951fd15594cb2f;hpb=21b21d3d5c7feb1ece4c8ea3d495e03c502450ea;p=my-code%2Farm.git 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);