]> git.ipfire.org Git - thirdparty/gcc.git/commit
[SPARC] Recognize the load when accessing the GOT
authordanielh <danielh@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 29 Nov 2017 15:45:41 +0000 (15:45 +0000)
committerdanielh <danielh@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 29 Nov 2017 15:45:41 +0000 (15:45 +0000)
commit36753e1c548f7a0d13c584a8ca77066046d21d76
tree0c8bea143aebc27850e32f59e7ab965457e32546
parent7479546ea0e8c77818ff897571e62355117dce27
[SPARC] Recognize the load when accessing the GOT

Needed for the UT699 errata workaround to function correctly when
compiling with -fPIC.

2017-11-29  Daniel Cederman  <cederman@gaisler.com>

gcc/
* config/sparc/sparc.c (sparc_do_work_around_errata): Treat the
        movsi_pic_gotdata_op instruction as a load for the UT699 errata
        workaround.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@255239 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/sparc/sparc.c