CVSROOT:        /cvs
Module name:    src
Changes by:     m...@cvs.openbsd.org    2013/01/27 13:29:22

Modified files:
        gnu/usr.bin/gcc/gcc/config/m88k: m88k.c m88k.md 

Log message:
The removal of the wrapping of PIC symbol references in an UNSPEC vector
caused the code responsible for adding the proper #got_rel relocation to the
second part of the PIC symbol address load.

Instead of using an UNSPEC for that purpose (which violates assumptions made
by the MI code anyway), check for the the second operand of a LO_SUM being
either a SYMBOL_REF or a LABEL_REF, to output the #got_rel relocation, and
drop the remaining bits of UNSPEC handling.

Reply via email to