[PATCH, nios2] Fix to nios2_legitimize_address

Chung-Lin Tang cltang@codesourcery.com
Tue Sep 22 12:33:00 GMT 2015


Nios II Linux had a bad TLS relocation generated, exposed by the
test case for PR 65771. A fix for this in nios2_legitimize_address() was
tested and applied.

Chung-Lin

2015-09-22  Chung-Lin Tang  <cltang@codesourcery.com>

        * config/nios2/nios2.c (nios2_legitimize_address): When handling
        'reg + reloc' cases, allow first operand to be non-REG, and use
        force_reg() to enforce address pattern.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nios2-la.patch
Type: text/x-patch
Size: 776 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20150922/174de5e7/attachment.bin>


More information about the Gcc-patches mailing list