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