This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH v2 2/4] gold: Correctly get and put r_info for Mips64el.
- From: Cary Coutant <ccoutant at gmail dot com>
- To: "H.J. Lu" <hjl dot tools at gmail dot com>
- Cc: Vladimir Radosavljevic <Vladimir dot Radosavljevic at imgtec dot com>, "binutils at sourceware dot org" <binutils at sourceware dot org>, Petar Jovanovic <Petar dot Jovanovic at imgtec dot com>
- Date: Tue, 12 Jan 2016 11:30:39 -0800
- Subject: Re: [PATCH v2 2/4] gold: Correctly get and put r_info for Mips64el.
- Authentication-results: sourceware.org; auth=none
- References: <3060420525346945A0ADBD567348A91723737257 at BADAG02 dot ba dot imgtec dot org> <CAJimCsFogsVm1t6zjzsP_Es4vjnXHMzjG3RnGZ_zy7VtDLk+qQ at mail dot gmail dot com> <CAMe9rOo1APZo115ObjArBkm_whctwDWFBXVR218+o9XCwRmRsw at mail dot gmail dot com>
> It failed to build with GCC 4.2:
>
> /net/gnu-6/export/linux/src/binutils/binutils/gold/../elfcpp/elfcpp_internal.h:187:
> error: using âtypenameâ outside of template
> /net/gnu-6/export/linux/src/binutils/binutils/gold/../elfcpp/elfcpp_internal.h:197:
> error: using âtypenameâ outside of template
> /net/gnu-6/export/linux/src/binutils/binutils/gold/../elfcpp/elfcpp_internal.h:203:
> error: using âtypenameâ outside of template
>
> This patch fixes the build.
Thanks! I've pushed your patch.
2016-01-12 H.J. Lu <hongjiu.lu@intel.com>
* elfcpp_internal.h (Mips64_rel_data, Mips64_rela_data): Remove
'typename'.
-cary