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=26b834d1801d8453bb25b6b427a6b6c3b131cf57;hpb=a55e3dfcfbb7d2ace35f07a9fa665a45d0cc4d9e 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);