[PATCH v2 2/4] gold: Correctly get and put r_info for Mips64el.

Cary Coutant ccoutant@gmail.com
Tue Jan 12 19:30:00 GMT 2016


> 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



More information about the Binutils mailing list