BFD_INIT_MAGIC
[deliverable/binutils-gdb.git] / binutils / ChangeLog
CommitLineData
bf2dd8d7
AM
12018-10-15 Alan Modra <amodra@gmail.com>
2
3 PR 23534
4 * addr2line.c (main): Exit with fatal error if bfd_init
5 returns an unexpected value.
6 * ar.c (main): Likewise.
7 * dlltool.c (identify_dll_for_implib): Likewise.
8 * nm.c (main): Likewise.
9 * objcopy.c (main): Likewise.
10 * objdump.c (main): Likewise.
11 * size.c (main): Likewise.
12 * strings.c (main): Likewise.
13 * windmc.c (main): Likewise.
14 * windres.c (main): Likewise.
15
de564eb5
NC
162018-10-11 Jordan Rupprecht <rupprecht@google.com>
17 Nick Clifton <nickc@redhat.com>
18
19 * objcopy.c (copy_main): Issue a fata error if the
20 --keep-global-symbol(s) and the --globalize-symbol(s) options are
21 used together.
22 * doc/binutils.texi: Document that the two options are
23 incompatible.
24 * testsuite/binutils-all/copy-5.d: New test.
25 * testsuite/binutils-all/objcopy.exp: Run the new test.
26
43f6cd05
AM
272018-10-10 Helge Deller <deller@gmx.de>
28 Alan Modra <amodra@gmail.com>
29
30 * readelf.c (hppa_process_unwind): Don't use eh_addr_size to
31 calculate number of entries.
32 (slurp_hppa_unwind_table): Don't use eh_addr_size here either.
33
8ab159a9
AM
342018-10-10 Alan Modra <amodra@gmail.com>
35
36 * objdump.c (dump_dwarf): Set s12z eh_addr_size to 4.
37
25cbdcbb
AS
382018-10-08 Andreas Schwab <schwab@suse.de>
39
40 * readelf.c (is_32bit_pcrel_reloc): Handle R_RISCV_32_PCREL.
41
8e90d6d2
NC
422018-10-03 Nick Clifton <nickc@redhat.com>
43
44 * po/pt.po: Updated Portuguese translation.
527b9e87 45 * po/fr.po: Updated French translation.
8e90d6d2 46
dfc616fa
AM
472018-09-22 Alan Modra <amodra@gmail.com>
48
49 * readelf.c (apply_relocations): Don't return FALSE for warnings.
50
fbaf61ad
NC
512018-09-20 Nelson Chu <nelson.chu1990@gmail.com>
52
53 * testsuite/binutils-all/objcopy.exp: Set the unsupported reloc number
54 from 215 to 255 for NDS32.
55
d839b914
L
562018-09-17 H.J. Lu <hongjiu.lu@intel.com>
57
58 * objcopy.c (strip_specific_buffer): New.
59 (strip_unneeded_buffer): Likewise.
60 (keep_specific_buffer): Likewise.
61 (localize_specific_buffer): Likewise.
62 (globalize_specific_buffer): Likewise.
63 (keepglobal_specific_buffer): Likewise.
64 (weaken_specific_buffer): Likewise.
65 (add_specific_symbols): Add an argument to return pointer to
66 allocated buffer.
67 (copy_main): Update add_specific_symbols to update pointers to
68 allocated buffer. Free pointers to allocated buffer before
69 return.
70
c12d9fa2
AM
712018-09-17 Alan Modra <amodra@gmail.com>
72
73 * objcopy.c (handle_remove_section_option): Don't require a dot
74 after .rela and .rel to handle a possible relocation section.
75 * testsuite/binutils-all/remove-relocs-07.s,
76 * testsuite/binutils-all/remove-relocs-07.d,
77 * testsuite/binutils-all/remove-relocs-08.d: New tests.
78 * testsuite/binutils-all/remove-relocs-01.d,
79 * testsuite/binutils-all/remove-relocs-04.d,
80 * testsuite/binutils-all/remove-relocs-05.d,
81 * testsuite/binutils-all/remove-relocs-06.d: Exclude mips64-openbsd.
82
0b1352e0
AM
832018-09-17 Alan Modra <amodra@gmail.com>
84
85 * testsuite/lib/binutils-common.exp (is_som_format): New proc.
86 (run_dump_test): Correct target test for alternate .comm syntax.
87 (get_standard_section_names): Handle som format.
88 * testsuite/lib/utils-lib.exp (default_binutils_assemble_flags):
89 Correct target test for alternate .comm syntax.
90
8c9604b6
AM
912018-09-17 Alan Modra <amodra@gmail.com>
92
93 * testsuite/binutils-all/strip-13mips64.s: Add section flags
94 for reloc section.
95 * testsuite/binutils-all/strip-13rel.s: Likewise.
96 * testsuite/binutils-all/strip-13rela.s: Likewise.
97 * testsuite/binutils-all/strip-14mips64.s: Likewise.
98 * testsuite/binutils-all/strip-14rel.s: Likewise.
99 * testsuite/binutils-all/strip-14rela.s: Likewise.
100 * testsuite/binutils-all/strip-15mips64.s: Likewise.
101 * testsuite/binutils-all/strip-15rel.s: Likewise.
102 * testsuite/binutils-all/strip-15rela.s: Likewise.
103
a0a8a934
NC
1042018-09-17 Nick Clifton <nickc@redhat.com>
105
106 * testsuite/binutils-all/compress.exp: Rename second "objcopy
107 zlib-gnu compress debug sections 3" test to "objcopy zlib-gabi
108 compress debug sections 3" and use gabi object files instead
109 of gnu object files.
110 * testsuite/binutils-all/objcopy.exp: Add suffix to the names
111 of the "ELF group" tests.
112 * testsuite/binutils-all/readelf.exp (proc readelf_find_size):
113 Add an iteration parameter and include it in the name of the
114 test. Update callers to include an iteration count.
115
8ffb70eb
AM
1162018-09-15 Alan Modra <amodra@gmail.com>
117
118 * testsuite/binutils-all/add-symbol.d: Add "section_subst: no".
119 * testsuite/binutils-all/elfedit.exp: Don't set tempfile or copyfile.
120 * testsuite/binutils-all/symbols-1.d,
121 * testsuite/binutils-all/symbols-2.d,
122 * testsuite/binutils-all/symbols-3.d,
123 * testsuite/binutils-all/symbols-4.d: Quote '*' and '!'.
124 * testsuite/binutils-all/add-empty-section.d,
125 * testsuite/binutils-all/add-section.d,
126 * testsuite/binutils-all/elfedit.exp,
127 * testsuite/binutils-all/note-1.d,
128 * testsuite/binutils-all/pr23633.d: Add $subdir after $srcdir.
129 * testsuite/config/default.exp (AS, ASFLAGS): Define.
130 * testsuite/config/hppa.sed: Handle all common symbols.
131 * testsuite/lib/binutils-common.exp (run_dump_test): New proc,
132 merged from three other versions.
133 (slurp_options, file_contents, set_file_contents): Likewise.
134 (big_or_little_endian, get_standard_section_names): Likewise.
135 * testsuite/lib/utils-lib.exp (run_dump_test): Delete.
136 (slurp_options, proc file_contents): Delete.
137 (get_standard_section_names): Delete.
138
e8d88459
AM
1392018-09-15 Alan Modra <amodra@gmail.com>
140
141 * testsuite/binutils-all/copy-2.d,
142 * testsuite/binutils-all/copy-3.d,
143 * testsuite/binutils-all/copy-4.d,
144 * testsuite/binutils-all/elfedit-1.d,
145 * testsuite/binutils-all/note-1.d,
146 * testsuite/binutils-all/note-2-64.d,
147 * testsuite/binutils-all/strip-11.d,
148 * testsuite/binutils-all/strip-13.d,
149 * testsuite/binutils-all/strip-14.d,
150 * testsuite/binutils-all/testranges.d,
151 * testsuite/binutils-all/x86-64/pr23494a-x32.d,
152 * testsuite/binutils-all/x86-64/pr23494a.d,
153 * testsuite/binutils-all/x86-64/pr23494b-x32.d,
154 * testsuite/binutils-all/x86-64/pr23494b.d,
155 * testsuite/binutils-all/x86-64/pr23494c-x32.d,
156 * testsuite/binutils-all/x86-64/pr23494c.d,
157 * testsuite/binutils-all/x86-64/pr23494d-x32.d,
158 * testsuite/binutils-all/x86-64/pr23494d.d,
159 * testsuite/binutils-all/x86-64/pr23494e-x32.d,
160 * testsuite/binutils-all/x86-64/pr23494e.d,
161 * testsuite/lib/utils-lib.exp (run_dump_test): Replace not-target
162 and not-skip with notarget and noskip.
163
04ade4bc
AM
1642018-09-15 Alan Modra <amodra@gmail.com>
165
166 * testsuite/binutils-all/group-7a.d,
167 * testsuite/binutils-all/group-7b.d,
168 * testsuite/binutils-all/group-7c.d,
169 * testsuite/binutils-all/symbols-1.d,
170 * testsuite/binutils-all/symbols-2.d,
171 * testsuite/binutils-all/symbols-3.d,
172 * testsuite/binutils-all/symbols-4.d: Remove DUMPPROG.
173
1fcd7e87
AM
1742018-09-14 Alan Modra <amodra@gmail.com>
175
176 PR binutils/23633
177 * testsuite/binutils-all/pr23633.d: Don't fail when assembler
178 generates sections other than .text.
179
319dbdfb
L
1802018-09-13 H.J. Lu <hongjiu.lu@intel.com>
181
182 PR binutils/23633
183 * testsuite/binutils-all/objcopy.exp: Run pr23633.
184 * testsuite/binutils-all/pr23633.d: New file.
185 * testsuite/binutils-all/pr23633.list: Likewise.
186 * testsuite/binutils-all/pr23633.s: Likewise.
187
508d0c9b
NC
1882018-09-13 Nick Clifton <nickc@redhat.com>
189
190 PR 23633
191 * objcopy.c (add_specific_symbols): Do not free the buffer at the
192 end of the function.
193
f9853190
AM
1942018-09-10 Alan Modra <amodra@gmail.com>
195
196 PR binutils/23611
197 * objcopy.c (handle_remove_section_option): Consider .rela and
198 .rel sections for stripping directly as well as attached to the
199 associated section they relocate.
200 * doc/binutils.texi (remove-relocations): Specify that this
201 option removes non-dynamic relocation sections.
202 * testsuite/binutils-all/objcopy.exp
203 (objcopy_remove_relocations_from_executable): New test.
204
20a4d0bd
NC
2052018-09-03 Nick Clifton <nickc@redhat.com>
206
207 * po/ja.po: Updated Japanese translation.
208
0f60cce3
L
2092018-08-31 H.J. Lu <hongjiu.lu@intel.com>
210
211 * testsuite/binutils-all/readelf.s-64: Adjusted for
212 .note.gnu.property section.
213 * testsuite/binutils-all/strip-3.d: Also strip
214 .note.gnu.property section.
215
6c0d3bde
L
2162018-08-31 H.J. Lu <hongjiu.lu@intel.com>
217
218 * testsuite/binutils-all/i386/compressed-1b.d: Pass
219 -mx86-used-note=no to assembler.
220 * testsuite/binutils-all/i386/compressed-1c.d: Likewise.
221 * testsuite/binutils-all/x86-64/compressed-1b.d: Likewise.
222 * testsuite/binutils-all/x86-64/compressed-1c.d: Likewise.
223 * testsuite/binutils-all/i386/empty.d: Pass -mx86-used-note=yes
224 to assembler and update expected output from "readelf -n".
225 * testsuite/binutils-all/i386/ibt.d: Likewise.
226 * testsuite/binutils-all/i386/pr21231a.d: Likewise.
227 * testsuite/binutils-all/i386/pr21231b.d: Likewise.
228 * testsuite/binutils-all/i386/shstk.d: Likewise.
229 * testsuite/binutils-all/x86-64/empty-x32.d: Likewise.
230 * testsuite/binutils-all/x86-64/empty.d: Likewise.
231 * testsuite/binutils-all/x86-64/ibt-x32.d: Likewise.
232 * testsuite/binutils-all/x86-64/ibt.d: Likewise.
233 * testsuite/binutils-all/x86-64/pr21231a.d: Likewise.
234 * testsuite/binutils-all/x86-64/pr21231b.d: Likewise.
235 * testsuite/binutils-all/x86-64/pr23494a-x32.d: Likewise.
236 * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
237 * testsuite/binutils-all/x86-64/pr23494b-x32.d: Likewise.
238 * testsuite/binutils-all/x86-64/pr23494b.d: Likewise.
239 * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
240 * testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
241 * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
242 * testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
243 * testsuite/binutils-all/x86-64/pr23494e-x32.d: Likewise.
244 * testsuite/binutils-all/x86-64/pr23494e.d: Likewise.
245 * testsuite/binutils-all/x86-64/shstk-x32.d: Likewise.
246 * testsuite/binutils-all/x86-64/shstk.d: Likewise.
247
385e5b90
L
2482018-08-30 H.J. Lu <hongjiu.lu@intel.com>
249
250 * readelf.c (process_section_headers): Treat SHT_FINI_ARRAY and
251 SHT_PREINIT_ARRAY as relocatable sections.
252
4c971803
CX
2532018-08-30 Chenghua Xu <paul.hua.gm@gmail.com>
254
255 * MAINTAINERS: Add myself as a MIPS port maintainer.
256
9108bc33
CX
2572018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
258
259 * NEWS: Mention Loongson 2K1000 proccessor support.
260 * readelf.c (get_machine_flags): Handle gs264e.
261
bd782c07
CX
2622018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
263
264 * NEWS: Mention Loongson 3A2000/3A3000 proccessor support.
265 * readelf.c (get_machine_flags): Handle gs464e.
266
ac8cb70f
CX
2672018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
268
269 * NEWS: Mention Loongson 3A1000 proccessor support.
270 * readelf.c (get_machine_flags): Rename loongson-3a to gs464.
271 (print_mips_isa_ext): Delete AFL_EXT_LOONGSON_3A.
272
a693765e
CX
2732018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
274
275 * readelf.c (print_mips_ases): Add Loongson EXT2 extension.
276
bdc6c06e
CX
2772018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
278
279 * readelf.c (print_mips_ases): Add Loongson EXT extension.
280
716c08de
CX
2812018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
282
283 * readelf.c (print_mips_ases): Add CAM extension.
284
90c745dc
L
2852018-08-27 H.J. Lu <hongjiu.lu@intel.com>
286
287 * readelf.c (decode_x86_isa): Print <None> if bitmask only
288 contains the GNU_PROPERTY_X86_UINT32_VALID bit.
289 (decode_x86_feature_1): Likewise.
290 (decode_x86_feature_2): Likewise.
291 (print_gnu_property_note): Don't mask out the
292 GNU_PROPERTY_X86_UINT32_VALID bit.
293 * testsuite/binutils-all/i386/pr21231b.d: Updated.
294 * testsuite/binutils-all/x86-64/pr21231b.d: Likewise.
295
65b3d26e
L
2962018-08-27 H.J. Lu <hongjiu.lu@intel.com>
297
298 * readelf.c (decode_x86_compat_isa): Break multi-statement line.
299 (decode_x86_isa): Likewise.
300 (decode_x86_feature_2): Likewise.
301
7a815dd5
L
3022018-08-25 H.J. Lu <hongjiu.lu@intel.com>
303
304 PR ld/23499
305 * readelf.c (get_symbol_version_string): Return _("<corrupt>")
306 for corrupt symbol version info.
307
a9eafb08
L
3082018-08-24 H.J. Lu <hongjiu.lu@intel.com>
309
310 * readelf.c (decode_x86_compat_isa): New function.
311 (decode_x86_feature_2): Likewise.
312 (decode_x86_isa): Updated for new X86_ISA_1_XXX bits.
313 (decode_x86_feature): Renamed to ...
314 (decode_x86_feature_1): This. Remove the type argument.
315 (print_gnu_property_note): Handle X86_COMPAT_ISA_1_USED,
316 X86_COMPAT_ISA_1_NEEDED, X86_UINT32_AND_LO, X86_UINT32_AND_HI,
317 X86_UINT32_OR_LO, X86_UINT32_OR_HI, X86_UINT32_OR_AND_LO and
318 X86_UINT32_OR_AND_HI instead of X86_ISA_1_USED, X86_ISA_1_NEEDED
319 and X86_FEATURE_1_AND.
320 * testsuite/binutils-all/i386/pr21231b.s: Updated to the current
321 GNU_PROPERTY_X86_ISA_1_USED and GNU_PROPERTY_X86_ISA_1_NEEDED
322 values.
323 * testsuite/binutils-all/x86-64/pr21231b.s: Likewise.
324 * testsuite/binutils-all/x86-64/pr23494a.s: Likewise.
325 * testsuite/binutils-all/x86-64/pr23494b.s: Likewise.
326 * testsuite/binutils-all/x86-64/pr23494c.s: Likewise.
327 * testsuite/binutils-all/i386/pr21231b.d: Updated.
328 * testsuite/binutils-all/x86-64/pr21231b.d: Likewise.
329 * testsuite/binutils-all/x86-64/pr23494a-x32.d: Likewise.
330 * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
331 * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
332 * testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
333 * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
334 * testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
335 * testsuite/binutils-all/x86-64/pr23494e-x32.d: Likewise.
336 * testsuite/binutils-all/x86-64/pr23494e.d: Likewise.
337
aa7bca9b
L
3382018-08-24 H.J. Lu <hongjiu.lu@intel.com>
339
340 * readelf.c (print_gnu_property_note): Check the
341 GNU_PROPERTY_X86_UINT32_VALID bit for invalid GNU property note.
342
14732552
AM
3432018-08-23 Alan Modra <amodra@gmail.com>
344
345 * readelf.c (get_ppc64_symbol_other): Return NULL if st_other
346 field contains unrecognised or reserved values. Handle
347 localentry:1 value.
348
7dd36a6f
L
3492018-08-23 H.J. Lu <hongjiu.lu@intel.com>
350
351 PR ld/23536
352 * Makefile.am (development.exp): New target.
353 (EXTRA_DEJAGNU_SITE_CONFIG): New.
354 (DISTCLEANFILES): Add development.exp.
355 * Makefile.in: Regenerated.
356 * testsuite/binutils-all/objcopy.exp (strip_test): Call
357 prune_warnings to prune BFD output.
358 (strip_test_with_saving_a_symbol): Likewise.
359 (objcopy_test_without_global_symbol): Likewise.
360 * testsuite/lib/binutils-common.exp (prune_warnings_extra):
361 New proc.
362 (prune_warnings): Likewise.
363
44c2eb66
L
3642018-08-23 H.J. Lu <hongjiu.lu@intel.com>
365
366 * README-how-to-make-a-release: Document setting "experimental"
367 to false.
368
e8a64888
AM
3692018-08-22 Alan Modra <amodra@gmail.com>
370
371 * readelf.c (process_file_header): Assign updated values from
372 section_header[0] fields to e_phnum, e_shnum and e_shstrndx
373 during printing of header. Correct e_shstrndx range check.
374 Remove unnecessary casts and use %u rather than %ld for
375 unsigned int header fields. Don't print a random %lx when
376 reporting an unknown EI_VERSION.
377
06d743b7
NC
3782018-08-21 Nick Clifton <nickc@redhat.com>
379
380 * MAINTAINERS: Note that Arnold Metselaar has retired as the z80
381 maintainer.
382
66b09c7e
S
3832018-08-21 L. Simon <l.simon@samsung.com>
384
385 PR 23531
386 * readelf.c (hppa_process_unwind): Only dump the unwind table if
387 the data was successfully read in.
388
506b86a4
AM
3892018-08-18 Alan Modra <amodra@gmail.com>
390
391 * testsuite/lib/binutils-common.exp (is_elf64): Use directory of
392 input file for readelf.out.
393 (is_rela): New proc.
394 * testsuite/binutils-all/objcopy.exp (elf64): Set new variable
395 from first result of is_elf64 test.
396 (reloc_format): Set using is_rela.
397 (strip-13): Pass RELOC and ELF64 to assembler.
398 (strip-14, strip-15): Use elf64 rather than calling is_elf64 again.
399 * testsuite/binutils-all/strip-13.d: Run for more targets.
400 * testsuite/binutils-all/strip-13mips64.s: Use RELOC and set
401 addend to zero.
402 * testsuite/binutils-all/strip-13rel.s: Use RELOC and ELF64.
403 Don't add _NONE reloc.
404 * testsuite/binutils-all/strip-13rela.s: Likewise.
405
9c973a29
L
4062018-08-10 H.J. Lu <hongjiu.lu@intel.com>
407
408 PR binutils/23494
409 * testsuite/binutils-all/x86-64/pr23494c.s: New file.
410 * testsuite/binutils-all/x86-64/pr23494e-x32.d: Likewise.
411 * testsuite/binutils-all/x86-64/pr23494e.d: Likewise.
412
11459a79
L
4132018-08-10 H.J. Lu <hongjiu.lu@intel.com>
414
415 * testsuite/binutils-all/x86-64/pr23494a-x32.d: Skip nacl
416 targets.
417 * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
418 * testsuite/binutils-all/x86-64/pr23494b-x32.d: Likewise.
419 * testsuite/binutils-all/x86-64/pr23494b.d: Likewise.
420 * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
421 * testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
422 * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
423 * testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
424
6404ab99
L
4252018-08-08 H.J. Lu <hongjiu.lu@intel.com>
426
427 PR binutils/23494
428 * testsuite/binutils-all/x86-64/pr23494a-x32.d: New file.
429 * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
430 * testsuite/binutils-all/x86-64/pr23494a.s: Likewise.
431 * testsuite/binutils-all/x86-64/pr23494b-x32.d: Likewise.
432 * testsuite/binutils-all/x86-64/pr23494b.d: Likewise.
433 * testsuite/binutils-all/x86-64/pr23494b.s: Likewise.
434 * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
435 * testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
436 * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
437 * testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
438
f384a1f0
KB
4392018-08-08 Kevin Buettner <kevinb@redhat.com>
440
f9853190
AM
441 * dwarf.c (decode_location_expresion): Add case for
442 DW_OP_GNU_variable_value.
f384a1f0 443
db1e1b45 4442018-08-06 Claudiu Zissulescu <claziss@synopsys.com>
445
446 * readelf.c (display_arc_attribute): Print Tag_ARC_ATR_version.
447
4aae6e5a
NC
4482018-08-03 Nick Clifton <nickc@redhat.com>
449
450 * objcopy.c (merge_gnu_build_notes): Delete empty notes. Merge
451 identical function notes.
452
e2561448
NC
4532018-08-01 Nick Clifton <nickc@redhat.com>
454
455 * README-how-to-make-a-release: Add note about regenerating the
456 info files prior to the release.
457
2409af1e
AJ
4582018-07-30 Andrew Jenner <andrew@codesourcery.com>
459
460 * MAINTAINERS (C-SKY): Add Yunhai Shang as co-maintainer.
461
d0ba5758
AJ
4622018-07-30 Andrew Jenner <andrew@codesourcery.com>
463
464 * MAINTAINERS (C-SKY): Add Lifang Xia as maintainer.
465
b8891f8d
AJ
4662018-07-30 Andrew Jenner <andrew@codesourcery.com>
467
468 * readelf.c: Include elf/csky.h.
469 (guess_is_rela): Handle EM_CSKY.
470 (dump_relocations): Likewise.
471 (get_machine_name): Likewise.
472 (is_32bit_abs_reloc): Likewise.
473
e3d39609
NC
4742018-07-25 Nick Clifton <nickc@redhat.com>
475
476 * rdcoff.c (parse_coff_struct_type): Free fields array upon early
477 exit.
478 (parse_coff_enum_type): Free names and vals arrays upon early
479 exit.
480 * rddbg.c (read_section_stabs_debugging_info): Free shandle and
481 strings and stabs arrays upon early exit.
482 * readelf.c (get_32bit_section_headers): Free shdrs structure upon
483 early exit.
484 (get_64bit_section_headers): Likewise.
485 (get_32bit_elf_symbols): Generate an error if multiple symbol
486 table index sections are associated with the same symbol section.
487 (get_64bit_elf_symbols): Likewise.
488 (process_dynamic_section): Generate an error if there are multiple
489 dynamic symbol table sections, multiple dynamic string tables or
490 multiple dynamic symbol information sections.
491
1d97232a
NC
4922018-07-24 Nick Clifton <nickc@redhat.com>
493
494 * po/sv.po: Updated Swedish translation.
495
7b8d9e8c
AM
4962018-07-24 Alan Modra <amodra@gmail.com>
497
498 PR 23431
499 * dwarf.c (display_formatted_table): Replace "what" parameter
500 with "is_dir". Expand messages. Fix capitalisation.
501 * testsuite/binutils-all/dw5.W: Update expected output.
502
67ce483b
AM
5032018-07-24 Alan Modra <amodra@gmail.com>
504
505 PR 23430
506 * elfcomm.h (struct archive_info): Rename uses_64bit_indicies
507 to uses_64bit_indices.
508 * elfcomm.c (setup_archive): Update uses of above.
509 * readelf.c (process_archive): Likewise.
510 (get_section_type_name): Rename indicies to indices.
511 (get_32bit_elf_symbols, get_64bit_elf_symbols): Likewise.
512 (process_section_groups): Likewise.
513
e2e31f10
MR
5142018-07-20 Maciej W. Rozycki <macro@mips.com>
515
516 * MAINTAINERS: Update my e-mail address, downgrade to MIPS I-IV
517 ISA maintenance.
518
3391569f
NC
5192018-07-20 Nick Clifton <nickc@redhat.com>
520
521 * objcopy.c (add_specific_symbols): Free buffer on exit.
522 (add_redefine_syms_file): Close file handle on exit.
523 (copy_object): Close file handle on early exit.
524 Free buffer on early exit.
525 Free gaps buffers once they are no longer needed.
526 * dwarf.c (display_debug_frames): Free allocated memory on exit.
527 (load_separate_debug_info): Free allocate memory on early exit.
528
8095d2f7
CX
5292018-07-20 Chenghua Xu <paul.hua.gm@gmail.com>
530 Maciej W. Rozycki <macro@mips.com>
531
532 * readelf.c (print_mips_ases): Add MMI extension.
533
79f5b65e
DD
5342018-07-19 DJ Delorie <dj@redhat.com>
535
536 * MAINTAINERS (RL78, RX): Remove myself as maintainer.
537
442a6ce8
NC
5382018-07-19 Nick Clifton <nickc@redhat.com>
539
540 * dwarf.c (read_cie): Free allocated memory before returning with
541 a failure result.
542
3fd21718
PFC
5432018-07-16 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
544
545 * readelf.c (get_note_type): Fix typo in NT_PPC_TM_CVSX note
546 description.
547
ad96220c
NC
5482018-07-16 Nick Clifton <nickc@redhat.com>
549
550 * README-how-to-make-a-release: Add note to check for new top
551 level files and add them to the src-release.sh script.
552
6cb624f8
NC
5532018-07-14 Nick Clifton <nickc@redhat.com>
554
555 * README-how-to-make-a-release: Updated with corrections based on
556 the 2.31 release experience.
557
55cc53e9
FT
5582018-07-12 Francois H. Theron <francois.theron@netronome.com>
559
560 * readelf.c (process_section_headers): Don't print section type
561 twice for --section-details.
562
be570f06
AM
5632018-07-10 Alan Modra <amodra@gmail.com>
564
565 * testsuite/lib/binutils-common.exp (supports_gnu_unique): Return
566 zero for xgate.
567
d20e98ab
NC
5682018-07-06 Nick Clifton <nickc@redhat.com>
569
570 * readelf.c (same_section): New function.
571 (print_gnu_build_attribute_description): Do not complain about
572 gaps that cross a section boundary.
573
d8dab054
NC
5742018-07-05 Nick Clifton <nickc@redhat.com>
575
576 * po/bg.po: Updated Bulgarian translation.
577
a05a5b64
TP
5782018-07-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
579
580 * NEWS: Use command-line consistently when used in a compount word.
581 * doc/binutils.texi: Likewise and fix trailing whitespace on same
582 line.
583
30aa1306
NC
5842018-06-26 Nick Clifton <nickc@redhat.com>
585
586 * po/sv.po: Updated Swedish translation.
587 * po/uk.po: Updated Ukranian translation.
588
eca4b721
NC
5892018-06-26 Nick Clifton <nickc@redhat.com>
590
591 * doc/binutils.texi: Fix spelling mistakes.
592 * README--how-to-make-a-release: Likewise.
593
1021d1cb
TT
5942018-06-25 Tom Tromey <tom@tromey.com>
595
596 * dwarf-mode.el (dwarf-mode-syntax-table): New variable.
597 Bump version number.
598
71300e2c
NC
5992018-06-24 Nick Clifton <nickc@redhat.com>
600
601 * README-how-to-make-a-release: Update with experiences from
602 making 2.31 branch.
603 * po/binutils.pot: Regenerate.
604 * configure: Regenerate.
605
719d8288
NC
6062018-06-24 Nick Clifton <nickc@redhat.com>
607
608 2.31 branch created.
609 * NEWS: Add marker for 2.31.
610
d388f643
AM
6112018-06-21 Alan Modra <amodra@gmail.com>
612
613 * doc/Makefile.am (AUTOMAKE_OPTIONS): Add "foreign".
614 * doc/Makefile.in: Regenerate.
615
d0ac1c44
SM
6162018-06-19 Simon Marchi <simon.marchi@ericsson.com>
617
618 * configure.ac: Remove AC_PREREQ.
619 * doc/Makefile.am (AUTOMAKE_OPTIONS): Remove cygnus, add
620 info-in-builddir no-texinfo.tex.
621 * Makefile.in: Re-generate.
622 * aclocal.m4: Re-generate.
623 * config.in: Re-generate.
624 * configure: Re-generate.
625 * doc/Makefile.in: Re-generate.
626
3a075e56
AS
6272018-06-19 Andreas Schwab <schwab@suse.de>
628
629 * readelf.c (is_16bit_abs_reloc): Handle R_RISCV_SET16.
630 (is_8bit_abs_reloc): New function.
631 (is_6bit_abs_reloc): New function.
632 (is_6bit_inplace_sub_reloc): New function.
633 (apply_relocations): Use them. Handle 6-bit relocations.
634
6f20c942
FS
6352018-06-14 Faraz Shahbazker <Faraz.Shahbazker@mips.com>
636
637 * readelf.c (print_mips_ases): Add GINV extension.
638
1f6f5dba
L
6392018-06-14 H.J. Lu <hongjiu.lu@intel.com>
640
641 PR binutils/23267
642 * readelf.c (get_symbol_version_string): Check if the first
643 symbol version is base version.
644
730c3174
SE
6452018-06-13 Scott Egerton <scott.egerton@imgtec.com>
646 Faraz Shahbazker <Faraz.Shahbazker@mips.com>
647
648 * readelf.c (print_mips_ases): Add CRC.
649
7a486e6d
NC
6502018-06-13 Nick Clifton <nickc@redhat.com>
651
652 * doc/binutils.texi (objdump): Add missing closing square
653 parenthesis to listing of objcopy's command line options.
654
5a485b38
NC
6552018-06-11 Nick Clifton <nickc@redhat.com>
656
657 * po/es.po: Updated Spanish translation.
658
55e99962
L
6592018-06-01 H.J. Lu <hongjiu.lu@intel.com>
660
661 * configure: Regenerated.
662
0034eed0
AM
6632018-05-31 Alan Modra <amodra@gmail.com>
664
665 * testsuite/binutils-all/compress.exp (test_gnu_debuglink): Don't
666 set CC_FOR_TARGET. Run test non-native.
667 * testsuite/binutils-all/objdump.exp (test_build_id_debuglink):
668 Likewise.
669 (test_follow_debuglink): Run test non-native.
670
1869e86f
AB
6712018-05-30 Ant Bikeneev <ant.bikineev@gmail.com>
672
673 PR 23107
674 * ar.c (display_offsets): New variable.
675 (usage): Add description of 'O' operator.
676 (decode_option): Handle 'O' operator.
677 (print_descr): Pass display_offsets to print_arelt_descr.
678 * arsup.c: Update call to printy_arelt_descr.
679 * objdump.c: Likewise.
680 * bucomm.c (print_arelt_descr): If offsets parameter is true then
681 display offset of archive element within the archive.
682 * bucomm.h: Update prototype for print_arelt_descr.
683 * doc/binutils.texi: Update description of ar command.
684 * NEWS: Mention the new feature.
685 * testsuite/binutils-all/ar.exp: Add text of new feature.
686
bb3b5316
AM
6872018-05-28 Alan Modra <amodra@gmail.com>
688
689 PR 23235
690 * testsuite/binutils-all/compress.exp (test_gnu_debuglink): Return
691 unsupported rather than fail on compile errors.
692 * testsuite/binutils-all/objdump.exp (test_build_id_debuglink):
693 Likewise. Save and restore CFLAGS_FOR_TARGET.
694
7f999549
JW
6952018-05-18 Kito Cheng <kito.cheng@gmail.com>
696
697 * readelf.c (get_machine_flags): Handle EF_RISCV_RVE.
698
7b4ae824
JD
6992018-05-18 John Darrington <john@darrington.wattle.id.au>
700
701 * readelf.c: Add support for s12z architecture.
702 * testsuite/lib/binutils-common.exp (is_elf_format): Excluse s12z
703 targets.
704
f9830ec1
TC
7052018-05-15 Tamar Christina <tamar.christina@arm.com>
706
707 PR binutils/21446
708 * doc/binutils.texi (-M): Document AArch64 options.
709
7d02540a
TC
7102018-05-15 Tamar Christina <tamar.christina@arm.com>
711
712 PR binutils/21446
713 * doc/binutils.texi (-M): Document AArch64 options.
714 * NEWS: Document notes and warnings.
715
679ca975
AM
7162018-05-15 Alan Modra <amodra@gmail.com>
717
718 * testsuite/lib/binutils-common.exp (is_elf_format): Add chorus,
719 cloudabi, fuchsia, kaos and nto. Merge netbsdelf* into *elf*,
720 and *uclinux* into *linux*.
721 * testsuite/binutils-all/objcopy.exp: Accept armeb for rel
722 strip-13 test, exclude arm-vxworks and arm-windiss.
723
637b1970
JD
7242018-05-10 John Darrington <john@darrington.wattle.id.au>
725
726 * readelf.c (get_machine_name): EM_S12Z - handle new case.
727
60cb2c8a
AM
7282018-05-09 Alan Modra <amodra@gmail.com>
729
730 * od-macho.c (dump_unwind_encoding_x86): Fix typo in last patch.
731
84f9f8c3
AM
7322018-05-09 Sebastian Rasmussen <sebras@gmail.com>
733
734 * od-macho.c (dump_unwind_encoding_x86): Adjust for macro renaming.
735
886d5428
AM
7362018-05-08 Alan Modra <amodra@gmail.com>
737
738 PR 23141
739 * objcopy.c (is_strip_section): Strip groups without a valid
740 signature symbol.
741
ce4ec1a9
AM
7422018-05-07 Alan Modra <amodra@gmail.com>
743
744 PR 23142
745 * objcopy.c (group_signature): Don't accept groups that use a
746 symbol table other than the one we've read.
747
fe944acf
FT
7482018-04-30 Francois H. Theron <francois.theron@netronome.com>
749
750 * readelf.c: Very basic support for EM_NFP and its section types.
751 * testsuite/binutils-all/nfp: New directory.
752 * testsuite/binutils-all/nfp/objdump.exp: New file. Run new
753 tests.
754 * testsuite/binutils-all/nfp/test2_ctx8.d: New file.
755 * testsuite/binutils-all/nfp/test2_no-pc_ctx4.d: New file.
756 * testsuite/binutils-all/nfp/test1.d: New file.
757 * testsuite/binutils-all/nfp/nfp6000.nffw: New file.
758 * testsuite/binutils-all/nfp/test2_nfp6000.nffw: New file.
759 * NEWS: Mention the new support.
760
6d9dabbb
MR
7612018-04-27 Maciej W. Rozycki <macro@mips.com>
762
763 * testsuite/lib/binutils-common.exp (match_target): New procedure.
764 * testsuite/lib/utils-lib.exp (run_dump_test): Use it in place
765 of `istarget' for matching with `target', `not-target', `skip'
766 and `not-skip' options.
767
0df8ad28
NC
7682018-04-26 Nick Clifton <nickc@redhat.com>
769
770 * readelf.c (is_32bit_abs_reloc): Support R_PARISC_DIR32 as a
771 32-bit absolute reloc for the HPPA target.
772 * testsuite/binutils-all/note-5.d: New test.
773 * testsuite/binutils-all/note-5.s: Source file for new test.
774 * testsuite/binutils-all/objcopy.exp: Run new test.
775
f1ac0afe
CL
7762018-04-25 Christophe Lyon <christophe.lyon@st.com>
777
778 * testsuite/binutils-all/elfedit-2.d: Accept arm*-*-uclinuxfdpiceabi.
779 * testsuite/binutils-all/elfedit-3.d: Likewise.
780 * testsuite/binutils-all/objcopy.exp: Likewise.
781 * testsuite/binutils-all/strip-3.d: Likewise.
782 * testsuite/lib/binutils-common.exp: Likewise.
783
18a20338
CL
7842018-04-25 Christophe Lyon <christophe.lyon@st.com>
785 Mickaël Guêné <mickael.guene@st.com>
786
787 * readelf.c (decode_ARM_machine_flags): Support EF_ARM_PIC.
788 (get_osabi_name): Support ELFOSABI_ARM_FDPIC.
789
2ac93be7
AM
7902018-04-25 Alan Modra <amodra@gmail.com>
791
792 * testsuite/binutils-all/arm/objdump.exp: Remove arm-aout and
793 arm-coff support.
794 * testsuite/binutils-all/objcopy.exp: Likewise.
795 * testsuite/lib/binutils-common.exp: Likewise.
796
a7504f87
NC
7972018-04-18 Nick Clifton <nickc@redhat.com>
798
799 PR 23062
800 * dwarf.c (read_and_display_attr_value): Replace assertions with
801 test and warning message.
802
c65c21e1
AM
8032018-04-18 Alan Modra <amodra@gmail.com>
804
805 * testsuite/lib/binutils-common.exp: Remove support for assorted
806 aout targets.
807
6aea08d9
NC
8082018-04-17 Nick Clifton <nickc@redhat.com>
809
c4a91159 810 PR 23063
56d8f8a9
NC
811 * readelf.c (print_symbol): If the width is zero, return straight
812 away.
813
6aea08d9
NC
814 PR 23064
815 * dwarf.c (process_cu_tu_index): Test for a potential buffer
816 overrun before copying signature pointer.
817
f954747f
AM
8182018-04-17 Alan Modra <amodra@gmail.com>
819
820 * readelf.c: Revert 2018-04-16 and 2018-04-11 changes.
821
d7867d17
AM
8222018-04-16 Alan Modra <amodra@gmail.com>
823
824 * readelf.c (get_machine_name): Correct typo.
825
ddb00039
AM
8262018-04-16 Alan Modra <amodra@gmail.com>
827
828 * configure.ac: Remove arm-epoc-pe support.
829 * dlltool.c: Likewise.
830 * configure: Regenerate.
831
c9098af4
AM
8322018-04-16 Alan Modra <amodra@gmail.com>
833
834 * testsuite/lib/binutils-common.exp: Remove sparc-aout and
835 sparc-coff support.
836
dc12032b
AM
8372018-04-16 Alan Modra <amodra@gmail.com>
838
839 * testsuite/binutils-all/copy-2.d: Remove m68k-aout and m68k-coff
840 support.
841 * testsuite/binutils-all/copy-3.d: Likewise.
842 * testsuite/binutils-all/objcopy.exp: Likewise.
843 * testsuite/lib/binutils-common.exp: Likewise.
844
211dc24b
AM
8452018-04-16 Alan Modra <amodra@gmail.com>
846
847 * testsuite/binutils-all/objcopy.exp: Remove sh5 and sh64 support.
848
a9a4b302
AM
8492018-04-16 Alan Modra <amodra@gmail.com>
850
851 * testsuite/binutils-all/objcopy.exp: Remove w65 support.
852
04cb01fd
AM
8532018-04-16 Alan Modra <amodra@gmail.com>
854
855 * testsuite/binutils-all/objdump.exp: Remove we32k support.
856
c2bf1eec
AM
8572018-04-16 Alan Modra <amodra@gmail.com>
858
859 * MAINTAINERS (Mark Kettenis): Move to past maintainers.
860 * testsuite/binutils-all/objdump.exp: Remove m88k support.
861
6793974d
AM
8622018-04-16 Alan Modra <amodra@gmail.com>
863
864 * readelf.c: Remove i370 support.
865 * testsuite/binutils-all/objdump.exp: Likewise.
866
e82aa794
AM
8672018-04-16 Alan Modra <amodra@gmail.com>
868
869 * testsuite/binutils-all/objcopy.exp: Remove h8500 support.
870 * testsuite/lib/binutils-common.exp: Likewise.
871
fe0bf0fd
AM
8722018-04-16 Alan Modra <amodra@gmail.com>
873
874 * testsuite/binutils-all/objcopy.exp: Remove h8300-coff support.
875
fdef3943
AM
8762018-04-16 Alan Modra <amodra@gmail.com>
877
878 * Makefile.am: Remove IEEE 695 support.
879 * budbg.h: Likewise.
880 * doc/binutils.texi: Likewise.
881 * makefile.vms: Likewise.
882 * objcopy.c: Likewise.
883 * objdump.c: Likewise.
884 * rddbg.c: Likewise.
885 * ieee.c: Delete.
886 * Makefile.in: Regenerate.
887 * po/POTFILES.in: Regenerate.
888
5972ac73
AM
8892018-04-16 Alan Modra <amodra@gmail.com>
890
891 * testsuite/binutils-all/copy-2.d: Remove newsos3 support.
892 * testsuite/binutils-all/nm.exp: Likewise.
893
b4b594e3
AM
8942018-04-16 Alan Modra <amodra@gmail.com>
895
896 * .gitignore: Remove netware support.
897 * Makefile.am: Likewise.
898 * configure.ac: Likewise.
899 * doc/Makefile.am: Likewise.
900 * doc/binutils.texi: Likewise.
901 * testsuite/binutils-all/nm.exp: Likewise.
902 * nlmconv.c: Delete.
903 * nlmconv.h: Delete.
904 * nlmheader.y: Delete.
905 * Makefile.in: Regenerate.
906 * configure: Regenerate.
907 * doc/Makefile.in: Regenerate.
908 * po/POTFILES.in: Regenerate.
909
fceadf09
AM
9102018-04-16 Alan Modra <amodra@gmail.com>
911
912 * testsuite/binutils-all/objdump.exp: Remove tahoe support.
913
fb70ec17
AM
9142018-04-14 Alan Modra <amodra@gmail.com>
915
916 * readelf.c (get_machine_name): Revert 2018-04-11 change.
917
86c6c6df
NC
9182018-04-12 Nick Clifton <nickc@redhat.com>
919
920 PR 23050
921 * readelf.c (process_dynamic_section): Correct dynamic string
922 table size calculation.
923
a8eb42a8
AM
9242018-04-11 Alan Modra <amodra@gmail.com>
925
926 * ieee.c: Remove i960 support.
927 * od-macho.c: Remove i860 support.
928 * readelf.c: Remove i860 and i960 support.
929 * testsuite/binutils-all/objcopy.exp: Likewise.
930 * testsuite/binutils-all/objdump.exp: Likewise.
931 * testsuite/lib/binutils-common.exp: Likewise.
932
c43b2c54
MR
9332018-04-11 Maciej W. Rozycki <macro@mips.com>
934
935 * testsuite/lib/binutils-common.exp (is_elf_format): Also return
936 1 for `*-*-lynxos*' and `*-*-symbianelf*' targets.
937
d4ae1932
AM
9382018-04-10 Alan Modra <amodra@gmail.com>
939
940 * testsuite/binutils-all/objcopy.exp (strip-14, strip-15): Choose
941 reloc=11 for pru and reloc=50 for nds32.
942 * testsuite/binutils-all/strip-15.d: Accept 0xb reloc number.
943
d52e3d06
MR
9442018-04-09 Maciej W. Rozycki <macro@mips.com>
945
946 * testsuite/binutils-all/strip-15.d: New test.
947 * testsuite/binutils-all/strip-15rel.s: New test source.
948 * testsuite/binutils-all/strip-15rela.s: New test source.
949 * testsuite/binutils-all/strip-15mips64.s: New test source.
950 * testsuite/binutils-all/objcopy.exp: Run the new test.
951
3f97ba9f
MR
9522018-04-09 Maciej W. Rozycki <macro@mips.com>
953
954 * testsuite/binutils-all/strip-14.d: New test.
955 * testsuite/binutils-all/strip-14rel.s: New test source.
956 * testsuite/binutils-all/strip-14rela.s: New test source.
957 * testsuite/binutils-all/strip-14mips64.s: New test source.
958 * testsuite/binutils-all/objcopy.exp: Run the new test.
959
2008a0db
TT
9602018-04-06 Tom Tromey <tom@tromey.com>
961
962 * dwarf.c (read_and_display_attr_value): Add missing DW_LANG
963 constants from DWARF 5.
964
3cba8b6c
L
9652018-04-05 H.J. Lu <hongjiu.lu@intel.com>
966
967 PR gas/22318
968 * configure: Regenerated.
969
2d8c1a23
MR
9702018-04-05 Maciej W. Rozycki <macro@mips.com>
971
972 * testsuite/binutils-all/strip-13mips64.s: Use `.dc.l' rather
973 than `.dc.w' in second relocation.
974
65bd2045
MR
9752018-04-05 Maciej W. Rozycki <macro@mips.com>
976
977 * testsuite/binutils-all/strip-13.d: Also expect `unsupported
978 relocation type 0x8f' error message.
979
2f8ceb38
MR
9802018-04-05 Maciej W. Rozycki <macro@mips.com>
981
982 * testsuite/binutils-all/strip-13.s: Rename to...
983 * testsuite/binutils-all/strip-13rela.s: ... this.
984 * testsuite/binutils-all/strip-13rel.s: New test source.
985 * testsuite/binutils-all/strip-13mips64.s: New test source.
986 * testsuite/binutils-all/strip-13.d: Remove `arm-*', `d10v-*',
987 `dlx-*' and `xgate-*' from `not-target' list. Add `m6811-*' and
988 `m68hc11-*' to `not-target' list.
989 * testsuite/binutils-all/objcopy.exp: Switch between sources for
990 `strip-13'.
991
aad7be45
MR
9922018-04-05 Maciej W. Rozycki <macro@mips.com>
993
994 * testsuite/binutils-all/strip-13.s: Use 143 (0x8f) rather than
995 241 (0xf1) for the relocation number and RELA addend.
996 * testsuite/binutils-all/strip-13.d: Remove `hppa*-*' from the
997 `not-target' list.
998
89f60df2
JDA
9992018-04-04 John David Anglin <danglin@gcc.gnu.org>
1000
1001 * MAINTAINERS: Update my e-mail address.
1002
f1ca0d6d
NC
10032018-04-04 Nick Clifton <nickc@redhat.com>
1004
1005 * MAINTAINERS: Move Jason Eckhardt to past maintainers section.
1006
8fd75781
NC
10072018-03-23 Nick Clifton <nickc@redhat.com>
1008
1009 * readelf.c (get_symbol_for_build_attribute): Skip ARM mapping
1010 symbols.
1011 (print_gnu_build_attribute_description): If no file start symbol
1012 could be found, look for one two bytes into the file.
1013 * testsuite/binutils-all/note-4-64.s: Set the address of the file
1014 start symbol to two bytes into the file.
1015 * testsuite/binutils-all/note-4-32.s: Likewise.
1016
b1202ffa
L
10172018-03-21 H.J. Lu <hongjiu.lu@intel.com>
1018
1019 * readelf.c (process_dynamic_section): Also dump DF_1_KMOD,
1020 DF_1_WEAKFILTER and DF_1_NOCOMMON.
1021
7e100140
NC
10222018-03-20 Nick Clifton <nickc@redhat.com>
1023
1024 * po/es.po: Updated Spanish translation.
1025 * po/ru.po: Updated Russian translation.
1026
e45ad123
NC
10272018-03-13 Nick Clifton <nickc@redhat.com>
1028
1029 PR 22957
1030 * stabs.c (pop_binincl): Fail if the file index is off the end of
1031 the stack.
1032
81db3241
NC
10332018-03-13 Nick Clifton <nickc@redhat.com>
1034
1035 PR 22955
1036 * stabs.c (parse_number): Add p_end parameter and use it to check
1037 the validity of the pp parameter. Add checks to prevent walking
1038 off the end of the string buffer.
1039 (parse_stab_string): Likewise.
1040 (parse_stab_type): Likewise.
1041 (parse_stab_type_number): Likewise.
1042 (parse_stab_range_type): Likewise.
1043 (parse_stab_sun_builtin_type): Likewise.
1044 (parse_stab_sun_floating_type): Likewise.
1045 (parse_stab_enum_type): Likewise.
1046 (parse_stab_struct_type): Likewise.
1047 (parse_stab_baseclasses): Likewise.
1048 (parse_stab_struct_fields): Likewise.
1049 (parse_stab_cpp_abbrev): Likewise.
1050 (parse_stab_one_struct_field): Likewise.
1051 (parse_stab_members): Likewise.
1052 (parse_stab_tilde_field): Likewise.
1053 (parse_stab_array_type): Likewise.
e45ad123 1054
81db3241
NC
1055 * parse_stab: Compute the end of the string and then pass it on to
1056 individual parser functions.
1057
6d4f21f6
PP
10582018-03-07 Paul Pluzhnikov <ppluzhnikov@google.com>
1059
1060 PR binutils/22923
1061 * binutils/readelf.c (get_ver_flags): Expand buffer to avoid
1062 overflow.
1063
52fe4420
AM
10642018-03-07 Alan Modra <amodra@gmail.com>
1065
1066 * configure.ac: Add objdump_private_desc_xcoff for rs6000.
1067 * configure: Regenerate.
1068
0e70b27b
L
10692018-03-05 H.J. Lu <hongjiu.lu@intel.com>
1070
1071 PR binutils/22911
1072 * objdump.c (is_significant_symbol_name): Return TRUE for all
1073 .plt* sections.
1074 (find_symbol_for_address): Replace linear search with binary
1075 search on dynamic relocations.
1076
d11ae95e
NC
10772018-03-01 Nick Clifton <nickc@redhat.com>
1078
1079 PR 22905
1080 * dwarf.c (display_debug_ranges): Check that the offset loaded
1081 from the range_entry structure is valid.
1082
e184813f
AM
10832018-03-01 Alan Modra <amodra@gmail.com>
1084
1085 * configure.ac (ALL_LINGUAS): Add sr. Sort.
1086 * configure: Regenerate.
1087
bc7c0509
NC
10882018-02-27 Nick Clifton <nickc@redhat.com>
1089
1090 * po/pt.po: New Portuguese translation.
1091 * configure.ac (ALL_LINGUAS): Add pt.
1092 * configure: Regenerate.
1093
f3185997
NC
10942018-02-27 Nick Clifton <nickc@redhat.com>
1095
1096 PR 22875
1097 * objcopy.c (copy_object): Check the error status after marking
1098 symbols used in relocations.
1099 * testsuite/binutils-all/strip-13.s: New test source file.
1100 * testsuite/binutils-all/strip-13.s: New test driver file.
1101 * testsuite/binutils-all/objcopy.exp: Run the new test.
1102
2c1c9679
AM
11032018-02-26 Alan Modra <amodra@gmail.com>
1104
1105 * testsuite/binutils-all/mips/mips-reginfo-n32.d,
1106 * testsuite/binutils-all/mips/mips-reginfo.d: Update.
1107
6e05870c
AM
11082018-02-23 Alan Modra <amodra@gmail.com>
1109
1110 * testsuite/binutils-all/mips/mips-reginfo-n32.d,
1111 * testsuite/binutils-all/mips/mips-reginfo.d: Update.
1112
b0ab9c45
RH
11132018-02-20 Ronald Hoogenboom <hoogenboom30@zonnet.nl>
1114
1115 * doc/binutils.texi (objcopy): Add missing closing square
1116 parenthesis to listing of objcopy's command line options.
1117
e535d0dd
MK
11182018-02-19 Matthias Klose <doko@debian.org>
1119
1120 * strings.c (long_options): Include-all-whitespace does not take
f9853190 1121 an extra agument.
e535d0dd 1122
6e5e9d58
AM
11232018-02-13 Alan Modra <amodra@gmail.com>
1124
1125 PR 22836
1126 * testsuite/binutils-all/group-7.s,
1127 * testsuite/binutils-all/group-7a.d,
1128 * testsuite/binutils-all/group-7b.d,
1129 * testsuite/binutils-all/group-7c.d: New tests.
1130 * testsuite/binutils-all/objcopy.exp: Run them.
1131
8de3a6e2
NC
11322018-02-08 Nick Clifton <nickc@redhat.com>
1133
1134 PR 22802
1135 * dwarf.c (load_separate_debug_file): Return early if the user is
1136 not interested in debug links.
1137
68807c3c
NC
11382018-02-06 Nick Clifton <nickc@redhat.com>
1139
1140 PR 22793
1141 * readelf.c (find_section): Replace assertion with test and return
1142 of NULL.
1143 (find_section_by_address): Add test of section header table
1144 existance.
1145 (find_section_by_type): Likewise.
1146 (find_section_in_set): Likewise.
1147
2d6dda71
MR
11482018-02-05 Maciej W. Rozycki <macro@mips.com>
1149
1150 * testsuite/binutils-all/mips/mips-reginfo.d: New test.
1151 * testsuite/binutils-all/mips/mips-reginfo-n32.d: New test.
1152 * testsuite/binutils-all/mips/mips-reginfo.s: New test source.
1153 * testsuite/binutils-all/mips/mips.exp: Run the new tests.
1154
78c88364
MR
11552018-02-05 Maciej W. Rozycki <macro@mips.com>
1156
1157 * testsuite/config/default.exp (binutils_run): Document
1158 `binutils_run_status'.
1159 * testsuite/lib/utils-lib.exp (default_binutils_run): Likewise,
1160 and set it.
1161 (run_dump_test): Add `error', `error_output', `warning' and
1162 `warning_output' options. Update documentation accordingly.
1163
5bb0830d
AB
11642018-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
1165
1166 * dwarf.c (dwarf_regnames_riscv): New register name table.
1167 (init_dwarf_regnames_riscv): New function.
1168 (init_dwarf_regnames): Add call to initialise RiscV register
1169 names.
1170 * dwarf.h (init_dwarf_regnames_riscv): Declare.
1171 * objdump.c (dump_dwarf): Add call to initialise RiscV register
1172 names.
1173
f2023ce7
AM
11742018-02-01 Alan Modra <amodra@gmail.com>
1175
1176 PR 22769
1177 * objdump.c (load_specific_debug_section): Check for overflow
1178 when adding one to section size for a string section terminator.
1179
fcabedd5
NC
11802018-01-30 Nick Clifton <nickc@redhat.com>
1181
1182 PR 22734
1183 * doc/binutils.texi (nm): Update description to point out that
1184 zero-initialized values can also be shown as type B, b, S or s
1185 since they can be stored in the BSS section.
1186
f49db8be
AM
11872018-01-30 Alan Modra <amodra@gmail.com>
1188
1189 * objcopy.c (merge_gnu_build_notes): Use (bfd_vma) -1 as
1190 "artificially large" end address.
1191
a8d6d6ac
NC
11922018-01-28 Nick Clifton <nickc@redhat.com>
1193
1194 * README-how-to-make-a-release: Add note about checking gpg key
1195 and the results of gnupload.
1196
9a5db26e
NC
11972018-01-27 Nick Clifton <nickc@redhat.com>
1198
1199 * README-how-to-make-a-release: Add details on how to actually
1200 make the release.
1201
94c2436b
NC
12022018-01-26 Nick Clifton <nickc@redhat.com>
1203
1204 * README-how-to-make-a-release: Add more details on updating
1205 version numbers.
1206
1ea332d6
MR
12072018-01-22 Maciej W. Rozycki <macro@mips.com>
1208
1209 * doc/binutils.texi (objcopy): Fix a typo in `--rename-section'
1210 option description.
1211
d65ce302
MR
12122018-01-22 Maciej W. Rozycki <macro@mips.com>
1213
1214 * MAINTAINERS: Update my company e-mail address.
1215
f433138f
NC
12162018-01-22 Nick Clifton <nickc@redhat.com>
1217
1218 * po/sv.po: Updated Swedish translation.
1219
7ab82037
NC
12202018-01-18 Nick Clifton <nickc@redhat.com>
1221
1222 * po/bg.po: Updated Bulgarian translation.
1223
0dd86f32
JB
12242018-01-16 Joel Brobecker <brobecker@adacore.com>
1225
1226 * README-how-to-make-a-release: Add reminder to update the
1227 branch name in gdbadmin's crontab on sourceware.
1228
a960d29f
JB
12292018-01-16 Joel Brobecker <brobecker@adacore.com>
1230
1231 * README-how-to-make-a-release: Remove trailing spaces.
1232
f6efed01
NC
12332018-01-16 Nick Clifton <nickc@redhat.com>
1234
1235 * po/fr.po: Updated French translation.
1236
616dcb87
NC
12372018-01-15 Nick Clifton <nickc@redhat.com>
1238
1239 * po/uk.po: Updated Ukranian translation.
1240
3957a496
NC
12412018-01-13 Nick Clifton <nickc@redhat.com>
1242
19e2900b 1243 * README-how-to-make-a-release: Update notes.
3957a496
NC
1244 * po/binutils.pot: Regenerated.
1245
769c7ea5
NC
12462018-01-13 Nick Clifton <nickc@redhat.com>
1247
1248 * configure: Regenerate.
1249
9176ac5b
NC
12502018-01-13 Nick Clifton <nickc@redhat.com>
1251
faf766e3 1252 2.30 branch created.
9176ac5b
NC
1253 * NEWS: Add marker for 2.30.
1254
98ab9e96
NC
12552018-01-12 Nick Clifton <nickc@redhat.com>
1256
1257 * README-how-to-make-a-release: Add notes on how to make the
1258 branch and prelease snapshot.
1259 * BRANCHES: Add binutils-2_29-branch.
1260
bf41f30d
NC
12612018-01-10 Nick Clifton <nickc@redhat.com>
1262
1263 * MAINTAINERS: Note that it is now the configure.ac file and not
1264 the configure.in file that needs to be kept in sync with gcc.
1265 Add a note about sending patches for libiberty to gcc.
1266
f13974bd
NC
12672018-01-03 Nick Clifton <nickc@redhat.com>
1268
1269 * objcopy.c (merge_gnu_build_notes): Add cast to maximum address
1270 constants.
1271
6f156d7a
NC
12722018-01-03 Nick Clifton <nickc@redhat.com>
1273
1274 * objcopy.c (objcopy_internal_note): New structure.
1275 (gap_exists): New function.
1276 (is_open_note): New function.
1277 (is_func_note): New function.
1278 (is_64bit): New function.
1279 (merge_gnu_build_notes): Handle v3 notes. Do not merge
1280 if there are relocations against the notes.
1281 * readelf.c (get_note_type): Use short names for build attribute
1282 notes.
1283 (print_symbol_for_build_attribute): Rename to
1284 get_symbol_for_build_attribute. Returns the found symbol rather
1285 than printing it.
1286 (print_gnu_build_attribute_description): Maintain address ranges
1287 for function notes as well as global notes. Handle v3 notes.
1288 (print_gnu_build_attribute_name): Use more space for printing the
1289 name in wide mode.
1290 * testsuite/binutils-all/note-2-32.s: Use .dc.l instead of .word.
1291 Eliminate symbol references in order to remove the need for
1292 relocations.
1293 * testsuite/binutils-all/note-2-64.s: Likewise.
1294 * testsuite/binutils-all/note-3-32.s: Add a size to the note_1
1295 symbol.
1296 * testsuite/binutils-all/note-3-64.s: Likewise.
1297 * testsuite/binutils-all/mips/mips-note-2r-n32.d: Update expected
1298 output.
1299 * testsuite/binutils-all/mips/mips-note-2r-n64.d: Likewise.
1300 * testsuite/binutils-all/mips/mips-note-2r.d: Likewise.
1301 * testsuite/binutils-all/note-2-32.d: Likewise.
1302 * testsuite/binutils-all/note-2-64.d: Likewise.
1303 * testsuite/binutils-all/note-3-32.d: Likewise.
1304 * testsuite/binutils-all/note-3-64.d: Likewise.
1305 * testsuite/binutils-all/note-4-64.s: New test. Checks v3 notes.
1306 * testsuite/binutils-all/note-4-32.s: New test.
1307 * testsuite/binutils-all/note-4-64.d: New test result file.
1308 * testsuite/binutils-all/note-4-32.d: New test result file.
1309
219d1afa
AM
13102018-01-03 Alan Modra <amodra@gmail.com>
1311
1312 Update year range in copyright notice of all files.
1313
1e563868 1314For older changes see ChangeLog-2017
3499769a 1315\f
1e563868 1316Copyright (C) 2018 Free Software Foundation, Inc.
3499769a
AM
1317
1318Copying and distribution of this file, with or without modification,
1319are permitted in any medium without royalty provided the copyright
1320notice and this notice are preserved.
1321
1322Local Variables:
1323mode: change-log
1324left-margin: 8
1325fill-column: 74
1326version-control: never
1327End:
This page took 0.254735 seconds and 4 git commands to generate.