]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - binutils/ChangeLog
PR23945, NULL pointer dereference in readelf.c:slurp_hppa_unwind_table
[thirdparty/binutils-gdb.git] / binutils / ChangeLog
CommitLineData
726bd37d
AM
12018-12-01 Alan Modra <amodra@gmail.com>
2
3 PR 23945
4 * readelf.c (slurp_ia64_unwind_table): Don't call elf_ia64_reloc_type
5 needlessly.
6 (slurp_hppa_unwind_table): Use same range checks and error messages
7 as slurp_ia64_unwind_table.
8
8936f768
NC
92018-11-29 Nick Clifton <nickc@redhat.com>
10
11 PR 23931
12 * objdump.c (dump_relocs_in_section): When checking for an
13 unreasonable amount of relocs in a bfd, allow for the fact that
14 the internal representation of a reloc may be bigger than the
15 external representation.
16
4207142d
MW
172018-11-27 Mark Wielaard <mark@klomp.org>
18
19 PR binutils/23919
20 * readelf.c (dump_sections_as_strings): Remove bogus addralign check.
21 (dump_sections_as_bytes): Likewise.
22 (load_specific_debug_sections): Likewise.
23 * testsuite/binutils-all/dw2-3.rS: Adjust alignment.
24 * testsuite/binutils-all/dw2-3.rt: Likewise.
25
f92f9e87
L
262018-11-20 H.J. Lu <hongjiu.lu@intel.com>
27
28 PR binutils/23898
29 * testsuite/lib/binutils-common.exp (prune_warnings_extra):
30 Prune gaps in build notes.
31
97b3f392
FT
322018-11-13 Francois H. Theron <francois.theron@netronome.com>
33
34 * testsuite/binutils-all/nfp/test1.d: Test for swapped operand crc[].
35
36
5d762de0
HAQ
372018-11-09 Hafiz Abid Qadeer <abidh@codesourcery.com>
38
39 * configure: Regenerate.
40
71f5e3f7
NC
412018-11-09 Mathias <m4tze@exitno.de>
42
43 * strings.c (print_strings): Check for multibyte encodings.
44 * binutils-all/strings-1.bin: New file. Test binary for string decoding.
45 * testsuite/binutils-all/strings.exp: New file. Test the strings program.
46 * testsuite/config/default.exp (STRINGS): Define if not provided
47 by the environment.
48 (STRINGSFLAGS): Likewise.
49
d3def5d7
MY
502018-11-07 Masatake Yamato <yamato@redhat.com>
51
52 * objdump.c (long_options): Have the --disassemble option take an
53 optional argument.
54 (usage): Add description for the `symbol' argument to the
55 --disassemble option.
56 (disasm_sym): New file private variable.
57 (struct objdump_disasm_info): New field `symbol'.
58 (disassemble_section): Introduce `do_print' local variable
59 to control whether objdump displays the result of disassembling
60 for a symbol or not.
61 (main): Set `symbol' file private variable if the option argument
62 for the --disassemble option is given.
63 * doc/binutils.texi (objdump): Add description for the option
64 argument.
65 * NEWS: Mention the new feature.
66 * testsuite/binutils-all/objdump.exp: Add tests of the -d and
67 --disassemble=<symbol> options.
68 * testsuite/binutils-all/bintest.s: Add more symbols and code.
69 * testsuite/binutils-all/readelf.s: Update expected output.
70 * testsuite/binutils-all/readelf.ss-64: Likewise.
71 * testsuite/binutils-all/readelf.ss-mips: Likewise.
72 * testsuite/binutils-all/readelf.ss-tmips: Likewise.
73
0661ae2e
NC
742018-11-07 Nick Clifton <nickc@redhat.com>
75
76 * po/pt.po: Updated Portuguese translation.
77
fc7b364a
RB
782018-11-06 Roman Bolshakov <r.bolshakov@yadro.com>
79 Saagar Jha <saagar@saagarjha.com>
80
81 PR 23728
82 * od-macho.c (printf_version): New.
83 (dump_load_command): Use it to print version. Print sdk version. Print
84 version info for watchOS and tvOS. Print LC_NOTE, LC_BUILD_VERSION.
85 (dump_buld_version): New.
86 (bfd_mach_o_platform_name): New
87 (bfd_mach_o_tool_name): New
88
8d3c78e4 892018-11-07 Yoshinori Sato <ysato@users.sourceforge.jp>
fc7b364a 90
8d3c78e4
YS
91 * testsuite/lib/binutils-common.exp: Special section name
92 use only rx-*-elf.
93
8a6b075b
L
942018-11-06 H.J. Lu <hongjiu.lu@intel.com>
95
96 * doc/binutils.texi: Document --enable-x86-feature and
97 --disable-x86-feature options for elfedit.
98 * elfedit.c: Include "config.h" and <sys/mman.h>.
99 (enable_x86_features): New.
100 (disable_x86_features): Likewise.
101 (update_gnu_property): Likewise.
102 (elf_x86_feature): Likewise.
103 (process_file): Call update_gnu_property on ET_EXEC or ET_DYN
104 file.
105 (command_line_switch): Add OPTION_ENABLE_X86_FEATURE and
106 OPTION_DISABLE_X86_FEATURE.
107 (options): Add--enable-x86-feature and --disable-x86-feature.
108 (usage): Likewise.
109 (main): Handle OPTION_ENABLE_X86_FEATURE and
110 OPTION_DISABLE_X86_FEATURE.
111
675accbd
L
1122018-11-03 H.J. Lu <hongjiu.lu@intel.com>
113
114 * elfedit.c (update_elf_header): Move EI_MAG? check to ...
115 (get_file_header): Here.
116
34156b23
L
1172018-11-02 H.J. Lu <hongjiu.lu@intel.com>
118
119 * configure.ac (AC_FUNC_MMAP): New.
120 * config.in: Regenerated.
121 * configure: Likewise.
122
285e3f99
AM
1232018-11-02 Alan Modra <amodra@gmail.com>
124
125 * readelf.c (process_section_headers): Don't warn on a zero
126 sh_info or sh_link for any reloc section in an executable or
127 shared library. Do warn for .rel.dyn/.rela.dyn in ET_REL.
128
33ea299c
TP
1292018-11-01 Thomas Preud'homme <thomas.preudhomme@linaro.org>
130
131 * testsuite/config/default.exp: Define LD, LDFLAGS and
132 ld_elf_shared_opt.
133 * testsuite/lib/binutils-common.exp (check_shared_lib_support): Moved
134 from ld-lib.exp.
135 (run_dump_test): Set ld to $LD.
136
f63085d1
NC
1372018-10-18 Nick Clifton <nickc@redhat.com>
138
139 * doc/binutils.texi (readelf): Document alternatives to the
140 --unwind option if it is not supported for the target
141 architecture.
142
feceaa59
AM
1432018-10-16 Alan Modra <amodra@gmail.com>
144
145 PR 23780
146 * readelf.c (display_raw_attribute): Correct assertion.
147
bf2dd8d7
AM
1482018-10-15 Alan Modra <amodra@gmail.com>
149
150 PR 23534
151 * addr2line.c (main): Exit with fatal error if bfd_init
152 returns an unexpected value.
153 * ar.c (main): Likewise.
154 * dlltool.c (identify_dll_for_implib): Likewise.
155 * nm.c (main): Likewise.
156 * objcopy.c (main): Likewise.
157 * objdump.c (main): Likewise.
158 * size.c (main): Likewise.
159 * strings.c (main): Likewise.
160 * windmc.c (main): Likewise.
161 * windres.c (main): Likewise.
162
de564eb5
NC
1632018-10-11 Jordan Rupprecht <rupprecht@google.com>
164 Nick Clifton <nickc@redhat.com>
165
166 * objcopy.c (copy_main): Issue a fata error if the
167 --keep-global-symbol(s) and the --globalize-symbol(s) options are
168 used together.
169 * doc/binutils.texi: Document that the two options are
170 incompatible.
171 * testsuite/binutils-all/copy-5.d: New test.
172 * testsuite/binutils-all/objcopy.exp: Run the new test.
173
43f6cd05
AM
1742018-10-10 Helge Deller <deller@gmx.de>
175 Alan Modra <amodra@gmail.com>
176
177 * readelf.c (hppa_process_unwind): Don't use eh_addr_size to
178 calculate number of entries.
179 (slurp_hppa_unwind_table): Don't use eh_addr_size here either.
180
8ab159a9
AM
1812018-10-10 Alan Modra <amodra@gmail.com>
182
183 * objdump.c (dump_dwarf): Set s12z eh_addr_size to 4.
184
25cbdcbb
AS
1852018-10-08 Andreas Schwab <schwab@suse.de>
186
187 * readelf.c (is_32bit_pcrel_reloc): Handle R_RISCV_32_PCREL.
188
8e90d6d2
NC
1892018-10-03 Nick Clifton <nickc@redhat.com>
190
191 * po/pt.po: Updated Portuguese translation.
527b9e87 192 * po/fr.po: Updated French translation.
8e90d6d2 193
dfc616fa
AM
1942018-09-22 Alan Modra <amodra@gmail.com>
195
196 * readelf.c (apply_relocations): Don't return FALSE for warnings.
197
fbaf61ad
NC
1982018-09-20 Nelson Chu <nelson.chu1990@gmail.com>
199
200 * testsuite/binutils-all/objcopy.exp: Set the unsupported reloc number
201 from 215 to 255 for NDS32.
202
d839b914
L
2032018-09-17 H.J. Lu <hongjiu.lu@intel.com>
204
205 * objcopy.c (strip_specific_buffer): New.
206 (strip_unneeded_buffer): Likewise.
207 (keep_specific_buffer): Likewise.
208 (localize_specific_buffer): Likewise.
209 (globalize_specific_buffer): Likewise.
210 (keepglobal_specific_buffer): Likewise.
211 (weaken_specific_buffer): Likewise.
212 (add_specific_symbols): Add an argument to return pointer to
213 allocated buffer.
214 (copy_main): Update add_specific_symbols to update pointers to
215 allocated buffer. Free pointers to allocated buffer before
216 return.
217
c12d9fa2
AM
2182018-09-17 Alan Modra <amodra@gmail.com>
219
220 * objcopy.c (handle_remove_section_option): Don't require a dot
221 after .rela and .rel to handle a possible relocation section.
222 * testsuite/binutils-all/remove-relocs-07.s,
223 * testsuite/binutils-all/remove-relocs-07.d,
224 * testsuite/binutils-all/remove-relocs-08.d: New tests.
225 * testsuite/binutils-all/remove-relocs-01.d,
226 * testsuite/binutils-all/remove-relocs-04.d,
227 * testsuite/binutils-all/remove-relocs-05.d,
228 * testsuite/binutils-all/remove-relocs-06.d: Exclude mips64-openbsd.
229
0b1352e0
AM
2302018-09-17 Alan Modra <amodra@gmail.com>
231
232 * testsuite/lib/binutils-common.exp (is_som_format): New proc.
233 (run_dump_test): Correct target test for alternate .comm syntax.
234 (get_standard_section_names): Handle som format.
235 * testsuite/lib/utils-lib.exp (default_binutils_assemble_flags):
236 Correct target test for alternate .comm syntax.
237
8c9604b6
AM
2382018-09-17 Alan Modra <amodra@gmail.com>
239
240 * testsuite/binutils-all/strip-13mips64.s: Add section flags
241 for reloc section.
242 * testsuite/binutils-all/strip-13rel.s: Likewise.
243 * testsuite/binutils-all/strip-13rela.s: Likewise.
244 * testsuite/binutils-all/strip-14mips64.s: Likewise.
245 * testsuite/binutils-all/strip-14rel.s: Likewise.
246 * testsuite/binutils-all/strip-14rela.s: Likewise.
247 * testsuite/binutils-all/strip-15mips64.s: Likewise.
248 * testsuite/binutils-all/strip-15rel.s: Likewise.
249 * testsuite/binutils-all/strip-15rela.s: Likewise.
250
a0a8a934
NC
2512018-09-17 Nick Clifton <nickc@redhat.com>
252
253 * testsuite/binutils-all/compress.exp: Rename second "objcopy
254 zlib-gnu compress debug sections 3" test to "objcopy zlib-gabi
255 compress debug sections 3" and use gabi object files instead
256 of gnu object files.
257 * testsuite/binutils-all/objcopy.exp: Add suffix to the names
258 of the "ELF group" tests.
259 * testsuite/binutils-all/readelf.exp (proc readelf_find_size):
260 Add an iteration parameter and include it in the name of the
261 test. Update callers to include an iteration count.
262
8ffb70eb
AM
2632018-09-15 Alan Modra <amodra@gmail.com>
264
265 * testsuite/binutils-all/add-symbol.d: Add "section_subst: no".
266 * testsuite/binutils-all/elfedit.exp: Don't set tempfile or copyfile.
267 * testsuite/binutils-all/symbols-1.d,
268 * testsuite/binutils-all/symbols-2.d,
269 * testsuite/binutils-all/symbols-3.d,
270 * testsuite/binutils-all/symbols-4.d: Quote '*' and '!'.
271 * testsuite/binutils-all/add-empty-section.d,
272 * testsuite/binutils-all/add-section.d,
273 * testsuite/binutils-all/elfedit.exp,
274 * testsuite/binutils-all/note-1.d,
275 * testsuite/binutils-all/pr23633.d: Add $subdir after $srcdir.
276 * testsuite/config/default.exp (AS, ASFLAGS): Define.
277 * testsuite/config/hppa.sed: Handle all common symbols.
278 * testsuite/lib/binutils-common.exp (run_dump_test): New proc,
279 merged from three other versions.
280 (slurp_options, file_contents, set_file_contents): Likewise.
281 (big_or_little_endian, get_standard_section_names): Likewise.
282 * testsuite/lib/utils-lib.exp (run_dump_test): Delete.
283 (slurp_options, proc file_contents): Delete.
284 (get_standard_section_names): Delete.
285
e8d88459
AM
2862018-09-15 Alan Modra <amodra@gmail.com>
287
288 * testsuite/binutils-all/copy-2.d,
289 * testsuite/binutils-all/copy-3.d,
290 * testsuite/binutils-all/copy-4.d,
291 * testsuite/binutils-all/elfedit-1.d,
292 * testsuite/binutils-all/note-1.d,
293 * testsuite/binutils-all/note-2-64.d,
294 * testsuite/binutils-all/strip-11.d,
295 * testsuite/binutils-all/strip-13.d,
296 * testsuite/binutils-all/strip-14.d,
297 * testsuite/binutils-all/testranges.d,
298 * testsuite/binutils-all/x86-64/pr23494a-x32.d,
299 * testsuite/binutils-all/x86-64/pr23494a.d,
300 * testsuite/binutils-all/x86-64/pr23494b-x32.d,
301 * testsuite/binutils-all/x86-64/pr23494b.d,
302 * testsuite/binutils-all/x86-64/pr23494c-x32.d,
303 * testsuite/binutils-all/x86-64/pr23494c.d,
304 * testsuite/binutils-all/x86-64/pr23494d-x32.d,
305 * testsuite/binutils-all/x86-64/pr23494d.d,
306 * testsuite/binutils-all/x86-64/pr23494e-x32.d,
307 * testsuite/binutils-all/x86-64/pr23494e.d,
308 * testsuite/lib/utils-lib.exp (run_dump_test): Replace not-target
309 and not-skip with notarget and noskip.
310
04ade4bc
AM
3112018-09-15 Alan Modra <amodra@gmail.com>
312
313 * testsuite/binutils-all/group-7a.d,
314 * testsuite/binutils-all/group-7b.d,
315 * testsuite/binutils-all/group-7c.d,
316 * testsuite/binutils-all/symbols-1.d,
317 * testsuite/binutils-all/symbols-2.d,
318 * testsuite/binutils-all/symbols-3.d,
319 * testsuite/binutils-all/symbols-4.d: Remove DUMPPROG.
320
1fcd7e87
AM
3212018-09-14 Alan Modra <amodra@gmail.com>
322
323 PR binutils/23633
324 * testsuite/binutils-all/pr23633.d: Don't fail when assembler
325 generates sections other than .text.
326
319dbdfb
L
3272018-09-13 H.J. Lu <hongjiu.lu@intel.com>
328
329 PR binutils/23633
330 * testsuite/binutils-all/objcopy.exp: Run pr23633.
331 * testsuite/binutils-all/pr23633.d: New file.
332 * testsuite/binutils-all/pr23633.list: Likewise.
333 * testsuite/binutils-all/pr23633.s: Likewise.
334
508d0c9b
NC
3352018-09-13 Nick Clifton <nickc@redhat.com>
336
337 PR 23633
338 * objcopy.c (add_specific_symbols): Do not free the buffer at the
339 end of the function.
340
f9853190
AM
3412018-09-10 Alan Modra <amodra@gmail.com>
342
343 PR binutils/23611
344 * objcopy.c (handle_remove_section_option): Consider .rela and
345 .rel sections for stripping directly as well as attached to the
346 associated section they relocate.
347 * doc/binutils.texi (remove-relocations): Specify that this
348 option removes non-dynamic relocation sections.
349 * testsuite/binutils-all/objcopy.exp
350 (objcopy_remove_relocations_from_executable): New test.
351
20a4d0bd
NC
3522018-09-03 Nick Clifton <nickc@redhat.com>
353
354 * po/ja.po: Updated Japanese translation.
355
0f60cce3
L
3562018-08-31 H.J. Lu <hongjiu.lu@intel.com>
357
358 * testsuite/binutils-all/readelf.s-64: Adjusted for
359 .note.gnu.property section.
360 * testsuite/binutils-all/strip-3.d: Also strip
361 .note.gnu.property section.
362
6c0d3bde
L
3632018-08-31 H.J. Lu <hongjiu.lu@intel.com>
364
365 * testsuite/binutils-all/i386/compressed-1b.d: Pass
366 -mx86-used-note=no to assembler.
367 * testsuite/binutils-all/i386/compressed-1c.d: Likewise.
368 * testsuite/binutils-all/x86-64/compressed-1b.d: Likewise.
369 * testsuite/binutils-all/x86-64/compressed-1c.d: Likewise.
370 * testsuite/binutils-all/i386/empty.d: Pass -mx86-used-note=yes
371 to assembler and update expected output from "readelf -n".
372 * testsuite/binutils-all/i386/ibt.d: Likewise.
373 * testsuite/binutils-all/i386/pr21231a.d: Likewise.
374 * testsuite/binutils-all/i386/pr21231b.d: Likewise.
375 * testsuite/binutils-all/i386/shstk.d: Likewise.
376 * testsuite/binutils-all/x86-64/empty-x32.d: Likewise.
377 * testsuite/binutils-all/x86-64/empty.d: Likewise.
378 * testsuite/binutils-all/x86-64/ibt-x32.d: Likewise.
379 * testsuite/binutils-all/x86-64/ibt.d: Likewise.
380 * testsuite/binutils-all/x86-64/pr21231a.d: Likewise.
381 * testsuite/binutils-all/x86-64/pr21231b.d: Likewise.
382 * testsuite/binutils-all/x86-64/pr23494a-x32.d: Likewise.
383 * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
384 * testsuite/binutils-all/x86-64/pr23494b-x32.d: Likewise.
385 * testsuite/binutils-all/x86-64/pr23494b.d: Likewise.
386 * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
387 * testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
388 * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
389 * testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
390 * testsuite/binutils-all/x86-64/pr23494e-x32.d: Likewise.
391 * testsuite/binutils-all/x86-64/pr23494e.d: Likewise.
392 * testsuite/binutils-all/x86-64/shstk-x32.d: Likewise.
393 * testsuite/binutils-all/x86-64/shstk.d: Likewise.
394
385e5b90
L
3952018-08-30 H.J. Lu <hongjiu.lu@intel.com>
396
397 * readelf.c (process_section_headers): Treat SHT_FINI_ARRAY and
398 SHT_PREINIT_ARRAY as relocatable sections.
399
4c971803
CX
4002018-08-30 Chenghua Xu <paul.hua.gm@gmail.com>
401
402 * MAINTAINERS: Add myself as a MIPS port maintainer.
403
9108bc33
CX
4042018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
405
406 * NEWS: Mention Loongson 2K1000 proccessor support.
407 * readelf.c (get_machine_flags): Handle gs264e.
408
bd782c07
CX
4092018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
410
411 * NEWS: Mention Loongson 3A2000/3A3000 proccessor support.
412 * readelf.c (get_machine_flags): Handle gs464e.
413
ac8cb70f
CX
4142018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
415
416 * NEWS: Mention Loongson 3A1000 proccessor support.
417 * readelf.c (get_machine_flags): Rename loongson-3a to gs464.
418 (print_mips_isa_ext): Delete AFL_EXT_LOONGSON_3A.
419
a693765e
CX
4202018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
421
422 * readelf.c (print_mips_ases): Add Loongson EXT2 extension.
423
bdc6c06e
CX
4242018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
425
426 * readelf.c (print_mips_ases): Add Loongson EXT extension.
427
716c08de
CX
4282018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
429
430 * readelf.c (print_mips_ases): Add CAM extension.
431
90c745dc
L
4322018-08-27 H.J. Lu <hongjiu.lu@intel.com>
433
434 * readelf.c (decode_x86_isa): Print <None> if bitmask only
435 contains the GNU_PROPERTY_X86_UINT32_VALID bit.
436 (decode_x86_feature_1): Likewise.
437 (decode_x86_feature_2): Likewise.
438 (print_gnu_property_note): Don't mask out the
439 GNU_PROPERTY_X86_UINT32_VALID bit.
440 * testsuite/binutils-all/i386/pr21231b.d: Updated.
441 * testsuite/binutils-all/x86-64/pr21231b.d: Likewise.
442
65b3d26e
L
4432018-08-27 H.J. Lu <hongjiu.lu@intel.com>
444
445 * readelf.c (decode_x86_compat_isa): Break multi-statement line.
446 (decode_x86_isa): Likewise.
447 (decode_x86_feature_2): Likewise.
448
7a815dd5
L
4492018-08-25 H.J. Lu <hongjiu.lu@intel.com>
450
451 PR ld/23499
452 * readelf.c (get_symbol_version_string): Return _("<corrupt>")
453 for corrupt symbol version info.
454
a9eafb08
L
4552018-08-24 H.J. Lu <hongjiu.lu@intel.com>
456
457 * readelf.c (decode_x86_compat_isa): New function.
458 (decode_x86_feature_2): Likewise.
459 (decode_x86_isa): Updated for new X86_ISA_1_XXX bits.
460 (decode_x86_feature): Renamed to ...
461 (decode_x86_feature_1): This. Remove the type argument.
462 (print_gnu_property_note): Handle X86_COMPAT_ISA_1_USED,
463 X86_COMPAT_ISA_1_NEEDED, X86_UINT32_AND_LO, X86_UINT32_AND_HI,
464 X86_UINT32_OR_LO, X86_UINT32_OR_HI, X86_UINT32_OR_AND_LO and
465 X86_UINT32_OR_AND_HI instead of X86_ISA_1_USED, X86_ISA_1_NEEDED
466 and X86_FEATURE_1_AND.
467 * testsuite/binutils-all/i386/pr21231b.s: Updated to the current
468 GNU_PROPERTY_X86_ISA_1_USED and GNU_PROPERTY_X86_ISA_1_NEEDED
469 values.
470 * testsuite/binutils-all/x86-64/pr21231b.s: Likewise.
471 * testsuite/binutils-all/x86-64/pr23494a.s: Likewise.
472 * testsuite/binutils-all/x86-64/pr23494b.s: Likewise.
473 * testsuite/binutils-all/x86-64/pr23494c.s: Likewise.
474 * testsuite/binutils-all/i386/pr21231b.d: Updated.
475 * testsuite/binutils-all/x86-64/pr21231b.d: Likewise.
476 * testsuite/binutils-all/x86-64/pr23494a-x32.d: Likewise.
477 * testsuite/binutils-all/x86-64/pr23494a.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 * testsuite/binutils-all/x86-64/pr23494e-x32.d: Likewise.
483 * testsuite/binutils-all/x86-64/pr23494e.d: Likewise.
484
aa7bca9b
L
4852018-08-24 H.J. Lu <hongjiu.lu@intel.com>
486
487 * readelf.c (print_gnu_property_note): Check the
488 GNU_PROPERTY_X86_UINT32_VALID bit for invalid GNU property note.
489
14732552
AM
4902018-08-23 Alan Modra <amodra@gmail.com>
491
492 * readelf.c (get_ppc64_symbol_other): Return NULL if st_other
493 field contains unrecognised or reserved values. Handle
494 localentry:1 value.
495
7dd36a6f
L
4962018-08-23 H.J. Lu <hongjiu.lu@intel.com>
497
498 PR ld/23536
499 * Makefile.am (development.exp): New target.
500 (EXTRA_DEJAGNU_SITE_CONFIG): New.
501 (DISTCLEANFILES): Add development.exp.
502 * Makefile.in: Regenerated.
503 * testsuite/binutils-all/objcopy.exp (strip_test): Call
504 prune_warnings to prune BFD output.
505 (strip_test_with_saving_a_symbol): Likewise.
506 (objcopy_test_without_global_symbol): Likewise.
507 * testsuite/lib/binutils-common.exp (prune_warnings_extra):
508 New proc.
509 (prune_warnings): Likewise.
510
44c2eb66
L
5112018-08-23 H.J. Lu <hongjiu.lu@intel.com>
512
513 * README-how-to-make-a-release: Document setting "experimental"
514 to false.
515
e8a64888
AM
5162018-08-22 Alan Modra <amodra@gmail.com>
517
518 * readelf.c (process_file_header): Assign updated values from
519 section_header[0] fields to e_phnum, e_shnum and e_shstrndx
520 during printing of header. Correct e_shstrndx range check.
521 Remove unnecessary casts and use %u rather than %ld for
522 unsigned int header fields. Don't print a random %lx when
523 reporting an unknown EI_VERSION.
524
06d743b7
NC
5252018-08-21 Nick Clifton <nickc@redhat.com>
526
527 * MAINTAINERS: Note that Arnold Metselaar has retired as the z80
528 maintainer.
529
66b09c7e
S
5302018-08-21 L. Simon <l.simon@samsung.com>
531
532 PR 23531
533 * readelf.c (hppa_process_unwind): Only dump the unwind table if
534 the data was successfully read in.
535
506b86a4
AM
5362018-08-18 Alan Modra <amodra@gmail.com>
537
538 * testsuite/lib/binutils-common.exp (is_elf64): Use directory of
539 input file for readelf.out.
540 (is_rela): New proc.
541 * testsuite/binutils-all/objcopy.exp (elf64): Set new variable
542 from first result of is_elf64 test.
543 (reloc_format): Set using is_rela.
544 (strip-13): Pass RELOC and ELF64 to assembler.
545 (strip-14, strip-15): Use elf64 rather than calling is_elf64 again.
546 * testsuite/binutils-all/strip-13.d: Run for more targets.
547 * testsuite/binutils-all/strip-13mips64.s: Use RELOC and set
548 addend to zero.
549 * testsuite/binutils-all/strip-13rel.s: Use RELOC and ELF64.
550 Don't add _NONE reloc.
551 * testsuite/binutils-all/strip-13rela.s: Likewise.
552
9c973a29
L
5532018-08-10 H.J. Lu <hongjiu.lu@intel.com>
554
555 PR binutils/23494
556 * testsuite/binutils-all/x86-64/pr23494c.s: New file.
557 * testsuite/binutils-all/x86-64/pr23494e-x32.d: Likewise.
558 * testsuite/binutils-all/x86-64/pr23494e.d: Likewise.
559
11459a79
L
5602018-08-10 H.J. Lu <hongjiu.lu@intel.com>
561
562 * testsuite/binutils-all/x86-64/pr23494a-x32.d: Skip nacl
563 targets.
564 * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
565 * testsuite/binutils-all/x86-64/pr23494b-x32.d: Likewise.
566 * testsuite/binutils-all/x86-64/pr23494b.d: Likewise.
567 * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
568 * testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
569 * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
570 * testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
571
6404ab99
L
5722018-08-08 H.J. Lu <hongjiu.lu@intel.com>
573
574 PR binutils/23494
575 * testsuite/binutils-all/x86-64/pr23494a-x32.d: New file.
576 * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
577 * testsuite/binutils-all/x86-64/pr23494a.s: Likewise.
578 * testsuite/binutils-all/x86-64/pr23494b-x32.d: Likewise.
579 * testsuite/binutils-all/x86-64/pr23494b.d: Likewise.
580 * testsuite/binutils-all/x86-64/pr23494b.s: Likewise.
581 * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
582 * testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
583 * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
584 * testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
585
f384a1f0
KB
5862018-08-08 Kevin Buettner <kevinb@redhat.com>
587
f9853190
AM
588 * dwarf.c (decode_location_expresion): Add case for
589 DW_OP_GNU_variable_value.
f384a1f0 590
db1e1b45 5912018-08-06 Claudiu Zissulescu <claziss@synopsys.com>
592
593 * readelf.c (display_arc_attribute): Print Tag_ARC_ATR_version.
594
4aae6e5a
NC
5952018-08-03 Nick Clifton <nickc@redhat.com>
596
597 * objcopy.c (merge_gnu_build_notes): Delete empty notes. Merge
598 identical function notes.
599
e2561448
NC
6002018-08-01 Nick Clifton <nickc@redhat.com>
601
602 * README-how-to-make-a-release: Add note about regenerating the
603 info files prior to the release.
604
2409af1e
AJ
6052018-07-30 Andrew Jenner <andrew@codesourcery.com>
606
607 * MAINTAINERS (C-SKY): Add Yunhai Shang as co-maintainer.
608
d0ba5758
AJ
6092018-07-30 Andrew Jenner <andrew@codesourcery.com>
610
611 * MAINTAINERS (C-SKY): Add Lifang Xia as maintainer.
612
b8891f8d
AJ
6132018-07-30 Andrew Jenner <andrew@codesourcery.com>
614
615 * readelf.c: Include elf/csky.h.
616 (guess_is_rela): Handle EM_CSKY.
617 (dump_relocations): Likewise.
618 (get_machine_name): Likewise.
619 (is_32bit_abs_reloc): Likewise.
620
e3d39609
NC
6212018-07-25 Nick Clifton <nickc@redhat.com>
622
623 * rdcoff.c (parse_coff_struct_type): Free fields array upon early
624 exit.
625 (parse_coff_enum_type): Free names and vals arrays upon early
626 exit.
627 * rddbg.c (read_section_stabs_debugging_info): Free shandle and
628 strings and stabs arrays upon early exit.
629 * readelf.c (get_32bit_section_headers): Free shdrs structure upon
630 early exit.
631 (get_64bit_section_headers): Likewise.
632 (get_32bit_elf_symbols): Generate an error if multiple symbol
633 table index sections are associated with the same symbol section.
634 (get_64bit_elf_symbols): Likewise.
635 (process_dynamic_section): Generate an error if there are multiple
636 dynamic symbol table sections, multiple dynamic string tables or
637 multiple dynamic symbol information sections.
638
1d97232a
NC
6392018-07-24 Nick Clifton <nickc@redhat.com>
640
641 * po/sv.po: Updated Swedish translation.
642
7b8d9e8c
AM
6432018-07-24 Alan Modra <amodra@gmail.com>
644
645 PR 23431
646 * dwarf.c (display_formatted_table): Replace "what" parameter
647 with "is_dir". Expand messages. Fix capitalisation.
648 * testsuite/binutils-all/dw5.W: Update expected output.
649
67ce483b
AM
6502018-07-24 Alan Modra <amodra@gmail.com>
651
652 PR 23430
653 * elfcomm.h (struct archive_info): Rename uses_64bit_indicies
654 to uses_64bit_indices.
655 * elfcomm.c (setup_archive): Update uses of above.
656 * readelf.c (process_archive): Likewise.
657 (get_section_type_name): Rename indicies to indices.
658 (get_32bit_elf_symbols, get_64bit_elf_symbols): Likewise.
659 (process_section_groups): Likewise.
660
e2e31f10
MR
6612018-07-20 Maciej W. Rozycki <macro@mips.com>
662
663 * MAINTAINERS: Update my e-mail address, downgrade to MIPS I-IV
664 ISA maintenance.
665
3391569f
NC
6662018-07-20 Nick Clifton <nickc@redhat.com>
667
668 * objcopy.c (add_specific_symbols): Free buffer on exit.
669 (add_redefine_syms_file): Close file handle on exit.
670 (copy_object): Close file handle on early exit.
671 Free buffer on early exit.
672 Free gaps buffers once they are no longer needed.
673 * dwarf.c (display_debug_frames): Free allocated memory on exit.
674 (load_separate_debug_info): Free allocate memory on early exit.
675
8095d2f7
CX
6762018-07-20 Chenghua Xu <paul.hua.gm@gmail.com>
677 Maciej W. Rozycki <macro@mips.com>
678
679 * readelf.c (print_mips_ases): Add MMI extension.
680
79f5b65e
DD
6812018-07-19 DJ Delorie <dj@redhat.com>
682
683 * MAINTAINERS (RL78, RX): Remove myself as maintainer.
684
442a6ce8
NC
6852018-07-19 Nick Clifton <nickc@redhat.com>
686
687 * dwarf.c (read_cie): Free allocated memory before returning with
688 a failure result.
689
3fd21718
PFC
6902018-07-16 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
691
692 * readelf.c (get_note_type): Fix typo in NT_PPC_TM_CVSX note
693 description.
694
ad96220c
NC
6952018-07-16 Nick Clifton <nickc@redhat.com>
696
697 * README-how-to-make-a-release: Add note to check for new top
698 level files and add them to the src-release.sh script.
699
6cb624f8
NC
7002018-07-14 Nick Clifton <nickc@redhat.com>
701
702 * README-how-to-make-a-release: Updated with corrections based on
703 the 2.31 release experience.
704
55cc53e9
FT
7052018-07-12 Francois H. Theron <francois.theron@netronome.com>
706
707 * readelf.c (process_section_headers): Don't print section type
708 twice for --section-details.
709
be570f06
AM
7102018-07-10 Alan Modra <amodra@gmail.com>
711
712 * testsuite/lib/binutils-common.exp (supports_gnu_unique): Return
713 zero for xgate.
714
d20e98ab
NC
7152018-07-06 Nick Clifton <nickc@redhat.com>
716
717 * readelf.c (same_section): New function.
718 (print_gnu_build_attribute_description): Do not complain about
719 gaps that cross a section boundary.
720
d8dab054
NC
7212018-07-05 Nick Clifton <nickc@redhat.com>
722
723 * po/bg.po: Updated Bulgarian translation.
724
a05a5b64
TP
7252018-07-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
726
727 * NEWS: Use command-line consistently when used in a compount word.
728 * doc/binutils.texi: Likewise and fix trailing whitespace on same
729 line.
730
30aa1306
NC
7312018-06-26 Nick Clifton <nickc@redhat.com>
732
733 * po/sv.po: Updated Swedish translation.
734 * po/uk.po: Updated Ukranian translation.
735
eca4b721
NC
7362018-06-26 Nick Clifton <nickc@redhat.com>
737
738 * doc/binutils.texi: Fix spelling mistakes.
739 * README--how-to-make-a-release: Likewise.
740
1021d1cb
TT
7412018-06-25 Tom Tromey <tom@tromey.com>
742
743 * dwarf-mode.el (dwarf-mode-syntax-table): New variable.
744 Bump version number.
745
71300e2c
NC
7462018-06-24 Nick Clifton <nickc@redhat.com>
747
748 * README-how-to-make-a-release: Update with experiences from
749 making 2.31 branch.
750 * po/binutils.pot: Regenerate.
751 * configure: Regenerate.
752
719d8288
NC
7532018-06-24 Nick Clifton <nickc@redhat.com>
754
755 2.31 branch created.
756 * NEWS: Add marker for 2.31.
757
d388f643
AM
7582018-06-21 Alan Modra <amodra@gmail.com>
759
760 * doc/Makefile.am (AUTOMAKE_OPTIONS): Add "foreign".
761 * doc/Makefile.in: Regenerate.
762
d0ac1c44
SM
7632018-06-19 Simon Marchi <simon.marchi@ericsson.com>
764
765 * configure.ac: Remove AC_PREREQ.
766 * doc/Makefile.am (AUTOMAKE_OPTIONS): Remove cygnus, add
767 info-in-builddir no-texinfo.tex.
768 * Makefile.in: Re-generate.
769 * aclocal.m4: Re-generate.
770 * config.in: Re-generate.
771 * configure: Re-generate.
772 * doc/Makefile.in: Re-generate.
773
3a075e56
AS
7742018-06-19 Andreas Schwab <schwab@suse.de>
775
776 * readelf.c (is_16bit_abs_reloc): Handle R_RISCV_SET16.
777 (is_8bit_abs_reloc): New function.
778 (is_6bit_abs_reloc): New function.
779 (is_6bit_inplace_sub_reloc): New function.
780 (apply_relocations): Use them. Handle 6-bit relocations.
781
6f20c942
FS
7822018-06-14 Faraz Shahbazker <Faraz.Shahbazker@mips.com>
783
784 * readelf.c (print_mips_ases): Add GINV extension.
785
1f6f5dba
L
7862018-06-14 H.J. Lu <hongjiu.lu@intel.com>
787
788 PR binutils/23267
789 * readelf.c (get_symbol_version_string): Check if the first
790 symbol version is base version.
791
730c3174
SE
7922018-06-13 Scott Egerton <scott.egerton@imgtec.com>
793 Faraz Shahbazker <Faraz.Shahbazker@mips.com>
794
795 * readelf.c (print_mips_ases): Add CRC.
796
7a486e6d
NC
7972018-06-13 Nick Clifton <nickc@redhat.com>
798
799 * doc/binutils.texi (objdump): Add missing closing square
800 parenthesis to listing of objcopy's command line options.
801
5a485b38
NC
8022018-06-11 Nick Clifton <nickc@redhat.com>
803
804 * po/es.po: Updated Spanish translation.
805
55e99962
L
8062018-06-01 H.J. Lu <hongjiu.lu@intel.com>
807
808 * configure: Regenerated.
809
0034eed0
AM
8102018-05-31 Alan Modra <amodra@gmail.com>
811
812 * testsuite/binutils-all/compress.exp (test_gnu_debuglink): Don't
813 set CC_FOR_TARGET. Run test non-native.
814 * testsuite/binutils-all/objdump.exp (test_build_id_debuglink):
815 Likewise.
816 (test_follow_debuglink): Run test non-native.
817
1869e86f
AB
8182018-05-30 Ant Bikeneev <ant.bikineev@gmail.com>
819
820 PR 23107
821 * ar.c (display_offsets): New variable.
822 (usage): Add description of 'O' operator.
823 (decode_option): Handle 'O' operator.
824 (print_descr): Pass display_offsets to print_arelt_descr.
825 * arsup.c: Update call to printy_arelt_descr.
826 * objdump.c: Likewise.
827 * bucomm.c (print_arelt_descr): If offsets parameter is true then
828 display offset of archive element within the archive.
829 * bucomm.h: Update prototype for print_arelt_descr.
830 * doc/binutils.texi: Update description of ar command.
831 * NEWS: Mention the new feature.
832 * testsuite/binutils-all/ar.exp: Add text of new feature.
833
bb3b5316
AM
8342018-05-28 Alan Modra <amodra@gmail.com>
835
836 PR 23235
837 * testsuite/binutils-all/compress.exp (test_gnu_debuglink): Return
838 unsupported rather than fail on compile errors.
839 * testsuite/binutils-all/objdump.exp (test_build_id_debuglink):
840 Likewise. Save and restore CFLAGS_FOR_TARGET.
841
7f999549
JW
8422018-05-18 Kito Cheng <kito.cheng@gmail.com>
843
844 * readelf.c (get_machine_flags): Handle EF_RISCV_RVE.
845
7b4ae824
JD
8462018-05-18 John Darrington <john@darrington.wattle.id.au>
847
848 * readelf.c: Add support for s12z architecture.
849 * testsuite/lib/binutils-common.exp (is_elf_format): Excluse s12z
850 targets.
851
f9830ec1
TC
8522018-05-15 Tamar Christina <tamar.christina@arm.com>
853
854 PR binutils/21446
855 * doc/binutils.texi (-M): Document AArch64 options.
856
7d02540a
TC
8572018-05-15 Tamar Christina <tamar.christina@arm.com>
858
859 PR binutils/21446
860 * doc/binutils.texi (-M): Document AArch64 options.
861 * NEWS: Document notes and warnings.
862
679ca975
AM
8632018-05-15 Alan Modra <amodra@gmail.com>
864
865 * testsuite/lib/binutils-common.exp (is_elf_format): Add chorus,
866 cloudabi, fuchsia, kaos and nto. Merge netbsdelf* into *elf*,
867 and *uclinux* into *linux*.
868 * testsuite/binutils-all/objcopy.exp: Accept armeb for rel
869 strip-13 test, exclude arm-vxworks and arm-windiss.
870
637b1970
JD
8712018-05-10 John Darrington <john@darrington.wattle.id.au>
872
873 * readelf.c (get_machine_name): EM_S12Z - handle new case.
874
60cb2c8a
AM
8752018-05-09 Alan Modra <amodra@gmail.com>
876
877 * od-macho.c (dump_unwind_encoding_x86): Fix typo in last patch.
878
84f9f8c3
AM
8792018-05-09 Sebastian Rasmussen <sebras@gmail.com>
880
881 * od-macho.c (dump_unwind_encoding_x86): Adjust for macro renaming.
882
886d5428
AM
8832018-05-08 Alan Modra <amodra@gmail.com>
884
885 PR 23141
886 * objcopy.c (is_strip_section): Strip groups without a valid
887 signature symbol.
888
ce4ec1a9
AM
8892018-05-07 Alan Modra <amodra@gmail.com>
890
891 PR 23142
892 * objcopy.c (group_signature): Don't accept groups that use a
893 symbol table other than the one we've read.
894
fe944acf
FT
8952018-04-30 Francois H. Theron <francois.theron@netronome.com>
896
897 * readelf.c: Very basic support for EM_NFP and its section types.
898 * testsuite/binutils-all/nfp: New directory.
899 * testsuite/binutils-all/nfp/objdump.exp: New file. Run new
900 tests.
901 * testsuite/binutils-all/nfp/test2_ctx8.d: New file.
902 * testsuite/binutils-all/nfp/test2_no-pc_ctx4.d: New file.
903 * testsuite/binutils-all/nfp/test1.d: New file.
904 * testsuite/binutils-all/nfp/nfp6000.nffw: New file.
905 * testsuite/binutils-all/nfp/test2_nfp6000.nffw: New file.
906 * NEWS: Mention the new support.
907
6d9dabbb
MR
9082018-04-27 Maciej W. Rozycki <macro@mips.com>
909
910 * testsuite/lib/binutils-common.exp (match_target): New procedure.
911 * testsuite/lib/utils-lib.exp (run_dump_test): Use it in place
912 of `istarget' for matching with `target', `not-target', `skip'
913 and `not-skip' options.
914
0df8ad28
NC
9152018-04-26 Nick Clifton <nickc@redhat.com>
916
917 * readelf.c (is_32bit_abs_reloc): Support R_PARISC_DIR32 as a
918 32-bit absolute reloc for the HPPA target.
919 * testsuite/binutils-all/note-5.d: New test.
920 * testsuite/binutils-all/note-5.s: Source file for new test.
921 * testsuite/binutils-all/objcopy.exp: Run new test.
922
f1ac0afe
CL
9232018-04-25 Christophe Lyon <christophe.lyon@st.com>
924
925 * testsuite/binutils-all/elfedit-2.d: Accept arm*-*-uclinuxfdpiceabi.
926 * testsuite/binutils-all/elfedit-3.d: Likewise.
927 * testsuite/binutils-all/objcopy.exp: Likewise.
928 * testsuite/binutils-all/strip-3.d: Likewise.
929 * testsuite/lib/binutils-common.exp: Likewise.
930
18a20338
CL
9312018-04-25 Christophe Lyon <christophe.lyon@st.com>
932 Mickaël Guêné <mickael.guene@st.com>
933
934 * readelf.c (decode_ARM_machine_flags): Support EF_ARM_PIC.
935 (get_osabi_name): Support ELFOSABI_ARM_FDPIC.
936
2ac93be7
AM
9372018-04-25 Alan Modra <amodra@gmail.com>
938
939 * testsuite/binutils-all/arm/objdump.exp: Remove arm-aout and
940 arm-coff support.
941 * testsuite/binutils-all/objcopy.exp: Likewise.
942 * testsuite/lib/binutils-common.exp: Likewise.
943
a7504f87
NC
9442018-04-18 Nick Clifton <nickc@redhat.com>
945
946 PR 23062
947 * dwarf.c (read_and_display_attr_value): Replace assertions with
948 test and warning message.
949
c65c21e1
AM
9502018-04-18 Alan Modra <amodra@gmail.com>
951
952 * testsuite/lib/binutils-common.exp: Remove support for assorted
953 aout targets.
954
6aea08d9
NC
9552018-04-17 Nick Clifton <nickc@redhat.com>
956
c4a91159 957 PR 23063
56d8f8a9
NC
958 * readelf.c (print_symbol): If the width is zero, return straight
959 away.
960
6aea08d9
NC
961 PR 23064
962 * dwarf.c (process_cu_tu_index): Test for a potential buffer
963 overrun before copying signature pointer.
964
f954747f
AM
9652018-04-17 Alan Modra <amodra@gmail.com>
966
967 * readelf.c: Revert 2018-04-16 and 2018-04-11 changes.
968
d7867d17
AM
9692018-04-16 Alan Modra <amodra@gmail.com>
970
971 * readelf.c (get_machine_name): Correct typo.
972
ddb00039
AM
9732018-04-16 Alan Modra <amodra@gmail.com>
974
975 * configure.ac: Remove arm-epoc-pe support.
976 * dlltool.c: Likewise.
977 * configure: Regenerate.
978
c9098af4
AM
9792018-04-16 Alan Modra <amodra@gmail.com>
980
981 * testsuite/lib/binutils-common.exp: Remove sparc-aout and
982 sparc-coff support.
983
dc12032b
AM
9842018-04-16 Alan Modra <amodra@gmail.com>
985
986 * testsuite/binutils-all/copy-2.d: Remove m68k-aout and m68k-coff
987 support.
988 * testsuite/binutils-all/copy-3.d: Likewise.
989 * testsuite/binutils-all/objcopy.exp: Likewise.
990 * testsuite/lib/binutils-common.exp: Likewise.
991
211dc24b
AM
9922018-04-16 Alan Modra <amodra@gmail.com>
993
994 * testsuite/binutils-all/objcopy.exp: Remove sh5 and sh64 support.
995
a9a4b302
AM
9962018-04-16 Alan Modra <amodra@gmail.com>
997
998 * testsuite/binutils-all/objcopy.exp: Remove w65 support.
999
04cb01fd
AM
10002018-04-16 Alan Modra <amodra@gmail.com>
1001
1002 * testsuite/binutils-all/objdump.exp: Remove we32k support.
1003
c2bf1eec
AM
10042018-04-16 Alan Modra <amodra@gmail.com>
1005
1006 * MAINTAINERS (Mark Kettenis): Move to past maintainers.
1007 * testsuite/binutils-all/objdump.exp: Remove m88k support.
1008
6793974d
AM
10092018-04-16 Alan Modra <amodra@gmail.com>
1010
1011 * readelf.c: Remove i370 support.
1012 * testsuite/binutils-all/objdump.exp: Likewise.
1013
e82aa794
AM
10142018-04-16 Alan Modra <amodra@gmail.com>
1015
1016 * testsuite/binutils-all/objcopy.exp: Remove h8500 support.
1017 * testsuite/lib/binutils-common.exp: Likewise.
1018
fe0bf0fd
AM
10192018-04-16 Alan Modra <amodra@gmail.com>
1020
1021 * testsuite/binutils-all/objcopy.exp: Remove h8300-coff support.
1022
fdef3943
AM
10232018-04-16 Alan Modra <amodra@gmail.com>
1024
1025 * Makefile.am: Remove IEEE 695 support.
1026 * budbg.h: Likewise.
1027 * doc/binutils.texi: Likewise.
1028 * makefile.vms: Likewise.
1029 * objcopy.c: Likewise.
1030 * objdump.c: Likewise.
1031 * rddbg.c: Likewise.
1032 * ieee.c: Delete.
1033 * Makefile.in: Regenerate.
1034 * po/POTFILES.in: Regenerate.
1035
5972ac73
AM
10362018-04-16 Alan Modra <amodra@gmail.com>
1037
1038 * testsuite/binutils-all/copy-2.d: Remove newsos3 support.
1039 * testsuite/binutils-all/nm.exp: Likewise.
1040
b4b594e3
AM
10412018-04-16 Alan Modra <amodra@gmail.com>
1042
1043 * .gitignore: Remove netware support.
1044 * Makefile.am: Likewise.
1045 * configure.ac: Likewise.
1046 * doc/Makefile.am: Likewise.
1047 * doc/binutils.texi: Likewise.
1048 * testsuite/binutils-all/nm.exp: Likewise.
1049 * nlmconv.c: Delete.
1050 * nlmconv.h: Delete.
1051 * nlmheader.y: Delete.
1052 * Makefile.in: Regenerate.
1053 * configure: Regenerate.
1054 * doc/Makefile.in: Regenerate.
1055 * po/POTFILES.in: Regenerate.
1056
fceadf09
AM
10572018-04-16 Alan Modra <amodra@gmail.com>
1058
1059 * testsuite/binutils-all/objdump.exp: Remove tahoe support.
1060
fb70ec17
AM
10612018-04-14 Alan Modra <amodra@gmail.com>
1062
1063 * readelf.c (get_machine_name): Revert 2018-04-11 change.
1064
86c6c6df
NC
10652018-04-12 Nick Clifton <nickc@redhat.com>
1066
1067 PR 23050
1068 * readelf.c (process_dynamic_section): Correct dynamic string
1069 table size calculation.
1070
a8eb42a8
AM
10712018-04-11 Alan Modra <amodra@gmail.com>
1072
1073 * ieee.c: Remove i960 support.
1074 * od-macho.c: Remove i860 support.
1075 * readelf.c: Remove i860 and i960 support.
1076 * testsuite/binutils-all/objcopy.exp: Likewise.
1077 * testsuite/binutils-all/objdump.exp: Likewise.
1078 * testsuite/lib/binutils-common.exp: Likewise.
1079
c43b2c54
MR
10802018-04-11 Maciej W. Rozycki <macro@mips.com>
1081
1082 * testsuite/lib/binutils-common.exp (is_elf_format): Also return
1083 1 for `*-*-lynxos*' and `*-*-symbianelf*' targets.
1084
d4ae1932
AM
10852018-04-10 Alan Modra <amodra@gmail.com>
1086
1087 * testsuite/binutils-all/objcopy.exp (strip-14, strip-15): Choose
1088 reloc=11 for pru and reloc=50 for nds32.
1089 * testsuite/binutils-all/strip-15.d: Accept 0xb reloc number.
1090
d52e3d06
MR
10912018-04-09 Maciej W. Rozycki <macro@mips.com>
1092
1093 * testsuite/binutils-all/strip-15.d: New test.
1094 * testsuite/binutils-all/strip-15rel.s: New test source.
1095 * testsuite/binutils-all/strip-15rela.s: New test source.
1096 * testsuite/binutils-all/strip-15mips64.s: New test source.
1097 * testsuite/binutils-all/objcopy.exp: Run the new test.
1098
3f97ba9f
MR
10992018-04-09 Maciej W. Rozycki <macro@mips.com>
1100
1101 * testsuite/binutils-all/strip-14.d: New test.
1102 * testsuite/binutils-all/strip-14rel.s: New test source.
1103 * testsuite/binutils-all/strip-14rela.s: New test source.
1104 * testsuite/binutils-all/strip-14mips64.s: New test source.
1105 * testsuite/binutils-all/objcopy.exp: Run the new test.
1106
2008a0db
TT
11072018-04-06 Tom Tromey <tom@tromey.com>
1108
1109 * dwarf.c (read_and_display_attr_value): Add missing DW_LANG
1110 constants from DWARF 5.
1111
3cba8b6c
L
11122018-04-05 H.J. Lu <hongjiu.lu@intel.com>
1113
1114 PR gas/22318
1115 * configure: Regenerated.
1116
2d8c1a23
MR
11172018-04-05 Maciej W. Rozycki <macro@mips.com>
1118
1119 * testsuite/binutils-all/strip-13mips64.s: Use `.dc.l' rather
1120 than `.dc.w' in second relocation.
1121
65bd2045
MR
11222018-04-05 Maciej W. Rozycki <macro@mips.com>
1123
1124 * testsuite/binutils-all/strip-13.d: Also expect `unsupported
1125 relocation type 0x8f' error message.
1126
2f8ceb38
MR
11272018-04-05 Maciej W. Rozycki <macro@mips.com>
1128
1129 * testsuite/binutils-all/strip-13.s: Rename to...
1130 * testsuite/binutils-all/strip-13rela.s: ... this.
1131 * testsuite/binutils-all/strip-13rel.s: New test source.
1132 * testsuite/binutils-all/strip-13mips64.s: New test source.
1133 * testsuite/binutils-all/strip-13.d: Remove `arm-*', `d10v-*',
1134 `dlx-*' and `xgate-*' from `not-target' list. Add `m6811-*' and
1135 `m68hc11-*' to `not-target' list.
1136 * testsuite/binutils-all/objcopy.exp: Switch between sources for
1137 `strip-13'.
1138
aad7be45
MR
11392018-04-05 Maciej W. Rozycki <macro@mips.com>
1140
1141 * testsuite/binutils-all/strip-13.s: Use 143 (0x8f) rather than
1142 241 (0xf1) for the relocation number and RELA addend.
1143 * testsuite/binutils-all/strip-13.d: Remove `hppa*-*' from the
1144 `not-target' list.
1145
89f60df2
JDA
11462018-04-04 John David Anglin <danglin@gcc.gnu.org>
1147
1148 * MAINTAINERS: Update my e-mail address.
1149
f1ca0d6d
NC
11502018-04-04 Nick Clifton <nickc@redhat.com>
1151
1152 * MAINTAINERS: Move Jason Eckhardt to past maintainers section.
1153
8fd75781
NC
11542018-03-23 Nick Clifton <nickc@redhat.com>
1155
1156 * readelf.c (get_symbol_for_build_attribute): Skip ARM mapping
1157 symbols.
1158 (print_gnu_build_attribute_description): If no file start symbol
1159 could be found, look for one two bytes into the file.
1160 * testsuite/binutils-all/note-4-64.s: Set the address of the file
1161 start symbol to two bytes into the file.
1162 * testsuite/binutils-all/note-4-32.s: Likewise.
1163
b1202ffa
L
11642018-03-21 H.J. Lu <hongjiu.lu@intel.com>
1165
1166 * readelf.c (process_dynamic_section): Also dump DF_1_KMOD,
1167 DF_1_WEAKFILTER and DF_1_NOCOMMON.
1168
7e100140
NC
11692018-03-20 Nick Clifton <nickc@redhat.com>
1170
1171 * po/es.po: Updated Spanish translation.
1172 * po/ru.po: Updated Russian translation.
1173
e45ad123
NC
11742018-03-13 Nick Clifton <nickc@redhat.com>
1175
1176 PR 22957
1177 * stabs.c (pop_binincl): Fail if the file index is off the end of
1178 the stack.
1179
81db3241
NC
11802018-03-13 Nick Clifton <nickc@redhat.com>
1181
1182 PR 22955
1183 * stabs.c (parse_number): Add p_end parameter and use it to check
1184 the validity of the pp parameter. Add checks to prevent walking
1185 off the end of the string buffer.
1186 (parse_stab_string): Likewise.
1187 (parse_stab_type): Likewise.
1188 (parse_stab_type_number): Likewise.
1189 (parse_stab_range_type): Likewise.
1190 (parse_stab_sun_builtin_type): Likewise.
1191 (parse_stab_sun_floating_type): Likewise.
1192 (parse_stab_enum_type): Likewise.
1193 (parse_stab_struct_type): Likewise.
1194 (parse_stab_baseclasses): Likewise.
1195 (parse_stab_struct_fields): Likewise.
1196 (parse_stab_cpp_abbrev): Likewise.
1197 (parse_stab_one_struct_field): Likewise.
1198 (parse_stab_members): Likewise.
1199 (parse_stab_tilde_field): Likewise.
1200 (parse_stab_array_type): Likewise.
e45ad123 1201
81db3241
NC
1202 * parse_stab: Compute the end of the string and then pass it on to
1203 individual parser functions.
1204
6d4f21f6
PP
12052018-03-07 Paul Pluzhnikov <ppluzhnikov@google.com>
1206
1207 PR binutils/22923
1208 * binutils/readelf.c (get_ver_flags): Expand buffer to avoid
1209 overflow.
1210
52fe4420
AM
12112018-03-07 Alan Modra <amodra@gmail.com>
1212
1213 * configure.ac: Add objdump_private_desc_xcoff for rs6000.
1214 * configure: Regenerate.
1215
0e70b27b
L
12162018-03-05 H.J. Lu <hongjiu.lu@intel.com>
1217
1218 PR binutils/22911
1219 * objdump.c (is_significant_symbol_name): Return TRUE for all
1220 .plt* sections.
1221 (find_symbol_for_address): Replace linear search with binary
1222 search on dynamic relocations.
1223
d11ae95e
NC
12242018-03-01 Nick Clifton <nickc@redhat.com>
1225
1226 PR 22905
1227 * dwarf.c (display_debug_ranges): Check that the offset loaded
1228 from the range_entry structure is valid.
1229
e184813f
AM
12302018-03-01 Alan Modra <amodra@gmail.com>
1231
1232 * configure.ac (ALL_LINGUAS): Add sr. Sort.
1233 * configure: Regenerate.
1234
bc7c0509
NC
12352018-02-27 Nick Clifton <nickc@redhat.com>
1236
1237 * po/pt.po: New Portuguese translation.
1238 * configure.ac (ALL_LINGUAS): Add pt.
1239 * configure: Regenerate.
1240
f3185997
NC
12412018-02-27 Nick Clifton <nickc@redhat.com>
1242
1243 PR 22875
1244 * objcopy.c (copy_object): Check the error status after marking
1245 symbols used in relocations.
1246 * testsuite/binutils-all/strip-13.s: New test source file.
1247 * testsuite/binutils-all/strip-13.s: New test driver file.
1248 * testsuite/binutils-all/objcopy.exp: Run the new test.
1249
2c1c9679
AM
12502018-02-26 Alan Modra <amodra@gmail.com>
1251
1252 * testsuite/binutils-all/mips/mips-reginfo-n32.d,
1253 * testsuite/binutils-all/mips/mips-reginfo.d: Update.
1254
6e05870c
AM
12552018-02-23 Alan Modra <amodra@gmail.com>
1256
1257 * testsuite/binutils-all/mips/mips-reginfo-n32.d,
1258 * testsuite/binutils-all/mips/mips-reginfo.d: Update.
1259
b0ab9c45
RH
12602018-02-20 Ronald Hoogenboom <hoogenboom30@zonnet.nl>
1261
1262 * doc/binutils.texi (objcopy): Add missing closing square
1263 parenthesis to listing of objcopy's command line options.
1264
e535d0dd
MK
12652018-02-19 Matthias Klose <doko@debian.org>
1266
1267 * strings.c (long_options): Include-all-whitespace does not take
f9853190 1268 an extra agument.
e535d0dd 1269
6e5e9d58
AM
12702018-02-13 Alan Modra <amodra@gmail.com>
1271
1272 PR 22836
1273 * testsuite/binutils-all/group-7.s,
1274 * testsuite/binutils-all/group-7a.d,
1275 * testsuite/binutils-all/group-7b.d,
1276 * testsuite/binutils-all/group-7c.d: New tests.
1277 * testsuite/binutils-all/objcopy.exp: Run them.
1278
8de3a6e2
NC
12792018-02-08 Nick Clifton <nickc@redhat.com>
1280
1281 PR 22802
1282 * dwarf.c (load_separate_debug_file): Return early if the user is
1283 not interested in debug links.
1284
68807c3c
NC
12852018-02-06 Nick Clifton <nickc@redhat.com>
1286
1287 PR 22793
1288 * readelf.c (find_section): Replace assertion with test and return
1289 of NULL.
1290 (find_section_by_address): Add test of section header table
1291 existance.
1292 (find_section_by_type): Likewise.
1293 (find_section_in_set): Likewise.
1294
2d6dda71
MR
12952018-02-05 Maciej W. Rozycki <macro@mips.com>
1296
1297 * testsuite/binutils-all/mips/mips-reginfo.d: New test.
1298 * testsuite/binutils-all/mips/mips-reginfo-n32.d: New test.
1299 * testsuite/binutils-all/mips/mips-reginfo.s: New test source.
1300 * testsuite/binutils-all/mips/mips.exp: Run the new tests.
1301
78c88364
MR
13022018-02-05 Maciej W. Rozycki <macro@mips.com>
1303
1304 * testsuite/config/default.exp (binutils_run): Document
1305 `binutils_run_status'.
1306 * testsuite/lib/utils-lib.exp (default_binutils_run): Likewise,
1307 and set it.
1308 (run_dump_test): Add `error', `error_output', `warning' and
1309 `warning_output' options. Update documentation accordingly.
1310
5bb0830d
AB
13112018-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
1312
1313 * dwarf.c (dwarf_regnames_riscv): New register name table.
1314 (init_dwarf_regnames_riscv): New function.
1315 (init_dwarf_regnames): Add call to initialise RiscV register
1316 names.
1317 * dwarf.h (init_dwarf_regnames_riscv): Declare.
1318 * objdump.c (dump_dwarf): Add call to initialise RiscV register
1319 names.
1320
f2023ce7
AM
13212018-02-01 Alan Modra <amodra@gmail.com>
1322
1323 PR 22769
1324 * objdump.c (load_specific_debug_section): Check for overflow
1325 when adding one to section size for a string section terminator.
1326
fcabedd5
NC
13272018-01-30 Nick Clifton <nickc@redhat.com>
1328
1329 PR 22734
1330 * doc/binutils.texi (nm): Update description to point out that
1331 zero-initialized values can also be shown as type B, b, S or s
1332 since they can be stored in the BSS section.
1333
f49db8be
AM
13342018-01-30 Alan Modra <amodra@gmail.com>
1335
1336 * objcopy.c (merge_gnu_build_notes): Use (bfd_vma) -1 as
1337 "artificially large" end address.
1338
a8d6d6ac
NC
13392018-01-28 Nick Clifton <nickc@redhat.com>
1340
1341 * README-how-to-make-a-release: Add note about checking gpg key
1342 and the results of gnupload.
1343
9a5db26e
NC
13442018-01-27 Nick Clifton <nickc@redhat.com>
1345
1346 * README-how-to-make-a-release: Add details on how to actually
1347 make the release.
1348
94c2436b
NC
13492018-01-26 Nick Clifton <nickc@redhat.com>
1350
1351 * README-how-to-make-a-release: Add more details on updating
1352 version numbers.
1353
1ea332d6
MR
13542018-01-22 Maciej W. Rozycki <macro@mips.com>
1355
1356 * doc/binutils.texi (objcopy): Fix a typo in `--rename-section'
1357 option description.
1358
d65ce302
MR
13592018-01-22 Maciej W. Rozycki <macro@mips.com>
1360
1361 * MAINTAINERS: Update my company e-mail address.
1362
f433138f
NC
13632018-01-22 Nick Clifton <nickc@redhat.com>
1364
1365 * po/sv.po: Updated Swedish translation.
1366
7ab82037
NC
13672018-01-18 Nick Clifton <nickc@redhat.com>
1368
1369 * po/bg.po: Updated Bulgarian translation.
1370
0dd86f32
JB
13712018-01-16 Joel Brobecker <brobecker@adacore.com>
1372
1373 * README-how-to-make-a-release: Add reminder to update the
1374 branch name in gdbadmin's crontab on sourceware.
1375
a960d29f
JB
13762018-01-16 Joel Brobecker <brobecker@adacore.com>
1377
1378 * README-how-to-make-a-release: Remove trailing spaces.
1379
f6efed01
NC
13802018-01-16 Nick Clifton <nickc@redhat.com>
1381
1382 * po/fr.po: Updated French translation.
1383
616dcb87
NC
13842018-01-15 Nick Clifton <nickc@redhat.com>
1385
1386 * po/uk.po: Updated Ukranian translation.
1387
3957a496
NC
13882018-01-13 Nick Clifton <nickc@redhat.com>
1389
19e2900b 1390 * README-how-to-make-a-release: Update notes.
3957a496
NC
1391 * po/binutils.pot: Regenerated.
1392
769c7ea5
NC
13932018-01-13 Nick Clifton <nickc@redhat.com>
1394
1395 * configure: Regenerate.
1396
9176ac5b
NC
13972018-01-13 Nick Clifton <nickc@redhat.com>
1398
faf766e3 1399 2.30 branch created.
9176ac5b
NC
1400 * NEWS: Add marker for 2.30.
1401
98ab9e96
NC
14022018-01-12 Nick Clifton <nickc@redhat.com>
1403
1404 * README-how-to-make-a-release: Add notes on how to make the
1405 branch and prelease snapshot.
1406 * BRANCHES: Add binutils-2_29-branch.
1407
bf41f30d
NC
14082018-01-10 Nick Clifton <nickc@redhat.com>
1409
1410 * MAINTAINERS: Note that it is now the configure.ac file and not
1411 the configure.in file that needs to be kept in sync with gcc.
1412 Add a note about sending patches for libiberty to gcc.
1413
f13974bd
NC
14142018-01-03 Nick Clifton <nickc@redhat.com>
1415
1416 * objcopy.c (merge_gnu_build_notes): Add cast to maximum address
1417 constants.
1418
6f156d7a
NC
14192018-01-03 Nick Clifton <nickc@redhat.com>
1420
1421 * objcopy.c (objcopy_internal_note): New structure.
1422 (gap_exists): New function.
1423 (is_open_note): New function.
1424 (is_func_note): New function.
1425 (is_64bit): New function.
1426 (merge_gnu_build_notes): Handle v3 notes. Do not merge
1427 if there are relocations against the notes.
1428 * readelf.c (get_note_type): Use short names for build attribute
1429 notes.
1430 (print_symbol_for_build_attribute): Rename to
1431 get_symbol_for_build_attribute. Returns the found symbol rather
1432 than printing it.
1433 (print_gnu_build_attribute_description): Maintain address ranges
1434 for function notes as well as global notes. Handle v3 notes.
1435 (print_gnu_build_attribute_name): Use more space for printing the
1436 name in wide mode.
1437 * testsuite/binutils-all/note-2-32.s: Use .dc.l instead of .word.
1438 Eliminate symbol references in order to remove the need for
1439 relocations.
1440 * testsuite/binutils-all/note-2-64.s: Likewise.
1441 * testsuite/binutils-all/note-3-32.s: Add a size to the note_1
1442 symbol.
1443 * testsuite/binutils-all/note-3-64.s: Likewise.
1444 * testsuite/binutils-all/mips/mips-note-2r-n32.d: Update expected
1445 output.
1446 * testsuite/binutils-all/mips/mips-note-2r-n64.d: Likewise.
1447 * testsuite/binutils-all/mips/mips-note-2r.d: Likewise.
1448 * testsuite/binutils-all/note-2-32.d: Likewise.
1449 * testsuite/binutils-all/note-2-64.d: Likewise.
1450 * testsuite/binutils-all/note-3-32.d: Likewise.
1451 * testsuite/binutils-all/note-3-64.d: Likewise.
1452 * testsuite/binutils-all/note-4-64.s: New test. Checks v3 notes.
1453 * testsuite/binutils-all/note-4-32.s: New test.
1454 * testsuite/binutils-all/note-4-64.d: New test result file.
1455 * testsuite/binutils-all/note-4-32.d: New test result file.
1456
219d1afa
AM
14572018-01-03 Alan Modra <amodra@gmail.com>
1458
1459 Update year range in copyright notice of all files.
1460
1e563868 1461For older changes see ChangeLog-2017
3499769a 1462\f
1e563868 1463Copyright (C) 2018 Free Software Foundation, Inc.
3499769a
AM
1464
1465Copying and distribution of this file, with or without modification,
1466are permitted in any medium without royalty provided the copyright
1467notice and this notice are preserved.
1468
1469Local Variables:
1470mode: change-log
1471left-margin: 8
1472fill-column: 74
1473version-control: never
1474End: