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