From: H.J. Lu Date: Tue, 12 Jan 2016 19:27:55 +0000 (-0800) Subject: Fix compile error with use of 'typename' outside of template. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d1193addae7e5a24dc867f9946681ef0781a766f;p=binutils-gdb.git Fix compile error with use of 'typename' outside of template. elfcpp/ * elfcpp_internal.h (Mips64_rel_data, Mips64_rela_data): Remove 'typename'. --- diff --git a/elfcpp/ChangeLog b/elfcpp/ChangeLog index 198eb9232d3..caccf3ebf64 100644 --- a/elfcpp/ChangeLog +++ b/elfcpp/ChangeLog @@ -1,3 +1,8 @@ +2016-01-12 H.J. Lu + + * elfcpp_internal.h (Mips64_rel_data, Mips64_rela_data): Remove + 'typename'. + 2016-01-11 Cary Coutant * elfcpp.h (Mips64_rel, Mips64_rel_write): New classes. diff --git a/elfcpp/elfcpp_internal.h b/elfcpp/elfcpp_internal.h index edca55fabd1..a5d647fd284 100644 --- a/elfcpp/elfcpp_internal.h +++ b/elfcpp/elfcpp_internal.h @@ -184,7 +184,7 @@ struct Rela_data struct Mips64_rel_data { - typename Elf_types<64>::Elf_Addr r_offset; + Elf_types<64>::Elf_Addr r_offset; Elf_Word r_sym; unsigned char r_ssym; unsigned char r_type3; @@ -194,7 +194,7 @@ struct Mips64_rel_data struct Mips64_rela_data { - typename Elf_types<64>::Elf_Addr r_offset; + Elf_types<64>::Elf_Addr r_offset; Elf_Word r_sym; unsigned char r_ssym; unsigned char r_type3;