1 2017-01-23 Vladimir Radosavljevic <Vladimir.Radosavljevic@imgtec.com>
3 * mips.cc (Mips_output_data_plt::rel_plt): Remove const from return
5 (Target_mips::make_plt_entry): Make the sh_info field of .rel.plt
8 2017-01-23 Vladimir Radosavljevic <Vladimir.Radosavljevic@imgtec.com>
11 * mips.cc (Mips_got_info::record_global_got_symbol): Don't add symbol
12 to the dynamic symbol table if it is forced to local visibility.
13 (Target_mips::do_finalize_sections): Don't add __RLD_MAP symbol to the
14 dynamic symbol table if it is forced to local visibility.
16 2017-01-20 Nick Clifton <nickc@redhat.com>
18 * aarch64.cc (Stub_template_repertoire): Change ST_E_835769_INSNS
19 from a pointer to an array.
21 2017-01-13 H.J. Lu <hongjiu.lu@intel.com>
24 * powerpc.cc (Powerpc_relobj<size, big_endian>::make_toc_relative):
25 Cast 0x80008000 to uint64_t.
27 2017-01-12 Cary Coutant <ccoutant@gmail.com>
29 * object.cc (Sized_relobj_file): Fix byte counts for calls to memmem.
31 2017-01-11 Cary Coutant <ccoutant@gmail.com>
34 * x86_64.cc (Output_data_plt_x86_64_bnd::do_fill_first_plt_entry):
35 Remove unnecessary 'typename' keyword.
36 (Output_data_plt_x86_64_bnd::do_fill_plt_entry): Likewise.
37 (Output_data_plt_x86_64_bnd::fill_aplt_entry): Likewise.
38 (Output_data_plt_x86_64_bnd::do_fill_tlsdesc_entry): Likewise.
39 (Output_data_plt_x86_64_bnd::do_write): Likewise.
41 2017-01-11 Cary Coutant <ccoutant@gmail.com>
44 * x86_64.cc (Output_data_plt_x86_64_bnd::do_fill_first_plt_entry):
45 Remove unnecessary 'typename' keyword.
46 (Output_data_plt_x86_64_bnd::do_fill_plt_entry): Likewise.
47 (Output_data_plt_x86_64_bnd::do_fill_tlsdesc_entry): Likewise.
48 (Output_data_plt_x86_64_bnd::fill_aplt_entry): Likewise.
49 * testsuite/copy_test_relro_1.cc (p, b, c, q): Add separate extern
52 2017-01-11 Cary Coutant <ccoutant@gmail.com>
55 * testsuite/script_test_13.sh: Adjust patterns to work for i386.
56 * testsuite/script_test_15a.sh: Likewise.
57 * testsuite/script_test_15b.sh: Likewise.
58 * testsuite/script_test_15c.sh: Likewise.
60 2017-01-11 Alan Modra <amodra@gmail.com>
62 * powerpc.cc (class Powerpc_copy_relocs): New.
63 (Powerpc_copy_relocs::emit): New function.
64 (Powerpc_relobj::relatoc_, toc_, no_toc_opt_): New variables.
65 (Powerpc_relobj::toc_shndx, set_no_toc_opt, no_toc_opt): New inlines.
66 (Powerpc_relobj::do_relocate_sections): New function.
67 (Powerpc_relobj::make_toc_relative): Likewise.
68 (Powerpc_relobj::do_find_special_sections): Stash away .rela.toc
70 (ok_lo_toc_insn): Move earlier, and handle more insns.
71 (Target_powerpc::Scan::local): If optimizing toc accesses, set
72 no_toc_opt for entries we can't edit. Check insn validity.
73 Emit "toc optimization is not supported" warning, downgraded
75 (Target_powerpc::Scan::global): Likewise.
76 (Target_powerpc::Relocate::relocate): Edit TOC indirect code
77 to TOC relative. Don't emit "toc optimization is not supported"
80 2017-01-10 Cary Coutant <ccoutant@gmail.com>
82 * aarch64.cc (AArch64_relobj::do_relocate_sections): Call
83 Sized_relobj_file::relocate_section_range().
84 * arm.cc (Arm_relobj::do_relocate_sections): Likewise.
85 * object.h (Sized_relobj_file::relocate_section_range): New method.
86 * reloc.cc (Sized_relobj_file::do_relocate_sections): Move
88 (Sized_relobj_file::relocate_section_range): ...to new method.
90 2017-01-10 Alan Modra <amodra@gmail.com>
92 * testsuite/ver_test_8.sh: Accept .TOC. in lieu of
93 _GLOBAL_OFFSET_TABLE_. Allow zero count.
94 * testsuite/copy_test_relro_1.cc (c, q): New vars.
95 * testsuite/copy_test_relro.cc: Rewrite to test read-only
96 status of variables directly. Reference new vars in
99 2017-01-10 Alan Modra <amodra@gmail.com>
101 * options.h: Add --secure-plt option.
102 * powerpc.cc (Target_powerpc::Scan::local): Detect and error
103 on -fPIC -mbss-plt code.
104 (Target_powerpc::Scan::global): Likewise.
106 2017-01-09 Alan Modra <amodra@gmail.com>
108 * powerpc.cc (Target_powerpc::make_plt_section): Point sh_info of
109 ".rela.plt" at ".plt".
111 2017-01-07 Alan Modra <amodra@gmail.com>
113 * powerpc.cc: Use shorter equivalent elfcpp typedef for
114 Reltype and reloc_size throughout.
115 (Target_powerpc::symval_for_branch): Exclude dynamic symbols.
116 (Target_powerpc::Scan::local): Use local var r_sym.
117 (Target_powerpc::Scan::global: Likewise.
118 (Target_powerpc::Relocate::relocate): Delete shadowing r_sym.
120 2017-01-02 Alan Modra <amodra@gmail.com>
122 Update year range in copyright notice of all files.
124 For older changes see ChangeLog-2016
126 Copyright (C) 2017 Free Software Foundation, Inc.
128 Copying and distribution of this file, with or without modification,
129 are permitted in any medium without royalty provided the copyright
130 notice and this notice are preserved.
136 version-control: never