[gold commit] PR 21040: Fix compile errors with GCC 4.2

Cary Coutant ccoutant@gmail.com
Wed Jan 11 21:44:00 GMT 2017


> I still got
>
> /net/gnu-6/export/gnu/import/git/sources/binutils-gdb/gold/x86_64.cc:1873:
> error: using ‘typename’ outside of template
> ...

Fix more compile errors with GCC 4.2.

2017-01-11  Cary Coutant  <ccoutant@gmail.com>

gold/
        PR gold/21040
        * x86_64.cc (Output_data_plt_x86_64_bnd::do_fill_first_plt_entry):
        Remove unnecessary 'typename' keyword.
        (Output_data_plt_x86_64_bnd::do_fill_plt_entry): Likewise.
        (Output_data_plt_x86_64_bnd::fill_aplt_entry): Likewise.
        (Output_data_plt_x86_64_bnd::do_fill_tlsdesc_entry): Likewise.
        (Output_data_plt_x86_64_bnd::do_write): Likewise.

-cary
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr21040b.patch
Type: application/octet-stream
Size: 3386 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20170111/89195945/attachment.obj>


More information about the Binutils mailing list