PR23850, strip should not discard/move .rela.plt in executable
[deliverable/binutils-gdb.git] / binutils / ChangeLog
CommitLineData
33ea299c
TP
12018-11-01 Thomas Preud'homme <thomas.preudhomme@linaro.org>
2
3 * testsuite/config/default.exp: Define LD, LDFLAGS and
4 ld_elf_shared_opt.
5 * testsuite/lib/binutils-common.exp (check_shared_lib_support): Moved
6 from ld-lib.exp.
7 (run_dump_test): Set ld to $LD.
8
f63085d1
NC
92018-10-18 Nick Clifton <nickc@redhat.com>
10
11 * doc/binutils.texi (readelf): Document alternatives to the
12 --unwind option if it is not supported for the target
13 architecture.
14
feceaa59
AM
152018-10-16 Alan Modra <amodra@gmail.com>
16
17 PR 23780
18 * readelf.c (display_raw_attribute): Correct assertion.
19
bf2dd8d7
AM
202018-10-15 Alan Modra <amodra@gmail.com>
21
22 PR 23534
23 * addr2line.c (main): Exit with fatal error if bfd_init
24 returns an unexpected value.
25 * ar.c (main): Likewise.
26 * dlltool.c (identify_dll_for_implib): Likewise.
27 * nm.c (main): Likewise.
28 * objcopy.c (main): Likewise.
29 * objdump.c (main): Likewise.
30 * size.c (main): Likewise.
31 * strings.c (main): Likewise.
32 * windmc.c (main): Likewise.
33 * windres.c (main): Likewise.
34
de564eb5
NC
352018-10-11 Jordan Rupprecht <rupprecht@google.com>
36 Nick Clifton <nickc@redhat.com>
37
38 * objcopy.c (copy_main): Issue a fata error if the
39 --keep-global-symbol(s) and the --globalize-symbol(s) options are
40 used together.
41 * doc/binutils.texi: Document that the two options are
42 incompatible.
43 * testsuite/binutils-all/copy-5.d: New test.
44 * testsuite/binutils-all/objcopy.exp: Run the new test.
45
43f6cd05
AM
462018-10-10 Helge Deller <deller@gmx.de>
47 Alan Modra <amodra@gmail.com>
48
49 * readelf.c (hppa_process_unwind): Don't use eh_addr_size to
50 calculate number of entries.
51 (slurp_hppa_unwind_table): Don't use eh_addr_size here either.
52
8ab159a9
AM
532018-10-10 Alan Modra <amodra@gmail.com>
54
55 * objdump.c (dump_dwarf): Set s12z eh_addr_size to 4.
56
25cbdcbb
AS
572018-10-08 Andreas Schwab <schwab@suse.de>
58
59 * readelf.c (is_32bit_pcrel_reloc): Handle R_RISCV_32_PCREL.
60
8e90d6d2
NC
612018-10-03 Nick Clifton <nickc@redhat.com>
62
63 * po/pt.po: Updated Portuguese translation.
527b9e87 64 * po/fr.po: Updated French translation.
8e90d6d2 65
dfc616fa
AM
662018-09-22 Alan Modra <amodra@gmail.com>
67
68 * readelf.c (apply_relocations): Don't return FALSE for warnings.
69
fbaf61ad
NC
702018-09-20 Nelson Chu <nelson.chu1990@gmail.com>
71
72 * testsuite/binutils-all/objcopy.exp: Set the unsupported reloc number
73 from 215 to 255 for NDS32.
74
d839b914
L
752018-09-17 H.J. Lu <hongjiu.lu@intel.com>
76
77 * objcopy.c (strip_specific_buffer): New.
78 (strip_unneeded_buffer): Likewise.
79 (keep_specific_buffer): Likewise.
80 (localize_specific_buffer): Likewise.
81 (globalize_specific_buffer): Likewise.
82 (keepglobal_specific_buffer): Likewise.
83 (weaken_specific_buffer): Likewise.
84 (add_specific_symbols): Add an argument to return pointer to
85 allocated buffer.
86 (copy_main): Update add_specific_symbols to update pointers to
87 allocated buffer. Free pointers to allocated buffer before
88 return.
89
c12d9fa2
AM
902018-09-17 Alan Modra <amodra@gmail.com>
91
92 * objcopy.c (handle_remove_section_option): Don't require a dot
93 after .rela and .rel to handle a possible relocation section.
94 * testsuite/binutils-all/remove-relocs-07.s,
95 * testsuite/binutils-all/remove-relocs-07.d,
96 * testsuite/binutils-all/remove-relocs-08.d: New tests.
97 * testsuite/binutils-all/remove-relocs-01.d,
98 * testsuite/binutils-all/remove-relocs-04.d,
99 * testsuite/binutils-all/remove-relocs-05.d,
100 * testsuite/binutils-all/remove-relocs-06.d: Exclude mips64-openbsd.
101
0b1352e0
AM
1022018-09-17 Alan Modra <amodra@gmail.com>
103
104 * testsuite/lib/binutils-common.exp (is_som_format): New proc.
105 (run_dump_test): Correct target test for alternate .comm syntax.
106 (get_standard_section_names): Handle som format.
107 * testsuite/lib/utils-lib.exp (default_binutils_assemble_flags):
108 Correct target test for alternate .comm syntax.
109
8c9604b6
AM
1102018-09-17 Alan Modra <amodra@gmail.com>
111
112 * testsuite/binutils-all/strip-13mips64.s: Add section flags
113 for reloc section.
114 * testsuite/binutils-all/strip-13rel.s: Likewise.
115 * testsuite/binutils-all/strip-13rela.s: Likewise.
116 * testsuite/binutils-all/strip-14mips64.s: Likewise.
117 * testsuite/binutils-all/strip-14rel.s: Likewise.
118 * testsuite/binutils-all/strip-14rela.s: Likewise.
119 * testsuite/binutils-all/strip-15mips64.s: Likewise.
120 * testsuite/binutils-all/strip-15rel.s: Likewise.
121 * testsuite/binutils-all/strip-15rela.s: Likewise.
122
a0a8a934
NC
1232018-09-17 Nick Clifton <nickc@redhat.com>
124
125 * testsuite/binutils-all/compress.exp: Rename second "objcopy
126 zlib-gnu compress debug sections 3" test to "objcopy zlib-gabi
127 compress debug sections 3" and use gabi object files instead
128 of gnu object files.
129 * testsuite/binutils-all/objcopy.exp: Add suffix to the names
130 of the "ELF group" tests.
131 * testsuite/binutils-all/readelf.exp (proc readelf_find_size):
132 Add an iteration parameter and include it in the name of the
133 test. Update callers to include an iteration count.
134
8ffb70eb
AM
1352018-09-15 Alan Modra <amodra@gmail.com>
136
137 * testsuite/binutils-all/add-symbol.d: Add "section_subst: no".
138 * testsuite/binutils-all/elfedit.exp: Don't set tempfile or copyfile.
139 * testsuite/binutils-all/symbols-1.d,
140 * testsuite/binutils-all/symbols-2.d,
141 * testsuite/binutils-all/symbols-3.d,
142 * testsuite/binutils-all/symbols-4.d: Quote '*' and '!'.
143 * testsuite/binutils-all/add-empty-section.d,
144 * testsuite/binutils-all/add-section.d,
145 * testsuite/binutils-all/elfedit.exp,
146 * testsuite/binutils-all/note-1.d,
147 * testsuite/binutils-all/pr23633.d: Add $subdir after $srcdir.
148 * testsuite/config/default.exp (AS, ASFLAGS): Define.
149 * testsuite/config/hppa.sed: Handle all common symbols.
150 * testsuite/lib/binutils-common.exp (run_dump_test): New proc,
151 merged from three other versions.
152 (slurp_options, file_contents, set_file_contents): Likewise.
153 (big_or_little_endian, get_standard_section_names): Likewise.
154 * testsuite/lib/utils-lib.exp (run_dump_test): Delete.
155 (slurp_options, proc file_contents): Delete.
156 (get_standard_section_names): Delete.
157
e8d88459
AM
1582018-09-15 Alan Modra <amodra@gmail.com>
159
160 * testsuite/binutils-all/copy-2.d,
161 * testsuite/binutils-all/copy-3.d,
162 * testsuite/binutils-all/copy-4.d,
163 * testsuite/binutils-all/elfedit-1.d,
164 * testsuite/binutils-all/note-1.d,
165 * testsuite/binutils-all/note-2-64.d,
166 * testsuite/binutils-all/strip-11.d,
167 * testsuite/binutils-all/strip-13.d,
168 * testsuite/binutils-all/strip-14.d,
169 * testsuite/binutils-all/testranges.d,
170 * testsuite/binutils-all/x86-64/pr23494a-x32.d,
171 * testsuite/binutils-all/x86-64/pr23494a.d,
172 * testsuite/binutils-all/x86-64/pr23494b-x32.d,
173 * testsuite/binutils-all/x86-64/pr23494b.d,
174 * testsuite/binutils-all/x86-64/pr23494c-x32.d,
175 * testsuite/binutils-all/x86-64/pr23494c.d,
176 * testsuite/binutils-all/x86-64/pr23494d-x32.d,
177 * testsuite/binutils-all/x86-64/pr23494d.d,
178 * testsuite/binutils-all/x86-64/pr23494e-x32.d,
179 * testsuite/binutils-all/x86-64/pr23494e.d,
180 * testsuite/lib/utils-lib.exp (run_dump_test): Replace not-target
181 and not-skip with notarget and noskip.
182
04ade4bc
AM
1832018-09-15 Alan Modra <amodra@gmail.com>
184
185 * testsuite/binutils-all/group-7a.d,
186 * testsuite/binutils-all/group-7b.d,
187 * testsuite/binutils-all/group-7c.d,
188 * testsuite/binutils-all/symbols-1.d,
189 * testsuite/binutils-all/symbols-2.d,
190 * testsuite/binutils-all/symbols-3.d,
191 * testsuite/binutils-all/symbols-4.d: Remove DUMPPROG.
192
1fcd7e87
AM
1932018-09-14 Alan Modra <amodra@gmail.com>
194
195 PR binutils/23633
196 * testsuite/binutils-all/pr23633.d: Don't fail when assembler
197 generates sections other than .text.
198
319dbdfb
L
1992018-09-13 H.J. Lu <hongjiu.lu@intel.com>
200
201 PR binutils/23633
202 * testsuite/binutils-all/objcopy.exp: Run pr23633.
203 * testsuite/binutils-all/pr23633.d: New file.
204 * testsuite/binutils-all/pr23633.list: Likewise.
205 * testsuite/binutils-all/pr23633.s: Likewise.
206
508d0c9b
NC
2072018-09-13 Nick Clifton <nickc@redhat.com>
208
209 PR 23633
210 * objcopy.c (add_specific_symbols): Do not free the buffer at the
211 end of the function.
212
f9853190
AM
2132018-09-10 Alan Modra <amodra@gmail.com>
214
215 PR binutils/23611
216 * objcopy.c (handle_remove_section_option): Consider .rela and
217 .rel sections for stripping directly as well as attached to the
218 associated section they relocate.
219 * doc/binutils.texi (remove-relocations): Specify that this
220 option removes non-dynamic relocation sections.
221 * testsuite/binutils-all/objcopy.exp
222 (objcopy_remove_relocations_from_executable): New test.
223
20a4d0bd
NC
2242018-09-03 Nick Clifton <nickc@redhat.com>
225
226 * po/ja.po: Updated Japanese translation.
227
0f60cce3
L
2282018-08-31 H.J. Lu <hongjiu.lu@intel.com>
229
230 * testsuite/binutils-all/readelf.s-64: Adjusted for
231 .note.gnu.property section.
232 * testsuite/binutils-all/strip-3.d: Also strip
233 .note.gnu.property section.
234
6c0d3bde
L
2352018-08-31 H.J. Lu <hongjiu.lu@intel.com>
236
237 * testsuite/binutils-all/i386/compressed-1b.d: Pass
238 -mx86-used-note=no to assembler.
239 * testsuite/binutils-all/i386/compressed-1c.d: Likewise.
240 * testsuite/binutils-all/x86-64/compressed-1b.d: Likewise.
241 * testsuite/binutils-all/x86-64/compressed-1c.d: Likewise.
242 * testsuite/binutils-all/i386/empty.d: Pass -mx86-used-note=yes
243 to assembler and update expected output from "readelf -n".
244 * testsuite/binutils-all/i386/ibt.d: Likewise.
245 * testsuite/binutils-all/i386/pr21231a.d: Likewise.
246 * testsuite/binutils-all/i386/pr21231b.d: Likewise.
247 * testsuite/binutils-all/i386/shstk.d: Likewise.
248 * testsuite/binutils-all/x86-64/empty-x32.d: Likewise.
249 * testsuite/binutils-all/x86-64/empty.d: Likewise.
250 * testsuite/binutils-all/x86-64/ibt-x32.d: Likewise.
251 * testsuite/binutils-all/x86-64/ibt.d: Likewise.
252 * testsuite/binutils-all/x86-64/pr21231a.d: Likewise.
253 * testsuite/binutils-all/x86-64/pr21231b.d: Likewise.
254 * testsuite/binutils-all/x86-64/pr23494a-x32.d: Likewise.
255 * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
256 * testsuite/binutils-all/x86-64/pr23494b-x32.d: Likewise.
257 * testsuite/binutils-all/x86-64/pr23494b.d: Likewise.
258 * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
259 * testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
260 * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
261 * testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
262 * testsuite/binutils-all/x86-64/pr23494e-x32.d: Likewise.
263 * testsuite/binutils-all/x86-64/pr23494e.d: Likewise.
264 * testsuite/binutils-all/x86-64/shstk-x32.d: Likewise.
265 * testsuite/binutils-all/x86-64/shstk.d: Likewise.
266
385e5b90
L
2672018-08-30 H.J. Lu <hongjiu.lu@intel.com>
268
269 * readelf.c (process_section_headers): Treat SHT_FINI_ARRAY and
270 SHT_PREINIT_ARRAY as relocatable sections.
271
4c971803
CX
2722018-08-30 Chenghua Xu <paul.hua.gm@gmail.com>
273
274 * MAINTAINERS: Add myself as a MIPS port maintainer.
275
9108bc33
CX
2762018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
277
278 * NEWS: Mention Loongson 2K1000 proccessor support.
279 * readelf.c (get_machine_flags): Handle gs264e.
280
bd782c07
CX
2812018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
282
283 * NEWS: Mention Loongson 3A2000/3A3000 proccessor support.
284 * readelf.c (get_machine_flags): Handle gs464e.
285
ac8cb70f
CX
2862018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
287
288 * NEWS: Mention Loongson 3A1000 proccessor support.
289 * readelf.c (get_machine_flags): Rename loongson-3a to gs464.
290 (print_mips_isa_ext): Delete AFL_EXT_LOONGSON_3A.
291
a693765e
CX
2922018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
293
294 * readelf.c (print_mips_ases): Add Loongson EXT2 extension.
295
bdc6c06e
CX
2962018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
297
298 * readelf.c (print_mips_ases): Add Loongson EXT extension.
299
716c08de
CX
3002018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
301
302 * readelf.c (print_mips_ases): Add CAM extension.
303
90c745dc
L
3042018-08-27 H.J. Lu <hongjiu.lu@intel.com>
305
306 * readelf.c (decode_x86_isa): Print <None> if bitmask only
307 contains the GNU_PROPERTY_X86_UINT32_VALID bit.
308 (decode_x86_feature_1): Likewise.
309 (decode_x86_feature_2): Likewise.
310 (print_gnu_property_note): Don't mask out the
311 GNU_PROPERTY_X86_UINT32_VALID bit.
312 * testsuite/binutils-all/i386/pr21231b.d: Updated.
313 * testsuite/binutils-all/x86-64/pr21231b.d: Likewise.
314
65b3d26e
L
3152018-08-27 H.J. Lu <hongjiu.lu@intel.com>
316
317 * readelf.c (decode_x86_compat_isa): Break multi-statement line.
318 (decode_x86_isa): Likewise.
319 (decode_x86_feature_2): Likewise.
320
7a815dd5
L
3212018-08-25 H.J. Lu <hongjiu.lu@intel.com>
322
323 PR ld/23499
324 * readelf.c (get_symbol_version_string): Return _("<corrupt>")
325 for corrupt symbol version info.
326
a9eafb08
L
3272018-08-24 H.J. Lu <hongjiu.lu@intel.com>
328
329 * readelf.c (decode_x86_compat_isa): New function.
330 (decode_x86_feature_2): Likewise.
331 (decode_x86_isa): Updated for new X86_ISA_1_XXX bits.
332 (decode_x86_feature): Renamed to ...
333 (decode_x86_feature_1): This. Remove the type argument.
334 (print_gnu_property_note): Handle X86_COMPAT_ISA_1_USED,
335 X86_COMPAT_ISA_1_NEEDED, X86_UINT32_AND_LO, X86_UINT32_AND_HI,
336 X86_UINT32_OR_LO, X86_UINT32_OR_HI, X86_UINT32_OR_AND_LO and
337 X86_UINT32_OR_AND_HI instead of X86_ISA_1_USED, X86_ISA_1_NEEDED
338 and X86_FEATURE_1_AND.
339 * testsuite/binutils-all/i386/pr21231b.s: Updated to the current
340 GNU_PROPERTY_X86_ISA_1_USED and GNU_PROPERTY_X86_ISA_1_NEEDED
341 values.
342 * testsuite/binutils-all/x86-64/pr21231b.s: Likewise.
343 * testsuite/binutils-all/x86-64/pr23494a.s: Likewise.
344 * testsuite/binutils-all/x86-64/pr23494b.s: Likewise.
345 * testsuite/binutils-all/x86-64/pr23494c.s: Likewise.
346 * testsuite/binutils-all/i386/pr21231b.d: Updated.
347 * testsuite/binutils-all/x86-64/pr21231b.d: Likewise.
348 * testsuite/binutils-all/x86-64/pr23494a-x32.d: Likewise.
349 * testsuite/binutils-all/x86-64/pr23494a.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 * testsuite/binutils-all/x86-64/pr23494e-x32.d: Likewise.
355 * testsuite/binutils-all/x86-64/pr23494e.d: Likewise.
356
aa7bca9b
L
3572018-08-24 H.J. Lu <hongjiu.lu@intel.com>
358
359 * readelf.c (print_gnu_property_note): Check the
360 GNU_PROPERTY_X86_UINT32_VALID bit for invalid GNU property note.
361
14732552
AM
3622018-08-23 Alan Modra <amodra@gmail.com>
363
364 * readelf.c (get_ppc64_symbol_other): Return NULL if st_other
365 field contains unrecognised or reserved values. Handle
366 localentry:1 value.
367
7dd36a6f
L
3682018-08-23 H.J. Lu <hongjiu.lu@intel.com>
369
370 PR ld/23536
371 * Makefile.am (development.exp): New target.
372 (EXTRA_DEJAGNU_SITE_CONFIG): New.
373 (DISTCLEANFILES): Add development.exp.
374 * Makefile.in: Regenerated.
375 * testsuite/binutils-all/objcopy.exp (strip_test): Call
376 prune_warnings to prune BFD output.
377 (strip_test_with_saving_a_symbol): Likewise.
378 (objcopy_test_without_global_symbol): Likewise.
379 * testsuite/lib/binutils-common.exp (prune_warnings_extra):
380 New proc.
381 (prune_warnings): Likewise.
382
44c2eb66
L
3832018-08-23 H.J. Lu <hongjiu.lu@intel.com>
384
385 * README-how-to-make-a-release: Document setting "experimental"
386 to false.
387
e8a64888
AM
3882018-08-22 Alan Modra <amodra@gmail.com>
389
390 * readelf.c (process_file_header): Assign updated values from
391 section_header[0] fields to e_phnum, e_shnum and e_shstrndx
392 during printing of header. Correct e_shstrndx range check.
393 Remove unnecessary casts and use %u rather than %ld for
394 unsigned int header fields. Don't print a random %lx when
395 reporting an unknown EI_VERSION.
396
06d743b7
NC
3972018-08-21 Nick Clifton <nickc@redhat.com>
398
399 * MAINTAINERS: Note that Arnold Metselaar has retired as the z80
400 maintainer.
401
66b09c7e
S
4022018-08-21 L. Simon <l.simon@samsung.com>
403
404 PR 23531
405 * readelf.c (hppa_process_unwind): Only dump the unwind table if
406 the data was successfully read in.
407
506b86a4
AM
4082018-08-18 Alan Modra <amodra@gmail.com>
409
410 * testsuite/lib/binutils-common.exp (is_elf64): Use directory of
411 input file for readelf.out.
412 (is_rela): New proc.
413 * testsuite/binutils-all/objcopy.exp (elf64): Set new variable
414 from first result of is_elf64 test.
415 (reloc_format): Set using is_rela.
416 (strip-13): Pass RELOC and ELF64 to assembler.
417 (strip-14, strip-15): Use elf64 rather than calling is_elf64 again.
418 * testsuite/binutils-all/strip-13.d: Run for more targets.
419 * testsuite/binutils-all/strip-13mips64.s: Use RELOC and set
420 addend to zero.
421 * testsuite/binutils-all/strip-13rel.s: Use RELOC and ELF64.
422 Don't add _NONE reloc.
423 * testsuite/binutils-all/strip-13rela.s: Likewise.
424
9c973a29
L
4252018-08-10 H.J. Lu <hongjiu.lu@intel.com>
426
427 PR binutils/23494
428 * testsuite/binutils-all/x86-64/pr23494c.s: New file.
429 * testsuite/binutils-all/x86-64/pr23494e-x32.d: Likewise.
430 * testsuite/binutils-all/x86-64/pr23494e.d: Likewise.
431
11459a79
L
4322018-08-10 H.J. Lu <hongjiu.lu@intel.com>
433
434 * testsuite/binutils-all/x86-64/pr23494a-x32.d: Skip nacl
435 targets.
436 * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
437 * testsuite/binutils-all/x86-64/pr23494b-x32.d: Likewise.
438 * testsuite/binutils-all/x86-64/pr23494b.d: Likewise.
439 * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
440 * testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
441 * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
442 * testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
443
6404ab99
L
4442018-08-08 H.J. Lu <hongjiu.lu@intel.com>
445
446 PR binutils/23494
447 * testsuite/binutils-all/x86-64/pr23494a-x32.d: New file.
448 * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
449 * testsuite/binutils-all/x86-64/pr23494a.s: Likewise.
450 * testsuite/binutils-all/x86-64/pr23494b-x32.d: Likewise.
451 * testsuite/binutils-all/x86-64/pr23494b.d: Likewise.
452 * testsuite/binutils-all/x86-64/pr23494b.s: Likewise.
453 * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
454 * testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
455 * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
456 * testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
457
f384a1f0
KB
4582018-08-08 Kevin Buettner <kevinb@redhat.com>
459
f9853190
AM
460 * dwarf.c (decode_location_expresion): Add case for
461 DW_OP_GNU_variable_value.
f384a1f0 462
db1e1b45 4632018-08-06 Claudiu Zissulescu <claziss@synopsys.com>
464
465 * readelf.c (display_arc_attribute): Print Tag_ARC_ATR_version.
466
4aae6e5a
NC
4672018-08-03 Nick Clifton <nickc@redhat.com>
468
469 * objcopy.c (merge_gnu_build_notes): Delete empty notes. Merge
470 identical function notes.
471
e2561448
NC
4722018-08-01 Nick Clifton <nickc@redhat.com>
473
474 * README-how-to-make-a-release: Add note about regenerating the
475 info files prior to the release.
476
2409af1e
AJ
4772018-07-30 Andrew Jenner <andrew@codesourcery.com>
478
479 * MAINTAINERS (C-SKY): Add Yunhai Shang as co-maintainer.
480
d0ba5758
AJ
4812018-07-30 Andrew Jenner <andrew@codesourcery.com>
482
483 * MAINTAINERS (C-SKY): Add Lifang Xia as maintainer.
484
b8891f8d
AJ
4852018-07-30 Andrew Jenner <andrew@codesourcery.com>
486
487 * readelf.c: Include elf/csky.h.
488 (guess_is_rela): Handle EM_CSKY.
489 (dump_relocations): Likewise.
490 (get_machine_name): Likewise.
491 (is_32bit_abs_reloc): Likewise.
492
e3d39609
NC
4932018-07-25 Nick Clifton <nickc@redhat.com>
494
495 * rdcoff.c (parse_coff_struct_type): Free fields array upon early
496 exit.
497 (parse_coff_enum_type): Free names and vals arrays upon early
498 exit.
499 * rddbg.c (read_section_stabs_debugging_info): Free shandle and
500 strings and stabs arrays upon early exit.
501 * readelf.c (get_32bit_section_headers): Free shdrs structure upon
502 early exit.
503 (get_64bit_section_headers): Likewise.
504 (get_32bit_elf_symbols): Generate an error if multiple symbol
505 table index sections are associated with the same symbol section.
506 (get_64bit_elf_symbols): Likewise.
507 (process_dynamic_section): Generate an error if there are multiple
508 dynamic symbol table sections, multiple dynamic string tables or
509 multiple dynamic symbol information sections.
510
1d97232a
NC
5112018-07-24 Nick Clifton <nickc@redhat.com>
512
513 * po/sv.po: Updated Swedish translation.
514
7b8d9e8c
AM
5152018-07-24 Alan Modra <amodra@gmail.com>
516
517 PR 23431
518 * dwarf.c (display_formatted_table): Replace "what" parameter
519 with "is_dir". Expand messages. Fix capitalisation.
520 * testsuite/binutils-all/dw5.W: Update expected output.
521
67ce483b
AM
5222018-07-24 Alan Modra <amodra@gmail.com>
523
524 PR 23430
525 * elfcomm.h (struct archive_info): Rename uses_64bit_indicies
526 to uses_64bit_indices.
527 * elfcomm.c (setup_archive): Update uses of above.
528 * readelf.c (process_archive): Likewise.
529 (get_section_type_name): Rename indicies to indices.
530 (get_32bit_elf_symbols, get_64bit_elf_symbols): Likewise.
531 (process_section_groups): Likewise.
532
e2e31f10
MR
5332018-07-20 Maciej W. Rozycki <macro@mips.com>
534
535 * MAINTAINERS: Update my e-mail address, downgrade to MIPS I-IV
536 ISA maintenance.
537
3391569f
NC
5382018-07-20 Nick Clifton <nickc@redhat.com>
539
540 * objcopy.c (add_specific_symbols): Free buffer on exit.
541 (add_redefine_syms_file): Close file handle on exit.
542 (copy_object): Close file handle on early exit.
543 Free buffer on early exit.
544 Free gaps buffers once they are no longer needed.
545 * dwarf.c (display_debug_frames): Free allocated memory on exit.
546 (load_separate_debug_info): Free allocate memory on early exit.
547
8095d2f7
CX
5482018-07-20 Chenghua Xu <paul.hua.gm@gmail.com>
549 Maciej W. Rozycki <macro@mips.com>
550
551 * readelf.c (print_mips_ases): Add MMI extension.
552
79f5b65e
DD
5532018-07-19 DJ Delorie <dj@redhat.com>
554
555 * MAINTAINERS (RL78, RX): Remove myself as maintainer.
556
442a6ce8
NC
5572018-07-19 Nick Clifton <nickc@redhat.com>
558
559 * dwarf.c (read_cie): Free allocated memory before returning with
560 a failure result.
561
3fd21718
PFC
5622018-07-16 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
563
564 * readelf.c (get_note_type): Fix typo in NT_PPC_TM_CVSX note
565 description.
566
ad96220c
NC
5672018-07-16 Nick Clifton <nickc@redhat.com>
568
569 * README-how-to-make-a-release: Add note to check for new top
570 level files and add them to the src-release.sh script.
571
6cb624f8
NC
5722018-07-14 Nick Clifton <nickc@redhat.com>
573
574 * README-how-to-make-a-release: Updated with corrections based on
575 the 2.31 release experience.
576
55cc53e9
FT
5772018-07-12 Francois H. Theron <francois.theron@netronome.com>
578
579 * readelf.c (process_section_headers): Don't print section type
580 twice for --section-details.
581
be570f06
AM
5822018-07-10 Alan Modra <amodra@gmail.com>
583
584 * testsuite/lib/binutils-common.exp (supports_gnu_unique): Return
585 zero for xgate.
586
d20e98ab
NC
5872018-07-06 Nick Clifton <nickc@redhat.com>
588
589 * readelf.c (same_section): New function.
590 (print_gnu_build_attribute_description): Do not complain about
591 gaps that cross a section boundary.
592
d8dab054
NC
5932018-07-05 Nick Clifton <nickc@redhat.com>
594
595 * po/bg.po: Updated Bulgarian translation.
596
a05a5b64
TP
5972018-07-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
598
599 * NEWS: Use command-line consistently when used in a compount word.
600 * doc/binutils.texi: Likewise and fix trailing whitespace on same
601 line.
602
30aa1306
NC
6032018-06-26 Nick Clifton <nickc@redhat.com>
604
605 * po/sv.po: Updated Swedish translation.
606 * po/uk.po: Updated Ukranian translation.
607
eca4b721
NC
6082018-06-26 Nick Clifton <nickc@redhat.com>
609
610 * doc/binutils.texi: Fix spelling mistakes.
611 * README--how-to-make-a-release: Likewise.
612
1021d1cb
TT
6132018-06-25 Tom Tromey <tom@tromey.com>
614
615 * dwarf-mode.el (dwarf-mode-syntax-table): New variable.
616 Bump version number.
617
71300e2c
NC
6182018-06-24 Nick Clifton <nickc@redhat.com>
619
620 * README-how-to-make-a-release: Update with experiences from
621 making 2.31 branch.
622 * po/binutils.pot: Regenerate.
623 * configure: Regenerate.
624
719d8288
NC
6252018-06-24 Nick Clifton <nickc@redhat.com>
626
627 2.31 branch created.
628 * NEWS: Add marker for 2.31.
629
d388f643
AM
6302018-06-21 Alan Modra <amodra@gmail.com>
631
632 * doc/Makefile.am (AUTOMAKE_OPTIONS): Add "foreign".
633 * doc/Makefile.in: Regenerate.
634
d0ac1c44
SM
6352018-06-19 Simon Marchi <simon.marchi@ericsson.com>
636
637 * configure.ac: Remove AC_PREREQ.
638 * doc/Makefile.am (AUTOMAKE_OPTIONS): Remove cygnus, add
639 info-in-builddir no-texinfo.tex.
640 * Makefile.in: Re-generate.
641 * aclocal.m4: Re-generate.
642 * config.in: Re-generate.
643 * configure: Re-generate.
644 * doc/Makefile.in: Re-generate.
645
3a075e56
AS
6462018-06-19 Andreas Schwab <schwab@suse.de>
647
648 * readelf.c (is_16bit_abs_reloc): Handle R_RISCV_SET16.
649 (is_8bit_abs_reloc): New function.
650 (is_6bit_abs_reloc): New function.
651 (is_6bit_inplace_sub_reloc): New function.
652 (apply_relocations): Use them. Handle 6-bit relocations.
653
6f20c942
FS
6542018-06-14 Faraz Shahbazker <Faraz.Shahbazker@mips.com>
655
656 * readelf.c (print_mips_ases): Add GINV extension.
657
1f6f5dba
L
6582018-06-14 H.J. Lu <hongjiu.lu@intel.com>
659
660 PR binutils/23267
661 * readelf.c (get_symbol_version_string): Check if the first
662 symbol version is base version.
663
730c3174
SE
6642018-06-13 Scott Egerton <scott.egerton@imgtec.com>
665 Faraz Shahbazker <Faraz.Shahbazker@mips.com>
666
667 * readelf.c (print_mips_ases): Add CRC.
668
7a486e6d
NC
6692018-06-13 Nick Clifton <nickc@redhat.com>
670
671 * doc/binutils.texi (objdump): Add missing closing square
672 parenthesis to listing of objcopy's command line options.
673
5a485b38
NC
6742018-06-11 Nick Clifton <nickc@redhat.com>
675
676 * po/es.po: Updated Spanish translation.
677
55e99962
L
6782018-06-01 H.J. Lu <hongjiu.lu@intel.com>
679
680 * configure: Regenerated.
681
0034eed0
AM
6822018-05-31 Alan Modra <amodra@gmail.com>
683
684 * testsuite/binutils-all/compress.exp (test_gnu_debuglink): Don't
685 set CC_FOR_TARGET. Run test non-native.
686 * testsuite/binutils-all/objdump.exp (test_build_id_debuglink):
687 Likewise.
688 (test_follow_debuglink): Run test non-native.
689
1869e86f
AB
6902018-05-30 Ant Bikeneev <ant.bikineev@gmail.com>
691
692 PR 23107
693 * ar.c (display_offsets): New variable.
694 (usage): Add description of 'O' operator.
695 (decode_option): Handle 'O' operator.
696 (print_descr): Pass display_offsets to print_arelt_descr.
697 * arsup.c: Update call to printy_arelt_descr.
698 * objdump.c: Likewise.
699 * bucomm.c (print_arelt_descr): If offsets parameter is true then
700 display offset of archive element within the archive.
701 * bucomm.h: Update prototype for print_arelt_descr.
702 * doc/binutils.texi: Update description of ar command.
703 * NEWS: Mention the new feature.
704 * testsuite/binutils-all/ar.exp: Add text of new feature.
705
bb3b5316
AM
7062018-05-28 Alan Modra <amodra@gmail.com>
707
708 PR 23235
709 * testsuite/binutils-all/compress.exp (test_gnu_debuglink): Return
710 unsupported rather than fail on compile errors.
711 * testsuite/binutils-all/objdump.exp (test_build_id_debuglink):
712 Likewise. Save and restore CFLAGS_FOR_TARGET.
713
7f999549
JW
7142018-05-18 Kito Cheng <kito.cheng@gmail.com>
715
716 * readelf.c (get_machine_flags): Handle EF_RISCV_RVE.
717
7b4ae824
JD
7182018-05-18 John Darrington <john@darrington.wattle.id.au>
719
720 * readelf.c: Add support for s12z architecture.
721 * testsuite/lib/binutils-common.exp (is_elf_format): Excluse s12z
722 targets.
723
f9830ec1
TC
7242018-05-15 Tamar Christina <tamar.christina@arm.com>
725
726 PR binutils/21446
727 * doc/binutils.texi (-M): Document AArch64 options.
728
7d02540a
TC
7292018-05-15 Tamar Christina <tamar.christina@arm.com>
730
731 PR binutils/21446
732 * doc/binutils.texi (-M): Document AArch64 options.
733 * NEWS: Document notes and warnings.
734
679ca975
AM
7352018-05-15 Alan Modra <amodra@gmail.com>
736
737 * testsuite/lib/binutils-common.exp (is_elf_format): Add chorus,
738 cloudabi, fuchsia, kaos and nto. Merge netbsdelf* into *elf*,
739 and *uclinux* into *linux*.
740 * testsuite/binutils-all/objcopy.exp: Accept armeb for rel
741 strip-13 test, exclude arm-vxworks and arm-windiss.
742
637b1970
JD
7432018-05-10 John Darrington <john@darrington.wattle.id.au>
744
745 * readelf.c (get_machine_name): EM_S12Z - handle new case.
746
60cb2c8a
AM
7472018-05-09 Alan Modra <amodra@gmail.com>
748
749 * od-macho.c (dump_unwind_encoding_x86): Fix typo in last patch.
750
84f9f8c3
AM
7512018-05-09 Sebastian Rasmussen <sebras@gmail.com>
752
753 * od-macho.c (dump_unwind_encoding_x86): Adjust for macro renaming.
754
886d5428
AM
7552018-05-08 Alan Modra <amodra@gmail.com>
756
757 PR 23141
758 * objcopy.c (is_strip_section): Strip groups without a valid
759 signature symbol.
760
ce4ec1a9
AM
7612018-05-07 Alan Modra <amodra@gmail.com>
762
763 PR 23142
764 * objcopy.c (group_signature): Don't accept groups that use a
765 symbol table other than the one we've read.
766
fe944acf
FT
7672018-04-30 Francois H. Theron <francois.theron@netronome.com>
768
769 * readelf.c: Very basic support for EM_NFP and its section types.
770 * testsuite/binutils-all/nfp: New directory.
771 * testsuite/binutils-all/nfp/objdump.exp: New file. Run new
772 tests.
773 * testsuite/binutils-all/nfp/test2_ctx8.d: New file.
774 * testsuite/binutils-all/nfp/test2_no-pc_ctx4.d: New file.
775 * testsuite/binutils-all/nfp/test1.d: New file.
776 * testsuite/binutils-all/nfp/nfp6000.nffw: New file.
777 * testsuite/binutils-all/nfp/test2_nfp6000.nffw: New file.
778 * NEWS: Mention the new support.
779
6d9dabbb
MR
7802018-04-27 Maciej W. Rozycki <macro@mips.com>
781
782 * testsuite/lib/binutils-common.exp (match_target): New procedure.
783 * testsuite/lib/utils-lib.exp (run_dump_test): Use it in place
784 of `istarget' for matching with `target', `not-target', `skip'
785 and `not-skip' options.
786
0df8ad28
NC
7872018-04-26 Nick Clifton <nickc@redhat.com>
788
789 * readelf.c (is_32bit_abs_reloc): Support R_PARISC_DIR32 as a
790 32-bit absolute reloc for the HPPA target.
791 * testsuite/binutils-all/note-5.d: New test.
792 * testsuite/binutils-all/note-5.s: Source file for new test.
793 * testsuite/binutils-all/objcopy.exp: Run new test.
794
f1ac0afe
CL
7952018-04-25 Christophe Lyon <christophe.lyon@st.com>
796
797 * testsuite/binutils-all/elfedit-2.d: Accept arm*-*-uclinuxfdpiceabi.
798 * testsuite/binutils-all/elfedit-3.d: Likewise.
799 * testsuite/binutils-all/objcopy.exp: Likewise.
800 * testsuite/binutils-all/strip-3.d: Likewise.
801 * testsuite/lib/binutils-common.exp: Likewise.
802
18a20338
CL
8032018-04-25 Christophe Lyon <christophe.lyon@st.com>
804 Mickaël Guêné <mickael.guene@st.com>
805
806 * readelf.c (decode_ARM_machine_flags): Support EF_ARM_PIC.
807 (get_osabi_name): Support ELFOSABI_ARM_FDPIC.
808
2ac93be7
AM
8092018-04-25 Alan Modra <amodra@gmail.com>
810
811 * testsuite/binutils-all/arm/objdump.exp: Remove arm-aout and
812 arm-coff support.
813 * testsuite/binutils-all/objcopy.exp: Likewise.
814 * testsuite/lib/binutils-common.exp: Likewise.
815
a7504f87
NC
8162018-04-18 Nick Clifton <nickc@redhat.com>
817
818 PR 23062
819 * dwarf.c (read_and_display_attr_value): Replace assertions with
820 test and warning message.
821
c65c21e1
AM
8222018-04-18 Alan Modra <amodra@gmail.com>
823
824 * testsuite/lib/binutils-common.exp: Remove support for assorted
825 aout targets.
826
6aea08d9
NC
8272018-04-17 Nick Clifton <nickc@redhat.com>
828
c4a91159 829 PR 23063
56d8f8a9
NC
830 * readelf.c (print_symbol): If the width is zero, return straight
831 away.
832
6aea08d9
NC
833 PR 23064
834 * dwarf.c (process_cu_tu_index): Test for a potential buffer
835 overrun before copying signature pointer.
836
f954747f
AM
8372018-04-17 Alan Modra <amodra@gmail.com>
838
839 * readelf.c: Revert 2018-04-16 and 2018-04-11 changes.
840
d7867d17
AM
8412018-04-16 Alan Modra <amodra@gmail.com>
842
843 * readelf.c (get_machine_name): Correct typo.
844
ddb00039
AM
8452018-04-16 Alan Modra <amodra@gmail.com>
846
847 * configure.ac: Remove arm-epoc-pe support.
848 * dlltool.c: Likewise.
849 * configure: Regenerate.
850
c9098af4
AM
8512018-04-16 Alan Modra <amodra@gmail.com>
852
853 * testsuite/lib/binutils-common.exp: Remove sparc-aout and
854 sparc-coff support.
855
dc12032b
AM
8562018-04-16 Alan Modra <amodra@gmail.com>
857
858 * testsuite/binutils-all/copy-2.d: Remove m68k-aout and m68k-coff
859 support.
860 * testsuite/binutils-all/copy-3.d: Likewise.
861 * testsuite/binutils-all/objcopy.exp: Likewise.
862 * testsuite/lib/binutils-common.exp: Likewise.
863
211dc24b
AM
8642018-04-16 Alan Modra <amodra@gmail.com>
865
866 * testsuite/binutils-all/objcopy.exp: Remove sh5 and sh64 support.
867
a9a4b302
AM
8682018-04-16 Alan Modra <amodra@gmail.com>
869
870 * testsuite/binutils-all/objcopy.exp: Remove w65 support.
871
04cb01fd
AM
8722018-04-16 Alan Modra <amodra@gmail.com>
873
874 * testsuite/binutils-all/objdump.exp: Remove we32k support.
875
c2bf1eec
AM
8762018-04-16 Alan Modra <amodra@gmail.com>
877
878 * MAINTAINERS (Mark Kettenis): Move to past maintainers.
879 * testsuite/binutils-all/objdump.exp: Remove m88k support.
880
6793974d
AM
8812018-04-16 Alan Modra <amodra@gmail.com>
882
883 * readelf.c: Remove i370 support.
884 * testsuite/binutils-all/objdump.exp: Likewise.
885
e82aa794
AM
8862018-04-16 Alan Modra <amodra@gmail.com>
887
888 * testsuite/binutils-all/objcopy.exp: Remove h8500 support.
889 * testsuite/lib/binutils-common.exp: Likewise.
890
fe0bf0fd
AM
8912018-04-16 Alan Modra <amodra@gmail.com>
892
893 * testsuite/binutils-all/objcopy.exp: Remove h8300-coff support.
894
fdef3943
AM
8952018-04-16 Alan Modra <amodra@gmail.com>
896
897 * Makefile.am: Remove IEEE 695 support.
898 * budbg.h: Likewise.
899 * doc/binutils.texi: Likewise.
900 * makefile.vms: Likewise.
901 * objcopy.c: Likewise.
902 * objdump.c: Likewise.
903 * rddbg.c: Likewise.
904 * ieee.c: Delete.
905 * Makefile.in: Regenerate.
906 * po/POTFILES.in: Regenerate.
907
5972ac73
AM
9082018-04-16 Alan Modra <amodra@gmail.com>
909
910 * testsuite/binutils-all/copy-2.d: Remove newsos3 support.
911 * testsuite/binutils-all/nm.exp: Likewise.
912
b4b594e3
AM
9132018-04-16 Alan Modra <amodra@gmail.com>
914
915 * .gitignore: Remove netware support.
916 * Makefile.am: Likewise.
917 * configure.ac: Likewise.
918 * doc/Makefile.am: Likewise.
919 * doc/binutils.texi: Likewise.
920 * testsuite/binutils-all/nm.exp: Likewise.
921 * nlmconv.c: Delete.
922 * nlmconv.h: Delete.
923 * nlmheader.y: Delete.
924 * Makefile.in: Regenerate.
925 * configure: Regenerate.
926 * doc/Makefile.in: Regenerate.
927 * po/POTFILES.in: Regenerate.
928
fceadf09
AM
9292018-04-16 Alan Modra <amodra@gmail.com>
930
931 * testsuite/binutils-all/objdump.exp: Remove tahoe support.
932
fb70ec17
AM
9332018-04-14 Alan Modra <amodra@gmail.com>
934
935 * readelf.c (get_machine_name): Revert 2018-04-11 change.
936
86c6c6df
NC
9372018-04-12 Nick Clifton <nickc@redhat.com>
938
939 PR 23050
940 * readelf.c (process_dynamic_section): Correct dynamic string
941 table size calculation.
942
a8eb42a8
AM
9432018-04-11 Alan Modra <amodra@gmail.com>
944
945 * ieee.c: Remove i960 support.
946 * od-macho.c: Remove i860 support.
947 * readelf.c: Remove i860 and i960 support.
948 * testsuite/binutils-all/objcopy.exp: Likewise.
949 * testsuite/binutils-all/objdump.exp: Likewise.
950 * testsuite/lib/binutils-common.exp: Likewise.
951
c43b2c54
MR
9522018-04-11 Maciej W. Rozycki <macro@mips.com>
953
954 * testsuite/lib/binutils-common.exp (is_elf_format): Also return
955 1 for `*-*-lynxos*' and `*-*-symbianelf*' targets.
956
d4ae1932
AM
9572018-04-10 Alan Modra <amodra@gmail.com>
958
959 * testsuite/binutils-all/objcopy.exp (strip-14, strip-15): Choose
960 reloc=11 for pru and reloc=50 for nds32.
961 * testsuite/binutils-all/strip-15.d: Accept 0xb reloc number.
962
d52e3d06
MR
9632018-04-09 Maciej W. Rozycki <macro@mips.com>
964
965 * testsuite/binutils-all/strip-15.d: New test.
966 * testsuite/binutils-all/strip-15rel.s: New test source.
967 * testsuite/binutils-all/strip-15rela.s: New test source.
968 * testsuite/binutils-all/strip-15mips64.s: New test source.
969 * testsuite/binutils-all/objcopy.exp: Run the new test.
970
3f97ba9f
MR
9712018-04-09 Maciej W. Rozycki <macro@mips.com>
972
973 * testsuite/binutils-all/strip-14.d: New test.
974 * testsuite/binutils-all/strip-14rel.s: New test source.
975 * testsuite/binutils-all/strip-14rela.s: New test source.
976 * testsuite/binutils-all/strip-14mips64.s: New test source.
977 * testsuite/binutils-all/objcopy.exp: Run the new test.
978
2008a0db
TT
9792018-04-06 Tom Tromey <tom@tromey.com>
980
981 * dwarf.c (read_and_display_attr_value): Add missing DW_LANG
982 constants from DWARF 5.
983
3cba8b6c
L
9842018-04-05 H.J. Lu <hongjiu.lu@intel.com>
985
986 PR gas/22318
987 * configure: Regenerated.
988
2d8c1a23
MR
9892018-04-05 Maciej W. Rozycki <macro@mips.com>
990
991 * testsuite/binutils-all/strip-13mips64.s: Use `.dc.l' rather
992 than `.dc.w' in second relocation.
993
65bd2045
MR
9942018-04-05 Maciej W. Rozycki <macro@mips.com>
995
996 * testsuite/binutils-all/strip-13.d: Also expect `unsupported
997 relocation type 0x8f' error message.
998
2f8ceb38
MR
9992018-04-05 Maciej W. Rozycki <macro@mips.com>
1000
1001 * testsuite/binutils-all/strip-13.s: Rename to...
1002 * testsuite/binutils-all/strip-13rela.s: ... this.
1003 * testsuite/binutils-all/strip-13rel.s: New test source.
1004 * testsuite/binutils-all/strip-13mips64.s: New test source.
1005 * testsuite/binutils-all/strip-13.d: Remove `arm-*', `d10v-*',
1006 `dlx-*' and `xgate-*' from `not-target' list. Add `m6811-*' and
1007 `m68hc11-*' to `not-target' list.
1008 * testsuite/binutils-all/objcopy.exp: Switch between sources for
1009 `strip-13'.
1010
aad7be45
MR
10112018-04-05 Maciej W. Rozycki <macro@mips.com>
1012
1013 * testsuite/binutils-all/strip-13.s: Use 143 (0x8f) rather than
1014 241 (0xf1) for the relocation number and RELA addend.
1015 * testsuite/binutils-all/strip-13.d: Remove `hppa*-*' from the
1016 `not-target' list.
1017
89f60df2
JDA
10182018-04-04 John David Anglin <danglin@gcc.gnu.org>
1019
1020 * MAINTAINERS: Update my e-mail address.
1021
f1ca0d6d
NC
10222018-04-04 Nick Clifton <nickc@redhat.com>
1023
1024 * MAINTAINERS: Move Jason Eckhardt to past maintainers section.
1025
8fd75781
NC
10262018-03-23 Nick Clifton <nickc@redhat.com>
1027
1028 * readelf.c (get_symbol_for_build_attribute): Skip ARM mapping
1029 symbols.
1030 (print_gnu_build_attribute_description): If no file start symbol
1031 could be found, look for one two bytes into the file.
1032 * testsuite/binutils-all/note-4-64.s: Set the address of the file
1033 start symbol to two bytes into the file.
1034 * testsuite/binutils-all/note-4-32.s: Likewise.
1035
b1202ffa
L
10362018-03-21 H.J. Lu <hongjiu.lu@intel.com>
1037
1038 * readelf.c (process_dynamic_section): Also dump DF_1_KMOD,
1039 DF_1_WEAKFILTER and DF_1_NOCOMMON.
1040
7e100140
NC
10412018-03-20 Nick Clifton <nickc@redhat.com>
1042
1043 * po/es.po: Updated Spanish translation.
1044 * po/ru.po: Updated Russian translation.
1045
e45ad123
NC
10462018-03-13 Nick Clifton <nickc@redhat.com>
1047
1048 PR 22957
1049 * stabs.c (pop_binincl): Fail if the file index is off the end of
1050 the stack.
1051
81db3241
NC
10522018-03-13 Nick Clifton <nickc@redhat.com>
1053
1054 PR 22955
1055 * stabs.c (parse_number): Add p_end parameter and use it to check
1056 the validity of the pp parameter. Add checks to prevent walking
1057 off the end of the string buffer.
1058 (parse_stab_string): Likewise.
1059 (parse_stab_type): Likewise.
1060 (parse_stab_type_number): Likewise.
1061 (parse_stab_range_type): Likewise.
1062 (parse_stab_sun_builtin_type): Likewise.
1063 (parse_stab_sun_floating_type): Likewise.
1064 (parse_stab_enum_type): Likewise.
1065 (parse_stab_struct_type): Likewise.
1066 (parse_stab_baseclasses): Likewise.
1067 (parse_stab_struct_fields): Likewise.
1068 (parse_stab_cpp_abbrev): Likewise.
1069 (parse_stab_one_struct_field): Likewise.
1070 (parse_stab_members): Likewise.
1071 (parse_stab_tilde_field): Likewise.
1072 (parse_stab_array_type): Likewise.
e45ad123 1073
81db3241
NC
1074 * parse_stab: Compute the end of the string and then pass it on to
1075 individual parser functions.
1076
6d4f21f6
PP
10772018-03-07 Paul Pluzhnikov <ppluzhnikov@google.com>
1078
1079 PR binutils/22923
1080 * binutils/readelf.c (get_ver_flags): Expand buffer to avoid
1081 overflow.
1082
52fe4420
AM
10832018-03-07 Alan Modra <amodra@gmail.com>
1084
1085 * configure.ac: Add objdump_private_desc_xcoff for rs6000.
1086 * configure: Regenerate.
1087
0e70b27b
L
10882018-03-05 H.J. Lu <hongjiu.lu@intel.com>
1089
1090 PR binutils/22911
1091 * objdump.c (is_significant_symbol_name): Return TRUE for all
1092 .plt* sections.
1093 (find_symbol_for_address): Replace linear search with binary
1094 search on dynamic relocations.
1095
d11ae95e
NC
10962018-03-01 Nick Clifton <nickc@redhat.com>
1097
1098 PR 22905
1099 * dwarf.c (display_debug_ranges): Check that the offset loaded
1100 from the range_entry structure is valid.
1101
e184813f
AM
11022018-03-01 Alan Modra <amodra@gmail.com>
1103
1104 * configure.ac (ALL_LINGUAS): Add sr. Sort.
1105 * configure: Regenerate.
1106
bc7c0509
NC
11072018-02-27 Nick Clifton <nickc@redhat.com>
1108
1109 * po/pt.po: New Portuguese translation.
1110 * configure.ac (ALL_LINGUAS): Add pt.
1111 * configure: Regenerate.
1112
f3185997
NC
11132018-02-27 Nick Clifton <nickc@redhat.com>
1114
1115 PR 22875
1116 * objcopy.c (copy_object): Check the error status after marking
1117 symbols used in relocations.
1118 * testsuite/binutils-all/strip-13.s: New test source file.
1119 * testsuite/binutils-all/strip-13.s: New test driver file.
1120 * testsuite/binutils-all/objcopy.exp: Run the new test.
1121
2c1c9679
AM
11222018-02-26 Alan Modra <amodra@gmail.com>
1123
1124 * testsuite/binutils-all/mips/mips-reginfo-n32.d,
1125 * testsuite/binutils-all/mips/mips-reginfo.d: Update.
1126
6e05870c
AM
11272018-02-23 Alan Modra <amodra@gmail.com>
1128
1129 * testsuite/binutils-all/mips/mips-reginfo-n32.d,
1130 * testsuite/binutils-all/mips/mips-reginfo.d: Update.
1131
b0ab9c45
RH
11322018-02-20 Ronald Hoogenboom <hoogenboom30@zonnet.nl>
1133
1134 * doc/binutils.texi (objcopy): Add missing closing square
1135 parenthesis to listing of objcopy's command line options.
1136
e535d0dd
MK
11372018-02-19 Matthias Klose <doko@debian.org>
1138
1139 * strings.c (long_options): Include-all-whitespace does not take
f9853190 1140 an extra agument.
e535d0dd 1141
6e5e9d58
AM
11422018-02-13 Alan Modra <amodra@gmail.com>
1143
1144 PR 22836
1145 * testsuite/binutils-all/group-7.s,
1146 * testsuite/binutils-all/group-7a.d,
1147 * testsuite/binutils-all/group-7b.d,
1148 * testsuite/binutils-all/group-7c.d: New tests.
1149 * testsuite/binutils-all/objcopy.exp: Run them.
1150
8de3a6e2
NC
11512018-02-08 Nick Clifton <nickc@redhat.com>
1152
1153 PR 22802
1154 * dwarf.c (load_separate_debug_file): Return early if the user is
1155 not interested in debug links.
1156
68807c3c
NC
11572018-02-06 Nick Clifton <nickc@redhat.com>
1158
1159 PR 22793
1160 * readelf.c (find_section): Replace assertion with test and return
1161 of NULL.
1162 (find_section_by_address): Add test of section header table
1163 existance.
1164 (find_section_by_type): Likewise.
1165 (find_section_in_set): Likewise.
1166
2d6dda71
MR
11672018-02-05 Maciej W. Rozycki <macro@mips.com>
1168
1169 * testsuite/binutils-all/mips/mips-reginfo.d: New test.
1170 * testsuite/binutils-all/mips/mips-reginfo-n32.d: New test.
1171 * testsuite/binutils-all/mips/mips-reginfo.s: New test source.
1172 * testsuite/binutils-all/mips/mips.exp: Run the new tests.
1173
78c88364
MR
11742018-02-05 Maciej W. Rozycki <macro@mips.com>
1175
1176 * testsuite/config/default.exp (binutils_run): Document
1177 `binutils_run_status'.
1178 * testsuite/lib/utils-lib.exp (default_binutils_run): Likewise,
1179 and set it.
1180 (run_dump_test): Add `error', `error_output', `warning' and
1181 `warning_output' options. Update documentation accordingly.
1182
5bb0830d
AB
11832018-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
1184
1185 * dwarf.c (dwarf_regnames_riscv): New register name table.
1186 (init_dwarf_regnames_riscv): New function.
1187 (init_dwarf_regnames): Add call to initialise RiscV register
1188 names.
1189 * dwarf.h (init_dwarf_regnames_riscv): Declare.
1190 * objdump.c (dump_dwarf): Add call to initialise RiscV register
1191 names.
1192
f2023ce7
AM
11932018-02-01 Alan Modra <amodra@gmail.com>
1194
1195 PR 22769
1196 * objdump.c (load_specific_debug_section): Check for overflow
1197 when adding one to section size for a string section terminator.
1198
fcabedd5
NC
11992018-01-30 Nick Clifton <nickc@redhat.com>
1200
1201 PR 22734
1202 * doc/binutils.texi (nm): Update description to point out that
1203 zero-initialized values can also be shown as type B, b, S or s
1204 since they can be stored in the BSS section.
1205
f49db8be
AM
12062018-01-30 Alan Modra <amodra@gmail.com>
1207
1208 * objcopy.c (merge_gnu_build_notes): Use (bfd_vma) -1 as
1209 "artificially large" end address.
1210
a8d6d6ac
NC
12112018-01-28 Nick Clifton <nickc@redhat.com>
1212
1213 * README-how-to-make-a-release: Add note about checking gpg key
1214 and the results of gnupload.
1215
9a5db26e
NC
12162018-01-27 Nick Clifton <nickc@redhat.com>
1217
1218 * README-how-to-make-a-release: Add details on how to actually
1219 make the release.
1220
94c2436b
NC
12212018-01-26 Nick Clifton <nickc@redhat.com>
1222
1223 * README-how-to-make-a-release: Add more details on updating
1224 version numbers.
1225
1ea332d6
MR
12262018-01-22 Maciej W. Rozycki <macro@mips.com>
1227
1228 * doc/binutils.texi (objcopy): Fix a typo in `--rename-section'
1229 option description.
1230
d65ce302
MR
12312018-01-22 Maciej W. Rozycki <macro@mips.com>
1232
1233 * MAINTAINERS: Update my company e-mail address.
1234
f433138f
NC
12352018-01-22 Nick Clifton <nickc@redhat.com>
1236
1237 * po/sv.po: Updated Swedish translation.
1238
7ab82037
NC
12392018-01-18 Nick Clifton <nickc@redhat.com>
1240
1241 * po/bg.po: Updated Bulgarian translation.
1242
0dd86f32
JB
12432018-01-16 Joel Brobecker <brobecker@adacore.com>
1244
1245 * README-how-to-make-a-release: Add reminder to update the
1246 branch name in gdbadmin's crontab on sourceware.
1247
a960d29f
JB
12482018-01-16 Joel Brobecker <brobecker@adacore.com>
1249
1250 * README-how-to-make-a-release: Remove trailing spaces.
1251
f6efed01
NC
12522018-01-16 Nick Clifton <nickc@redhat.com>
1253
1254 * po/fr.po: Updated French translation.
1255
616dcb87
NC
12562018-01-15 Nick Clifton <nickc@redhat.com>
1257
1258 * po/uk.po: Updated Ukranian translation.
1259
3957a496
NC
12602018-01-13 Nick Clifton <nickc@redhat.com>
1261
19e2900b 1262 * README-how-to-make-a-release: Update notes.
3957a496
NC
1263 * po/binutils.pot: Regenerated.
1264
769c7ea5
NC
12652018-01-13 Nick Clifton <nickc@redhat.com>
1266
1267 * configure: Regenerate.
1268
9176ac5b
NC
12692018-01-13 Nick Clifton <nickc@redhat.com>
1270
faf766e3 1271 2.30 branch created.
9176ac5b
NC
1272 * NEWS: Add marker for 2.30.
1273
98ab9e96
NC
12742018-01-12 Nick Clifton <nickc@redhat.com>
1275
1276 * README-how-to-make-a-release: Add notes on how to make the
1277 branch and prelease snapshot.
1278 * BRANCHES: Add binutils-2_29-branch.
1279
bf41f30d
NC
12802018-01-10 Nick Clifton <nickc@redhat.com>
1281
1282 * MAINTAINERS: Note that it is now the configure.ac file and not
1283 the configure.in file that needs to be kept in sync with gcc.
1284 Add a note about sending patches for libiberty to gcc.
1285
f13974bd
NC
12862018-01-03 Nick Clifton <nickc@redhat.com>
1287
1288 * objcopy.c (merge_gnu_build_notes): Add cast to maximum address
1289 constants.
1290
6f156d7a
NC
12912018-01-03 Nick Clifton <nickc@redhat.com>
1292
1293 * objcopy.c (objcopy_internal_note): New structure.
1294 (gap_exists): New function.
1295 (is_open_note): New function.
1296 (is_func_note): New function.
1297 (is_64bit): New function.
1298 (merge_gnu_build_notes): Handle v3 notes. Do not merge
1299 if there are relocations against the notes.
1300 * readelf.c (get_note_type): Use short names for build attribute
1301 notes.
1302 (print_symbol_for_build_attribute): Rename to
1303 get_symbol_for_build_attribute. Returns the found symbol rather
1304 than printing it.
1305 (print_gnu_build_attribute_description): Maintain address ranges
1306 for function notes as well as global notes. Handle v3 notes.
1307 (print_gnu_build_attribute_name): Use more space for printing the
1308 name in wide mode.
1309 * testsuite/binutils-all/note-2-32.s: Use .dc.l instead of .word.
1310 Eliminate symbol references in order to remove the need for
1311 relocations.
1312 * testsuite/binutils-all/note-2-64.s: Likewise.
1313 * testsuite/binutils-all/note-3-32.s: Add a size to the note_1
1314 symbol.
1315 * testsuite/binutils-all/note-3-64.s: Likewise.
1316 * testsuite/binutils-all/mips/mips-note-2r-n32.d: Update expected
1317 output.
1318 * testsuite/binutils-all/mips/mips-note-2r-n64.d: Likewise.
1319 * testsuite/binutils-all/mips/mips-note-2r.d: Likewise.
1320 * testsuite/binutils-all/note-2-32.d: Likewise.
1321 * testsuite/binutils-all/note-2-64.d: Likewise.
1322 * testsuite/binutils-all/note-3-32.d: Likewise.
1323 * testsuite/binutils-all/note-3-64.d: Likewise.
1324 * testsuite/binutils-all/note-4-64.s: New test. Checks v3 notes.
1325 * testsuite/binutils-all/note-4-32.s: New test.
1326 * testsuite/binutils-all/note-4-64.d: New test result file.
1327 * testsuite/binutils-all/note-4-32.d: New test result file.
1328
219d1afa
AM
13292018-01-03 Alan Modra <amodra@gmail.com>
1330
1331 Update year range in copyright notice of all files.
1332
1e563868 1333For older changes see ChangeLog-2017
3499769a 1334\f
1e563868 1335Copyright (C) 2018 Free Software Foundation, Inc.
3499769a
AM
1336
1337Copying and distribution of this file, with or without modification,
1338are permitted in any medium without royalty provided the copyright
1339notice and this notice are preserved.
1340
1341Local Variables:
1342mode: change-log
1343left-margin: 8
1344fill-column: 74
1345version-control: never
1346End:
This page took 0.208846 seconds and 4 git commands to generate.