diff options
author | Nagaraju Mekala <nmekala@xilinx.com> | 2020-04-04 14:40:08 +0530 |
---|---|---|
committer | Jeff Law <law@redhat.com> | 2020-04-05 10:13:37 -0600 |
commit | a2ccd78027197abb787762d27b63c1a73f82c1f5 (patch) | |
tree | a51d23da09eb1834732ef427d2fe343d97665f1e /libgo/go/net/write_unix_test.go | |
parent | 971c3d0ea28fda1e764c6f47e0d901418adddb93 (diff) | |
download | gcc-a2ccd78027197abb787762d27b63c1a73f82c1f5.zip gcc-a2ccd78027197abb787762d27b63c1a73f82c1f5.tar.gz gcc-a2ccd78027197abb787762d27b63c1a73f82c1f5.tar.bz2 |
Microblaze: Fixed missing save of r18 in fast_interrupt. Register 18 is used as a clobber register, and must be stored when entering a fast_interrupt. Before this fix, register 18 was only saved if it was used directly in the interrupt function.
However, if the fast_interrupt function called a function that used
r18, the register would not be saved, and thus be mangled
upon returning from the interrupt.
* config/microblaze/microblaze.c (microblaze_must_save_register): Check
for fast_interrupt.
Diffstat (limited to 'libgo/go/net/write_unix_test.go')
0 files changed, 0 insertions, 0 deletions