Hi Konrad,
+ data (rw!x) : ORIGIN = 0x802000, LENGTH = 0x1
The fixed origin seems very dubious to me and I wasn't able to debug
__DATA_REGION_LENGTH__.
It is defined earlier on in script:
[cut]
I actually meant to ask: is there a way to debug the linker script? I.e. to
output what
Hi,
thanks for responding Nick.
On 31/10/2022 15:57, Nick Clifton wrote:
the linker fails on trying to arrange data/bss segments even with
very few small variables. E.g.:
Please could you file a bug report for this problem here:
https://sourceware.org/bugzilla/enter_bug.cgi?product=binutil
Hi Konrad,
the linker fails on trying to arrange data/bss segments even with very few
small variables. E.g.:
Please could you file a bug report for this problem here:
https://sourceware.org/bugzilla/enter_bug.cgi?product=binutils
avr-g++ -Os -Wl,--gc-sections -B
~/tronic/atmel-compiler
Hi,
the linker fails on trying to arrange data/bss segments even with very
few small variables. E.g.:
avr-g++ -Os -Wl,--gc-sections -B
~/tronic/atmel-compiler-packs/mega/gcc/dev/atmega3208 -mmcu=atmega3208
-o fw.elf dimmer.o dmx.o input.o ledout.o pwm.o
<...>/lib/gcc/avr/12.2.0/../../../../a