Refactor Sized_relobj_file::do_relocate_sections.
[external/binutils.git] / gold / ChangeLog
1 2017-01-10  Cary Coutant  <ccoutant@gmail.com>
2
3         * aarch64.cc (AArch64_relobj::do_relocate_sections): Call
4         Sized_relobj_file::relocate_section_range().
5         * arm.cc (Arm_relobj::do_relocate_sections): Likewise.
6         * object.h (Sized_relobj_file::relocate_section_range): New method.
7         * reloc.cc (Sized_relobj_file::do_relocate_sections): Move
8         implementation...
9         (Sized_relobj_file::relocate_section_range): ...to new method.
10
11 2017-01-10  Alan Modra  <amodra@gmail.com>
12
13         * testsuite/ver_test_8.sh: Accept .TOC. in lieu of
14         _GLOBAL_OFFSET_TABLE_.  Allow zero count.
15         * testsuite/copy_test_relro_1.cc (c, q): New vars.
16         * testsuite/copy_test_relro.cc: Rewrite to test read-only
17         status of variables directly.  Reference new vars in
18         read-only data.
19
20 2017-01-10  Alan Modra  <amodra@gmail.com>
21
22         * options.h: Add --secure-plt option.
23         * powerpc.cc (Target_powerpc::Scan::local): Detect and error
24         on -fPIC -mbss-plt code.
25         (Target_powerpc::Scan::global): Likewise.
26
27 2017-01-09  Alan Modra  <amodra@gmail.com>
28
29         * powerpc.cc (Target_powerpc::make_plt_section): Point sh_info of
30         ".rela.plt" at ".plt".
31
32 2017-01-07  Alan Modra  <amodra@gmail.com>
33
34         * powerpc.cc: Use shorter equivalent elfcpp typedef for
35         Reltype and reloc_size throughout.
36         (Target_powerpc::symval_for_branch): Exclude dynamic symbols.
37         (Target_powerpc::Scan::local): Use local var r_sym.
38         (Target_powerpc::Scan::global: Likewise.
39         (Target_powerpc::Relocate::relocate): Delete shadowing r_sym.
40
41 2017-01-02  Alan Modra  <amodra@gmail.com>
42
43         Update year range in copyright notice of all files.
44
45 For older changes see ChangeLog-2016
46 \f
47 Copyright (C) 2017 Free Software Foundation, Inc.
48
49 Copying and distribution of this file, with or without modification,
50 are permitted in any medium without royalty provided the copyright
51 notice and this notice are preserved.
52
53 Local Variables:
54 mode: change-log
55 left-margin: 8
56 fill-column: 74
57 version-control: never
58 End: