diff options
author | gjl <gjl@138bc75d-0d04-0410-961f-82ee72b054a4> | 2016-08-01 17:12:32 +0000 |
---|---|---|
committer | gjl <gjl@138bc75d-0d04-0410-961f-82ee72b054a4> | 2016-08-01 17:12:32 +0000 |
commit | a5597d6c9ea405162b06788654f8f774386e0738 (patch) | |
tree | e27615ecc77b7a1b22ac94fc81a995d8e14b843e | |
parent | 5fc13c396f02b1d031fafbf932028beed26aa720 (diff) | |
download | gcc-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/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/config/avr/avr.c | 2 |
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 \ |