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