Commit 3ce9aa83 by Georg-Johann Lay Committed by Georg-Johann Lay

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
parent 71bfb77a
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> 2016-08-01 Wilco Dijkstra <wdijkstr@arm.com>
* config/aarch64/aarch64.h (aarch64_frame): * config/aarch64/aarch64.h (aarch64_frame):
......
...@@ -82,7 +82,7 @@ ...@@ -82,7 +82,7 @@
/* (AVR_TINY only): Symbol has attribute progmem */ /* (AVR_TINY only): Symbol has attribute progmem */
#define AVR_SYMBOL_FLAG_TINY_PM \ #define AVR_SYMBOL_FLAG_TINY_PM \
(SYMBOL_FLAG_MACH_DEP << 4) (SYMBOL_FLAG_MACH_DEP << 7)
#define TINY_ADIW(REG1, REG2, I) \ #define TINY_ADIW(REG1, REG2, I) \
"subi " #REG1 ",lo8(-(" #I "))" CR_TAB \ "subi " #REG1 ",lo8(-(" #I "))" CR_TAB \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment