[google] Use R_ARM_GOT_PREL to simplify global address loading from GOT (issue4433079)

Diego Novillo dnovillo@google.com
Fri Apr 29 20:58:00 GMT 2011


On Fri, Apr 29, 2011 at 01:24, Carrot Wei <carrot@google.com> wrote:

>>> http://codereview.appspot.com/4433079/diff/1/gcc/hooks.c#newcode287
>>> gcc/hooks.c:287: return NULL;
>>> +hook_rtx_void_null (void)
>>> +{
>>> +  return NULL;
>>>
>>> s/NULL/NULL_RTX/
>>>
>> done.
>>
> Oops. File hooks.c doesn't include rtl.h, so either rtl.h should be
> included, or return NULL instead, like other functions in this file.

OK, no problem.  Just use NULL then.  No point dragging a new file
just to get a slightly different version of 0.


Diego.



More information about the Gcc-patches mailing list