]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Update avrxmega3 linker emulation to support avrxmega2 devices with flash memory...
authoreorg-Johann Lay <avr@gjlay.de>
Fri, 19 May 2017 14:06:33 +0000 (15:06 +0100)
committerNick Clifton <nickc@redhat.com>
Fri, 19 May 2017 14:06:33 +0000 (15:06 +0100)
commitf4203b2b8830e66e5229b7f9d30cd29b088566b5
tree5e2d585c1401cb5d4dc6e1b812e7ac899a6db24d
parent6e7e1744e96abbf1a4229d5f269caf2cc921ec58
Update avrxmega3 linker emulation to support avrxmega2 devices with flash memory visible in the SRAM address range.

    PR ld/21472
ld  * emulparams/avrxmega3.sh (RODATA_PM_OFFSET): Set to 0x8000.
    * scripttempl/avr.sc
    (__RODATA_PM_OFFSET__) [RODATA_PM_OFFSET]: Use RODATA_PM_OFFSET
    as default if not already defined.
    (.data) [!RODATA_PM_OFFSET]: Don't include .rodata and friends.
    (.rodata) [RODATA_PM_OFFSET]: Put at an offset of
    __RODATA_PM_OFFSET__.

gas * config/tc-avr.c (mcu_types): Add entries for: attiny416,
     attiny417, attiny816, attiny817.
gas/ChangeLog
gas/config/tc-avr.c
ld/ChangeLog
ld/emulparams/avrxmega3.sh
ld/scripttempl/avr.sc