1 2017-01-12 Cary Coutant <ccoutant@gmail.com>
3 * object.cc (Sized_relobj_file): Fix byte counts for calls to memmem.
5 2017-01-11 Cary Coutant <ccoutant@gmail.com>
8 * x86_64.cc (Output_data_plt_x86_64_bnd::do_fill_first_plt_entry):
9 Remove unnecessary 'typename' keyword.
10 (Output_data_plt_x86_64_bnd::do_fill_plt_entry): Likewise.
11 (Output_data_plt_x86_64_bnd::fill_aplt_entry): Likewise.
12 (Output_data_plt_x86_64_bnd::do_fill_tlsdesc_entry): Likewise.
13 (Output_data_plt_x86_64_bnd::do_write): Likewise.
15 2017-01-11 Cary Coutant <ccoutant@gmail.com>
18 * x86_64.cc (Output_data_plt_x86_64_bnd::do_fill_first_plt_entry):
19 Remove unnecessary 'typename' keyword.
20 (Output_data_plt_x86_64_bnd::do_fill_plt_entry): Likewise.
21 (Output_data_plt_x86_64_bnd::do_fill_tlsdesc_entry): Likewise.
22 (Output_data_plt_x86_64_bnd::fill_aplt_entry): Likewise.
23 * testsuite/copy_test_relro_1.cc (p, b, c, q): Add separate extern
26 2017-01-11 Cary Coutant <ccoutant@gmail.com>
29 * testsuite/script_test_13.sh: Adjust patterns to work for i386.
30 * testsuite/script_test_15a.sh: Likewise.
31 * testsuite/script_test_15b.sh: Likewise.
32 * testsuite/script_test_15c.sh: Likewise.
34 2017-01-11 Alan Modra <amodra@gmail.com>
36 * powerpc.cc (class Powerpc_copy_relocs): New.
37 (Powerpc_copy_relocs::emit): New function.
38 (Powerpc_relobj::relatoc_, toc_, no_toc_opt_): New variables.
39 (Powerpc_relobj::toc_shndx, set_no_toc_opt, no_toc_opt): New inlines.
40 (Powerpc_relobj::do_relocate_sections): New function.
41 (Powerpc_relobj::make_toc_relative): Likewise.
42 (Powerpc_relobj::do_find_special_sections): Stash away .rela.toc
44 (ok_lo_toc_insn): Move earlier, and handle more insns.
45 (Target_powerpc::Scan::local): If optimizing toc accesses, set
46 no_toc_opt for entries we can't edit. Check insn validity.
47 Emit "toc optimization is not supported" warning, downgraded
49 (Target_powerpc::Scan::global): Likewise.
50 (Target_powerpc::Relocate::relocate): Edit TOC indirect code
51 to TOC relative. Don't emit "toc optimization is not supported"
54 2017-01-10 Cary Coutant <ccoutant@gmail.com>
56 * aarch64.cc (AArch64_relobj::do_relocate_sections): Call
57 Sized_relobj_file::relocate_section_range().
58 * arm.cc (Arm_relobj::do_relocate_sections): Likewise.
59 * object.h (Sized_relobj_file::relocate_section_range): New method.
60 * reloc.cc (Sized_relobj_file::do_relocate_sections): Move
62 (Sized_relobj_file::relocate_section_range): ...to new method.
64 2017-01-10 Alan Modra <amodra@gmail.com>
66 * testsuite/ver_test_8.sh: Accept .TOC. in lieu of
67 _GLOBAL_OFFSET_TABLE_. Allow zero count.
68 * testsuite/copy_test_relro_1.cc (c, q): New vars.
69 * testsuite/copy_test_relro.cc: Rewrite to test read-only
70 status of variables directly. Reference new vars in
73 2017-01-10 Alan Modra <amodra@gmail.com>
75 * options.h: Add --secure-plt option.
76 * powerpc.cc (Target_powerpc::Scan::local): Detect and error
77 on -fPIC -mbss-plt code.
78 (Target_powerpc::Scan::global): Likewise.
80 2017-01-09 Alan Modra <amodra@gmail.com>
82 * powerpc.cc (Target_powerpc::make_plt_section): Point sh_info of
83 ".rela.plt" at ".plt".
85 2017-01-07 Alan Modra <amodra@gmail.com>
87 * powerpc.cc: Use shorter equivalent elfcpp typedef for
88 Reltype and reloc_size throughout.
89 (Target_powerpc::symval_for_branch): Exclude dynamic symbols.
90 (Target_powerpc::Scan::local): Use local var r_sym.
91 (Target_powerpc::Scan::global: Likewise.
92 (Target_powerpc::Relocate::relocate): Delete shadowing r_sym.
94 2017-01-02 Alan Modra <amodra@gmail.com>
96 Update year range in copyright notice of all files.
98 For older changes see ChangeLog-2016
100 Copyright (C) 2017 Free Software Foundation, Inc.
102 Copying and distribution of this file, with or without modification,
103 are permitted in any medium without royalty provided the copyright
104 notice and this notice are preserved.
110 version-control: never