Re: [PATCH 2/2] [SPARC] Recognize the load when accessing the GOT

2017-11-28 Thread Eric Botcazou
> 2017-11-27 Daniel Cederman > > * config/sparc/sparc.c (sparc_do_work_around_errata): Treat the > movsi_pic_gotdata_op instruction as a load for the UT699 errata > workaround. OK for mainline, 7 and 6 branches, thanks. -- Eric Botcazou

[PATCH 2/2] [SPARC] Recognize the load when accessing the GOT

2017-11-27 Thread Daniel Cederman
Needed for the UT699 errata workaround to function correctly when compiling with -fPIC. gcc/ChangeLog: 2017-11-27 Daniel Cederman * config/sparc/sparc.c (sparc_do_work_around_errata): Treat the movsi_pic_gotdata_op instruction as a load for the UT699 errata workaround.