19475697b3b151491d3b444aeb084c63888c5551
[deliverable/binutils-gdb.git] / binutils / ChangeLog
1 2018-11-02 H.J. Lu <hongjiu.lu@intel.com>
2
3 * configure.ac (AC_FUNC_MMAP): New.
4 * config.in: Regenerated.
5 * configure: Likewise.
6
7 2018-11-02 Alan Modra <amodra@gmail.com>
8
9 * readelf.c (process_section_headers): Don't warn on a zero
10 sh_info or sh_link for any reloc section in an executable or
11 shared library. Do warn for .rel.dyn/.rela.dyn in ET_REL.
12
13 2018-11-01 Thomas Preud'homme <thomas.preudhomme@linaro.org>
14
15 * testsuite/config/default.exp: Define LD, LDFLAGS and
16 ld_elf_shared_opt.
17 * testsuite/lib/binutils-common.exp (check_shared_lib_support): Moved
18 from ld-lib.exp.
19 (run_dump_test): Set ld to $LD.
20
21 2018-10-18 Nick Clifton <nickc@redhat.com>
22
23 * doc/binutils.texi (readelf): Document alternatives to the
24 --unwind option if it is not supported for the target
25 architecture.
26
27 2018-10-16 Alan Modra <amodra@gmail.com>
28
29 PR 23780
30 * readelf.c (display_raw_attribute): Correct assertion.
31
32 2018-10-15 Alan Modra <amodra@gmail.com>
33
34 PR 23534
35 * addr2line.c (main): Exit with fatal error if bfd_init
36 returns an unexpected value.
37 * ar.c (main): Likewise.
38 * dlltool.c (identify_dll_for_implib): Likewise.
39 * nm.c (main): Likewise.
40 * objcopy.c (main): Likewise.
41 * objdump.c (main): Likewise.
42 * size.c (main): Likewise.
43 * strings.c (main): Likewise.
44 * windmc.c (main): Likewise.
45 * windres.c (main): Likewise.
46
47 2018-10-11 Jordan Rupprecht <rupprecht@google.com>
48 Nick Clifton <nickc@redhat.com>
49
50 * objcopy.c (copy_main): Issue a fata error if the
51 --keep-global-symbol(s) and the --globalize-symbol(s) options are
52 used together.
53 * doc/binutils.texi: Document that the two options are
54 incompatible.
55 * testsuite/binutils-all/copy-5.d: New test.
56 * testsuite/binutils-all/objcopy.exp: Run the new test.
57
58 2018-10-10 Helge Deller <deller@gmx.de>
59 Alan Modra <amodra@gmail.com>
60
61 * readelf.c (hppa_process_unwind): Don't use eh_addr_size to
62 calculate number of entries.
63 (slurp_hppa_unwind_table): Don't use eh_addr_size here either.
64
65 2018-10-10 Alan Modra <amodra@gmail.com>
66
67 * objdump.c (dump_dwarf): Set s12z eh_addr_size to 4.
68
69 2018-10-08 Andreas Schwab <schwab@suse.de>
70
71 * readelf.c (is_32bit_pcrel_reloc): Handle R_RISCV_32_PCREL.
72
73 2018-10-03 Nick Clifton <nickc@redhat.com>
74
75 * po/pt.po: Updated Portuguese translation.
76 * po/fr.po: Updated French translation.
77
78 2018-09-22 Alan Modra <amodra@gmail.com>
79
80 * readelf.c (apply_relocations): Don't return FALSE for warnings.
81
82 2018-09-20 Nelson Chu <nelson.chu1990@gmail.com>
83
84 * testsuite/binutils-all/objcopy.exp: Set the unsupported reloc number
85 from 215 to 255 for NDS32.
86
87 2018-09-17 H.J. Lu <hongjiu.lu@intel.com>
88
89 * objcopy.c (strip_specific_buffer): New.
90 (strip_unneeded_buffer): Likewise.
91 (keep_specific_buffer): Likewise.
92 (localize_specific_buffer): Likewise.
93 (globalize_specific_buffer): Likewise.
94 (keepglobal_specific_buffer): Likewise.
95 (weaken_specific_buffer): Likewise.
96 (add_specific_symbols): Add an argument to return pointer to
97 allocated buffer.
98 (copy_main): Update add_specific_symbols to update pointers to
99 allocated buffer. Free pointers to allocated buffer before
100 return.
101
102 2018-09-17 Alan Modra <amodra@gmail.com>
103
104 * objcopy.c (handle_remove_section_option): Don't require a dot
105 after .rela and .rel to handle a possible relocation section.
106 * testsuite/binutils-all/remove-relocs-07.s,
107 * testsuite/binutils-all/remove-relocs-07.d,
108 * testsuite/binutils-all/remove-relocs-08.d: New tests.
109 * testsuite/binutils-all/remove-relocs-01.d,
110 * testsuite/binutils-all/remove-relocs-04.d,
111 * testsuite/binutils-all/remove-relocs-05.d,
112 * testsuite/binutils-all/remove-relocs-06.d: Exclude mips64-openbsd.
113
114 2018-09-17 Alan Modra <amodra@gmail.com>
115
116 * testsuite/lib/binutils-common.exp (is_som_format): New proc.
117 (run_dump_test): Correct target test for alternate .comm syntax.
118 (get_standard_section_names): Handle som format.
119 * testsuite/lib/utils-lib.exp (default_binutils_assemble_flags):
120 Correct target test for alternate .comm syntax.
121
122 2018-09-17 Alan Modra <amodra@gmail.com>
123
124 * testsuite/binutils-all/strip-13mips64.s: Add section flags
125 for reloc section.
126 * testsuite/binutils-all/strip-13rel.s: Likewise.
127 * testsuite/binutils-all/strip-13rela.s: Likewise.
128 * testsuite/binutils-all/strip-14mips64.s: Likewise.
129 * testsuite/binutils-all/strip-14rel.s: Likewise.
130 * testsuite/binutils-all/strip-14rela.s: Likewise.
131 * testsuite/binutils-all/strip-15mips64.s: Likewise.
132 * testsuite/binutils-all/strip-15rel.s: Likewise.
133 * testsuite/binutils-all/strip-15rela.s: Likewise.
134
135 2018-09-17 Nick Clifton <nickc@redhat.com>
136
137 * testsuite/binutils-all/compress.exp: Rename second "objcopy
138 zlib-gnu compress debug sections 3" test to "objcopy zlib-gabi
139 compress debug sections 3" and use gabi object files instead
140 of gnu object files.
141 * testsuite/binutils-all/objcopy.exp: Add suffix to the names
142 of the "ELF group" tests.
143 * testsuite/binutils-all/readelf.exp (proc readelf_find_size):
144 Add an iteration parameter and include it in the name of the
145 test. Update callers to include an iteration count.
146
147 2018-09-15 Alan Modra <amodra@gmail.com>
148
149 * testsuite/binutils-all/add-symbol.d: Add "section_subst: no".
150 * testsuite/binutils-all/elfedit.exp: Don't set tempfile or copyfile.
151 * testsuite/binutils-all/symbols-1.d,
152 * testsuite/binutils-all/symbols-2.d,
153 * testsuite/binutils-all/symbols-3.d,
154 * testsuite/binutils-all/symbols-4.d: Quote '*' and '!'.
155 * testsuite/binutils-all/add-empty-section.d,
156 * testsuite/binutils-all/add-section.d,
157 * testsuite/binutils-all/elfedit.exp,
158 * testsuite/binutils-all/note-1.d,
159 * testsuite/binutils-all/pr23633.d: Add $subdir after $srcdir.
160 * testsuite/config/default.exp (AS, ASFLAGS): Define.
161 * testsuite/config/hppa.sed: Handle all common symbols.
162 * testsuite/lib/binutils-common.exp (run_dump_test): New proc,
163 merged from three other versions.
164 (slurp_options, file_contents, set_file_contents): Likewise.
165 (big_or_little_endian, get_standard_section_names): Likewise.
166 * testsuite/lib/utils-lib.exp (run_dump_test): Delete.
167 (slurp_options, proc file_contents): Delete.
168 (get_standard_section_names): Delete.
169
170 2018-09-15 Alan Modra <amodra@gmail.com>
171
172 * testsuite/binutils-all/copy-2.d,
173 * testsuite/binutils-all/copy-3.d,
174 * testsuite/binutils-all/copy-4.d,
175 * testsuite/binutils-all/elfedit-1.d,
176 * testsuite/binutils-all/note-1.d,
177 * testsuite/binutils-all/note-2-64.d,
178 * testsuite/binutils-all/strip-11.d,
179 * testsuite/binutils-all/strip-13.d,
180 * testsuite/binutils-all/strip-14.d,
181 * testsuite/binutils-all/testranges.d,
182 * testsuite/binutils-all/x86-64/pr23494a-x32.d,
183 * testsuite/binutils-all/x86-64/pr23494a.d,
184 * testsuite/binutils-all/x86-64/pr23494b-x32.d,
185 * testsuite/binutils-all/x86-64/pr23494b.d,
186 * testsuite/binutils-all/x86-64/pr23494c-x32.d,
187 * testsuite/binutils-all/x86-64/pr23494c.d,
188 * testsuite/binutils-all/x86-64/pr23494d-x32.d,
189 * testsuite/binutils-all/x86-64/pr23494d.d,
190 * testsuite/binutils-all/x86-64/pr23494e-x32.d,
191 * testsuite/binutils-all/x86-64/pr23494e.d,
192 * testsuite/lib/utils-lib.exp (run_dump_test): Replace not-target
193 and not-skip with notarget and noskip.
194
195 2018-09-15 Alan Modra <amodra@gmail.com>
196
197 * testsuite/binutils-all/group-7a.d,
198 * testsuite/binutils-all/group-7b.d,
199 * testsuite/binutils-all/group-7c.d,
200 * testsuite/binutils-all/symbols-1.d,
201 * testsuite/binutils-all/symbols-2.d,
202 * testsuite/binutils-all/symbols-3.d,
203 * testsuite/binutils-all/symbols-4.d: Remove DUMPPROG.
204
205 2018-09-14 Alan Modra <amodra@gmail.com>
206
207 PR binutils/23633
208 * testsuite/binutils-all/pr23633.d: Don't fail when assembler
209 generates sections other than .text.
210
211 2018-09-13 H.J. Lu <hongjiu.lu@intel.com>
212
213 PR binutils/23633
214 * testsuite/binutils-all/objcopy.exp: Run pr23633.
215 * testsuite/binutils-all/pr23633.d: New file.
216 * testsuite/binutils-all/pr23633.list: Likewise.
217 * testsuite/binutils-all/pr23633.s: Likewise.
218
219 2018-09-13 Nick Clifton <nickc@redhat.com>
220
221 PR 23633
222 * objcopy.c (add_specific_symbols): Do not free the buffer at the
223 end of the function.
224
225 2018-09-10 Alan Modra <amodra@gmail.com>
226
227 PR binutils/23611
228 * objcopy.c (handle_remove_section_option): Consider .rela and
229 .rel sections for stripping directly as well as attached to the
230 associated section they relocate.
231 * doc/binutils.texi (remove-relocations): Specify that this
232 option removes non-dynamic relocation sections.
233 * testsuite/binutils-all/objcopy.exp
234 (objcopy_remove_relocations_from_executable): New test.
235
236 2018-09-03 Nick Clifton <nickc@redhat.com>
237
238 * po/ja.po: Updated Japanese translation.
239
240 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
241
242 * testsuite/binutils-all/readelf.s-64: Adjusted for
243 .note.gnu.property section.
244 * testsuite/binutils-all/strip-3.d: Also strip
245 .note.gnu.property section.
246
247 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
248
249 * testsuite/binutils-all/i386/compressed-1b.d: Pass
250 -mx86-used-note=no to assembler.
251 * testsuite/binutils-all/i386/compressed-1c.d: Likewise.
252 * testsuite/binutils-all/x86-64/compressed-1b.d: Likewise.
253 * testsuite/binutils-all/x86-64/compressed-1c.d: Likewise.
254 * testsuite/binutils-all/i386/empty.d: Pass -mx86-used-note=yes
255 to assembler and update expected output from "readelf -n".
256 * testsuite/binutils-all/i386/ibt.d: Likewise.
257 * testsuite/binutils-all/i386/pr21231a.d: Likewise.
258 * testsuite/binutils-all/i386/pr21231b.d: Likewise.
259 * testsuite/binutils-all/i386/shstk.d: Likewise.
260 * testsuite/binutils-all/x86-64/empty-x32.d: Likewise.
261 * testsuite/binutils-all/x86-64/empty.d: Likewise.
262 * testsuite/binutils-all/x86-64/ibt-x32.d: Likewise.
263 * testsuite/binutils-all/x86-64/ibt.d: Likewise.
264 * testsuite/binutils-all/x86-64/pr21231a.d: Likewise.
265 * testsuite/binutils-all/x86-64/pr21231b.d: Likewise.
266 * testsuite/binutils-all/x86-64/pr23494a-x32.d: Likewise.
267 * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
268 * testsuite/binutils-all/x86-64/pr23494b-x32.d: Likewise.
269 * testsuite/binutils-all/x86-64/pr23494b.d: Likewise.
270 * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
271 * testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
272 * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
273 * testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
274 * testsuite/binutils-all/x86-64/pr23494e-x32.d: Likewise.
275 * testsuite/binutils-all/x86-64/pr23494e.d: Likewise.
276 * testsuite/binutils-all/x86-64/shstk-x32.d: Likewise.
277 * testsuite/binutils-all/x86-64/shstk.d: Likewise.
278
279 2018-08-30 H.J. Lu <hongjiu.lu@intel.com>
280
281 * readelf.c (process_section_headers): Treat SHT_FINI_ARRAY and
282 SHT_PREINIT_ARRAY as relocatable sections.
283
284 2018-08-30 Chenghua Xu <paul.hua.gm@gmail.com>
285
286 * MAINTAINERS: Add myself as a MIPS port maintainer.
287
288 2018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
289
290 * NEWS: Mention Loongson 2K1000 proccessor support.
291 * readelf.c (get_machine_flags): Handle gs264e.
292
293 2018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
294
295 * NEWS: Mention Loongson 3A2000/3A3000 proccessor support.
296 * readelf.c (get_machine_flags): Handle gs464e.
297
298 2018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
299
300 * NEWS: Mention Loongson 3A1000 proccessor support.
301 * readelf.c (get_machine_flags): Rename loongson-3a to gs464.
302 (print_mips_isa_ext): Delete AFL_EXT_LOONGSON_3A.
303
304 2018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
305
306 * readelf.c (print_mips_ases): Add Loongson EXT2 extension.
307
308 2018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
309
310 * readelf.c (print_mips_ases): Add Loongson EXT extension.
311
312 2018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
313
314 * readelf.c (print_mips_ases): Add CAM extension.
315
316 2018-08-27 H.J. Lu <hongjiu.lu@intel.com>
317
318 * readelf.c (decode_x86_isa): Print <None> if bitmask only
319 contains the GNU_PROPERTY_X86_UINT32_VALID bit.
320 (decode_x86_feature_1): Likewise.
321 (decode_x86_feature_2): Likewise.
322 (print_gnu_property_note): Don't mask out the
323 GNU_PROPERTY_X86_UINT32_VALID bit.
324 * testsuite/binutils-all/i386/pr21231b.d: Updated.
325 * testsuite/binutils-all/x86-64/pr21231b.d: Likewise.
326
327 2018-08-27 H.J. Lu <hongjiu.lu@intel.com>
328
329 * readelf.c (decode_x86_compat_isa): Break multi-statement line.
330 (decode_x86_isa): Likewise.
331 (decode_x86_feature_2): Likewise.
332
333 2018-08-25 H.J. Lu <hongjiu.lu@intel.com>
334
335 PR ld/23499
336 * readelf.c (get_symbol_version_string): Return _("<corrupt>")
337 for corrupt symbol version info.
338
339 2018-08-24 H.J. Lu <hongjiu.lu@intel.com>
340
341 * readelf.c (decode_x86_compat_isa): New function.
342 (decode_x86_feature_2): Likewise.
343 (decode_x86_isa): Updated for new X86_ISA_1_XXX bits.
344 (decode_x86_feature): Renamed to ...
345 (decode_x86_feature_1): This. Remove the type argument.
346 (print_gnu_property_note): Handle X86_COMPAT_ISA_1_USED,
347 X86_COMPAT_ISA_1_NEEDED, X86_UINT32_AND_LO, X86_UINT32_AND_HI,
348 X86_UINT32_OR_LO, X86_UINT32_OR_HI, X86_UINT32_OR_AND_LO and
349 X86_UINT32_OR_AND_HI instead of X86_ISA_1_USED, X86_ISA_1_NEEDED
350 and X86_FEATURE_1_AND.
351 * testsuite/binutils-all/i386/pr21231b.s: Updated to the current
352 GNU_PROPERTY_X86_ISA_1_USED and GNU_PROPERTY_X86_ISA_1_NEEDED
353 values.
354 * testsuite/binutils-all/x86-64/pr21231b.s: Likewise.
355 * testsuite/binutils-all/x86-64/pr23494a.s: Likewise.
356 * testsuite/binutils-all/x86-64/pr23494b.s: Likewise.
357 * testsuite/binutils-all/x86-64/pr23494c.s: Likewise.
358 * testsuite/binutils-all/i386/pr21231b.d: Updated.
359 * testsuite/binutils-all/x86-64/pr21231b.d: Likewise.
360 * testsuite/binutils-all/x86-64/pr23494a-x32.d: Likewise.
361 * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
362 * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
363 * testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
364 * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
365 * testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
366 * testsuite/binutils-all/x86-64/pr23494e-x32.d: Likewise.
367 * testsuite/binutils-all/x86-64/pr23494e.d: Likewise.
368
369 2018-08-24 H.J. Lu <hongjiu.lu@intel.com>
370
371 * readelf.c (print_gnu_property_note): Check the
372 GNU_PROPERTY_X86_UINT32_VALID bit for invalid GNU property note.
373
374 2018-08-23 Alan Modra <amodra@gmail.com>
375
376 * readelf.c (get_ppc64_symbol_other): Return NULL if st_other
377 field contains unrecognised or reserved values. Handle
378 localentry:1 value.
379
380 2018-08-23 H.J. Lu <hongjiu.lu@intel.com>
381
382 PR ld/23536
383 * Makefile.am (development.exp): New target.
384 (EXTRA_DEJAGNU_SITE_CONFIG): New.
385 (DISTCLEANFILES): Add development.exp.
386 * Makefile.in: Regenerated.
387 * testsuite/binutils-all/objcopy.exp (strip_test): Call
388 prune_warnings to prune BFD output.
389 (strip_test_with_saving_a_symbol): Likewise.
390 (objcopy_test_without_global_symbol): Likewise.
391 * testsuite/lib/binutils-common.exp (prune_warnings_extra):
392 New proc.
393 (prune_warnings): Likewise.
394
395 2018-08-23 H.J. Lu <hongjiu.lu@intel.com>
396
397 * README-how-to-make-a-release: Document setting "experimental"
398 to false.
399
400 2018-08-22 Alan Modra <amodra@gmail.com>
401
402 * readelf.c (process_file_header): Assign updated values from
403 section_header[0] fields to e_phnum, e_shnum and e_shstrndx
404 during printing of header. Correct e_shstrndx range check.
405 Remove unnecessary casts and use %u rather than %ld for
406 unsigned int header fields. Don't print a random %lx when
407 reporting an unknown EI_VERSION.
408
409 2018-08-21 Nick Clifton <nickc@redhat.com>
410
411 * MAINTAINERS: Note that Arnold Metselaar has retired as the z80
412 maintainer.
413
414 2018-08-21 L. Simon <l.simon@samsung.com>
415
416 PR 23531
417 * readelf.c (hppa_process_unwind): Only dump the unwind table if
418 the data was successfully read in.
419
420 2018-08-18 Alan Modra <amodra@gmail.com>
421
422 * testsuite/lib/binutils-common.exp (is_elf64): Use directory of
423 input file for readelf.out.
424 (is_rela): New proc.
425 * testsuite/binutils-all/objcopy.exp (elf64): Set new variable
426 from first result of is_elf64 test.
427 (reloc_format): Set using is_rela.
428 (strip-13): Pass RELOC and ELF64 to assembler.
429 (strip-14, strip-15): Use elf64 rather than calling is_elf64 again.
430 * testsuite/binutils-all/strip-13.d: Run for more targets.
431 * testsuite/binutils-all/strip-13mips64.s: Use RELOC and set
432 addend to zero.
433 * testsuite/binutils-all/strip-13rel.s: Use RELOC and ELF64.
434 Don't add _NONE reloc.
435 * testsuite/binutils-all/strip-13rela.s: Likewise.
436
437 2018-08-10 H.J. Lu <hongjiu.lu@intel.com>
438
439 PR binutils/23494
440 * testsuite/binutils-all/x86-64/pr23494c.s: New file.
441 * testsuite/binutils-all/x86-64/pr23494e-x32.d: Likewise.
442 * testsuite/binutils-all/x86-64/pr23494e.d: Likewise.
443
444 2018-08-10 H.J. Lu <hongjiu.lu@intel.com>
445
446 * testsuite/binutils-all/x86-64/pr23494a-x32.d: Skip nacl
447 targets.
448 * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
449 * testsuite/binutils-all/x86-64/pr23494b-x32.d: Likewise.
450 * testsuite/binutils-all/x86-64/pr23494b.d: Likewise.
451 * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
452 * testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
453 * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
454 * testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
455
456 2018-08-08 H.J. Lu <hongjiu.lu@intel.com>
457
458 PR binutils/23494
459 * testsuite/binutils-all/x86-64/pr23494a-x32.d: New file.
460 * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
461 * testsuite/binutils-all/x86-64/pr23494a.s: Likewise.
462 * testsuite/binutils-all/x86-64/pr23494b-x32.d: Likewise.
463 * testsuite/binutils-all/x86-64/pr23494b.d: Likewise.
464 * testsuite/binutils-all/x86-64/pr23494b.s: Likewise.
465 * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
466 * testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
467 * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
468 * testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
469
470 2018-08-08 Kevin Buettner <kevinb@redhat.com>
471
472 * dwarf.c (decode_location_expresion): Add case for
473 DW_OP_GNU_variable_value.
474
475 2018-08-06 Claudiu Zissulescu <claziss@synopsys.com>
476
477 * readelf.c (display_arc_attribute): Print Tag_ARC_ATR_version.
478
479 2018-08-03 Nick Clifton <nickc@redhat.com>
480
481 * objcopy.c (merge_gnu_build_notes): Delete empty notes. Merge
482 identical function notes.
483
484 2018-08-01 Nick Clifton <nickc@redhat.com>
485
486 * README-how-to-make-a-release: Add note about regenerating the
487 info files prior to the release.
488
489 2018-07-30 Andrew Jenner <andrew@codesourcery.com>
490
491 * MAINTAINERS (C-SKY): Add Yunhai Shang as co-maintainer.
492
493 2018-07-30 Andrew Jenner <andrew@codesourcery.com>
494
495 * MAINTAINERS (C-SKY): Add Lifang Xia as maintainer.
496
497 2018-07-30 Andrew Jenner <andrew@codesourcery.com>
498
499 * readelf.c: Include elf/csky.h.
500 (guess_is_rela): Handle EM_CSKY.
501 (dump_relocations): Likewise.
502 (get_machine_name): Likewise.
503 (is_32bit_abs_reloc): Likewise.
504
505 2018-07-25 Nick Clifton <nickc@redhat.com>
506
507 * rdcoff.c (parse_coff_struct_type): Free fields array upon early
508 exit.
509 (parse_coff_enum_type): Free names and vals arrays upon early
510 exit.
511 * rddbg.c (read_section_stabs_debugging_info): Free shandle and
512 strings and stabs arrays upon early exit.
513 * readelf.c (get_32bit_section_headers): Free shdrs structure upon
514 early exit.
515 (get_64bit_section_headers): Likewise.
516 (get_32bit_elf_symbols): Generate an error if multiple symbol
517 table index sections are associated with the same symbol section.
518 (get_64bit_elf_symbols): Likewise.
519 (process_dynamic_section): Generate an error if there are multiple
520 dynamic symbol table sections, multiple dynamic string tables or
521 multiple dynamic symbol information sections.
522
523 2018-07-24 Nick Clifton <nickc@redhat.com>
524
525 * po/sv.po: Updated Swedish translation.
526
527 2018-07-24 Alan Modra <amodra@gmail.com>
528
529 PR 23431
530 * dwarf.c (display_formatted_table): Replace "what" parameter
531 with "is_dir". Expand messages. Fix capitalisation.
532 * testsuite/binutils-all/dw5.W: Update expected output.
533
534 2018-07-24 Alan Modra <amodra@gmail.com>
535
536 PR 23430
537 * elfcomm.h (struct archive_info): Rename uses_64bit_indicies
538 to uses_64bit_indices.
539 * elfcomm.c (setup_archive): Update uses of above.
540 * readelf.c (process_archive): Likewise.
541 (get_section_type_name): Rename indicies to indices.
542 (get_32bit_elf_symbols, get_64bit_elf_symbols): Likewise.
543 (process_section_groups): Likewise.
544
545 2018-07-20 Maciej W. Rozycki <macro@mips.com>
546
547 * MAINTAINERS: Update my e-mail address, downgrade to MIPS I-IV
548 ISA maintenance.
549
550 2018-07-20 Nick Clifton <nickc@redhat.com>
551
552 * objcopy.c (add_specific_symbols): Free buffer on exit.
553 (add_redefine_syms_file): Close file handle on exit.
554 (copy_object): Close file handle on early exit.
555 Free buffer on early exit.
556 Free gaps buffers once they are no longer needed.
557 * dwarf.c (display_debug_frames): Free allocated memory on exit.
558 (load_separate_debug_info): Free allocate memory on early exit.
559
560 2018-07-20 Chenghua Xu <paul.hua.gm@gmail.com>
561 Maciej W. Rozycki <macro@mips.com>
562
563 * readelf.c (print_mips_ases): Add MMI extension.
564
565 2018-07-19 DJ Delorie <dj@redhat.com>
566
567 * MAINTAINERS (RL78, RX): Remove myself as maintainer.
568
569 2018-07-19 Nick Clifton <nickc@redhat.com>
570
571 * dwarf.c (read_cie): Free allocated memory before returning with
572 a failure result.
573
574 2018-07-16 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
575
576 * readelf.c (get_note_type): Fix typo in NT_PPC_TM_CVSX note
577 description.
578
579 2018-07-16 Nick Clifton <nickc@redhat.com>
580
581 * README-how-to-make-a-release: Add note to check for new top
582 level files and add them to the src-release.sh script.
583
584 2018-07-14 Nick Clifton <nickc@redhat.com>
585
586 * README-how-to-make-a-release: Updated with corrections based on
587 the 2.31 release experience.
588
589 2018-07-12 Francois H. Theron <francois.theron@netronome.com>
590
591 * readelf.c (process_section_headers): Don't print section type
592 twice for --section-details.
593
594 2018-07-10 Alan Modra <amodra@gmail.com>
595
596 * testsuite/lib/binutils-common.exp (supports_gnu_unique): Return
597 zero for xgate.
598
599 2018-07-06 Nick Clifton <nickc@redhat.com>
600
601 * readelf.c (same_section): New function.
602 (print_gnu_build_attribute_description): Do not complain about
603 gaps that cross a section boundary.
604
605 2018-07-05 Nick Clifton <nickc@redhat.com>
606
607 * po/bg.po: Updated Bulgarian translation.
608
609 2018-07-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
610
611 * NEWS: Use command-line consistently when used in a compount word.
612 * doc/binutils.texi: Likewise and fix trailing whitespace on same
613 line.
614
615 2018-06-26 Nick Clifton <nickc@redhat.com>
616
617 * po/sv.po: Updated Swedish translation.
618 * po/uk.po: Updated Ukranian translation.
619
620 2018-06-26 Nick Clifton <nickc@redhat.com>
621
622 * doc/binutils.texi: Fix spelling mistakes.
623 * README--how-to-make-a-release: Likewise.
624
625 2018-06-25 Tom Tromey <tom@tromey.com>
626
627 * dwarf-mode.el (dwarf-mode-syntax-table): New variable.
628 Bump version number.
629
630 2018-06-24 Nick Clifton <nickc@redhat.com>
631
632 * README-how-to-make-a-release: Update with experiences from
633 making 2.31 branch.
634 * po/binutils.pot: Regenerate.
635 * configure: Regenerate.
636
637 2018-06-24 Nick Clifton <nickc@redhat.com>
638
639 2.31 branch created.
640 * NEWS: Add marker for 2.31.
641
642 2018-06-21 Alan Modra <amodra@gmail.com>
643
644 * doc/Makefile.am (AUTOMAKE_OPTIONS): Add "foreign".
645 * doc/Makefile.in: Regenerate.
646
647 2018-06-19 Simon Marchi <simon.marchi@ericsson.com>
648
649 * configure.ac: Remove AC_PREREQ.
650 * doc/Makefile.am (AUTOMAKE_OPTIONS): Remove cygnus, add
651 info-in-builddir no-texinfo.tex.
652 * Makefile.in: Re-generate.
653 * aclocal.m4: Re-generate.
654 * config.in: Re-generate.
655 * configure: Re-generate.
656 * doc/Makefile.in: Re-generate.
657
658 2018-06-19 Andreas Schwab <schwab@suse.de>
659
660 * readelf.c (is_16bit_abs_reloc): Handle R_RISCV_SET16.
661 (is_8bit_abs_reloc): New function.
662 (is_6bit_abs_reloc): New function.
663 (is_6bit_inplace_sub_reloc): New function.
664 (apply_relocations): Use them. Handle 6-bit relocations.
665
666 2018-06-14 Faraz Shahbazker <Faraz.Shahbazker@mips.com>
667
668 * readelf.c (print_mips_ases): Add GINV extension.
669
670 2018-06-14 H.J. Lu <hongjiu.lu@intel.com>
671
672 PR binutils/23267
673 * readelf.c (get_symbol_version_string): Check if the first
674 symbol version is base version.
675
676 2018-06-13 Scott Egerton <scott.egerton@imgtec.com>
677 Faraz Shahbazker <Faraz.Shahbazker@mips.com>
678
679 * readelf.c (print_mips_ases): Add CRC.
680
681 2018-06-13 Nick Clifton <nickc@redhat.com>
682
683 * doc/binutils.texi (objdump): Add missing closing square
684 parenthesis to listing of objcopy's command line options.
685
686 2018-06-11 Nick Clifton <nickc@redhat.com>
687
688 * po/es.po: Updated Spanish translation.
689
690 2018-06-01 H.J. Lu <hongjiu.lu@intel.com>
691
692 * configure: Regenerated.
693
694 2018-05-31 Alan Modra <amodra@gmail.com>
695
696 * testsuite/binutils-all/compress.exp (test_gnu_debuglink): Don't
697 set CC_FOR_TARGET. Run test non-native.
698 * testsuite/binutils-all/objdump.exp (test_build_id_debuglink):
699 Likewise.
700 (test_follow_debuglink): Run test non-native.
701
702 2018-05-30 Ant Bikeneev <ant.bikineev@gmail.com>
703
704 PR 23107
705 * ar.c (display_offsets): New variable.
706 (usage): Add description of 'O' operator.
707 (decode_option): Handle 'O' operator.
708 (print_descr): Pass display_offsets to print_arelt_descr.
709 * arsup.c: Update call to printy_arelt_descr.
710 * objdump.c: Likewise.
711 * bucomm.c (print_arelt_descr): If offsets parameter is true then
712 display offset of archive element within the archive.
713 * bucomm.h: Update prototype for print_arelt_descr.
714 * doc/binutils.texi: Update description of ar command.
715 * NEWS: Mention the new feature.
716 * testsuite/binutils-all/ar.exp: Add text of new feature.
717
718 2018-05-28 Alan Modra <amodra@gmail.com>
719
720 PR 23235
721 * testsuite/binutils-all/compress.exp (test_gnu_debuglink): Return
722 unsupported rather than fail on compile errors.
723 * testsuite/binutils-all/objdump.exp (test_build_id_debuglink):
724 Likewise. Save and restore CFLAGS_FOR_TARGET.
725
726 2018-05-18 Kito Cheng <kito.cheng@gmail.com>
727
728 * readelf.c (get_machine_flags): Handle EF_RISCV_RVE.
729
730 2018-05-18 John Darrington <john@darrington.wattle.id.au>
731
732 * readelf.c: Add support for s12z architecture.
733 * testsuite/lib/binutils-common.exp (is_elf_format): Excluse s12z
734 targets.
735
736 2018-05-15 Tamar Christina <tamar.christina@arm.com>
737
738 PR binutils/21446
739 * doc/binutils.texi (-M): Document AArch64 options.
740
741 2018-05-15 Tamar Christina <tamar.christina@arm.com>
742
743 PR binutils/21446
744 * doc/binutils.texi (-M): Document AArch64 options.
745 * NEWS: Document notes and warnings.
746
747 2018-05-15 Alan Modra <amodra@gmail.com>
748
749 * testsuite/lib/binutils-common.exp (is_elf_format): Add chorus,
750 cloudabi, fuchsia, kaos and nto. Merge netbsdelf* into *elf*,
751 and *uclinux* into *linux*.
752 * testsuite/binutils-all/objcopy.exp: Accept armeb for rel
753 strip-13 test, exclude arm-vxworks and arm-windiss.
754
755 2018-05-10 John Darrington <john@darrington.wattle.id.au>
756
757 * readelf.c (get_machine_name): EM_S12Z - handle new case.
758
759 2018-05-09 Alan Modra <amodra@gmail.com>
760
761 * od-macho.c (dump_unwind_encoding_x86): Fix typo in last patch.
762
763 2018-05-09 Sebastian Rasmussen <sebras@gmail.com>
764
765 * od-macho.c (dump_unwind_encoding_x86): Adjust for macro renaming.
766
767 2018-05-08 Alan Modra <amodra@gmail.com>
768
769 PR 23141
770 * objcopy.c (is_strip_section): Strip groups without a valid
771 signature symbol.
772
773 2018-05-07 Alan Modra <amodra@gmail.com>
774
775 PR 23142
776 * objcopy.c (group_signature): Don't accept groups that use a
777 symbol table other than the one we've read.
778
779 2018-04-30 Francois H. Theron <francois.theron@netronome.com>
780
781 * readelf.c: Very basic support for EM_NFP and its section types.
782 * testsuite/binutils-all/nfp: New directory.
783 * testsuite/binutils-all/nfp/objdump.exp: New file. Run new
784 tests.
785 * testsuite/binutils-all/nfp/test2_ctx8.d: New file.
786 * testsuite/binutils-all/nfp/test2_no-pc_ctx4.d: New file.
787 * testsuite/binutils-all/nfp/test1.d: New file.
788 * testsuite/binutils-all/nfp/nfp6000.nffw: New file.
789 * testsuite/binutils-all/nfp/test2_nfp6000.nffw: New file.
790 * NEWS: Mention the new support.
791
792 2018-04-27 Maciej W. Rozycki <macro@mips.com>
793
794 * testsuite/lib/binutils-common.exp (match_target): New procedure.
795 * testsuite/lib/utils-lib.exp (run_dump_test): Use it in place
796 of `istarget' for matching with `target', `not-target', `skip'
797 and `not-skip' options.
798
799 2018-04-26 Nick Clifton <nickc@redhat.com>
800
801 * readelf.c (is_32bit_abs_reloc): Support R_PARISC_DIR32 as a
802 32-bit absolute reloc for the HPPA target.
803 * testsuite/binutils-all/note-5.d: New test.
804 * testsuite/binutils-all/note-5.s: Source file for new test.
805 * testsuite/binutils-all/objcopy.exp: Run new test.
806
807 2018-04-25 Christophe Lyon <christophe.lyon@st.com>
808
809 * testsuite/binutils-all/elfedit-2.d: Accept arm*-*-uclinuxfdpiceabi.
810 * testsuite/binutils-all/elfedit-3.d: Likewise.
811 * testsuite/binutils-all/objcopy.exp: Likewise.
812 * testsuite/binutils-all/strip-3.d: Likewise.
813 * testsuite/lib/binutils-common.exp: Likewise.
814
815 2018-04-25 Christophe Lyon <christophe.lyon@st.com>
816 Mickaël Guêné <mickael.guene@st.com>
817
818 * readelf.c (decode_ARM_machine_flags): Support EF_ARM_PIC.
819 (get_osabi_name): Support ELFOSABI_ARM_FDPIC.
820
821 2018-04-25 Alan Modra <amodra@gmail.com>
822
823 * testsuite/binutils-all/arm/objdump.exp: Remove arm-aout and
824 arm-coff support.
825 * testsuite/binutils-all/objcopy.exp: Likewise.
826 * testsuite/lib/binutils-common.exp: Likewise.
827
828 2018-04-18 Nick Clifton <nickc@redhat.com>
829
830 PR 23062
831 * dwarf.c (read_and_display_attr_value): Replace assertions with
832 test and warning message.
833
834 2018-04-18 Alan Modra <amodra@gmail.com>
835
836 * testsuite/lib/binutils-common.exp: Remove support for assorted
837 aout targets.
838
839 2018-04-17 Nick Clifton <nickc@redhat.com>
840
841 PR 23063
842 * readelf.c (print_symbol): If the width is zero, return straight
843 away.
844
845 PR 23064
846 * dwarf.c (process_cu_tu_index): Test for a potential buffer
847 overrun before copying signature pointer.
848
849 2018-04-17 Alan Modra <amodra@gmail.com>
850
851 * readelf.c: Revert 2018-04-16 and 2018-04-11 changes.
852
853 2018-04-16 Alan Modra <amodra@gmail.com>
854
855 * readelf.c (get_machine_name): Correct typo.
856
857 2018-04-16 Alan Modra <amodra@gmail.com>
858
859 * configure.ac: Remove arm-epoc-pe support.
860 * dlltool.c: Likewise.
861 * configure: Regenerate.
862
863 2018-04-16 Alan Modra <amodra@gmail.com>
864
865 * testsuite/lib/binutils-common.exp: Remove sparc-aout and
866 sparc-coff support.
867
868 2018-04-16 Alan Modra <amodra@gmail.com>
869
870 * testsuite/binutils-all/copy-2.d: Remove m68k-aout and m68k-coff
871 support.
872 * testsuite/binutils-all/copy-3.d: Likewise.
873 * testsuite/binutils-all/objcopy.exp: Likewise.
874 * testsuite/lib/binutils-common.exp: Likewise.
875
876 2018-04-16 Alan Modra <amodra@gmail.com>
877
878 * testsuite/binutils-all/objcopy.exp: Remove sh5 and sh64 support.
879
880 2018-04-16 Alan Modra <amodra@gmail.com>
881
882 * testsuite/binutils-all/objcopy.exp: Remove w65 support.
883
884 2018-04-16 Alan Modra <amodra@gmail.com>
885
886 * testsuite/binutils-all/objdump.exp: Remove we32k support.
887
888 2018-04-16 Alan Modra <amodra@gmail.com>
889
890 * MAINTAINERS (Mark Kettenis): Move to past maintainers.
891 * testsuite/binutils-all/objdump.exp: Remove m88k support.
892
893 2018-04-16 Alan Modra <amodra@gmail.com>
894
895 * readelf.c: Remove i370 support.
896 * testsuite/binutils-all/objdump.exp: Likewise.
897
898 2018-04-16 Alan Modra <amodra@gmail.com>
899
900 * testsuite/binutils-all/objcopy.exp: Remove h8500 support.
901 * testsuite/lib/binutils-common.exp: Likewise.
902
903 2018-04-16 Alan Modra <amodra@gmail.com>
904
905 * testsuite/binutils-all/objcopy.exp: Remove h8300-coff support.
906
907 2018-04-16 Alan Modra <amodra@gmail.com>
908
909 * Makefile.am: Remove IEEE 695 support.
910 * budbg.h: Likewise.
911 * doc/binutils.texi: Likewise.
912 * makefile.vms: Likewise.
913 * objcopy.c: Likewise.
914 * objdump.c: Likewise.
915 * rddbg.c: Likewise.
916 * ieee.c: Delete.
917 * Makefile.in: Regenerate.
918 * po/POTFILES.in: Regenerate.
919
920 2018-04-16 Alan Modra <amodra@gmail.com>
921
922 * testsuite/binutils-all/copy-2.d: Remove newsos3 support.
923 * testsuite/binutils-all/nm.exp: Likewise.
924
925 2018-04-16 Alan Modra <amodra@gmail.com>
926
927 * .gitignore: Remove netware support.
928 * Makefile.am: Likewise.
929 * configure.ac: Likewise.
930 * doc/Makefile.am: Likewise.
931 * doc/binutils.texi: Likewise.
932 * testsuite/binutils-all/nm.exp: Likewise.
933 * nlmconv.c: Delete.
934 * nlmconv.h: Delete.
935 * nlmheader.y: Delete.
936 * Makefile.in: Regenerate.
937 * configure: Regenerate.
938 * doc/Makefile.in: Regenerate.
939 * po/POTFILES.in: Regenerate.
940
941 2018-04-16 Alan Modra <amodra@gmail.com>
942
943 * testsuite/binutils-all/objdump.exp: Remove tahoe support.
944
945 2018-04-14 Alan Modra <amodra@gmail.com>
946
947 * readelf.c (get_machine_name): Revert 2018-04-11 change.
948
949 2018-04-12 Nick Clifton <nickc@redhat.com>
950
951 PR 23050
952 * readelf.c (process_dynamic_section): Correct dynamic string
953 table size calculation.
954
955 2018-04-11 Alan Modra <amodra@gmail.com>
956
957 * ieee.c: Remove i960 support.
958 * od-macho.c: Remove i860 support.
959 * readelf.c: Remove i860 and i960 support.
960 * testsuite/binutils-all/objcopy.exp: Likewise.
961 * testsuite/binutils-all/objdump.exp: Likewise.
962 * testsuite/lib/binutils-common.exp: Likewise.
963
964 2018-04-11 Maciej W. Rozycki <macro@mips.com>
965
966 * testsuite/lib/binutils-common.exp (is_elf_format): Also return
967 1 for `*-*-lynxos*' and `*-*-symbianelf*' targets.
968
969 2018-04-10 Alan Modra <amodra@gmail.com>
970
971 * testsuite/binutils-all/objcopy.exp (strip-14, strip-15): Choose
972 reloc=11 for pru and reloc=50 for nds32.
973 * testsuite/binutils-all/strip-15.d: Accept 0xb reloc number.
974
975 2018-04-09 Maciej W. Rozycki <macro@mips.com>
976
977 * testsuite/binutils-all/strip-15.d: New test.
978 * testsuite/binutils-all/strip-15rel.s: New test source.
979 * testsuite/binutils-all/strip-15rela.s: New test source.
980 * testsuite/binutils-all/strip-15mips64.s: New test source.
981 * testsuite/binutils-all/objcopy.exp: Run the new test.
982
983 2018-04-09 Maciej W. Rozycki <macro@mips.com>
984
985 * testsuite/binutils-all/strip-14.d: New test.
986 * testsuite/binutils-all/strip-14rel.s: New test source.
987 * testsuite/binutils-all/strip-14rela.s: New test source.
988 * testsuite/binutils-all/strip-14mips64.s: New test source.
989 * testsuite/binutils-all/objcopy.exp: Run the new test.
990
991 2018-04-06 Tom Tromey <tom@tromey.com>
992
993 * dwarf.c (read_and_display_attr_value): Add missing DW_LANG
994 constants from DWARF 5.
995
996 2018-04-05 H.J. Lu <hongjiu.lu@intel.com>
997
998 PR gas/22318
999 * configure: Regenerated.
1000
1001 2018-04-05 Maciej W. Rozycki <macro@mips.com>
1002
1003 * testsuite/binutils-all/strip-13mips64.s: Use `.dc.l' rather
1004 than `.dc.w' in second relocation.
1005
1006 2018-04-05 Maciej W. Rozycki <macro@mips.com>
1007
1008 * testsuite/binutils-all/strip-13.d: Also expect `unsupported
1009 relocation type 0x8f' error message.
1010
1011 2018-04-05 Maciej W. Rozycki <macro@mips.com>
1012
1013 * testsuite/binutils-all/strip-13.s: Rename to...
1014 * testsuite/binutils-all/strip-13rela.s: ... this.
1015 * testsuite/binutils-all/strip-13rel.s: New test source.
1016 * testsuite/binutils-all/strip-13mips64.s: New test source.
1017 * testsuite/binutils-all/strip-13.d: Remove `arm-*', `d10v-*',
1018 `dlx-*' and `xgate-*' from `not-target' list. Add `m6811-*' and
1019 `m68hc11-*' to `not-target' list.
1020 * testsuite/binutils-all/objcopy.exp: Switch between sources for
1021 `strip-13'.
1022
1023 2018-04-05 Maciej W. Rozycki <macro@mips.com>
1024
1025 * testsuite/binutils-all/strip-13.s: Use 143 (0x8f) rather than
1026 241 (0xf1) for the relocation number and RELA addend.
1027 * testsuite/binutils-all/strip-13.d: Remove `hppa*-*' from the
1028 `not-target' list.
1029
1030 2018-04-04 John David Anglin <danglin@gcc.gnu.org>
1031
1032 * MAINTAINERS: Update my e-mail address.
1033
1034 2018-04-04 Nick Clifton <nickc@redhat.com>
1035
1036 * MAINTAINERS: Move Jason Eckhardt to past maintainers section.
1037
1038 2018-03-23 Nick Clifton <nickc@redhat.com>
1039
1040 * readelf.c (get_symbol_for_build_attribute): Skip ARM mapping
1041 symbols.
1042 (print_gnu_build_attribute_description): If no file start symbol
1043 could be found, look for one two bytes into the file.
1044 * testsuite/binutils-all/note-4-64.s: Set the address of the file
1045 start symbol to two bytes into the file.
1046 * testsuite/binutils-all/note-4-32.s: Likewise.
1047
1048 2018-03-21 H.J. Lu <hongjiu.lu@intel.com>
1049
1050 * readelf.c (process_dynamic_section): Also dump DF_1_KMOD,
1051 DF_1_WEAKFILTER and DF_1_NOCOMMON.
1052
1053 2018-03-20 Nick Clifton <nickc@redhat.com>
1054
1055 * po/es.po: Updated Spanish translation.
1056 * po/ru.po: Updated Russian translation.
1057
1058 2018-03-13 Nick Clifton <nickc@redhat.com>
1059
1060 PR 22957
1061 * stabs.c (pop_binincl): Fail if the file index is off the end of
1062 the stack.
1063
1064 2018-03-13 Nick Clifton <nickc@redhat.com>
1065
1066 PR 22955
1067 * stabs.c (parse_number): Add p_end parameter and use it to check
1068 the validity of the pp parameter. Add checks to prevent walking
1069 off the end of the string buffer.
1070 (parse_stab_string): Likewise.
1071 (parse_stab_type): Likewise.
1072 (parse_stab_type_number): Likewise.
1073 (parse_stab_range_type): Likewise.
1074 (parse_stab_sun_builtin_type): Likewise.
1075 (parse_stab_sun_floating_type): Likewise.
1076 (parse_stab_enum_type): Likewise.
1077 (parse_stab_struct_type): Likewise.
1078 (parse_stab_baseclasses): Likewise.
1079 (parse_stab_struct_fields): Likewise.
1080 (parse_stab_cpp_abbrev): Likewise.
1081 (parse_stab_one_struct_field): Likewise.
1082 (parse_stab_members): Likewise.
1083 (parse_stab_tilde_field): Likewise.
1084 (parse_stab_array_type): Likewise.
1085
1086 * parse_stab: Compute the end of the string and then pass it on to
1087 individual parser functions.
1088
1089 2018-03-07 Paul Pluzhnikov <ppluzhnikov@google.com>
1090
1091 PR binutils/22923
1092 * binutils/readelf.c (get_ver_flags): Expand buffer to avoid
1093 overflow.
1094
1095 2018-03-07 Alan Modra <amodra@gmail.com>
1096
1097 * configure.ac: Add objdump_private_desc_xcoff for rs6000.
1098 * configure: Regenerate.
1099
1100 2018-03-05 H.J. Lu <hongjiu.lu@intel.com>
1101
1102 PR binutils/22911
1103 * objdump.c (is_significant_symbol_name): Return TRUE for all
1104 .plt* sections.
1105 (find_symbol_for_address): Replace linear search with binary
1106 search on dynamic relocations.
1107
1108 2018-03-01 Nick Clifton <nickc@redhat.com>
1109
1110 PR 22905
1111 * dwarf.c (display_debug_ranges): Check that the offset loaded
1112 from the range_entry structure is valid.
1113
1114 2018-03-01 Alan Modra <amodra@gmail.com>
1115
1116 * configure.ac (ALL_LINGUAS): Add sr. Sort.
1117 * configure: Regenerate.
1118
1119 2018-02-27 Nick Clifton <nickc@redhat.com>
1120
1121 * po/pt.po: New Portuguese translation.
1122 * configure.ac (ALL_LINGUAS): Add pt.
1123 * configure: Regenerate.
1124
1125 2018-02-27 Nick Clifton <nickc@redhat.com>
1126
1127 PR 22875
1128 * objcopy.c (copy_object): Check the error status after marking
1129 symbols used in relocations.
1130 * testsuite/binutils-all/strip-13.s: New test source file.
1131 * testsuite/binutils-all/strip-13.s: New test driver file.
1132 * testsuite/binutils-all/objcopy.exp: Run the new test.
1133
1134 2018-02-26 Alan Modra <amodra@gmail.com>
1135
1136 * testsuite/binutils-all/mips/mips-reginfo-n32.d,
1137 * testsuite/binutils-all/mips/mips-reginfo.d: Update.
1138
1139 2018-02-23 Alan Modra <amodra@gmail.com>
1140
1141 * testsuite/binutils-all/mips/mips-reginfo-n32.d,
1142 * testsuite/binutils-all/mips/mips-reginfo.d: Update.
1143
1144 2018-02-20 Ronald Hoogenboom <hoogenboom30@zonnet.nl>
1145
1146 * doc/binutils.texi (objcopy): Add missing closing square
1147 parenthesis to listing of objcopy's command line options.
1148
1149 2018-02-19 Matthias Klose <doko@debian.org>
1150
1151 * strings.c (long_options): Include-all-whitespace does not take
1152 an extra agument.
1153
1154 2018-02-13 Alan Modra <amodra@gmail.com>
1155
1156 PR 22836
1157 * testsuite/binutils-all/group-7.s,
1158 * testsuite/binutils-all/group-7a.d,
1159 * testsuite/binutils-all/group-7b.d,
1160 * testsuite/binutils-all/group-7c.d: New tests.
1161 * testsuite/binutils-all/objcopy.exp: Run them.
1162
1163 2018-02-08 Nick Clifton <nickc@redhat.com>
1164
1165 PR 22802
1166 * dwarf.c (load_separate_debug_file): Return early if the user is
1167 not interested in debug links.
1168
1169 2018-02-06 Nick Clifton <nickc@redhat.com>
1170
1171 PR 22793
1172 * readelf.c (find_section): Replace assertion with test and return
1173 of NULL.
1174 (find_section_by_address): Add test of section header table
1175 existance.
1176 (find_section_by_type): Likewise.
1177 (find_section_in_set): Likewise.
1178
1179 2018-02-05 Maciej W. Rozycki <macro@mips.com>
1180
1181 * testsuite/binutils-all/mips/mips-reginfo.d: New test.
1182 * testsuite/binutils-all/mips/mips-reginfo-n32.d: New test.
1183 * testsuite/binutils-all/mips/mips-reginfo.s: New test source.
1184 * testsuite/binutils-all/mips/mips.exp: Run the new tests.
1185
1186 2018-02-05 Maciej W. Rozycki <macro@mips.com>
1187
1188 * testsuite/config/default.exp (binutils_run): Document
1189 `binutils_run_status'.
1190 * testsuite/lib/utils-lib.exp (default_binutils_run): Likewise,
1191 and set it.
1192 (run_dump_test): Add `error', `error_output', `warning' and
1193 `warning_output' options. Update documentation accordingly.
1194
1195 2018-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
1196
1197 * dwarf.c (dwarf_regnames_riscv): New register name table.
1198 (init_dwarf_regnames_riscv): New function.
1199 (init_dwarf_regnames): Add call to initialise RiscV register
1200 names.
1201 * dwarf.h (init_dwarf_regnames_riscv): Declare.
1202 * objdump.c (dump_dwarf): Add call to initialise RiscV register
1203 names.
1204
1205 2018-02-01 Alan Modra <amodra@gmail.com>
1206
1207 PR 22769
1208 * objdump.c (load_specific_debug_section): Check for overflow
1209 when adding one to section size for a string section terminator.
1210
1211 2018-01-30 Nick Clifton <nickc@redhat.com>
1212
1213 PR 22734
1214 * doc/binutils.texi (nm): Update description to point out that
1215 zero-initialized values can also be shown as type B, b, S or s
1216 since they can be stored in the BSS section.
1217
1218 2018-01-30 Alan Modra <amodra@gmail.com>
1219
1220 * objcopy.c (merge_gnu_build_notes): Use (bfd_vma) -1 as
1221 "artificially large" end address.
1222
1223 2018-01-28 Nick Clifton <nickc@redhat.com>
1224
1225 * README-how-to-make-a-release: Add note about checking gpg key
1226 and the results of gnupload.
1227
1228 2018-01-27 Nick Clifton <nickc@redhat.com>
1229
1230 * README-how-to-make-a-release: Add details on how to actually
1231 make the release.
1232
1233 2018-01-26 Nick Clifton <nickc@redhat.com>
1234
1235 * README-how-to-make-a-release: Add more details on updating
1236 version numbers.
1237
1238 2018-01-22 Maciej W. Rozycki <macro@mips.com>
1239
1240 * doc/binutils.texi (objcopy): Fix a typo in `--rename-section'
1241 option description.
1242
1243 2018-01-22 Maciej W. Rozycki <macro@mips.com>
1244
1245 * MAINTAINERS: Update my company e-mail address.
1246
1247 2018-01-22 Nick Clifton <nickc@redhat.com>
1248
1249 * po/sv.po: Updated Swedish translation.
1250
1251 2018-01-18 Nick Clifton <nickc@redhat.com>
1252
1253 * po/bg.po: Updated Bulgarian translation.
1254
1255 2018-01-16 Joel Brobecker <brobecker@adacore.com>
1256
1257 * README-how-to-make-a-release: Add reminder to update the
1258 branch name in gdbadmin's crontab on sourceware.
1259
1260 2018-01-16 Joel Brobecker <brobecker@adacore.com>
1261
1262 * README-how-to-make-a-release: Remove trailing spaces.
1263
1264 2018-01-16 Nick Clifton <nickc@redhat.com>
1265
1266 * po/fr.po: Updated French translation.
1267
1268 2018-01-15 Nick Clifton <nickc@redhat.com>
1269
1270 * po/uk.po: Updated Ukranian translation.
1271
1272 2018-01-13 Nick Clifton <nickc@redhat.com>
1273
1274 * README-how-to-make-a-release: Update notes.
1275 * po/binutils.pot: Regenerated.
1276
1277 2018-01-13 Nick Clifton <nickc@redhat.com>
1278
1279 * configure: Regenerate.
1280
1281 2018-01-13 Nick Clifton <nickc@redhat.com>
1282
1283 2.30 branch created.
1284 * NEWS: Add marker for 2.30.
1285
1286 2018-01-12 Nick Clifton <nickc@redhat.com>
1287
1288 * README-how-to-make-a-release: Add notes on how to make the
1289 branch and prelease snapshot.
1290 * BRANCHES: Add binutils-2_29-branch.
1291
1292 2018-01-10 Nick Clifton <nickc@redhat.com>
1293
1294 * MAINTAINERS: Note that it is now the configure.ac file and not
1295 the configure.in file that needs to be kept in sync with gcc.
1296 Add a note about sending patches for libiberty to gcc.
1297
1298 2018-01-03 Nick Clifton <nickc@redhat.com>
1299
1300 * objcopy.c (merge_gnu_build_notes): Add cast to maximum address
1301 constants.
1302
1303 2018-01-03 Nick Clifton <nickc@redhat.com>
1304
1305 * objcopy.c (objcopy_internal_note): New structure.
1306 (gap_exists): New function.
1307 (is_open_note): New function.
1308 (is_func_note): New function.
1309 (is_64bit): New function.
1310 (merge_gnu_build_notes): Handle v3 notes. Do not merge
1311 if there are relocations against the notes.
1312 * readelf.c (get_note_type): Use short names for build attribute
1313 notes.
1314 (print_symbol_for_build_attribute): Rename to
1315 get_symbol_for_build_attribute. Returns the found symbol rather
1316 than printing it.
1317 (print_gnu_build_attribute_description): Maintain address ranges
1318 for function notes as well as global notes. Handle v3 notes.
1319 (print_gnu_build_attribute_name): Use more space for printing the
1320 name in wide mode.
1321 * testsuite/binutils-all/note-2-32.s: Use .dc.l instead of .word.
1322 Eliminate symbol references in order to remove the need for
1323 relocations.
1324 * testsuite/binutils-all/note-2-64.s: Likewise.
1325 * testsuite/binutils-all/note-3-32.s: Add a size to the note_1
1326 symbol.
1327 * testsuite/binutils-all/note-3-64.s: Likewise.
1328 * testsuite/binutils-all/mips/mips-note-2r-n32.d: Update expected
1329 output.
1330 * testsuite/binutils-all/mips/mips-note-2r-n64.d: Likewise.
1331 * testsuite/binutils-all/mips/mips-note-2r.d: Likewise.
1332 * testsuite/binutils-all/note-2-32.d: Likewise.
1333 * testsuite/binutils-all/note-2-64.d: Likewise.
1334 * testsuite/binutils-all/note-3-32.d: Likewise.
1335 * testsuite/binutils-all/note-3-64.d: Likewise.
1336 * testsuite/binutils-all/note-4-64.s: New test. Checks v3 notes.
1337 * testsuite/binutils-all/note-4-32.s: New test.
1338 * testsuite/binutils-all/note-4-64.d: New test result file.
1339 * testsuite/binutils-all/note-4-32.d: New test result file.
1340
1341 2018-01-03 Alan Modra <amodra@gmail.com>
1342
1343 Update year range in copyright notice of all files.
1344
1345 For older changes see ChangeLog-2017
1346 \f
1347 Copyright (C) 2018 Free Software Foundation, Inc.
1348
1349 Copying and distribution of this file, with or without modification,
1350 are permitted in any medium without royalty provided the copyright
1351 notice and this notice are preserved.
1352
1353 Local Variables:
1354 mode: change-log
1355 left-margin: 8
1356 fill-column: 74
1357 version-control: never
1358 End:
This page took 0.096337 seconds and 3 git commands to generate.