Fix compile errors with GCC 4.2.
[deliverable/binutils-gdb.git] / gold / ChangeLog
CommitLineData
976e204b
CC
12017-01-11 Cary Coutant <ccoutant@gmail.com>
2
3 PR gold/21040
4 * x86_64.cc (Output_data_plt_x86_64_bnd::do_fill_first_plt_entry):
5 Remove unnecessary 'typename' keyword.
6 (Output_data_plt_x86_64_bnd::do_fill_plt_entry): Likewise.
7 (Output_data_plt_x86_64_bnd::do_fill_tlsdesc_entry): Likewise.
8 (Output_data_plt_x86_64_bnd::fill_aplt_entry): Likewise.
9 * testsuite/copy_test_relro_1.cc (p, b, c, q): Add separate extern
10 declarations.
11
1fa5f68b
CC
122017-01-11 Cary Coutant <ccoutant@gmail.com>
13
14 PR gold/21039
15 * testsuite/script_test_13.sh: Adjust patterns to work for i386.
16 * testsuite/script_test_15a.sh: Likewise.
17 * testsuite/script_test_15b.sh: Likewise.
18 * testsuite/script_test_15c.sh: Likewise.
19
5edad15d
AM
202017-01-11 Alan Modra <amodra@gmail.com>
21
22 * powerpc.cc (class Powerpc_copy_relocs): New.
23 (Powerpc_copy_relocs::emit): New function.
24 (Powerpc_relobj::relatoc_, toc_, no_toc_opt_): New variables.
25 (Powerpc_relobj::toc_shndx, set_no_toc_opt, no_toc_opt): New inlines.
26 (Powerpc_relobj::do_relocate_sections): New function.
27 (Powerpc_relobj::make_toc_relative): Likewise.
28 (Powerpc_relobj::do_find_special_sections): Stash away .rela.toc
29 and .toc too.
30 (ok_lo_toc_insn): Move earlier, and handle more insns.
31 (Target_powerpc::Scan::local): If optimizing toc accesses, set
32 no_toc_opt for entries we can't edit. Check insn validity.
33 Emit "toc optimization is not supported" warning, downgraded
34 from error.
35 (Target_powerpc::Scan::global): Likewise.
36 (Target_powerpc::Relocate::relocate): Edit TOC indirect code
37 to TOC relative. Don't emit "toc optimization is not supported"
38 error here.
39
98461510
CC
402017-01-10 Cary Coutant <ccoutant@gmail.com>
41
42 * aarch64.cc (AArch64_relobj::do_relocate_sections): Call
43 Sized_relobj_file::relocate_section_range().
44 * arm.cc (Arm_relobj::do_relocate_sections): Likewise.
45 * object.h (Sized_relobj_file::relocate_section_range): New method.
46 * reloc.cc (Sized_relobj_file::do_relocate_sections): Move
47 implementation...
48 (Sized_relobj_file::relocate_section_range): ...to new method.
49
f7fd19e2
AM
502017-01-10 Alan Modra <amodra@gmail.com>
51
52 * testsuite/ver_test_8.sh: Accept .TOC. in lieu of
53 _GLOBAL_OFFSET_TABLE_. Allow zero count.
54 * testsuite/copy_test_relro_1.cc (c, q): New vars.
55 * testsuite/copy_test_relro.cc: Rewrite to test read-only
56 status of variables directly. Reference new vars in
57 read-only data.
58
f159cdb6
AM
592017-01-10 Alan Modra <amodra@gmail.com>
60
61 * options.h: Add --secure-plt option.
62 * powerpc.cc (Target_powerpc::Scan::local): Detect and error
63 on -fPIC -mbss-plt code.
64 (Target_powerpc::Scan::global): Likewise.
65
3254d32c
AM
662017-01-09 Alan Modra <amodra@gmail.com>
67
68 * powerpc.cc (Target_powerpc::make_plt_section): Point sh_info of
69 ".rela.plt" at ".plt".
70
0e123f69
AM
712017-01-07 Alan Modra <amodra@gmail.com>
72
73 * powerpc.cc: Use shorter equivalent elfcpp typedef for
74 Reltype and reloc_size throughout.
75 (Target_powerpc::symval_for_branch): Exclude dynamic symbols.
76 (Target_powerpc::Scan::local): Use local var r_sym.
77 (Target_powerpc::Scan::global: Likewise.
78 (Target_powerpc::Relocate::relocate): Delete shadowing r_sym.
79
2571583a
AM
802017-01-02 Alan Modra <amodra@gmail.com>
81
82 Update year range in copyright notice of all files.
83
5c1ad6b5 84For older changes see ChangeLog-2016
3499769a 85\f
5c1ad6b5 86Copyright (C) 2017 Free Software Foundation, Inc.
3499769a
AM
87
88Copying and distribution of this file, with or without modification,
89are permitted in any medium without royalty provided the copyright
90notice and this notice are preserved.
91
92Local Variables:
93mode: change-log
94left-margin: 8
95fill-column: 74
96version-control: never
97End:
This page took 0.064932 seconds and 4 git commands to generate.