PR ld/21900: MIPS: Fix relocation processing with undefined symbols
[deliverable/binutils-gdb.git] / gold / ChangeLog
CommitLineData
0b65c07b
ST
12018-02-22 Sriraman Tallam <tmsriram@google.com>
2
3 * plugin.cc (get_wrap_symbols): New plugin interface.
4 (load): Add get_wrap_symbols to transfer vector.
5 * plugin-api.h (ld_plugin_get_wrap_symbols): New plugin interface.
6 * testsuite/plugin_test.c (onload): Call and check get_wrap_symbols
7 interface.
8 * testsuite/plugin_test_wrap_symbols.sh: New test script.
9 * testsuite/plugin_test_wrap_symbols_1.cc: New file.
10 * testsuite/plugin_test_wrap_symbols_2.cc: New file.
11 * testsuite/Makefile.am (plugin_test_wrap_symbols): New test.
12 * testsuite/Makefile.in: Regenerate.
13
3281b315
ST
142018-02-07 Sriraman Tallam <tmsriram@google.com>
15
16 * expression.cc (Symbol_expression::set_expr_sym_in_real_elf):
17 New method.
18 (Unary_expression::set_expr_sym_in_real_elf): New method.
19 (Binary_expression::set_expr_sym_in_real_elf): New method.
20 (Trinary_expression::set_expr_sym_in_real_elf): New method.
21 * plugin.cc (get_symbol_resolution_info): Fix symbol resolution if
22 defined or used in defsyms.
23 * plugin.h (Plugin_manager::is_defsym_def): New method.
24 (Plugin_manager::Plugin_manager): Initialize defsym_defines_set_.
25 (Plugin_manager::defsym_defines_set_): New member.
26 (Plugin_manager::Defsym_defines_set): New typedef.
27 * script.cc (Script_options::set_defsym_uses_in_real_elf): New method.
28 (Script_options::find_defsym_defs): New method.
29 * script.h (Expression::set_expr_sym_in_real_elf): New method.
30 (Symbol_assignment::is_defsym): New method.
31 (Symbol_assignment::value): New method.
32 (Script_options::find_defsym_defs): New method.
33 (Script_options::set_defsym_uses_in_real_elf): New method.
34 * testsuite/Makefile.am (plugin_test_defsym): New test.
35 * testsuite/Makefile.in: Regenerate.
36 * testsuite/plugin_test.c: Check for new symbol resolution.
37 * testsuite/plugin_test_defsym.sh: New script.
38 * testsuite/plugin_test_defsym.c: New test source.
39
407aa07c
AM
402018-02-07 Alan Modra <amodra@gmail.com>
41
42 Revert 2018-01-17 Alan Modra <amodra@gmail.com>
43 * options.h: Remove --speculate-indirect-jumps support.
44 * powerpc.cc: Likewise.
45
c8334458
CC
462018-02-02 Cary Coutant <ccoutant@gmail.com>
47
48 * PR gold/22776
49 * dwarf_reader.cc (Sized_dwarf_line_info::read_header_prolog): Add
50 support for DWARF-4 line number tables.
51 * dwarf_reader.h (Sized_dwarf_line_info::max_ops_per_insn): New field.
52
691d2e9a
AM
532018-01-18 Alan Modra <amodra@gmail.com>
54
55 * powerpc.cc (param_plt_align): New function supplying default
56 --plt-align values. Use it..
57 (Stub_table::plt_call_align): ..here, and..
58 (Output_data_glink::global_entry_align): ..here.
59 (Stub_table::stub_align): Correct 32-bit minimum alignment.
60
1be5d8d3
AM
612018-01-17 Alan Modra <amodra@gmail.com>
62
63 * options.h (speculate_indirect_jumps): New option.
64 * powerpc.cc (beqctrm, beqctrlm, crseteq): New insn constants.
65 (output_bctr): New function.
66 (Stub_table::plt_call_size): Add space for speculation barrier.
67 (Stub_table::branch_stub_size): Likewise.
68 (Output_data_glink::pltresolve_size): Likewise.
69 (Stub_table::do_write): Output speculation barriers.
70
9e390558
AM
712018-01-17 Alan Modra <amodra@gmail.com>
72
73 * options.h (plt_align): Support for PowerPC32 too.
74 * powerpc.cc (Stub_table::stub_align): Heed --plt-align for 32-bit.
75 (Stub_table::plt_call_size, branch_stub_size): Tidy.
76 (Stub_table::plt_call_align): Implement using stub_align.
77 (Output_data_glink::global_entry_align): New function.
78 (Output_data_glink::global_entry_off): New function.
79 (Output_data_glink::global_entry_address): Use global_entry_off.
80 (Output_data_glink::pltresolve_size): New function, replacing
81 pltresolve_size_ constant. Update all uses.
82 (Output_data_glink::add_global_entry): Align offset.
83 (Output_data_glink::set_final_data_size): Use global_entry_align.
84 (Stub_table::do_write): Don't pad __glink_PLTrelsolve with nops.
85 Tidy stub output. Use global_entry_off.
86
930b5f8b
CC
872018-01-15 Cary Coutant <ccoutant@gmail.com>
88
89 PR gold/22694
90 * options.h (-fuse-ld): Add correct helparg.
91
616dcb87
NC
922018-01-15 Nick Clifton <nickc@redhat.com>
93
94 * po/uk.po: Updated Ukranian translation.
95
3957a496
NC
962018-01-13 Nick Clifton <nickc@redhat.com>
97
98 * po/gold.pot: Regenerated.
99
faf766e3
NC
1002018-01-13 Nick Clifton <nickc@redhat.com>
101
102 2.30 branch created.
103
27f7b092
CC
1042018-01-12 Cary Coutant <ccoutant@gmail.com>
105
106 * NEWS: Add new features in 1.15.
107 * version.cc (version_string): Bump to 1.15.
108
1092018-01-12 Sterling Augustine <saugustine@google.com>
b4b07ef1
EC
110
111 * cref.cc (Cref_inputs::Cref_table_compare::operator): Add
112 conditionals and calls to is_forwarder.
113
219d1afa
AM
1142018-01-03 Alan Modra <amodra@gmail.com>
115
116 Update year range in copyright notice of all files.
117
1e563868 118For older changes see ChangeLog-2017
3499769a 119\f
1e563868 120Copyright (C) 2018 Free Software Foundation, Inc.
3499769a
AM
121
122Copying and distribution of this file, with or without modification,
123are permitted in any medium without royalty provided the copyright
124notice and this notice are preserved.
125
126Local Variables:
127mode: change-log
128left-margin: 8
129fill-column: 74
130version-control: never
131End:
This page took 0.115347 seconds and 4 git commands to generate.