aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorg-Johann Lay <avr@gjlay.de>2016-08-01 17:12:32 +0000
committerGeorg-Johann Lay <avr@gjlay.de>2016-08-01 17:12:32 +0000
commitad06204c2466c5f8e371b0312cb793f2fd77b649 (patch)
treee27615ecc77b7a1b22ac94fc81a995d8e14b843e
parent04e90ffdeb0ef3a6cc2587da41181957514c23c2 (diff)
PR target/71948
* config/avr/avr.c (AVR_SYMBOL_FLAG_TINY_PM): Use a value that does not overlap with other symbol flags. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@238961 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/config/avr/avr.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 5d7616ef37c..795f1c7eee2 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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):
diff --git a/gcc/config/avr/avr.c b/gcc/config/avr/avr.c
index fba62d2c165..f6d73423728 100644
--- a/gcc/config/avr/avr.c
+++ b/gcc/config/avr/avr.c
@@ -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 \