GDB: S12Z: Add assertion
[deliverable/binutils-gdb.git] / binutils / ChangeLog
CommitLineData
97b3f392
FT
12018-11-13 Francois H. Theron <francois.theron@netronome.com>
2
3 * testsuite/binutils-all/nfp/test1.d: Test for swapped operand crc[].
4
5
5d762de0
HAQ
62018-11-09 Hafiz Abid Qadeer <abidh@codesourcery.com>
7
8 * configure: Regenerate.
9
71f5e3f7
NC
102018-11-09 Mathias <m4tze@exitno.de>
11
12 * strings.c (print_strings): Check for multibyte encodings.
13 * binutils-all/strings-1.bin: New file. Test binary for string decoding.
14 * testsuite/binutils-all/strings.exp: New file. Test the strings program.
15 * testsuite/config/default.exp (STRINGS): Define if not provided
16 by the environment.
17 (STRINGSFLAGS): Likewise.
18
d3def5d7
MY
192018-11-07 Masatake Yamato <yamato@redhat.com>
20
21 * objdump.c (long_options): Have the --disassemble option take an
22 optional argument.
23 (usage): Add description for the `symbol' argument to the
24 --disassemble option.
25 (disasm_sym): New file private variable.
26 (struct objdump_disasm_info): New field `symbol'.
27 (disassemble_section): Introduce `do_print' local variable
28 to control whether objdump displays the result of disassembling
29 for a symbol or not.
30 (main): Set `symbol' file private variable if the option argument
31 for the --disassemble option is given.
32 * doc/binutils.texi (objdump): Add description for the option
33 argument.
34 * NEWS: Mention the new feature.
35 * testsuite/binutils-all/objdump.exp: Add tests of the -d and
36 --disassemble=<symbol> options.
37 * testsuite/binutils-all/bintest.s: Add more symbols and code.
38 * testsuite/binutils-all/readelf.s: Update expected output.
39 * testsuite/binutils-all/readelf.ss-64: Likewise.
40 * testsuite/binutils-all/readelf.ss-mips: Likewise.
41 * testsuite/binutils-all/readelf.ss-tmips: Likewise.
42
0661ae2e
NC
432018-11-07 Nick Clifton <nickc@redhat.com>
44
45 * po/pt.po: Updated Portuguese translation.
46
fc7b364a
RB
472018-11-06 Roman Bolshakov <r.bolshakov@yadro.com>
48 Saagar Jha <saagar@saagarjha.com>
49
50 PR 23728
51 * od-macho.c (printf_version): New.
52 (dump_load_command): Use it to print version. Print sdk version. Print
53 version info for watchOS and tvOS. Print LC_NOTE, LC_BUILD_VERSION.
54 (dump_buld_version): New.
55 (bfd_mach_o_platform_name): New
56 (bfd_mach_o_tool_name): New
57
8d3c78e4 582018-11-07 Yoshinori Sato <ysato@users.sourceforge.jp>
fc7b364a 59
8d3c78e4
YS
60 * testsuite/lib/binutils-common.exp: Special section name
61 use only rx-*-elf.
62
8a6b075b
L
632018-11-06 H.J. Lu <hongjiu.lu@intel.com>
64
65 * doc/binutils.texi: Document --enable-x86-feature and
66 --disable-x86-feature options for elfedit.
67 * elfedit.c: Include "config.h" and <sys/mman.h>.
68 (enable_x86_features): New.
69 (disable_x86_features): Likewise.
70 (update_gnu_property): Likewise.
71 (elf_x86_feature): Likewise.
72 (process_file): Call update_gnu_property on ET_EXEC or ET_DYN
73 file.
74 (command_line_switch): Add OPTION_ENABLE_X86_FEATURE and
75 OPTION_DISABLE_X86_FEATURE.
76 (options): Add--enable-x86-feature and --disable-x86-feature.
77 (usage): Likewise.
78 (main): Handle OPTION_ENABLE_X86_FEATURE and
79 OPTION_DISABLE_X86_FEATURE.
80
675accbd
L
812018-11-03 H.J. Lu <hongjiu.lu@intel.com>
82
83 * elfedit.c (update_elf_header): Move EI_MAG? check to ...
84 (get_file_header): Here.
85
34156b23
L
862018-11-02 H.J. Lu <hongjiu.lu@intel.com>
87
88 * configure.ac (AC_FUNC_MMAP): New.
89 * config.in: Regenerated.
90 * configure: Likewise.
91
285e3f99
AM
922018-11-02 Alan Modra <amodra@gmail.com>
93
94 * readelf.c (process_section_headers): Don't warn on a zero
95 sh_info or sh_link for any reloc section in an executable or
96 shared library. Do warn for .rel.dyn/.rela.dyn in ET_REL.
97
33ea299c
TP
982018-11-01 Thomas Preud'homme <thomas.preudhomme@linaro.org>
99
100 * testsuite/config/default.exp: Define LD, LDFLAGS and
101 ld_elf_shared_opt.
102 * testsuite/lib/binutils-common.exp (check_shared_lib_support): Moved
103 from ld-lib.exp.
104 (run_dump_test): Set ld to $LD.
105
f63085d1
NC
1062018-10-18 Nick Clifton <nickc@redhat.com>
107
108 * doc/binutils.texi (readelf): Document alternatives to the
109 --unwind option if it is not supported for the target
110 architecture.
111
feceaa59
AM
1122018-10-16 Alan Modra <amodra@gmail.com>
113
114 PR 23780
115 * readelf.c (display_raw_attribute): Correct assertion.
116
bf2dd8d7
AM
1172018-10-15 Alan Modra <amodra@gmail.com>
118
119 PR 23534
120 * addr2line.c (main): Exit with fatal error if bfd_init
121 returns an unexpected value.
122 * ar.c (main): Likewise.
123 * dlltool.c (identify_dll_for_implib): Likewise.
124 * nm.c (main): Likewise.
125 * objcopy.c (main): Likewise.
126 * objdump.c (main): Likewise.
127 * size.c (main): Likewise.
128 * strings.c (main): Likewise.
129 * windmc.c (main): Likewise.
130 * windres.c (main): Likewise.
131
de564eb5
NC
1322018-10-11 Jordan Rupprecht <rupprecht@google.com>
133 Nick Clifton <nickc@redhat.com>
134
135 * objcopy.c (copy_main): Issue a fata error if the
136 --keep-global-symbol(s) and the --globalize-symbol(s) options are
137 used together.
138 * doc/binutils.texi: Document that the two options are
139 incompatible.
140 * testsuite/binutils-all/copy-5.d: New test.
141 * testsuite/binutils-all/objcopy.exp: Run the new test.
142
43f6cd05
AM
1432018-10-10 Helge Deller <deller@gmx.de>
144 Alan Modra <amodra@gmail.com>
145
146 * readelf.c (hppa_process_unwind): Don't use eh_addr_size to
147 calculate number of entries.
148 (slurp_hppa_unwind_table): Don't use eh_addr_size here either.
149
8ab159a9
AM
1502018-10-10 Alan Modra <amodra@gmail.com>
151
152 * objdump.c (dump_dwarf): Set s12z eh_addr_size to 4.
153
25cbdcbb
AS
1542018-10-08 Andreas Schwab <schwab@suse.de>
155
156 * readelf.c (is_32bit_pcrel_reloc): Handle R_RISCV_32_PCREL.
157
8e90d6d2
NC
1582018-10-03 Nick Clifton <nickc@redhat.com>
159
160 * po/pt.po: Updated Portuguese translation.
527b9e87 161 * po/fr.po: Updated French translation.
8e90d6d2 162
dfc616fa
AM
1632018-09-22 Alan Modra <amodra@gmail.com>
164
165 * readelf.c (apply_relocations): Don't return FALSE for warnings.
166
fbaf61ad
NC
1672018-09-20 Nelson Chu <nelson.chu1990@gmail.com>
168
169 * testsuite/binutils-all/objcopy.exp: Set the unsupported reloc number
170 from 215 to 255 for NDS32.
171
d839b914
L
1722018-09-17 H.J. Lu <hongjiu.lu@intel.com>
173
174 * objcopy.c (strip_specific_buffer): New.
175 (strip_unneeded_buffer): Likewise.
176 (keep_specific_buffer): Likewise.
177 (localize_specific_buffer): Likewise.
178 (globalize_specific_buffer): Likewise.
179 (keepglobal_specific_buffer): Likewise.
180 (weaken_specific_buffer): Likewise.
181 (add_specific_symbols): Add an argument to return pointer to
182 allocated buffer.
183 (copy_main): Update add_specific_symbols to update pointers to
184 allocated buffer. Free pointers to allocated buffer before
185 return.
186
c12d9fa2
AM
1872018-09-17 Alan Modra <amodra@gmail.com>
188
189 * objcopy.c (handle_remove_section_option): Don't require a dot
190 after .rela and .rel to handle a possible relocation section.
191 * testsuite/binutils-all/remove-relocs-07.s,
192 * testsuite/binutils-all/remove-relocs-07.d,
193 * testsuite/binutils-all/remove-relocs-08.d: New tests.
194 * testsuite/binutils-all/remove-relocs-01.d,
195 * testsuite/binutils-all/remove-relocs-04.d,
196 * testsuite/binutils-all/remove-relocs-05.d,
197 * testsuite/binutils-all/remove-relocs-06.d: Exclude mips64-openbsd.
198
0b1352e0
AM
1992018-09-17 Alan Modra <amodra@gmail.com>
200
201 * testsuite/lib/binutils-common.exp (is_som_format): New proc.
202 (run_dump_test): Correct target test for alternate .comm syntax.
203 (get_standard_section_names): Handle som format.
204 * testsuite/lib/utils-lib.exp (default_binutils_assemble_flags):
205 Correct target test for alternate .comm syntax.
206
8c9604b6
AM
2072018-09-17 Alan Modra <amodra@gmail.com>
208
209 * testsuite/binutils-all/strip-13mips64.s: Add section flags
210 for reloc section.
211 * testsuite/binutils-all/strip-13rel.s: Likewise.
212 * testsuite/binutils-all/strip-13rela.s: Likewise.
213 * testsuite/binutils-all/strip-14mips64.s: Likewise.
214 * testsuite/binutils-all/strip-14rel.s: Likewise.
215 * testsuite/binutils-all/strip-14rela.s: Likewise.
216 * testsuite/binutils-all/strip-15mips64.s: Likewise.
217 * testsuite/binutils-all/strip-15rel.s: Likewise.
218 * testsuite/binutils-all/strip-15rela.s: Likewise.
219
a0a8a934
NC
2202018-09-17 Nick Clifton <nickc@redhat.com>
221
222 * testsuite/binutils-all/compress.exp: Rename second "objcopy
223 zlib-gnu compress debug sections 3" test to "objcopy zlib-gabi
224 compress debug sections 3" and use gabi object files instead
225 of gnu object files.
226 * testsuite/binutils-all/objcopy.exp: Add suffix to the names
227 of the "ELF group" tests.
228 * testsuite/binutils-all/readelf.exp (proc readelf_find_size):
229 Add an iteration parameter and include it in the name of the
230 test. Update callers to include an iteration count.
231
8ffb70eb
AM
2322018-09-15 Alan Modra <amodra@gmail.com>
233
234 * testsuite/binutils-all/add-symbol.d: Add "section_subst: no".
235 * testsuite/binutils-all/elfedit.exp: Don't set tempfile or copyfile.
236 * testsuite/binutils-all/symbols-1.d,
237 * testsuite/binutils-all/symbols-2.d,
238 * testsuite/binutils-all/symbols-3.d,
239 * testsuite/binutils-all/symbols-4.d: Quote '*' and '!'.
240 * testsuite/binutils-all/add-empty-section.d,
241 * testsuite/binutils-all/add-section.d,
242 * testsuite/binutils-all/elfedit.exp,
243 * testsuite/binutils-all/note-1.d,
244 * testsuite/binutils-all/pr23633.d: Add $subdir after $srcdir.
245 * testsuite/config/default.exp (AS, ASFLAGS): Define.
246 * testsuite/config/hppa.sed: Handle all common symbols.
247 * testsuite/lib/binutils-common.exp (run_dump_test): New proc,
248 merged from three other versions.
249 (slurp_options, file_contents, set_file_contents): Likewise.
250 (big_or_little_endian, get_standard_section_names): Likewise.
251 * testsuite/lib/utils-lib.exp (run_dump_test): Delete.
252 (slurp_options, proc file_contents): Delete.
253 (get_standard_section_names): Delete.
254
e8d88459
AM
2552018-09-15 Alan Modra <amodra@gmail.com>
256
257 * testsuite/binutils-all/copy-2.d,
258 * testsuite/binutils-all/copy-3.d,
259 * testsuite/binutils-all/copy-4.d,
260 * testsuite/binutils-all/elfedit-1.d,
261 * testsuite/binutils-all/note-1.d,
262 * testsuite/binutils-all/note-2-64.d,
263 * testsuite/binutils-all/strip-11.d,
264 * testsuite/binutils-all/strip-13.d,
265 * testsuite/binutils-all/strip-14.d,
266 * testsuite/binutils-all/testranges.d,
267 * testsuite/binutils-all/x86-64/pr23494a-x32.d,
268 * testsuite/binutils-all/x86-64/pr23494a.d,
269 * testsuite/binutils-all/x86-64/pr23494b-x32.d,
270 * testsuite/binutils-all/x86-64/pr23494b.d,
271 * testsuite/binutils-all/x86-64/pr23494c-x32.d,
272 * testsuite/binutils-all/x86-64/pr23494c.d,
273 * testsuite/binutils-all/x86-64/pr23494d-x32.d,
274 * testsuite/binutils-all/x86-64/pr23494d.d,
275 * testsuite/binutils-all/x86-64/pr23494e-x32.d,
276 * testsuite/binutils-all/x86-64/pr23494e.d,
277 * testsuite/lib/utils-lib.exp (run_dump_test): Replace not-target
278 and not-skip with notarget and noskip.
279
04ade4bc
AM
2802018-09-15 Alan Modra <amodra@gmail.com>
281
282 * testsuite/binutils-all/group-7a.d,
283 * testsuite/binutils-all/group-7b.d,
284 * testsuite/binutils-all/group-7c.d,
285 * testsuite/binutils-all/symbols-1.d,
286 * testsuite/binutils-all/symbols-2.d,
287 * testsuite/binutils-all/symbols-3.d,
288 * testsuite/binutils-all/symbols-4.d: Remove DUMPPROG.
289
1fcd7e87
AM
2902018-09-14 Alan Modra <amodra@gmail.com>
291
292 PR binutils/23633
293 * testsuite/binutils-all/pr23633.d: Don't fail when assembler
294 generates sections other than .text.
295
319dbdfb
L
2962018-09-13 H.J. Lu <hongjiu.lu@intel.com>
297
298 PR binutils/23633
299 * testsuite/binutils-all/objcopy.exp: Run pr23633.
300 * testsuite/binutils-all/pr23633.d: New file.
301 * testsuite/binutils-all/pr23633.list: Likewise.
302 * testsuite/binutils-all/pr23633.s: Likewise.
303
508d0c9b
NC
3042018-09-13 Nick Clifton <nickc@redhat.com>
305
306 PR 23633
307 * objcopy.c (add_specific_symbols): Do not free the buffer at the
308 end of the function.
309
f9853190
AM
3102018-09-10 Alan Modra <amodra@gmail.com>
311
312 PR binutils/23611
313 * objcopy.c (handle_remove_section_option): Consider .rela and
314 .rel sections for stripping directly as well as attached to the
315 associated section they relocate.
316 * doc/binutils.texi (remove-relocations): Specify that this
317 option removes non-dynamic relocation sections.
318 * testsuite/binutils-all/objcopy.exp
319 (objcopy_remove_relocations_from_executable): New test.
320
20a4d0bd
NC
3212018-09-03 Nick Clifton <nickc@redhat.com>
322
323 * po/ja.po: Updated Japanese translation.
324
0f60cce3
L
3252018-08-31 H.J. Lu <hongjiu.lu@intel.com>
326
327 * testsuite/binutils-all/readelf.s-64: Adjusted for
328 .note.gnu.property section.
329 * testsuite/binutils-all/strip-3.d: Also strip
330 .note.gnu.property section.
331
6c0d3bde
L
3322018-08-31 H.J. Lu <hongjiu.lu@intel.com>
333
334 * testsuite/binutils-all/i386/compressed-1b.d: Pass
335 -mx86-used-note=no to assembler.
336 * testsuite/binutils-all/i386/compressed-1c.d: Likewise.
337 * testsuite/binutils-all/x86-64/compressed-1b.d: Likewise.
338 * testsuite/binutils-all/x86-64/compressed-1c.d: Likewise.
339 * testsuite/binutils-all/i386/empty.d: Pass -mx86-used-note=yes
340 to assembler and update expected output from "readelf -n".
341 * testsuite/binutils-all/i386/ibt.d: Likewise.
342 * testsuite/binutils-all/i386/pr21231a.d: Likewise.
343 * testsuite/binutils-all/i386/pr21231b.d: Likewise.
344 * testsuite/binutils-all/i386/shstk.d: Likewise.
345 * testsuite/binutils-all/x86-64/empty-x32.d: Likewise.
346 * testsuite/binutils-all/x86-64/empty.d: Likewise.
347 * testsuite/binutils-all/x86-64/ibt-x32.d: Likewise.
348 * testsuite/binutils-all/x86-64/ibt.d: Likewise.
349 * testsuite/binutils-all/x86-64/pr21231a.d: Likewise.
350 * testsuite/binutils-all/x86-64/pr21231b.d: Likewise.
351 * testsuite/binutils-all/x86-64/pr23494a-x32.d: Likewise.
352 * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
353 * testsuite/binutils-all/x86-64/pr23494b-x32.d: Likewise.
354 * testsuite/binutils-all/x86-64/pr23494b.d: Likewise.
355 * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
356 * testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
357 * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
358 * testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
359 * testsuite/binutils-all/x86-64/pr23494e-x32.d: Likewise.
360 * testsuite/binutils-all/x86-64/pr23494e.d: Likewise.
361 * testsuite/binutils-all/x86-64/shstk-x32.d: Likewise.
362 * testsuite/binutils-all/x86-64/shstk.d: Likewise.
363
385e5b90
L
3642018-08-30 H.J. Lu <hongjiu.lu@intel.com>
365
366 * readelf.c (process_section_headers): Treat SHT_FINI_ARRAY and
367 SHT_PREINIT_ARRAY as relocatable sections.
368
4c971803
CX
3692018-08-30 Chenghua Xu <paul.hua.gm@gmail.com>
370
371 * MAINTAINERS: Add myself as a MIPS port maintainer.
372
9108bc33
CX
3732018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
374
375 * NEWS: Mention Loongson 2K1000 proccessor support.
376 * readelf.c (get_machine_flags): Handle gs264e.
377
bd782c07
CX
3782018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
379
380 * NEWS: Mention Loongson 3A2000/3A3000 proccessor support.
381 * readelf.c (get_machine_flags): Handle gs464e.
382
ac8cb70f
CX
3832018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
384
385 * NEWS: Mention Loongson 3A1000 proccessor support.
386 * readelf.c (get_machine_flags): Rename loongson-3a to gs464.
387 (print_mips_isa_ext): Delete AFL_EXT_LOONGSON_3A.
388
a693765e
CX
3892018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
390
391 * readelf.c (print_mips_ases): Add Loongson EXT2 extension.
392
bdc6c06e
CX
3932018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
394
395 * readelf.c (print_mips_ases): Add Loongson EXT extension.
396
716c08de
CX
3972018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
398
399 * readelf.c (print_mips_ases): Add CAM extension.
400
90c745dc
L
4012018-08-27 H.J. Lu <hongjiu.lu@intel.com>
402
403 * readelf.c (decode_x86_isa): Print <None> if bitmask only
404 contains the GNU_PROPERTY_X86_UINT32_VALID bit.
405 (decode_x86_feature_1): Likewise.
406 (decode_x86_feature_2): Likewise.
407 (print_gnu_property_note): Don't mask out the
408 GNU_PROPERTY_X86_UINT32_VALID bit.
409 * testsuite/binutils-all/i386/pr21231b.d: Updated.
410 * testsuite/binutils-all/x86-64/pr21231b.d: Likewise.
411
65b3d26e
L
4122018-08-27 H.J. Lu <hongjiu.lu@intel.com>
413
414 * readelf.c (decode_x86_compat_isa): Break multi-statement line.
415 (decode_x86_isa): Likewise.
416 (decode_x86_feature_2): Likewise.
417
7a815dd5
L
4182018-08-25 H.J. Lu <hongjiu.lu@intel.com>
419
420 PR ld/23499
421 * readelf.c (get_symbol_version_string): Return _("<corrupt>")
422 for corrupt symbol version info.
423
a9eafb08
L
4242018-08-24 H.J. Lu <hongjiu.lu@intel.com>
425
426 * readelf.c (decode_x86_compat_isa): New function.
427 (decode_x86_feature_2): Likewise.
428 (decode_x86_isa): Updated for new X86_ISA_1_XXX bits.
429 (decode_x86_feature): Renamed to ...
430 (decode_x86_feature_1): This. Remove the type argument.
431 (print_gnu_property_note): Handle X86_COMPAT_ISA_1_USED,
432 X86_COMPAT_ISA_1_NEEDED, X86_UINT32_AND_LO, X86_UINT32_AND_HI,
433 X86_UINT32_OR_LO, X86_UINT32_OR_HI, X86_UINT32_OR_AND_LO and
434 X86_UINT32_OR_AND_HI instead of X86_ISA_1_USED, X86_ISA_1_NEEDED
435 and X86_FEATURE_1_AND.
436 * testsuite/binutils-all/i386/pr21231b.s: Updated to the current
437 GNU_PROPERTY_X86_ISA_1_USED and GNU_PROPERTY_X86_ISA_1_NEEDED
438 values.
439 * testsuite/binutils-all/x86-64/pr21231b.s: Likewise.
440 * testsuite/binutils-all/x86-64/pr23494a.s: Likewise.
441 * testsuite/binutils-all/x86-64/pr23494b.s: Likewise.
442 * testsuite/binutils-all/x86-64/pr23494c.s: Likewise.
443 * testsuite/binutils-all/i386/pr21231b.d: Updated.
444 * testsuite/binutils-all/x86-64/pr21231b.d: Likewise.
445 * testsuite/binutils-all/x86-64/pr23494a-x32.d: Likewise.
446 * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
447 * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
448 * testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
449 * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
450 * testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
451 * testsuite/binutils-all/x86-64/pr23494e-x32.d: Likewise.
452 * testsuite/binutils-all/x86-64/pr23494e.d: Likewise.
453
aa7bca9b
L
4542018-08-24 H.J. Lu <hongjiu.lu@intel.com>
455
456 * readelf.c (print_gnu_property_note): Check the
457 GNU_PROPERTY_X86_UINT32_VALID bit for invalid GNU property note.
458
14732552
AM
4592018-08-23 Alan Modra <amodra@gmail.com>
460
461 * readelf.c (get_ppc64_symbol_other): Return NULL if st_other
462 field contains unrecognised or reserved values. Handle
463 localentry:1 value.
464
7dd36a6f
L
4652018-08-23 H.J. Lu <hongjiu.lu@intel.com>
466
467 PR ld/23536
468 * Makefile.am (development.exp): New target.
469 (EXTRA_DEJAGNU_SITE_CONFIG): New.
470 (DISTCLEANFILES): Add development.exp.
471 * Makefile.in: Regenerated.
472 * testsuite/binutils-all/objcopy.exp (strip_test): Call
473 prune_warnings to prune BFD output.
474 (strip_test_with_saving_a_symbol): Likewise.
475 (objcopy_test_without_global_symbol): Likewise.
476 * testsuite/lib/binutils-common.exp (prune_warnings_extra):
477 New proc.
478 (prune_warnings): Likewise.
479
44c2eb66
L
4802018-08-23 H.J. Lu <hongjiu.lu@intel.com>
481
482 * README-how-to-make-a-release: Document setting "experimental"
483 to false.
484
e8a64888
AM
4852018-08-22 Alan Modra <amodra@gmail.com>
486
487 * readelf.c (process_file_header): Assign updated values from
488 section_header[0] fields to e_phnum, e_shnum and e_shstrndx
489 during printing of header. Correct e_shstrndx range check.
490 Remove unnecessary casts and use %u rather than %ld for
491 unsigned int header fields. Don't print a random %lx when
492 reporting an unknown EI_VERSION.
493
06d743b7
NC
4942018-08-21 Nick Clifton <nickc@redhat.com>
495
496 * MAINTAINERS: Note that Arnold Metselaar has retired as the z80
497 maintainer.
498
66b09c7e
S
4992018-08-21 L. Simon <l.simon@samsung.com>
500
501 PR 23531
502 * readelf.c (hppa_process_unwind): Only dump the unwind table if
503 the data was successfully read in.
504
506b86a4
AM
5052018-08-18 Alan Modra <amodra@gmail.com>
506
507 * testsuite/lib/binutils-common.exp (is_elf64): Use directory of
508 input file for readelf.out.
509 (is_rela): New proc.
510 * testsuite/binutils-all/objcopy.exp (elf64): Set new variable
511 from first result of is_elf64 test.
512 (reloc_format): Set using is_rela.
513 (strip-13): Pass RELOC and ELF64 to assembler.
514 (strip-14, strip-15): Use elf64 rather than calling is_elf64 again.
515 * testsuite/binutils-all/strip-13.d: Run for more targets.
516 * testsuite/binutils-all/strip-13mips64.s: Use RELOC and set
517 addend to zero.
518 * testsuite/binutils-all/strip-13rel.s: Use RELOC and ELF64.
519 Don't add _NONE reloc.
520 * testsuite/binutils-all/strip-13rela.s: Likewise.
521
9c973a29
L
5222018-08-10 H.J. Lu <hongjiu.lu@intel.com>
523
524 PR binutils/23494
525 * testsuite/binutils-all/x86-64/pr23494c.s: New file.
526 * testsuite/binutils-all/x86-64/pr23494e-x32.d: Likewise.
527 * testsuite/binutils-all/x86-64/pr23494e.d: Likewise.
528
11459a79
L
5292018-08-10 H.J. Lu <hongjiu.lu@intel.com>
530
531 * testsuite/binutils-all/x86-64/pr23494a-x32.d: Skip nacl
532 targets.
533 * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
534 * testsuite/binutils-all/x86-64/pr23494b-x32.d: Likewise.
535 * testsuite/binutils-all/x86-64/pr23494b.d: Likewise.
536 * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
537 * testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
538 * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
539 * testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
540
6404ab99
L
5412018-08-08 H.J. Lu <hongjiu.lu@intel.com>
542
543 PR binutils/23494
544 * testsuite/binutils-all/x86-64/pr23494a-x32.d: New file.
545 * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
546 * testsuite/binutils-all/x86-64/pr23494a.s: Likewise.
547 * testsuite/binutils-all/x86-64/pr23494b-x32.d: Likewise.
548 * testsuite/binutils-all/x86-64/pr23494b.d: Likewise.
549 * testsuite/binutils-all/x86-64/pr23494b.s: Likewise.
550 * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
551 * testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
552 * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
553 * testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
554
f384a1f0
KB
5552018-08-08 Kevin Buettner <kevinb@redhat.com>
556
f9853190
AM
557 * dwarf.c (decode_location_expresion): Add case for
558 DW_OP_GNU_variable_value.
f384a1f0 559
db1e1b45 5602018-08-06 Claudiu Zissulescu <claziss@synopsys.com>
561
562 * readelf.c (display_arc_attribute): Print Tag_ARC_ATR_version.
563
4aae6e5a
NC
5642018-08-03 Nick Clifton <nickc@redhat.com>
565
566 * objcopy.c (merge_gnu_build_notes): Delete empty notes. Merge
567 identical function notes.
568
e2561448
NC
5692018-08-01 Nick Clifton <nickc@redhat.com>
570
571 * README-how-to-make-a-release: Add note about regenerating the
572 info files prior to the release.
573
2409af1e
AJ
5742018-07-30 Andrew Jenner <andrew@codesourcery.com>
575
576 * MAINTAINERS (C-SKY): Add Yunhai Shang as co-maintainer.
577
d0ba5758
AJ
5782018-07-30 Andrew Jenner <andrew@codesourcery.com>
579
580 * MAINTAINERS (C-SKY): Add Lifang Xia as maintainer.
581
b8891f8d
AJ
5822018-07-30 Andrew Jenner <andrew@codesourcery.com>
583
584 * readelf.c: Include elf/csky.h.
585 (guess_is_rela): Handle EM_CSKY.
586 (dump_relocations): Likewise.
587 (get_machine_name): Likewise.
588 (is_32bit_abs_reloc): Likewise.
589
e3d39609
NC
5902018-07-25 Nick Clifton <nickc@redhat.com>
591
592 * rdcoff.c (parse_coff_struct_type): Free fields array upon early
593 exit.
594 (parse_coff_enum_type): Free names and vals arrays upon early
595 exit.
596 * rddbg.c (read_section_stabs_debugging_info): Free shandle and
597 strings and stabs arrays upon early exit.
598 * readelf.c (get_32bit_section_headers): Free shdrs structure upon
599 early exit.
600 (get_64bit_section_headers): Likewise.
601 (get_32bit_elf_symbols): Generate an error if multiple symbol
602 table index sections are associated with the same symbol section.
603 (get_64bit_elf_symbols): Likewise.
604 (process_dynamic_section): Generate an error if there are multiple
605 dynamic symbol table sections, multiple dynamic string tables or
606 multiple dynamic symbol information sections.
607
1d97232a
NC
6082018-07-24 Nick Clifton <nickc@redhat.com>
609
610 * po/sv.po: Updated Swedish translation.
611
7b8d9e8c
AM
6122018-07-24 Alan Modra <amodra@gmail.com>
613
614 PR 23431
615 * dwarf.c (display_formatted_table): Replace "what" parameter
616 with "is_dir". Expand messages. Fix capitalisation.
617 * testsuite/binutils-all/dw5.W: Update expected output.
618
67ce483b
AM
6192018-07-24 Alan Modra <amodra@gmail.com>
620
621 PR 23430
622 * elfcomm.h (struct archive_info): Rename uses_64bit_indicies
623 to uses_64bit_indices.
624 * elfcomm.c (setup_archive): Update uses of above.
625 * readelf.c (process_archive): Likewise.
626 (get_section_type_name): Rename indicies to indices.
627 (get_32bit_elf_symbols, get_64bit_elf_symbols): Likewise.
628 (process_section_groups): Likewise.
629
e2e31f10
MR
6302018-07-20 Maciej W. Rozycki <macro@mips.com>
631
632 * MAINTAINERS: Update my e-mail address, downgrade to MIPS I-IV
633 ISA maintenance.
634
3391569f
NC
6352018-07-20 Nick Clifton <nickc@redhat.com>
636
637 * objcopy.c (add_specific_symbols): Free buffer on exit.
638 (add_redefine_syms_file): Close file handle on exit.
639 (copy_object): Close file handle on early exit.
640 Free buffer on early exit.
641 Free gaps buffers once they are no longer needed.
642 * dwarf.c (display_debug_frames): Free allocated memory on exit.
643 (load_separate_debug_info): Free allocate memory on early exit.
644
8095d2f7
CX
6452018-07-20 Chenghua Xu <paul.hua.gm@gmail.com>
646 Maciej W. Rozycki <macro@mips.com>
647
648 * readelf.c (print_mips_ases): Add MMI extension.
649
79f5b65e
DD
6502018-07-19 DJ Delorie <dj@redhat.com>
651
652 * MAINTAINERS (RL78, RX): Remove myself as maintainer.
653
442a6ce8
NC
6542018-07-19 Nick Clifton <nickc@redhat.com>
655
656 * dwarf.c (read_cie): Free allocated memory before returning with
657 a failure result.
658
3fd21718
PFC
6592018-07-16 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
660
661 * readelf.c (get_note_type): Fix typo in NT_PPC_TM_CVSX note
662 description.
663
ad96220c
NC
6642018-07-16 Nick Clifton <nickc@redhat.com>
665
666 * README-how-to-make-a-release: Add note to check for new top
667 level files and add them to the src-release.sh script.
668
6cb624f8
NC
6692018-07-14 Nick Clifton <nickc@redhat.com>
670
671 * README-how-to-make-a-release: Updated with corrections based on
672 the 2.31 release experience.
673
55cc53e9
FT
6742018-07-12 Francois H. Theron <francois.theron@netronome.com>
675
676 * readelf.c (process_section_headers): Don't print section type
677 twice for --section-details.
678
be570f06
AM
6792018-07-10 Alan Modra <amodra@gmail.com>
680
681 * testsuite/lib/binutils-common.exp (supports_gnu_unique): Return
682 zero for xgate.
683
d20e98ab
NC
6842018-07-06 Nick Clifton <nickc@redhat.com>
685
686 * readelf.c (same_section): New function.
687 (print_gnu_build_attribute_description): Do not complain about
688 gaps that cross a section boundary.
689
d8dab054
NC
6902018-07-05 Nick Clifton <nickc@redhat.com>
691
692 * po/bg.po: Updated Bulgarian translation.
693
a05a5b64
TP
6942018-07-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
695
696 * NEWS: Use command-line consistently when used in a compount word.
697 * doc/binutils.texi: Likewise and fix trailing whitespace on same
698 line.
699
30aa1306
NC
7002018-06-26 Nick Clifton <nickc@redhat.com>
701
702 * po/sv.po: Updated Swedish translation.
703 * po/uk.po: Updated Ukranian translation.
704
eca4b721
NC
7052018-06-26 Nick Clifton <nickc@redhat.com>
706
707 * doc/binutils.texi: Fix spelling mistakes.
708 * README--how-to-make-a-release: Likewise.
709
1021d1cb
TT
7102018-06-25 Tom Tromey <tom@tromey.com>
711
712 * dwarf-mode.el (dwarf-mode-syntax-table): New variable.
713 Bump version number.
714
71300e2c
NC
7152018-06-24 Nick Clifton <nickc@redhat.com>
716
717 * README-how-to-make-a-release: Update with experiences from
718 making 2.31 branch.
719 * po/binutils.pot: Regenerate.
720 * configure: Regenerate.
721
719d8288
NC
7222018-06-24 Nick Clifton <nickc@redhat.com>
723
724 2.31 branch created.
725 * NEWS: Add marker for 2.31.
726
d388f643
AM
7272018-06-21 Alan Modra <amodra@gmail.com>
728
729 * doc/Makefile.am (AUTOMAKE_OPTIONS): Add "foreign".
730 * doc/Makefile.in: Regenerate.
731
d0ac1c44
SM
7322018-06-19 Simon Marchi <simon.marchi@ericsson.com>
733
734 * configure.ac: Remove AC_PREREQ.
735 * doc/Makefile.am (AUTOMAKE_OPTIONS): Remove cygnus, add
736 info-in-builddir no-texinfo.tex.
737 * Makefile.in: Re-generate.
738 * aclocal.m4: Re-generate.
739 * config.in: Re-generate.
740 * configure: Re-generate.
741 * doc/Makefile.in: Re-generate.
742
3a075e56
AS
7432018-06-19 Andreas Schwab <schwab@suse.de>
744
745 * readelf.c (is_16bit_abs_reloc): Handle R_RISCV_SET16.
746 (is_8bit_abs_reloc): New function.
747 (is_6bit_abs_reloc): New function.
748 (is_6bit_inplace_sub_reloc): New function.
749 (apply_relocations): Use them. Handle 6-bit relocations.
750
6f20c942
FS
7512018-06-14 Faraz Shahbazker <Faraz.Shahbazker@mips.com>
752
753 * readelf.c (print_mips_ases): Add GINV extension.
754
1f6f5dba
L
7552018-06-14 H.J. Lu <hongjiu.lu@intel.com>
756
757 PR binutils/23267
758 * readelf.c (get_symbol_version_string): Check if the first
759 symbol version is base version.
760
730c3174
SE
7612018-06-13 Scott Egerton <scott.egerton@imgtec.com>
762 Faraz Shahbazker <Faraz.Shahbazker@mips.com>
763
764 * readelf.c (print_mips_ases): Add CRC.
765
7a486e6d
NC
7662018-06-13 Nick Clifton <nickc@redhat.com>
767
768 * doc/binutils.texi (objdump): Add missing closing square
769 parenthesis to listing of objcopy's command line options.
770
5a485b38
NC
7712018-06-11 Nick Clifton <nickc@redhat.com>
772
773 * po/es.po: Updated Spanish translation.
774
55e99962
L
7752018-06-01 H.J. Lu <hongjiu.lu@intel.com>
776
777 * configure: Regenerated.
778
0034eed0
AM
7792018-05-31 Alan Modra <amodra@gmail.com>
780
781 * testsuite/binutils-all/compress.exp (test_gnu_debuglink): Don't
782 set CC_FOR_TARGET. Run test non-native.
783 * testsuite/binutils-all/objdump.exp (test_build_id_debuglink):
784 Likewise.
785 (test_follow_debuglink): Run test non-native.
786
1869e86f
AB
7872018-05-30 Ant Bikeneev <ant.bikineev@gmail.com>
788
789 PR 23107
790 * ar.c (display_offsets): New variable.
791 (usage): Add description of 'O' operator.
792 (decode_option): Handle 'O' operator.
793 (print_descr): Pass display_offsets to print_arelt_descr.
794 * arsup.c: Update call to printy_arelt_descr.
795 * objdump.c: Likewise.
796 * bucomm.c (print_arelt_descr): If offsets parameter is true then
797 display offset of archive element within the archive.
798 * bucomm.h: Update prototype for print_arelt_descr.
799 * doc/binutils.texi: Update description of ar command.
800 * NEWS: Mention the new feature.
801 * testsuite/binutils-all/ar.exp: Add text of new feature.
802
bb3b5316
AM
8032018-05-28 Alan Modra <amodra@gmail.com>
804
805 PR 23235
806 * testsuite/binutils-all/compress.exp (test_gnu_debuglink): Return
807 unsupported rather than fail on compile errors.
808 * testsuite/binutils-all/objdump.exp (test_build_id_debuglink):
809 Likewise. Save and restore CFLAGS_FOR_TARGET.
810
7f999549
JW
8112018-05-18 Kito Cheng <kito.cheng@gmail.com>
812
813 * readelf.c (get_machine_flags): Handle EF_RISCV_RVE.
814
7b4ae824
JD
8152018-05-18 John Darrington <john@darrington.wattle.id.au>
816
817 * readelf.c: Add support for s12z architecture.
818 * testsuite/lib/binutils-common.exp (is_elf_format): Excluse s12z
819 targets.
820
f9830ec1
TC
8212018-05-15 Tamar Christina <tamar.christina@arm.com>
822
823 PR binutils/21446
824 * doc/binutils.texi (-M): Document AArch64 options.
825
7d02540a
TC
8262018-05-15 Tamar Christina <tamar.christina@arm.com>
827
828 PR binutils/21446
829 * doc/binutils.texi (-M): Document AArch64 options.
830 * NEWS: Document notes and warnings.
831
679ca975
AM
8322018-05-15 Alan Modra <amodra@gmail.com>
833
834 * testsuite/lib/binutils-common.exp (is_elf_format): Add chorus,
835 cloudabi, fuchsia, kaos and nto. Merge netbsdelf* into *elf*,
836 and *uclinux* into *linux*.
837 * testsuite/binutils-all/objcopy.exp: Accept armeb for rel
838 strip-13 test, exclude arm-vxworks and arm-windiss.
839
637b1970
JD
8402018-05-10 John Darrington <john@darrington.wattle.id.au>
841
842 * readelf.c (get_machine_name): EM_S12Z - handle new case.
843
60cb2c8a
AM
8442018-05-09 Alan Modra <amodra@gmail.com>
845
846 * od-macho.c (dump_unwind_encoding_x86): Fix typo in last patch.
847
84f9f8c3
AM
8482018-05-09 Sebastian Rasmussen <sebras@gmail.com>
849
850 * od-macho.c (dump_unwind_encoding_x86): Adjust for macro renaming.
851
886d5428
AM
8522018-05-08 Alan Modra <amodra@gmail.com>
853
854 PR 23141
855 * objcopy.c (is_strip_section): Strip groups without a valid
856 signature symbol.
857
ce4ec1a9
AM
8582018-05-07 Alan Modra <amodra@gmail.com>
859
860 PR 23142
861 * objcopy.c (group_signature): Don't accept groups that use a
862 symbol table other than the one we've read.
863
fe944acf
FT
8642018-04-30 Francois H. Theron <francois.theron@netronome.com>
865
866 * readelf.c: Very basic support for EM_NFP and its section types.
867 * testsuite/binutils-all/nfp: New directory.
868 * testsuite/binutils-all/nfp/objdump.exp: New file. Run new
869 tests.
870 * testsuite/binutils-all/nfp/test2_ctx8.d: New file.
871 * testsuite/binutils-all/nfp/test2_no-pc_ctx4.d: New file.
872 * testsuite/binutils-all/nfp/test1.d: New file.
873 * testsuite/binutils-all/nfp/nfp6000.nffw: New file.
874 * testsuite/binutils-all/nfp/test2_nfp6000.nffw: New file.
875 * NEWS: Mention the new support.
876
6d9dabbb
MR
8772018-04-27 Maciej W. Rozycki <macro@mips.com>
878
879 * testsuite/lib/binutils-common.exp (match_target): New procedure.
880 * testsuite/lib/utils-lib.exp (run_dump_test): Use it in place
881 of `istarget' for matching with `target', `not-target', `skip'
882 and `not-skip' options.
883
0df8ad28
NC
8842018-04-26 Nick Clifton <nickc@redhat.com>
885
886 * readelf.c (is_32bit_abs_reloc): Support R_PARISC_DIR32 as a
887 32-bit absolute reloc for the HPPA target.
888 * testsuite/binutils-all/note-5.d: New test.
889 * testsuite/binutils-all/note-5.s: Source file for new test.
890 * testsuite/binutils-all/objcopy.exp: Run new test.
891
f1ac0afe
CL
8922018-04-25 Christophe Lyon <christophe.lyon@st.com>
893
894 * testsuite/binutils-all/elfedit-2.d: Accept arm*-*-uclinuxfdpiceabi.
895 * testsuite/binutils-all/elfedit-3.d: Likewise.
896 * testsuite/binutils-all/objcopy.exp: Likewise.
897 * testsuite/binutils-all/strip-3.d: Likewise.
898 * testsuite/lib/binutils-common.exp: Likewise.
899
18a20338
CL
9002018-04-25 Christophe Lyon <christophe.lyon@st.com>
901 Mickaël Guêné <mickael.guene@st.com>
902
903 * readelf.c (decode_ARM_machine_flags): Support EF_ARM_PIC.
904 (get_osabi_name): Support ELFOSABI_ARM_FDPIC.
905
2ac93be7
AM
9062018-04-25 Alan Modra <amodra@gmail.com>
907
908 * testsuite/binutils-all/arm/objdump.exp: Remove arm-aout and
909 arm-coff support.
910 * testsuite/binutils-all/objcopy.exp: Likewise.
911 * testsuite/lib/binutils-common.exp: Likewise.
912
a7504f87
NC
9132018-04-18 Nick Clifton <nickc@redhat.com>
914
915 PR 23062
916 * dwarf.c (read_and_display_attr_value): Replace assertions with
917 test and warning message.
918
c65c21e1
AM
9192018-04-18 Alan Modra <amodra@gmail.com>
920
921 * testsuite/lib/binutils-common.exp: Remove support for assorted
922 aout targets.
923
6aea08d9
NC
9242018-04-17 Nick Clifton <nickc@redhat.com>
925
c4a91159 926 PR 23063
56d8f8a9
NC
927 * readelf.c (print_symbol): If the width is zero, return straight
928 away.
929
6aea08d9
NC
930 PR 23064
931 * dwarf.c (process_cu_tu_index): Test for a potential buffer
932 overrun before copying signature pointer.
933
f954747f
AM
9342018-04-17 Alan Modra <amodra@gmail.com>
935
936 * readelf.c: Revert 2018-04-16 and 2018-04-11 changes.
937
d7867d17
AM
9382018-04-16 Alan Modra <amodra@gmail.com>
939
940 * readelf.c (get_machine_name): Correct typo.
941
ddb00039
AM
9422018-04-16 Alan Modra <amodra@gmail.com>
943
944 * configure.ac: Remove arm-epoc-pe support.
945 * dlltool.c: Likewise.
946 * configure: Regenerate.
947
c9098af4
AM
9482018-04-16 Alan Modra <amodra@gmail.com>
949
950 * testsuite/lib/binutils-common.exp: Remove sparc-aout and
951 sparc-coff support.
952
dc12032b
AM
9532018-04-16 Alan Modra <amodra@gmail.com>
954
955 * testsuite/binutils-all/copy-2.d: Remove m68k-aout and m68k-coff
956 support.
957 * testsuite/binutils-all/copy-3.d: Likewise.
958 * testsuite/binutils-all/objcopy.exp: Likewise.
959 * testsuite/lib/binutils-common.exp: Likewise.
960
211dc24b
AM
9612018-04-16 Alan Modra <amodra@gmail.com>
962
963 * testsuite/binutils-all/objcopy.exp: Remove sh5 and sh64 support.
964
a9a4b302
AM
9652018-04-16 Alan Modra <amodra@gmail.com>
966
967 * testsuite/binutils-all/objcopy.exp: Remove w65 support.
968
04cb01fd
AM
9692018-04-16 Alan Modra <amodra@gmail.com>
970
971 * testsuite/binutils-all/objdump.exp: Remove we32k support.
972
c2bf1eec
AM
9732018-04-16 Alan Modra <amodra@gmail.com>
974
975 * MAINTAINERS (Mark Kettenis): Move to past maintainers.
976 * testsuite/binutils-all/objdump.exp: Remove m88k support.
977
6793974d
AM
9782018-04-16 Alan Modra <amodra@gmail.com>
979
980 * readelf.c: Remove i370 support.
981 * testsuite/binutils-all/objdump.exp: Likewise.
982
e82aa794
AM
9832018-04-16 Alan Modra <amodra@gmail.com>
984
985 * testsuite/binutils-all/objcopy.exp: Remove h8500 support.
986 * testsuite/lib/binutils-common.exp: Likewise.
987
fe0bf0fd
AM
9882018-04-16 Alan Modra <amodra@gmail.com>
989
990 * testsuite/binutils-all/objcopy.exp: Remove h8300-coff support.
991
fdef3943
AM
9922018-04-16 Alan Modra <amodra@gmail.com>
993
994 * Makefile.am: Remove IEEE 695 support.
995 * budbg.h: Likewise.
996 * doc/binutils.texi: Likewise.
997 * makefile.vms: Likewise.
998 * objcopy.c: Likewise.
999 * objdump.c: Likewise.
1000 * rddbg.c: Likewise.
1001 * ieee.c: Delete.
1002 * Makefile.in: Regenerate.
1003 * po/POTFILES.in: Regenerate.
1004
5972ac73
AM
10052018-04-16 Alan Modra <amodra@gmail.com>
1006
1007 * testsuite/binutils-all/copy-2.d: Remove newsos3 support.
1008 * testsuite/binutils-all/nm.exp: Likewise.
1009
b4b594e3
AM
10102018-04-16 Alan Modra <amodra@gmail.com>
1011
1012 * .gitignore: Remove netware support.
1013 * Makefile.am: Likewise.
1014 * configure.ac: Likewise.
1015 * doc/Makefile.am: Likewise.
1016 * doc/binutils.texi: Likewise.
1017 * testsuite/binutils-all/nm.exp: Likewise.
1018 * nlmconv.c: Delete.
1019 * nlmconv.h: Delete.
1020 * nlmheader.y: Delete.
1021 * Makefile.in: Regenerate.
1022 * configure: Regenerate.
1023 * doc/Makefile.in: Regenerate.
1024 * po/POTFILES.in: Regenerate.
1025
fceadf09
AM
10262018-04-16 Alan Modra <amodra@gmail.com>
1027
1028 * testsuite/binutils-all/objdump.exp: Remove tahoe support.
1029
fb70ec17
AM
10302018-04-14 Alan Modra <amodra@gmail.com>
1031
1032 * readelf.c (get_machine_name): Revert 2018-04-11 change.
1033
86c6c6df
NC
10342018-04-12 Nick Clifton <nickc@redhat.com>
1035
1036 PR 23050
1037 * readelf.c (process_dynamic_section): Correct dynamic string
1038 table size calculation.
1039
a8eb42a8
AM
10402018-04-11 Alan Modra <amodra@gmail.com>
1041
1042 * ieee.c: Remove i960 support.
1043 * od-macho.c: Remove i860 support.
1044 * readelf.c: Remove i860 and i960 support.
1045 * testsuite/binutils-all/objcopy.exp: Likewise.
1046 * testsuite/binutils-all/objdump.exp: Likewise.
1047 * testsuite/lib/binutils-common.exp: Likewise.
1048
c43b2c54
MR
10492018-04-11 Maciej W. Rozycki <macro@mips.com>
1050
1051 * testsuite/lib/binutils-common.exp (is_elf_format): Also return
1052 1 for `*-*-lynxos*' and `*-*-symbianelf*' targets.
1053
d4ae1932
AM
10542018-04-10 Alan Modra <amodra@gmail.com>
1055
1056 * testsuite/binutils-all/objcopy.exp (strip-14, strip-15): Choose
1057 reloc=11 for pru and reloc=50 for nds32.
1058 * testsuite/binutils-all/strip-15.d: Accept 0xb reloc number.
1059
d52e3d06
MR
10602018-04-09 Maciej W. Rozycki <macro@mips.com>
1061
1062 * testsuite/binutils-all/strip-15.d: New test.
1063 * testsuite/binutils-all/strip-15rel.s: New test source.
1064 * testsuite/binutils-all/strip-15rela.s: New test source.
1065 * testsuite/binutils-all/strip-15mips64.s: New test source.
1066 * testsuite/binutils-all/objcopy.exp: Run the new test.
1067
3f97ba9f
MR
10682018-04-09 Maciej W. Rozycki <macro@mips.com>
1069
1070 * testsuite/binutils-all/strip-14.d: New test.
1071 * testsuite/binutils-all/strip-14rel.s: New test source.
1072 * testsuite/binutils-all/strip-14rela.s: New test source.
1073 * testsuite/binutils-all/strip-14mips64.s: New test source.
1074 * testsuite/binutils-all/objcopy.exp: Run the new test.
1075
2008a0db
TT
10762018-04-06 Tom Tromey <tom@tromey.com>
1077
1078 * dwarf.c (read_and_display_attr_value): Add missing DW_LANG
1079 constants from DWARF 5.
1080
3cba8b6c
L
10812018-04-05 H.J. Lu <hongjiu.lu@intel.com>
1082
1083 PR gas/22318
1084 * configure: Regenerated.
1085
2d8c1a23
MR
10862018-04-05 Maciej W. Rozycki <macro@mips.com>
1087
1088 * testsuite/binutils-all/strip-13mips64.s: Use `.dc.l' rather
1089 than `.dc.w' in second relocation.
1090
65bd2045
MR
10912018-04-05 Maciej W. Rozycki <macro@mips.com>
1092
1093 * testsuite/binutils-all/strip-13.d: Also expect `unsupported
1094 relocation type 0x8f' error message.
1095
2f8ceb38
MR
10962018-04-05 Maciej W. Rozycki <macro@mips.com>
1097
1098 * testsuite/binutils-all/strip-13.s: Rename to...
1099 * testsuite/binutils-all/strip-13rela.s: ... this.
1100 * testsuite/binutils-all/strip-13rel.s: New test source.
1101 * testsuite/binutils-all/strip-13mips64.s: New test source.
1102 * testsuite/binutils-all/strip-13.d: Remove `arm-*', `d10v-*',
1103 `dlx-*' and `xgate-*' from `not-target' list. Add `m6811-*' and
1104 `m68hc11-*' to `not-target' list.
1105 * testsuite/binutils-all/objcopy.exp: Switch between sources for
1106 `strip-13'.
1107
aad7be45
MR
11082018-04-05 Maciej W. Rozycki <macro@mips.com>
1109
1110 * testsuite/binutils-all/strip-13.s: Use 143 (0x8f) rather than
1111 241 (0xf1) for the relocation number and RELA addend.
1112 * testsuite/binutils-all/strip-13.d: Remove `hppa*-*' from the
1113 `not-target' list.
1114
89f60df2
JDA
11152018-04-04 John David Anglin <danglin@gcc.gnu.org>
1116
1117 * MAINTAINERS: Update my e-mail address.
1118
f1ca0d6d
NC
11192018-04-04 Nick Clifton <nickc@redhat.com>
1120
1121 * MAINTAINERS: Move Jason Eckhardt to past maintainers section.
1122
8fd75781
NC
11232018-03-23 Nick Clifton <nickc@redhat.com>
1124
1125 * readelf.c (get_symbol_for_build_attribute): Skip ARM mapping
1126 symbols.
1127 (print_gnu_build_attribute_description): If no file start symbol
1128 could be found, look for one two bytes into the file.
1129 * testsuite/binutils-all/note-4-64.s: Set the address of the file
1130 start symbol to two bytes into the file.
1131 * testsuite/binutils-all/note-4-32.s: Likewise.
1132
b1202ffa
L
11332018-03-21 H.J. Lu <hongjiu.lu@intel.com>
1134
1135 * readelf.c (process_dynamic_section): Also dump DF_1_KMOD,
1136 DF_1_WEAKFILTER and DF_1_NOCOMMON.
1137
7e100140
NC
11382018-03-20 Nick Clifton <nickc@redhat.com>
1139
1140 * po/es.po: Updated Spanish translation.
1141 * po/ru.po: Updated Russian translation.
1142
e45ad123
NC
11432018-03-13 Nick Clifton <nickc@redhat.com>
1144
1145 PR 22957
1146 * stabs.c (pop_binincl): Fail if the file index is off the end of
1147 the stack.
1148
81db3241
NC
11492018-03-13 Nick Clifton <nickc@redhat.com>
1150
1151 PR 22955
1152 * stabs.c (parse_number): Add p_end parameter and use it to check
1153 the validity of the pp parameter. Add checks to prevent walking
1154 off the end of the string buffer.
1155 (parse_stab_string): Likewise.
1156 (parse_stab_type): Likewise.
1157 (parse_stab_type_number): Likewise.
1158 (parse_stab_range_type): Likewise.
1159 (parse_stab_sun_builtin_type): Likewise.
1160 (parse_stab_sun_floating_type): Likewise.
1161 (parse_stab_enum_type): Likewise.
1162 (parse_stab_struct_type): Likewise.
1163 (parse_stab_baseclasses): Likewise.
1164 (parse_stab_struct_fields): Likewise.
1165 (parse_stab_cpp_abbrev): Likewise.
1166 (parse_stab_one_struct_field): Likewise.
1167 (parse_stab_members): Likewise.
1168 (parse_stab_tilde_field): Likewise.
1169 (parse_stab_array_type): Likewise.
e45ad123 1170
81db3241
NC
1171 * parse_stab: Compute the end of the string and then pass it on to
1172 individual parser functions.
1173
6d4f21f6
PP
11742018-03-07 Paul Pluzhnikov <ppluzhnikov@google.com>
1175
1176 PR binutils/22923
1177 * binutils/readelf.c (get_ver_flags): Expand buffer to avoid
1178 overflow.
1179
52fe4420
AM
11802018-03-07 Alan Modra <amodra@gmail.com>
1181
1182 * configure.ac: Add objdump_private_desc_xcoff for rs6000.
1183 * configure: Regenerate.
1184
0e70b27b
L
11852018-03-05 H.J. Lu <hongjiu.lu@intel.com>
1186
1187 PR binutils/22911
1188 * objdump.c (is_significant_symbol_name): Return TRUE for all
1189 .plt* sections.
1190 (find_symbol_for_address): Replace linear search with binary
1191 search on dynamic relocations.
1192
d11ae95e
NC
11932018-03-01 Nick Clifton <nickc@redhat.com>
1194
1195 PR 22905
1196 * dwarf.c (display_debug_ranges): Check that the offset loaded
1197 from the range_entry structure is valid.
1198
e184813f
AM
11992018-03-01 Alan Modra <amodra@gmail.com>
1200
1201 * configure.ac (ALL_LINGUAS): Add sr. Sort.
1202 * configure: Regenerate.
1203
bc7c0509
NC
12042018-02-27 Nick Clifton <nickc@redhat.com>
1205
1206 * po/pt.po: New Portuguese translation.
1207 * configure.ac (ALL_LINGUAS): Add pt.
1208 * configure: Regenerate.
1209
f3185997
NC
12102018-02-27 Nick Clifton <nickc@redhat.com>
1211
1212 PR 22875
1213 * objcopy.c (copy_object): Check the error status after marking
1214 symbols used in relocations.
1215 * testsuite/binutils-all/strip-13.s: New test source file.
1216 * testsuite/binutils-all/strip-13.s: New test driver file.
1217 * testsuite/binutils-all/objcopy.exp: Run the new test.
1218
2c1c9679
AM
12192018-02-26 Alan Modra <amodra@gmail.com>
1220
1221 * testsuite/binutils-all/mips/mips-reginfo-n32.d,
1222 * testsuite/binutils-all/mips/mips-reginfo.d: Update.
1223
6e05870c
AM
12242018-02-23 Alan Modra <amodra@gmail.com>
1225
1226 * testsuite/binutils-all/mips/mips-reginfo-n32.d,
1227 * testsuite/binutils-all/mips/mips-reginfo.d: Update.
1228
b0ab9c45
RH
12292018-02-20 Ronald Hoogenboom <hoogenboom30@zonnet.nl>
1230
1231 * doc/binutils.texi (objcopy): Add missing closing square
1232 parenthesis to listing of objcopy's command line options.
1233
e535d0dd
MK
12342018-02-19 Matthias Klose <doko@debian.org>
1235
1236 * strings.c (long_options): Include-all-whitespace does not take
f9853190 1237 an extra agument.
e535d0dd 1238
6e5e9d58
AM
12392018-02-13 Alan Modra <amodra@gmail.com>
1240
1241 PR 22836
1242 * testsuite/binutils-all/group-7.s,
1243 * testsuite/binutils-all/group-7a.d,
1244 * testsuite/binutils-all/group-7b.d,
1245 * testsuite/binutils-all/group-7c.d: New tests.
1246 * testsuite/binutils-all/objcopy.exp: Run them.
1247
8de3a6e2
NC
12482018-02-08 Nick Clifton <nickc@redhat.com>
1249
1250 PR 22802
1251 * dwarf.c (load_separate_debug_file): Return early if the user is
1252 not interested in debug links.
1253
68807c3c
NC
12542018-02-06 Nick Clifton <nickc@redhat.com>
1255
1256 PR 22793
1257 * readelf.c (find_section): Replace assertion with test and return
1258 of NULL.
1259 (find_section_by_address): Add test of section header table
1260 existance.
1261 (find_section_by_type): Likewise.
1262 (find_section_in_set): Likewise.
1263
2d6dda71
MR
12642018-02-05 Maciej W. Rozycki <macro@mips.com>
1265
1266 * testsuite/binutils-all/mips/mips-reginfo.d: New test.
1267 * testsuite/binutils-all/mips/mips-reginfo-n32.d: New test.
1268 * testsuite/binutils-all/mips/mips-reginfo.s: New test source.
1269 * testsuite/binutils-all/mips/mips.exp: Run the new tests.
1270
78c88364
MR
12712018-02-05 Maciej W. Rozycki <macro@mips.com>
1272
1273 * testsuite/config/default.exp (binutils_run): Document
1274 `binutils_run_status'.
1275 * testsuite/lib/utils-lib.exp (default_binutils_run): Likewise,
1276 and set it.
1277 (run_dump_test): Add `error', `error_output', `warning' and
1278 `warning_output' options. Update documentation accordingly.
1279
5bb0830d
AB
12802018-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
1281
1282 * dwarf.c (dwarf_regnames_riscv): New register name table.
1283 (init_dwarf_regnames_riscv): New function.
1284 (init_dwarf_regnames): Add call to initialise RiscV register
1285 names.
1286 * dwarf.h (init_dwarf_regnames_riscv): Declare.
1287 * objdump.c (dump_dwarf): Add call to initialise RiscV register
1288 names.
1289
f2023ce7
AM
12902018-02-01 Alan Modra <amodra@gmail.com>
1291
1292 PR 22769
1293 * objdump.c (load_specific_debug_section): Check for overflow
1294 when adding one to section size for a string section terminator.
1295
fcabedd5
NC
12962018-01-30 Nick Clifton <nickc@redhat.com>
1297
1298 PR 22734
1299 * doc/binutils.texi (nm): Update description to point out that
1300 zero-initialized values can also be shown as type B, b, S or s
1301 since they can be stored in the BSS section.
1302
f49db8be
AM
13032018-01-30 Alan Modra <amodra@gmail.com>
1304
1305 * objcopy.c (merge_gnu_build_notes): Use (bfd_vma) -1 as
1306 "artificially large" end address.
1307
a8d6d6ac
NC
13082018-01-28 Nick Clifton <nickc@redhat.com>
1309
1310 * README-how-to-make-a-release: Add note about checking gpg key
1311 and the results of gnupload.
1312
9a5db26e
NC
13132018-01-27 Nick Clifton <nickc@redhat.com>
1314
1315 * README-how-to-make-a-release: Add details on how to actually
1316 make the release.
1317
94c2436b
NC
13182018-01-26 Nick Clifton <nickc@redhat.com>
1319
1320 * README-how-to-make-a-release: Add more details on updating
1321 version numbers.
1322
1ea332d6
MR
13232018-01-22 Maciej W. Rozycki <macro@mips.com>
1324
1325 * doc/binutils.texi (objcopy): Fix a typo in `--rename-section'
1326 option description.
1327
d65ce302
MR
13282018-01-22 Maciej W. Rozycki <macro@mips.com>
1329
1330 * MAINTAINERS: Update my company e-mail address.
1331
f433138f
NC
13322018-01-22 Nick Clifton <nickc@redhat.com>
1333
1334 * po/sv.po: Updated Swedish translation.
1335
7ab82037
NC
13362018-01-18 Nick Clifton <nickc@redhat.com>
1337
1338 * po/bg.po: Updated Bulgarian translation.
1339
0dd86f32
JB
13402018-01-16 Joel Brobecker <brobecker@adacore.com>
1341
1342 * README-how-to-make-a-release: Add reminder to update the
1343 branch name in gdbadmin's crontab on sourceware.
1344
a960d29f
JB
13452018-01-16 Joel Brobecker <brobecker@adacore.com>
1346
1347 * README-how-to-make-a-release: Remove trailing spaces.
1348
f6efed01
NC
13492018-01-16 Nick Clifton <nickc@redhat.com>
1350
1351 * po/fr.po: Updated French translation.
1352
616dcb87
NC
13532018-01-15 Nick Clifton <nickc@redhat.com>
1354
1355 * po/uk.po: Updated Ukranian translation.
1356
3957a496
NC
13572018-01-13 Nick Clifton <nickc@redhat.com>
1358
19e2900b 1359 * README-how-to-make-a-release: Update notes.
3957a496
NC
1360 * po/binutils.pot: Regenerated.
1361
769c7ea5
NC
13622018-01-13 Nick Clifton <nickc@redhat.com>
1363
1364 * configure: Regenerate.
1365
9176ac5b
NC
13662018-01-13 Nick Clifton <nickc@redhat.com>
1367
faf766e3 1368 2.30 branch created.
9176ac5b
NC
1369 * NEWS: Add marker for 2.30.
1370
98ab9e96
NC
13712018-01-12 Nick Clifton <nickc@redhat.com>
1372
1373 * README-how-to-make-a-release: Add notes on how to make the
1374 branch and prelease snapshot.
1375 * BRANCHES: Add binutils-2_29-branch.
1376
bf41f30d
NC
13772018-01-10 Nick Clifton <nickc@redhat.com>
1378
1379 * MAINTAINERS: Note that it is now the configure.ac file and not
1380 the configure.in file that needs to be kept in sync with gcc.
1381 Add a note about sending patches for libiberty to gcc.
1382
f13974bd
NC
13832018-01-03 Nick Clifton <nickc@redhat.com>
1384
1385 * objcopy.c (merge_gnu_build_notes): Add cast to maximum address
1386 constants.
1387
6f156d7a
NC
13882018-01-03 Nick Clifton <nickc@redhat.com>
1389
1390 * objcopy.c (objcopy_internal_note): New structure.
1391 (gap_exists): New function.
1392 (is_open_note): New function.
1393 (is_func_note): New function.
1394 (is_64bit): New function.
1395 (merge_gnu_build_notes): Handle v3 notes. Do not merge
1396 if there are relocations against the notes.
1397 * readelf.c (get_note_type): Use short names for build attribute
1398 notes.
1399 (print_symbol_for_build_attribute): Rename to
1400 get_symbol_for_build_attribute. Returns the found symbol rather
1401 than printing it.
1402 (print_gnu_build_attribute_description): Maintain address ranges
1403 for function notes as well as global notes. Handle v3 notes.
1404 (print_gnu_build_attribute_name): Use more space for printing the
1405 name in wide mode.
1406 * testsuite/binutils-all/note-2-32.s: Use .dc.l instead of .word.
1407 Eliminate symbol references in order to remove the need for
1408 relocations.
1409 * testsuite/binutils-all/note-2-64.s: Likewise.
1410 * testsuite/binutils-all/note-3-32.s: Add a size to the note_1
1411 symbol.
1412 * testsuite/binutils-all/note-3-64.s: Likewise.
1413 * testsuite/binutils-all/mips/mips-note-2r-n32.d: Update expected
1414 output.
1415 * testsuite/binutils-all/mips/mips-note-2r-n64.d: Likewise.
1416 * testsuite/binutils-all/mips/mips-note-2r.d: Likewise.
1417 * testsuite/binutils-all/note-2-32.d: Likewise.
1418 * testsuite/binutils-all/note-2-64.d: Likewise.
1419 * testsuite/binutils-all/note-3-32.d: Likewise.
1420 * testsuite/binutils-all/note-3-64.d: Likewise.
1421 * testsuite/binutils-all/note-4-64.s: New test. Checks v3 notes.
1422 * testsuite/binutils-all/note-4-32.s: New test.
1423 * testsuite/binutils-all/note-4-64.d: New test result file.
1424 * testsuite/binutils-all/note-4-32.d: New test result file.
1425
219d1afa
AM
14262018-01-03 Alan Modra <amodra@gmail.com>
1427
1428 Update year range in copyright notice of all files.
1429
1e563868 1430For older changes see ChangeLog-2017
3499769a 1431\f
1e563868 1432Copyright (C) 2018 Free Software Foundation, Inc.
3499769a
AM
1433
1434Copying and distribution of this file, with or without modification,
1435are permitted in any medium without royalty provided the copyright
1436notice and this notice are preserved.
1437
1438Local Variables:
1439mode: change-log
1440left-margin: 8
1441fill-column: 74
1442version-control: never
1443End:
This page took 0.210163 seconds and 4 git commands to generate.