summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgjl <gjl@138bc75d-0d04-0410-961f-82ee72b054a4>2016-08-01 17:12:32 +0000
committergjl <gjl@138bc75d-0d04-0410-961f-82ee72b054a4>2016-08-01 17:12:32 +0000
commita5597d6c9ea405162b06788654f8f774386e0738 (patch)
treee27615ecc77b7a1b22ac94fc81a995d8e14b843e
parent5fc13c396f02b1d031fafbf932028beed26aa720 (diff)
downloadgcc-a5597d6c9ea405162b06788654f8f774386e0738.tar.gz
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: svn+ssh://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 \