1 2017-01-11 Cary Coutant <ccoutant@gmail.com>
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::fill_aplt_entry): Likewise.
8 (Output_data_plt_x86_64_bnd::do_fill_tlsdesc_entry): Likewise.
9 (Output_data_plt_x86_64_bnd::do_write): Likewise.
11 2017-01-11 Cary Coutant <ccoutant@gmail.com>
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::do_fill_tlsdesc_entry): Likewise.
18 (Output_data_plt_x86_64_bnd::fill_aplt_entry): Likewise.
19 * testsuite/copy_test_relro_1.cc (p, b, c, q): Add separate extern
22 2017-01-11 Cary Coutant <ccoutant@gmail.com>
25 * testsuite/script_test_13.sh: Adjust patterns to work for i386.
26 * testsuite/script_test_15a.sh: Likewise.
27 * testsuite/script_test_15b.sh: Likewise.
28 * testsuite/script_test_15c.sh: Likewise.
30 2017-01-11 Alan Modra <amodra@gmail.com>
32 * powerpc.cc (class Powerpc_copy_relocs): New.
33 (Powerpc_copy_relocs::emit): New function.
34 (Powerpc_relobj::relatoc_, toc_, no_toc_opt_): New variables.
35 (Powerpc_relobj::toc_shndx, set_no_toc_opt, no_toc_opt): New inlines.
36 (Powerpc_relobj::do_relocate_sections): New function.
37 (Powerpc_relobj::make_toc_relative): Likewise.
38 (Powerpc_relobj::do_find_special_sections): Stash away .rela.toc
40 (ok_lo_toc_insn): Move earlier, and handle more insns.
41 (Target_powerpc::Scan::local): If optimizing toc accesses, set
42 no_toc_opt for entries we can't edit. Check insn validity.
43 Emit "toc optimization is not supported" warning, downgraded
45 (Target_powerpc::Scan::global): Likewise.
46 (Target_powerpc::Relocate::relocate): Edit TOC indirect code
47 to TOC relative. Don't emit "toc optimization is not supported"
50 2017-01-10 Cary Coutant <ccoutant@gmail.com>
52 * aarch64.cc (AArch64_relobj::do_relocate_sections): Call
53 Sized_relobj_file::relocate_section_range().
54 * arm.cc (Arm_relobj::do_relocate_sections): Likewise.
55 * object.h (Sized_relobj_file::relocate_section_range): New method.
56 * reloc.cc (Sized_relobj_file::do_relocate_sections): Move
58 (Sized_relobj_file::relocate_section_range): ...to new method.
60 2017-01-10 Alan Modra <amodra@gmail.com>
62 * testsuite/ver_test_8.sh: Accept .TOC. in lieu of
63 _GLOBAL_OFFSET_TABLE_. Allow zero count.
64 * testsuite/copy_test_relro_1.cc (c, q): New vars.
65 * testsuite/copy_test_relro.cc: Rewrite to test read-only
66 status of variables directly. Reference new vars in
69 2017-01-10 Alan Modra <amodra@gmail.com>
71 * options.h: Add --secure-plt option.
72 * powerpc.cc (Target_powerpc::Scan::local): Detect and error
73 on -fPIC -mbss-plt code.
74 (Target_powerpc::Scan::global): Likewise.
76 2017-01-09 Alan Modra <amodra@gmail.com>
78 * powerpc.cc (Target_powerpc::make_plt_section): Point sh_info of
79 ".rela.plt" at ".plt".
81 2017-01-07 Alan Modra <amodra@gmail.com>
83 * powerpc.cc: Use shorter equivalent elfcpp typedef for
84 Reltype and reloc_size throughout.
85 (Target_powerpc::symval_for_branch): Exclude dynamic symbols.
86 (Target_powerpc::Scan::local): Use local var r_sym.
87 (Target_powerpc::Scan::global: Likewise.
88 (Target_powerpc::Relocate::relocate): Delete shadowing r_sym.
90 2017-01-02 Alan Modra <amodra@gmail.com>
92 Update year range in copyright notice of all files.
94 For older changes see ChangeLog-2016
96 Copyright (C) 2017 Free Software Foundation, Inc.
98 Copying and distribution of this file, with or without modification,
99 are permitted in any medium without royalty provided the copyright
100 notice and this notice are preserved.
106 version-control: never