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