]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - bfd/ChangeLog
gold: Remove the circular IFUNC dependency in ifuncmain6pie
[thirdparty/binutils-gdb.git] / bfd / ChangeLog
CommitLineData
75a933f3
L
12021-01-16 H.J. Lu <hongjiu.lu@intel.com>
2
3 PR ld/23169
4 * elfxx-x86.c (_bfd_x86_elf_link_fixup_ifunc_symbol): Don't
5 check pointer_equality_needed.
6
68b00778
L
72021-01-15 H.J. Lu <hongjiu.lu@intel.com>
8
9 * elf-linker-x86.h (elf_linker_x86_params): Add
10 report_relative_reloc.
11 * elf32-i386.c (elf_i386_relocate_section): Call
12 _bfd_x86_elf_link_report_relative_reloc to report relative
13 relocations for -z report-relative-reloc.
14 (elf_i386_finish_dynamic_symbol): Likewse.
15 * elf64-x86-64.c (elf_x86_64_relocate_section): Likewse.
16 (elf_x86_64_finish_dynamic_symbol): Likewse.
17 * elfxx-x86.c (_bfd_x86_elf_link_report_relative_reloc): New
18 function.
19 * elfxx-x86.h (_bfd_x86_elf_link_report_relative_reloc): New
20 prototype.
21
ad92f33d
AM
222021-01-16 Alan Modra <amodra@gmail.com>
23
24 * compress.c (decompress_contents): Tidy inflateEnd result test.
25
eb6e6af8
AM
262021-01-16 Alan Modra <amodra@gmail.com>
27
28 PR 26002
29 * elflink.c (elf_link_output_extsym): Use version 1 in
30 .gnu.version for undefined unversioned symbols.
31
4bb5732e
NC
322021-01-15 Nelson Chu <nelson.chu@sifive.com>
33
34 * elfnn-riscv.c (riscv_relax_delete_bytes): Fixed the indent that
35 caused the by previous commit accidentally.
36
1942a048
NC
372021-01-15 Nelson Chu <nelson.chu@sifive.com>
38
39 * elfnn-riscv.c: Indent, labels and GNU coding standards tidy,
40 also aligned the code.
41
b800637e
NC
422021-01-15 Nelson Chu <nelson.chu@sifive.com>
43
44 * elfnn-riscv.c (riscv_merge_attributes): Fix typos of messages.
45
dcd709e0
NC
462021-01-15 Nelson Chu <nelson.chu@sifive.com>
47
48 * elfnn-riscv.c: Comments tidy and improvement.
49 * elfxx-riscv.c: Likewise.
50 * elfxx-riscv.h: Likewise.
51
8ca9c7eb
L
522021-01-14 H.J. Lu <hongjiu.lu@intel.com>
53
54 PR ld/26688
55 * elf32-bfin.c (bfinfdpic_relocate_section): Skip non SEC_ALLOC
56 section for R_BFIN_FUNCDESC.
57
7e0d77ef
NC
582021-01-14 Nick Clifton <nickc@redhat.com>
59
60 * elf.c (elfcore_grok_win32pstatus): Check for a note type of 0.
61
5347ed60
AM
622021-01-13 Alan Modra <amodra@gmail.com>
63
64 * Makefile.in: Regenerate.
65 * doc/Makefile.in: Regenerate.
66
b209b5a6
AM
672021-01-13 Alan Modra <amodra@gmail.com>
68
69 PR 27160
70 * section.c (struct bfd_section): Remove pattern field.
71 (BFD_FAKE_SECTION): Adjust to suit.
72 * bfd-in2.h: Regenerate.
73 * elflink.c (compare_link_order, elf_fixup_link_order): Delete.
74 (bfd_elf_final_link): Don't call elf_fixup_link_order.
75
d546b610
L
762021-01-12 H.J. Lu <hongjiu.lu@intel.com>
77
78 PR binutils/26792
79 * configure.ac: Use GNU_MAKE_JOBSERVER.
80 * aclocal.m4: Regenerated.
81 * configure: Likewise.
82
c2e9a4a3
L
832021-01-12 H.J. Lu <hongjiu.lu@intel.com>
84
85 PR ld/27171
86 * reloc.c (bfd_perform_relocation): Adjust R_AMD64_DIR64 and
87 R_AMD64_DIR32 relocations for PE/x86-64 inputs.
88
83b33c6c
L
892021-01-11 H.J. Lu <hongjiu.lu@intel.com>
90
91 PR ld/27173
92 * configure: Regenerated.
93
a8aa72b9
NC
942021-01-11 Nick Clifton <nickc@redhat.com>
95
96 * po/fr.po: Updated French translation.
97 * po/pt.po: Updated Portuguese translation.
98 * po/sr.po: Updated Serbian translation.
99 * po/uk.po: Updated Ukranian translation.
100
a4966cd9
L
1012021-01-09 H.J. Lu <hongjiu.lu@intel.com>
102
103 * configure: Regenerated.
104
0a94990b
L
1052021-01-09 H.J. Lu <hongjiu.lu@intel.com>
106
107 PR ld/27166
108 * elfxx-x86.c (_bfd_x86_elf_merge_gnu_properties): Handle
109 -z lam-u48 and -z lam-u57.
110
573fe3fb
NC
1112021-01-09 Nick Clifton <nickc@redhat.com>
112
113 * version.m4: Change to 2.36.50.
114 * configure: Regenerate.
115 * po/bfd.pot: Regenerate.
116
055bc77a
NC
1172021-01-09 Nick Clifton <nickc@redhat.com>
118
119 * 2.36 release branch crated.
120
ba9e922f
L
1212021-01-08 H.J. Lu <hongjiu.lu@intel.com>
122
123 * elfxx-x86.c (_bfd_x86_elf_link_setup_gnu_properties): Also set
124 LAM_U57 when setting LAM_U48.
125
b1b29aa5
L
1262021-01-08 H.J. Lu <hongjiu.lu@intel.com>
127
128 PR ld/26256
129 PR ld/27160
130 * elflink.c (elf_fixup_link_order): Verify that fixing up
131 SHF_LINK_ORDER doesn't increase the output section size.
132
64307045
AM
1332021-01-09 Alan Modra <amodra@gmail.com>
134
135 * configure: Regenerate.
136
f4782128
ST
1372021-01-07 Samuel Thibault <samuel.thibault@gnu.org>
138
139 * configure: Regenerate.
140
d1bcae83
L
1412021-01-07 H.J. Lu <hongjiu.lu@intel.com>
142
143 PR 27109
144 * aix386-core.c (core_aix386_vec): Initialize
145 keep_unused_section_symbol to TARGET_KEEP_UNUSED_SECTION_SYMBOLS.
146 * aout-target.h (MY (vec)): Likewise.
147 * binary.c (binary_vec): Likewise.
148 * cisco-core.c (core_cisco_be_vec): Likewise.
149 (core_cisco_le_vec): Likewise.
150 * coff-alpha.c (alpha_ecoff_le_vec): Likewise.
151 * coff-i386.c (TARGET_SYM): Likewise.
152 (TARGET_SYM_BIG): Likewise.
153 * coff-ia64.c (TARGET_SYM): Likewise.
154 * coff-mips.c (mips_ecoff_le_vec): Likewise.
155 (mips_ecoff_be_vec): Likewise.
156 (mips_ecoff_bele_vec): Likewise.
157 * coff-rs6000.c (rs6000_xcoff_vec): Likewise.
158 (powerpc_xcoff_vec): Likewise.
159 * coff-sh.c (sh_coff_small_vec): Likewise.
160 (sh_coff_small_le_vec): Likewise.
161 * coff-tic30.c (tic30_coff_vec): Likewise.
162 * coff-tic54x.c (tic54x_coff0_vec): Likewise.
163 (tic54x_coff0_beh_vec): Likewise.
164 (tic54x_coff1_vec): Likewise.
165 (tic54x_coff1_beh_vec): Likewise.
166 (tic54x_coff2_vec): Likewise.
167 (tic54x_coff2_beh_vec): Likewise.
168 * coff-x86_64.c (TARGET_SYM): Likewise.
169 (TARGET_SYM_BIG): Likewise.
170 * coff64-rs6000.c (rs6000_xcoff64_vec): Likewise.
171 (rs6000_xcoff64_aix_vec): Likewise.
172 * coffcode.h (CREATE_BIG_COFF_TARGET_VEC): Likewise.
173 (CREATE_BIGHDR_COFF_TARGET_VEC): Likewise.
174 (CREATE_LITTLE_COFF_TARGET_VEC): Likewise.
175 * elfxx-target.h (TARGET_BIG_SYM): Likewise.
176 (TARGET_LITTLE_SYM): Likewise.
177 * hppabsd-core.c (core_hppabsd_vec): Likewise.
178 * hpux-core.c (core_hpux_vec): Likewise.
179 * i386msdos.c (i386_msdos_vec): Likewise.
180 * ihex.c (ihex_vec): Likewise.
181 * irix-core.c (core_irix_vec): Likewise.
182 * mach-o-target.c (TARGET_NAME): Likewise.
183 * mmo.c (mmix_mmo_vec): Likewise.
184 * netbsd-core.c (core_netbsd_vec): Likewise.
185 * osf-core.c (core_osf_vec): Likewise.
186 * pdp11.c (MY (vec)): Likewise.
187 * pef.c (pef_vec): Likewise.
188 (pef_xlib_vec): Likewise.
189 * plugin.c (plugin_vec): Likewise.
190 * ppcboot.c (powerpc_boot_vec): Likewise.
191 * ptrace-core.c (core_ptrace_vec): Likewise.
192 * sco5-core.c (core_sco5_vec): Likewise.
193 * som.c (hppa_som_vec): Likewise.
194 * srec.c (srec_vec): Likewise.
195 (symbolsrec_vec): Likewise.
196 * tekhex.c (tekhex_vec): Likewise.
197 * trad-core.c (core_trad_vec): Likewise.
198 * verilog.c (verilog_vec): Likewise.
199 * vms-alpha.c (alpha_vms_vec): Likewise.
200 * vms-lib.c (alpha_vms_lib_txt_vec): Likewise.
201 * wasm-module.c (wasm_vec): Likewise.
202 * xsym.c (sym_vec): Likewise.
203 * elf.c (ignore_section_sym): Return TRUE if BSF_SECTION_SYM_USED
204 isn't set.
205 (elf_map_symbols): Don't include ignored section symbols.
206 * elfcode.h (elf_slurp_symbol_table): Also set
207 BSF_SECTION_SYM_USED on STT_SECTION symbols.
208 * elflink.c (bfd_elf_final_link): Generated section symbols only
209 when emitting relocations or reqired.
210 * elfxx-x86.h (TARGET_KEEP_UNUSED_SECTION_SYMBOLS): New.
211 * syms.c (BSF_SECTION_SYM_USED): New.
212 * targets.c (TARGET_KEEP_UNUSED_SECTION_SYMBOLS): New.
213 (bfd_target): Add keep_unused_section_symbols.
214 (bfd_keep_unused_section_symbols): New.
215 * bfd-in2.h: Regenerated.
216
17d60030
NC
2172021-01-07 Nick Clifton <nickc@redhat.com>
218
219 PR 25713
220 * bfdio.c (_bfd_real_fopen): For Win32 convert relative paths to
221 absolute paths and check to see if they are longer than MAX_PATH.
222
aa881ecd
PT
2232021-01-07 Philipp Tomsich <prt@gnu.org>
224
225 * elfxx-riscv.c (riscv_std_z_ext_strtab): Added zihintpause.
226
2652cfad
CXW
2272021-01-07 Claire Xenia Wolf <claire@symbioticeda.com>
228 Jim Wilson <jimw@sifive.com>
229 Andrew Waterman <andrew@sifive.com>
230 Maxim Blinov <maxim.blinov@embecosm.com>
231 Kito Cheng <kito.cheng@sifive.com>
232 Nelson Chu <nelson.chu@sifive.com>
233
234 * elfxx-riscv.c (riscv_std_z_ext_strtab): Added zba, zbb and zbc.
235
d4e57b87
L
2362021-01-06 H.J. Lu <hongjiu.lu@intel.com>
237
238 * elf32-bfin.c (bfin_check_relocs): Check bfd_link_hash_indirect.
239 (bfinfdpic_check_relocs): Likewise.
240
599c86c4
AM
2412021-01-06 Alan Modra <amodra@gmail.com>
242
243 * elf32-score.c (s3_bfd_score_info_to_howto): Report an error
244 on unknown r_type.
245 * elf32-score7.c (s7_bfd_score_info_to_howto): Likewise.
246
3677b729
AM
2472021-01-06 Alan Modra <amodra@gmail.com>
248
249 * config.bfd (sparc-*-solaris2*): Add sparc_elf32_vec.
250 (sparc64-*-solaris2*): Add sparc_elf64_vec and
251 sparc_elf32_vec.
252
fbc09e7a
MC
2532021-01-06 Marcus Comstedt <marcus@mc.pp.se>
254
255 * config.bfd: Added targets riscv64be*-*-*, riscv32be*-*-* and
256 riscvbe*-*-*. Also added riscv_elf[32|64]_be_vec.
257 * configure.ac: Handle riscv_elf[32|64]_be_vec.
258 * configure: Regenerate.
259 * elfnn-riscv.c: Include <limits.h> and define CHAR_BIT for
260 riscv_is_insn_reloc.
261 (riscv_get_insn): RISC-V instructions are always little endian, but
262 bfd_get may be used for big-endian, so add new riscv_get_insn to handle
263 the insturctions.
264 (riscv_put_insn): Likewsie.
265 (riscv_is_insn_reloc): Check if we are relocaing an instruction.
266 (perform_relocation): Call riscv_is_insn_reloc to decide if we should
267 use riscv_[get|put]_insn or bfd_[get|put].
268 (riscv_zero_pcrel_hi_reloc): Use riscv_[get|put]_insn, bfd_[get|put]l32
269 or bfd_[get|put]l16 for code.
270 (riscv_elf_relocate_section): Likewise.
271 (riscv_elf_finish_dynamic_symbol): Likewise.
272 (riscv_elf_finish_dynamic_sections): Likewise.
273 (_bfd_riscv_relax_call): Likewise.
274 (_bfd_riscv_relax_lui): Likewise.
275 (_bfd_riscv_relax_align): Likewise.
276 (_bfd_riscv_relax_pc): Likewise.
277 (riscv_elf_object_p): Handled for big endian.
278 (TARGET_BIG_SYM, TARGET_BIG_NAME): Defined.
279 * targets.c: Add riscv_elf[32|64]_be_vec.
280 (_bfd_target_vector): Likewise.
281
c8bad65e
AM
2822021-01-05 Alan Modra <amodra@gmail.com>
283
284 * elflink.c (bfd_elf_link_record_dynamic_symbol): Handle no_export
285 for relocatable executable.
286
de6a7ee4
AM
2872021-01-05 Alan Modra <amodra@gmail.com>
288
289 * vms-alpha.c (_bfd_vms_slurp_egsd): Read flags after size check.
290
18b98722
NC
2912021-01-05 Nelson Chu <nelson.chu@sifive.com>
292
293 * elfnn-riscv.c (allocate_dynrelocs): When we are generating pde,
294 make sure gp symbol is output as a dynamic symbol.
295
cd6d537c
L
2962021-01-04 H.J. Lu <hongjiu.lu@intel.com>
297
298 PR ld/26256
299 * elflink.c (compare_link_order): Place unordered sections before
300 ordered sections.
301 (elf_fixup_link_order): Add a link info argument. Allow mixed
302 ordered and unordered input sections for non-relocatable link.
303 Sort the consecutive bfd_indirect_link_order sections with the
304 same pattern. Change the offsets of the bfd_indirect_link_order
305 sections only.
306 (bfd_elf_final_link): Pass info to elf_fixup_link_order.
307 * section.c (bfd_section): Add pattern.
308 (BFD_FAKE_SECTION): Initialize pattern to NULL.
309 * bfd-in2.h: Regenerated.
310
dbb078f6
AF
3112021-01-04 Alexander Fedotov <alfedotov@gmail.com>
312
313 * elf32-arm.c (elf32_arm_print_private_bfd_data): Prefix hex value
314 of private flags with 0x.
315 * elfnn-aarch64.c (elfNN_aarch64_print_private_bfd_data): Likewise.
316
5b4293ba
AM
3172021-01-04 Alan Modra <amodra@gmail.com>
318
319 PR 26822
320 * elflink.c (elf_link_input_bfd): Use the file base name in
321 linker generated STT_FILE symbols.
322
4c0e540e
NC
3232021-01-04 Nelson Chu <nelson.chu@sifive.com>
324
325 * elfxx-riscv.c (riscv_compare_subsets): Removed static.
326 * elfxx-riscv.h: Add declaration.
327 * elfnn-riscv.c (riscv_merge_multi_letter_ext): Use
328 riscv_compare_subsets to check the orders.
329 (riscv_skip_prefix): Removed.
330 (riscv_prefix_cmp): Removed.
331
e9cf3691
AM
3322021-01-04 Alan Modra <amodra@gmail.com>
333
334 PR 26741
335 * elfxx-riscv.c (riscv_parse_prefixed_ext): Free subset after
336 calculating subset version length.
337
f9a6a8f0
AM
3382021-01-01 Nicolas Boulenguez <nicolas@debian.org>
339
340 * xcofflink.c: Correct spelling in comments.
341
250d07de
AM
3422021-01-01 Alan Modra <amodra@gmail.com>
343
344 Update year range in copyright notice of all files.
345
c2795844 346For older changes see ChangeLog-2020
3499769a 347\f
c2795844 348Copyright (C) 2021 Free Software Foundation, Inc.
3499769a
AM
349
350Copying and distribution of this file, with or without modification,
351are permitted in any medium without royalty provided the copyright
352notice and this notice are preserved.
353
354Local Variables:
355mode: change-log
356left-margin: 8
357fill-column: 74
358version-control: never
359End: