re PR target/71948 ([avr] Make progmem work on reduced Tiny cores by adding 0x4000 to symbols)

PR target/71948
	* config/avr/avr.c (AVR_SYMBOL_FLAG_TINY_PM): Use a value that
	does not overlap with other symbol flags.

From-SVN: r238961
This commit is contained in:
Georg-Johann Lay 2016-08-01 17:12:32 +00:00 committed by Georg-Johann Lay
parent 71bfb77a02
commit 3ce9aa832b
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2016-08-01 Georg-Johann Lay <avr@gjlay.de>
PR target/71948
* config/avr/avr.c (AVR_SYMBOL_FLAG_TINY_PM): Use a value that
does not overlap with other symbol flags.
2016-08-01 Wilco Dijkstra <wdijkstr@arm.com>
* config/aarch64/aarch64.h (aarch64_frame):

View File

@ -82,7 +82,7 @@
/* (AVR_TINY only): Symbol has attribute progmem */
#define AVR_SYMBOL_FLAG_TINY_PM \
(SYMBOL_FLAG_MACH_DEP << 4)
(SYMBOL_FLAG_MACH_DEP << 7)
#define TINY_ADIW(REG1, REG2, I) \
"subi " #REG1 ",lo8(-(" #I "))" CR_TAB \