gcc/
commit5407d66281a35f7c26fb724e733feb15d4ab076a
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 28 Aug 2014 06:25:18 +0000 (28 06:25 +0000)
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 28 Aug 2014 06:25:18 +0000 (28 06:25 +0000)
tree933db56ad5893f71086edf621cd43051f18b098c
parent934f6c4a7f5d4b7c2e938d92010340fa1ad7ce91
gcc/
* varasm.c (compute_reloc_for_rtx_1): Take a const_rtx.  Remove the
pointer to the cumulative reloc value and return the value for
this reloc instead.
(compute_reloc_for_rtx): Take a const_rtx.  Call
compute_reloc_for_rtx_1 directly for SYMBOL_REF and LABEL_REF,
avoiding any recursion.  Use FOR_EACH_SUBRTX rather than
for_each_rtx for the CONST case.

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