[GOLD] powerpc64 ODR violation check
Sun Mar 10 23:19:00 GMT 2013
On Sat, Mar 09, 2013 at 09:41:07PM -0800, Ian Lance Taylor wrote:
> On 3/9/13, Alan Modra <email@example.com> wrote:
> > On Fri, Mar 08, 2013 at 06:06:31PM -0800, Ian Lance Taylor wrote:
> >> That is peculiar. Can you try this test program? If this works, how
> >> is it different from the code you wrote?
> > It works. Another level of hierarchy? The following fails
> > /tmp/template.cc: In member function âint E<size>::z()â:
> > /tmp/template.cc:20:27: error: expected primary-expression before â)â token
> Oh yeah. You need to use the template keyword to tell the parser that
> the name is a template function.
Committed with that change, and Powerpc_dynobj::opd_address() return
type corrected to Address.
Australia Development Lab, IBM
More information about the Binutils