[patch,avr] PR21849: Locate section .progmemx.* at a higher address.

Georg-Johann Lay avr@gjlay.de
Thu Jul 27 10:57:00 GMT 2017


Hi, this fixes PR21849:  The current location of data for
avr-gcc named address space __memx is such that it "wastes"
lower addresses in the 16-bit range.

As the compiler is using 24-bit addresses for __memx data which
it located in .progmemx.*, this section can be moved to a higher
address in the linker script.

If ok, please commit.

Would also be great if this can go into 2.29.

Johann

ld/
	PR ld/21849
	* scripttempl/avr.sc: Split .progmemx.* from .progmem.* and locate
	former at a higher address.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bin-pr21849-progmemx.diff
Type: text/x-patch
Size: 596 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20170727/87334d31/attachment.bin>


More information about the Binutils mailing list