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