diff options
| author | Georg-Johann Lay <avr@gjlay.de> | 2025-11-02 15:12:59 +0100 |
|---|---|---|
| committer | Georg-Johann Lay <avr@gjlay.de> | 2025-11-02 16:11:25 +0100 |
| commit | 0b2c031cca4017c5f87af519f0977b33b4bcb284 (patch) | |
| tree | 80d7ffd3259c6d6bced053ff731290306ef30b90 /contrib/gcc-changelog/git_commit.py | |
| parent | 1267fce9aeb860717f6473f077f844027d872644 (diff) | |
| download | gcc-0b2c031cca4017c5f87af519f0977b33b4bcb284.zip gcc-0b2c031cca4017c5f87af519f0977b33b4bcb284.tar.gz gcc-0b2c031cca4017c5f87af519f0977b33b4bcb284.tar.bz2 | |
AVR: target/122527 -- Don't use __load_N to load from __flash1.
This patch fixes a case where a 3 byte or 4 byte load from __flash1
uses __load_3/4 to read the value, which is wrong.
This only occured when the device has ELPM but not ELPMx (avr31).
PR target/122527
gcc/
* config/avr/avr.cc (avr_load_libgcc_p): Return false if
the address-space is not ADDR_SPACE_FLASH.
(avr_out_lpm_no_lpmx [addr=REG]): Handle sizes of 3 and 4 bytes.
Diffstat (limited to 'contrib/gcc-changelog/git_commit.py')
0 files changed, 0 insertions, 0 deletions
