weird problem with linker directives (GHS hangs)

LR_SRAM1:{__text_sram_start = .; *(.text) __text_sram_end = .; __data_sram_start = .; *(.data) __data_sram_end = .; } LR_SRAM2: { __bss_sram_start = .; *(.bss) __bss_sram_end = .; } That’s a piece of my .ld, when I compile a helloWorld it works just fine, but if I add just a single global variable that fit the bss, that is a zero initialized var, e.g. int a; Then Windows shows an elxr error with the typical error report window. What’s up? Thanks in advance