Add missing ChangeLog entry for last commit.
[deliverable/binutils-gdb.git] / gold / ChangeLog
CommitLineData
3215deaa
CC
12018-03-23 Cary Coutant <ccoutant@gmail.com>
2
3 * debug.h (DEBUG_PLUGIN): New constant.
4 (DEBUG_ALL): Add DEBUG_PLUGIN.
5 (debug_string_to_enum): Likewise.
6 * plugin.cc (make_sized_plugin_object): Add filename parameter.
7 (Plugin_recorder): New class.
8 (Plugin_manager::~Plugin_manager): Delete recorder_.
9 (Plugin_manager::load_plugins): Create and initialize recorder_.
10 (Plugin_manager::claim_file): Record claimed and unclaimed files.
11 (Plugin_manager::make_plugin_object): Use object name as name for
12 plugin object, if available.
13 (Plugin_manager::add_input_file): Record replacement files.
14 (Sized_pluginobj::do_add_symbols): Record plugin symbols.
15 (Plugin_finish::run): Call Plugin_recorder::finish().
16 (make_sized_plugin_object): Add filename parameter and pass to
17 Sized_pluginobj constructor.
18 * plugin.h (Plugin::filename): New method.
19 (Plugin::recorder): New method.
20 (Plugin::recorder_): New data member.
21
779bdadb
ST
222018-03-07 Sriraman Tallam <tmsriram@google.com>
23
24 * layout.cc (Layout::default_section_order): Check for text section
25 prefixes.
26 (Layout::text_section_name_mapping): New static member.
27 (Layout::text_section_name_mapping_count): New static member.
28 (Layout::match_section_name): New static function.
29 (Layout::output_section_name): Check for text section prefixes.
30 * layout.h (Output_section_order::ORDER_TEXT_HOT): New enum value.
31 (Output_section_order::ORDER_TEXT_STARTUP): New enum value.
32 (Output_section_order::ORDER_TEXT_EXIT): New enum value.
33 (Output_section_order::ORDER_TEXT_UNLIKELY): New enum value.
34 (Layout::text_section_name_mapping): New static member.
35 (Layout::text_section_name_mapping_count): New static member.
36 (Layout::match_section_name): New static function.
37 * options.h (keep_text_section_prefix): New -z option.
38 * testsuite/Makefile.am (keep_text_section_prefix): New test.
39 * testsuite/Makefile.in: Regenerate.
40 * testsuite/keep_text_section_prefix.cc: New test source.
41 * testsuite/keep_text_section_prefix.sh: New test script.
42
0b65c07b
ST
432018-02-22 Sriraman Tallam <tmsriram@google.com>
44
45 * plugin.cc (get_wrap_symbols): New plugin interface.
46 (load): Add get_wrap_symbols to transfer vector.
47 * plugin-api.h (ld_plugin_get_wrap_symbols): New plugin interface.
48 * testsuite/plugin_test.c (onload): Call and check get_wrap_symbols
49 interface.
50 * testsuite/plugin_test_wrap_symbols.sh: New test script.
51 * testsuite/plugin_test_wrap_symbols_1.cc: New file.
52 * testsuite/plugin_test_wrap_symbols_2.cc: New file.
53 * testsuite/Makefile.am (plugin_test_wrap_symbols): New test.
54 * testsuite/Makefile.in: Regenerate.
55
3281b315
ST
562018-02-07 Sriraman Tallam <tmsriram@google.com>
57
58 * expression.cc (Symbol_expression::set_expr_sym_in_real_elf):
59 New method.
60 (Unary_expression::set_expr_sym_in_real_elf): New method.
61 (Binary_expression::set_expr_sym_in_real_elf): New method.
62 (Trinary_expression::set_expr_sym_in_real_elf): New method.
63 * plugin.cc (get_symbol_resolution_info): Fix symbol resolution if
64 defined or used in defsyms.
65 * plugin.h (Plugin_manager::is_defsym_def): New method.
66 (Plugin_manager::Plugin_manager): Initialize defsym_defines_set_.
67 (Plugin_manager::defsym_defines_set_): New member.
68 (Plugin_manager::Defsym_defines_set): New typedef.
69 * script.cc (Script_options::set_defsym_uses_in_real_elf): New method.
70 (Script_options::find_defsym_defs): New method.
71 * script.h (Expression::set_expr_sym_in_real_elf): New method.
72 (Symbol_assignment::is_defsym): New method.
73 (Symbol_assignment::value): New method.
74 (Script_options::find_defsym_defs): New method.
75 (Script_options::set_defsym_uses_in_real_elf): New method.
76 * testsuite/Makefile.am (plugin_test_defsym): New test.
77 * testsuite/Makefile.in: Regenerate.
78 * testsuite/plugin_test.c: Check for new symbol resolution.
79 * testsuite/plugin_test_defsym.sh: New script.
80 * testsuite/plugin_test_defsym.c: New test source.
81
407aa07c
AM
822018-02-07 Alan Modra <amodra@gmail.com>
83
84 Revert 2018-01-17 Alan Modra <amodra@gmail.com>
85 * options.h: Remove --speculate-indirect-jumps support.
86 * powerpc.cc: Likewise.
87
c8334458
CC
882018-02-02 Cary Coutant <ccoutant@gmail.com>
89
90 * PR gold/22776
91 * dwarf_reader.cc (Sized_dwarf_line_info::read_header_prolog): Add
92 support for DWARF-4 line number tables.
93 * dwarf_reader.h (Sized_dwarf_line_info::max_ops_per_insn): New field.
94
691d2e9a
AM
952018-01-18 Alan Modra <amodra@gmail.com>
96
97 * powerpc.cc (param_plt_align): New function supplying default
98 --plt-align values. Use it..
99 (Stub_table::plt_call_align): ..here, and..
100 (Output_data_glink::global_entry_align): ..here.
101 (Stub_table::stub_align): Correct 32-bit minimum alignment.
102
1be5d8d3
AM
1032018-01-17 Alan Modra <amodra@gmail.com>
104
105 * options.h (speculate_indirect_jumps): New option.
106 * powerpc.cc (beqctrm, beqctrlm, crseteq): New insn constants.
107 (output_bctr): New function.
108 (Stub_table::plt_call_size): Add space for speculation barrier.
109 (Stub_table::branch_stub_size): Likewise.
110 (Output_data_glink::pltresolve_size): Likewise.
111 (Stub_table::do_write): Output speculation barriers.
112
9e390558
AM
1132018-01-17 Alan Modra <amodra@gmail.com>
114
115 * options.h (plt_align): Support for PowerPC32 too.
116 * powerpc.cc (Stub_table::stub_align): Heed --plt-align for 32-bit.
117 (Stub_table::plt_call_size, branch_stub_size): Tidy.
118 (Stub_table::plt_call_align): Implement using stub_align.
119 (Output_data_glink::global_entry_align): New function.
120 (Output_data_glink::global_entry_off): New function.
121 (Output_data_glink::global_entry_address): Use global_entry_off.
122 (Output_data_glink::pltresolve_size): New function, replacing
123 pltresolve_size_ constant. Update all uses.
124 (Output_data_glink::add_global_entry): Align offset.
125 (Output_data_glink::set_final_data_size): Use global_entry_align.
126 (Stub_table::do_write): Don't pad __glink_PLTrelsolve with nops.
127 Tidy stub output. Use global_entry_off.
128
930b5f8b
CC
1292018-01-15 Cary Coutant <ccoutant@gmail.com>
130
131 PR gold/22694
132 * options.h (-fuse-ld): Add correct helparg.
133
616dcb87
NC
1342018-01-15 Nick Clifton <nickc@redhat.com>
135
136 * po/uk.po: Updated Ukranian translation.
137
3957a496
NC
1382018-01-13 Nick Clifton <nickc@redhat.com>
139
140 * po/gold.pot: Regenerated.
141
faf766e3
NC
1422018-01-13 Nick Clifton <nickc@redhat.com>
143
144 2.30 branch created.
145
27f7b092
CC
1462018-01-12 Cary Coutant <ccoutant@gmail.com>
147
148 * NEWS: Add new features in 1.15.
149 * version.cc (version_string): Bump to 1.15.
150
1512018-01-12 Sterling Augustine <saugustine@google.com>
b4b07ef1
EC
152
153 * cref.cc (Cref_inputs::Cref_table_compare::operator): Add
154 conditionals and calls to is_forwarder.
155
219d1afa
AM
1562018-01-03 Alan Modra <amodra@gmail.com>
157
158 Update year range in copyright notice of all files.
159
1e563868 160For older changes see ChangeLog-2017
3499769a 161\f
1e563868 162Copyright (C) 2018 Free Software Foundation, Inc.
3499769a
AM
163
164Copying and distribution of this file, with or without modification,
165are permitted in any medium without royalty provided the copyright
166notice and this notice are preserved.
167
168Local Variables:
169mode: change-log
170left-margin: 8
171fill-column: 74
172version-control: never
173End:
This page took 0.133033 seconds and 4 git commands to generate.