elfedit: Add --enable-x86-feature/--disable-x86-feature
[deliverable/binutils-gdb.git] / binutils / ChangeLog
CommitLineData
8a6b075b
L
12018-11-06 H.J. Lu <hongjiu.lu@intel.com>
2
3 * doc/binutils.texi: Document --enable-x86-feature and
4 --disable-x86-feature options for elfedit.
5 * elfedit.c: Include "config.h" and <sys/mman.h>.
6 (enable_x86_features): New.
7 (disable_x86_features): Likewise.
8 (update_gnu_property): Likewise.
9 (elf_x86_feature): Likewise.
10 (process_file): Call update_gnu_property on ET_EXEC or ET_DYN
11 file.
12 (command_line_switch): Add OPTION_ENABLE_X86_FEATURE and
13 OPTION_DISABLE_X86_FEATURE.
14 (options): Add--enable-x86-feature and --disable-x86-feature.
15 (usage): Likewise.
16 (main): Handle OPTION_ENABLE_X86_FEATURE and
17 OPTION_DISABLE_X86_FEATURE.
18
675accbd
L
192018-11-03 H.J. Lu <hongjiu.lu@intel.com>
20
21 * elfedit.c (update_elf_header): Move EI_MAG? check to ...
22 (get_file_header): Here.
23
34156b23
L
242018-11-02 H.J. Lu <hongjiu.lu@intel.com>
25
26 * configure.ac (AC_FUNC_MMAP): New.
27 * config.in: Regenerated.
28 * configure: Likewise.
29
285e3f99
AM
302018-11-02 Alan Modra <amodra@gmail.com>
31
32 * readelf.c (process_section_headers): Don't warn on a zero
33 sh_info or sh_link for any reloc section in an executable or
34 shared library. Do warn for .rel.dyn/.rela.dyn in ET_REL.
35
33ea299c
TP
362018-11-01 Thomas Preud'homme <thomas.preudhomme@linaro.org>
37
38 * testsuite/config/default.exp: Define LD, LDFLAGS and
39 ld_elf_shared_opt.
40 * testsuite/lib/binutils-common.exp (check_shared_lib_support): Moved
41 from ld-lib.exp.
42 (run_dump_test): Set ld to $LD.
43
f63085d1
NC
442018-10-18 Nick Clifton <nickc@redhat.com>
45
46 * doc/binutils.texi (readelf): Document alternatives to the
47 --unwind option if it is not supported for the target
48 architecture.
49
feceaa59
AM
502018-10-16 Alan Modra <amodra@gmail.com>
51
52 PR 23780
53 * readelf.c (display_raw_attribute): Correct assertion.
54
bf2dd8d7
AM
552018-10-15 Alan Modra <amodra@gmail.com>
56
57 PR 23534
58 * addr2line.c (main): Exit with fatal error if bfd_init
59 returns an unexpected value.
60 * ar.c (main): Likewise.
61 * dlltool.c (identify_dll_for_implib): Likewise.
62 * nm.c (main): Likewise.
63 * objcopy.c (main): Likewise.
64 * objdump.c (main): Likewise.
65 * size.c (main): Likewise.
66 * strings.c (main): Likewise.
67 * windmc.c (main): Likewise.
68 * windres.c (main): Likewise.
69
de564eb5
NC
702018-10-11 Jordan Rupprecht <rupprecht@google.com>
71 Nick Clifton <nickc@redhat.com>
72
73 * objcopy.c (copy_main): Issue a fata error if the
74 --keep-global-symbol(s) and the --globalize-symbol(s) options are
75 used together.
76 * doc/binutils.texi: Document that the two options are
77 incompatible.
78 * testsuite/binutils-all/copy-5.d: New test.
79 * testsuite/binutils-all/objcopy.exp: Run the new test.
80
43f6cd05
AM
812018-10-10 Helge Deller <deller@gmx.de>
82 Alan Modra <amodra@gmail.com>
83
84 * readelf.c (hppa_process_unwind): Don't use eh_addr_size to
85 calculate number of entries.
86 (slurp_hppa_unwind_table): Don't use eh_addr_size here either.
87
8ab159a9
AM
882018-10-10 Alan Modra <amodra@gmail.com>
89
90 * objdump.c (dump_dwarf): Set s12z eh_addr_size to 4.
91
25cbdcbb
AS
922018-10-08 Andreas Schwab <schwab@suse.de>
93
94 * readelf.c (is_32bit_pcrel_reloc): Handle R_RISCV_32_PCREL.
95
8e90d6d2
NC
962018-10-03 Nick Clifton <nickc@redhat.com>
97
98 * po/pt.po: Updated Portuguese translation.
527b9e87 99 * po/fr.po: Updated French translation.
8e90d6d2 100
dfc616fa
AM
1012018-09-22 Alan Modra <amodra@gmail.com>
102
103 * readelf.c (apply_relocations): Don't return FALSE for warnings.
104
fbaf61ad
NC
1052018-09-20 Nelson Chu <nelson.chu1990@gmail.com>
106
107 * testsuite/binutils-all/objcopy.exp: Set the unsupported reloc number
108 from 215 to 255 for NDS32.
109
d839b914
L
1102018-09-17 H.J. Lu <hongjiu.lu@intel.com>
111
112 * objcopy.c (strip_specific_buffer): New.
113 (strip_unneeded_buffer): Likewise.
114 (keep_specific_buffer): Likewise.
115 (localize_specific_buffer): Likewise.
116 (globalize_specific_buffer): Likewise.
117 (keepglobal_specific_buffer): Likewise.
118 (weaken_specific_buffer): Likewise.
119 (add_specific_symbols): Add an argument to return pointer to
120 allocated buffer.
121 (copy_main): Update add_specific_symbols to update pointers to
122 allocated buffer. Free pointers to allocated buffer before
123 return.
124
c12d9fa2
AM
1252018-09-17 Alan Modra <amodra@gmail.com>
126
127 * objcopy.c (handle_remove_section_option): Don't require a dot
128 after .rela and .rel to handle a possible relocation section.
129 * testsuite/binutils-all/remove-relocs-07.s,
130 * testsuite/binutils-all/remove-relocs-07.d,
131 * testsuite/binutils-all/remove-relocs-08.d: New tests.
132 * testsuite/binutils-all/remove-relocs-01.d,
133 * testsuite/binutils-all/remove-relocs-04.d,
134 * testsuite/binutils-all/remove-relocs-05.d,
135 * testsuite/binutils-all/remove-relocs-06.d: Exclude mips64-openbsd.
136
0b1352e0
AM
1372018-09-17 Alan Modra <amodra@gmail.com>
138
139 * testsuite/lib/binutils-common.exp (is_som_format): New proc.
140 (run_dump_test): Correct target test for alternate .comm syntax.
141 (get_standard_section_names): Handle som format.
142 * testsuite/lib/utils-lib.exp (default_binutils_assemble_flags):
143 Correct target test for alternate .comm syntax.
144
8c9604b6
AM
1452018-09-17 Alan Modra <amodra@gmail.com>
146
147 * testsuite/binutils-all/strip-13mips64.s: Add section flags
148 for reloc section.
149 * testsuite/binutils-all/strip-13rel.s: Likewise.
150 * testsuite/binutils-all/strip-13rela.s: Likewise.
151 * testsuite/binutils-all/strip-14mips64.s: Likewise.
152 * testsuite/binutils-all/strip-14rel.s: Likewise.
153 * testsuite/binutils-all/strip-14rela.s: Likewise.
154 * testsuite/binutils-all/strip-15mips64.s: Likewise.
155 * testsuite/binutils-all/strip-15rel.s: Likewise.
156 * testsuite/binutils-all/strip-15rela.s: Likewise.
157
a0a8a934
NC
1582018-09-17 Nick Clifton <nickc@redhat.com>
159
160 * testsuite/binutils-all/compress.exp: Rename second "objcopy
161 zlib-gnu compress debug sections 3" test to "objcopy zlib-gabi
162 compress debug sections 3" and use gabi object files instead
163 of gnu object files.
164 * testsuite/binutils-all/objcopy.exp: Add suffix to the names
165 of the "ELF group" tests.
166 * testsuite/binutils-all/readelf.exp (proc readelf_find_size):
167 Add an iteration parameter and include it in the name of the
168 test. Update callers to include an iteration count.
169
8ffb70eb
AM
1702018-09-15 Alan Modra <amodra@gmail.com>
171
172 * testsuite/binutils-all/add-symbol.d: Add "section_subst: no".
173 * testsuite/binutils-all/elfedit.exp: Don't set tempfile or copyfile.
174 * testsuite/binutils-all/symbols-1.d,
175 * testsuite/binutils-all/symbols-2.d,
176 * testsuite/binutils-all/symbols-3.d,
177 * testsuite/binutils-all/symbols-4.d: Quote '*' and '!'.
178 * testsuite/binutils-all/add-empty-section.d,
179 * testsuite/binutils-all/add-section.d,
180 * testsuite/binutils-all/elfedit.exp,
181 * testsuite/binutils-all/note-1.d,
182 * testsuite/binutils-all/pr23633.d: Add $subdir after $srcdir.
183 * testsuite/config/default.exp (AS, ASFLAGS): Define.
184 * testsuite/config/hppa.sed: Handle all common symbols.
185 * testsuite/lib/binutils-common.exp (run_dump_test): New proc,
186 merged from three other versions.
187 (slurp_options, file_contents, set_file_contents): Likewise.
188 (big_or_little_endian, get_standard_section_names): Likewise.
189 * testsuite/lib/utils-lib.exp (run_dump_test): Delete.
190 (slurp_options, proc file_contents): Delete.
191 (get_standard_section_names): Delete.
192
e8d88459
AM
1932018-09-15 Alan Modra <amodra@gmail.com>
194
195 * testsuite/binutils-all/copy-2.d,
196 * testsuite/binutils-all/copy-3.d,
197 * testsuite/binutils-all/copy-4.d,
198 * testsuite/binutils-all/elfedit-1.d,
199 * testsuite/binutils-all/note-1.d,
200 * testsuite/binutils-all/note-2-64.d,
201 * testsuite/binutils-all/strip-11.d,
202 * testsuite/binutils-all/strip-13.d,
203 * testsuite/binutils-all/strip-14.d,
204 * testsuite/binutils-all/testranges.d,
205 * testsuite/binutils-all/x86-64/pr23494a-x32.d,
206 * testsuite/binutils-all/x86-64/pr23494a.d,
207 * testsuite/binutils-all/x86-64/pr23494b-x32.d,
208 * testsuite/binutils-all/x86-64/pr23494b.d,
209 * testsuite/binutils-all/x86-64/pr23494c-x32.d,
210 * testsuite/binutils-all/x86-64/pr23494c.d,
211 * testsuite/binutils-all/x86-64/pr23494d-x32.d,
212 * testsuite/binutils-all/x86-64/pr23494d.d,
213 * testsuite/binutils-all/x86-64/pr23494e-x32.d,
214 * testsuite/binutils-all/x86-64/pr23494e.d,
215 * testsuite/lib/utils-lib.exp (run_dump_test): Replace not-target
216 and not-skip with notarget and noskip.
217
04ade4bc
AM
2182018-09-15 Alan Modra <amodra@gmail.com>
219
220 * testsuite/binutils-all/group-7a.d,
221 * testsuite/binutils-all/group-7b.d,
222 * testsuite/binutils-all/group-7c.d,
223 * testsuite/binutils-all/symbols-1.d,
224 * testsuite/binutils-all/symbols-2.d,
225 * testsuite/binutils-all/symbols-3.d,
226 * testsuite/binutils-all/symbols-4.d: Remove DUMPPROG.
227
1fcd7e87
AM
2282018-09-14 Alan Modra <amodra@gmail.com>
229
230 PR binutils/23633
231 * testsuite/binutils-all/pr23633.d: Don't fail when assembler
232 generates sections other than .text.
233
319dbdfb
L
2342018-09-13 H.J. Lu <hongjiu.lu@intel.com>
235
236 PR binutils/23633
237 * testsuite/binutils-all/objcopy.exp: Run pr23633.
238 * testsuite/binutils-all/pr23633.d: New file.
239 * testsuite/binutils-all/pr23633.list: Likewise.
240 * testsuite/binutils-all/pr23633.s: Likewise.
241
508d0c9b
NC
2422018-09-13 Nick Clifton <nickc@redhat.com>
243
244 PR 23633
245 * objcopy.c (add_specific_symbols): Do not free the buffer at the
246 end of the function.
247
f9853190
AM
2482018-09-10 Alan Modra <amodra@gmail.com>
249
250 PR binutils/23611
251 * objcopy.c (handle_remove_section_option): Consider .rela and
252 .rel sections for stripping directly as well as attached to the
253 associated section they relocate.
254 * doc/binutils.texi (remove-relocations): Specify that this
255 option removes non-dynamic relocation sections.
256 * testsuite/binutils-all/objcopy.exp
257 (objcopy_remove_relocations_from_executable): New test.
258
20a4d0bd
NC
2592018-09-03 Nick Clifton <nickc@redhat.com>
260
261 * po/ja.po: Updated Japanese translation.
262
0f60cce3
L
2632018-08-31 H.J. Lu <hongjiu.lu@intel.com>
264
265 * testsuite/binutils-all/readelf.s-64: Adjusted for
266 .note.gnu.property section.
267 * testsuite/binutils-all/strip-3.d: Also strip
268 .note.gnu.property section.
269
6c0d3bde
L
2702018-08-31 H.J. Lu <hongjiu.lu@intel.com>
271
272 * testsuite/binutils-all/i386/compressed-1b.d: Pass
273 -mx86-used-note=no to assembler.
274 * testsuite/binutils-all/i386/compressed-1c.d: Likewise.
275 * testsuite/binutils-all/x86-64/compressed-1b.d: Likewise.
276 * testsuite/binutils-all/x86-64/compressed-1c.d: Likewise.
277 * testsuite/binutils-all/i386/empty.d: Pass -mx86-used-note=yes
278 to assembler and update expected output from "readelf -n".
279 * testsuite/binutils-all/i386/ibt.d: Likewise.
280 * testsuite/binutils-all/i386/pr21231a.d: Likewise.
281 * testsuite/binutils-all/i386/pr21231b.d: Likewise.
282 * testsuite/binutils-all/i386/shstk.d: Likewise.
283 * testsuite/binutils-all/x86-64/empty-x32.d: Likewise.
284 * testsuite/binutils-all/x86-64/empty.d: Likewise.
285 * testsuite/binutils-all/x86-64/ibt-x32.d: Likewise.
286 * testsuite/binutils-all/x86-64/ibt.d: Likewise.
287 * testsuite/binutils-all/x86-64/pr21231a.d: Likewise.
288 * testsuite/binutils-all/x86-64/pr21231b.d: Likewise.
289 * testsuite/binutils-all/x86-64/pr23494a-x32.d: Likewise.
290 * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
291 * testsuite/binutils-all/x86-64/pr23494b-x32.d: Likewise.
292 * testsuite/binutils-all/x86-64/pr23494b.d: Likewise.
293 * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
294 * testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
295 * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
296 * testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
297 * testsuite/binutils-all/x86-64/pr23494e-x32.d: Likewise.
298 * testsuite/binutils-all/x86-64/pr23494e.d: Likewise.
299 * testsuite/binutils-all/x86-64/shstk-x32.d: Likewise.
300 * testsuite/binutils-all/x86-64/shstk.d: Likewise.
301
385e5b90
L
3022018-08-30 H.J. Lu <hongjiu.lu@intel.com>
303
304 * readelf.c (process_section_headers): Treat SHT_FINI_ARRAY and
305 SHT_PREINIT_ARRAY as relocatable sections.
306
4c971803
CX
3072018-08-30 Chenghua Xu <paul.hua.gm@gmail.com>
308
309 * MAINTAINERS: Add myself as a MIPS port maintainer.
310
9108bc33
CX
3112018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
312
313 * NEWS: Mention Loongson 2K1000 proccessor support.
314 * readelf.c (get_machine_flags): Handle gs264e.
315
bd782c07
CX
3162018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
317
318 * NEWS: Mention Loongson 3A2000/3A3000 proccessor support.
319 * readelf.c (get_machine_flags): Handle gs464e.
320
ac8cb70f
CX
3212018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
322
323 * NEWS: Mention Loongson 3A1000 proccessor support.
324 * readelf.c (get_machine_flags): Rename loongson-3a to gs464.
325 (print_mips_isa_ext): Delete AFL_EXT_LOONGSON_3A.
326
a693765e
CX
3272018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
328
329 * readelf.c (print_mips_ases): Add Loongson EXT2 extension.
330
bdc6c06e
CX
3312018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
332
333 * readelf.c (print_mips_ases): Add Loongson EXT extension.
334
716c08de
CX
3352018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
336
337 * readelf.c (print_mips_ases): Add CAM extension.
338
90c745dc
L
3392018-08-27 H.J. Lu <hongjiu.lu@intel.com>
340
341 * readelf.c (decode_x86_isa): Print <None> if bitmask only
342 contains the GNU_PROPERTY_X86_UINT32_VALID bit.
343 (decode_x86_feature_1): Likewise.
344 (decode_x86_feature_2): Likewise.
345 (print_gnu_property_note): Don't mask out the
346 GNU_PROPERTY_X86_UINT32_VALID bit.
347 * testsuite/binutils-all/i386/pr21231b.d: Updated.
348 * testsuite/binutils-all/x86-64/pr21231b.d: Likewise.
349
65b3d26e
L
3502018-08-27 H.J. Lu <hongjiu.lu@intel.com>
351
352 * readelf.c (decode_x86_compat_isa): Break multi-statement line.
353 (decode_x86_isa): Likewise.
354 (decode_x86_feature_2): Likewise.
355
7a815dd5
L
3562018-08-25 H.J. Lu <hongjiu.lu@intel.com>
357
358 PR ld/23499
359 * readelf.c (get_symbol_version_string): Return _("<corrupt>")
360 for corrupt symbol version info.
361
a9eafb08
L
3622018-08-24 H.J. Lu <hongjiu.lu@intel.com>
363
364 * readelf.c (decode_x86_compat_isa): New function.
365 (decode_x86_feature_2): Likewise.
366 (decode_x86_isa): Updated for new X86_ISA_1_XXX bits.
367 (decode_x86_feature): Renamed to ...
368 (decode_x86_feature_1): This. Remove the type argument.
369 (print_gnu_property_note): Handle X86_COMPAT_ISA_1_USED,
370 X86_COMPAT_ISA_1_NEEDED, X86_UINT32_AND_LO, X86_UINT32_AND_HI,
371 X86_UINT32_OR_LO, X86_UINT32_OR_HI, X86_UINT32_OR_AND_LO and
372 X86_UINT32_OR_AND_HI instead of X86_ISA_1_USED, X86_ISA_1_NEEDED
373 and X86_FEATURE_1_AND.
374 * testsuite/binutils-all/i386/pr21231b.s: Updated to the current
375 GNU_PROPERTY_X86_ISA_1_USED and GNU_PROPERTY_X86_ISA_1_NEEDED
376 values.
377 * testsuite/binutils-all/x86-64/pr21231b.s: Likewise.
378 * testsuite/binutils-all/x86-64/pr23494a.s: Likewise.
379 * testsuite/binutils-all/x86-64/pr23494b.s: Likewise.
380 * testsuite/binutils-all/x86-64/pr23494c.s: Likewise.
381 * testsuite/binutils-all/i386/pr21231b.d: Updated.
382 * testsuite/binutils-all/x86-64/pr21231b.d: Likewise.
383 * testsuite/binutils-all/x86-64/pr23494a-x32.d: Likewise.
384 * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
385 * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
386 * testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
387 * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
388 * testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
389 * testsuite/binutils-all/x86-64/pr23494e-x32.d: Likewise.
390 * testsuite/binutils-all/x86-64/pr23494e.d: Likewise.
391
aa7bca9b
L
3922018-08-24 H.J. Lu <hongjiu.lu@intel.com>
393
394 * readelf.c (print_gnu_property_note): Check the
395 GNU_PROPERTY_X86_UINT32_VALID bit for invalid GNU property note.
396
14732552
AM
3972018-08-23 Alan Modra <amodra@gmail.com>
398
399 * readelf.c (get_ppc64_symbol_other): Return NULL if st_other
400 field contains unrecognised or reserved values. Handle
401 localentry:1 value.
402
7dd36a6f
L
4032018-08-23 H.J. Lu <hongjiu.lu@intel.com>
404
405 PR ld/23536
406 * Makefile.am (development.exp): New target.
407 (EXTRA_DEJAGNU_SITE_CONFIG): New.
408 (DISTCLEANFILES): Add development.exp.
409 * Makefile.in: Regenerated.
410 * testsuite/binutils-all/objcopy.exp (strip_test): Call
411 prune_warnings to prune BFD output.
412 (strip_test_with_saving_a_symbol): Likewise.
413 (objcopy_test_without_global_symbol): Likewise.
414 * testsuite/lib/binutils-common.exp (prune_warnings_extra):
415 New proc.
416 (prune_warnings): Likewise.
417
44c2eb66
L
4182018-08-23 H.J. Lu <hongjiu.lu@intel.com>
419
420 * README-how-to-make-a-release: Document setting "experimental"
421 to false.
422
e8a64888
AM
4232018-08-22 Alan Modra <amodra@gmail.com>
424
425 * readelf.c (process_file_header): Assign updated values from
426 section_header[0] fields to e_phnum, e_shnum and e_shstrndx
427 during printing of header. Correct e_shstrndx range check.
428 Remove unnecessary casts and use %u rather than %ld for
429 unsigned int header fields. Don't print a random %lx when
430 reporting an unknown EI_VERSION.
431
06d743b7
NC
4322018-08-21 Nick Clifton <nickc@redhat.com>
433
434 * MAINTAINERS: Note that Arnold Metselaar has retired as the z80
435 maintainer.
436
66b09c7e
S
4372018-08-21 L. Simon <l.simon@samsung.com>
438
439 PR 23531
440 * readelf.c (hppa_process_unwind): Only dump the unwind table if
441 the data was successfully read in.
442
506b86a4
AM
4432018-08-18 Alan Modra <amodra@gmail.com>
444
445 * testsuite/lib/binutils-common.exp (is_elf64): Use directory of
446 input file for readelf.out.
447 (is_rela): New proc.
448 * testsuite/binutils-all/objcopy.exp (elf64): Set new variable
449 from first result of is_elf64 test.
450 (reloc_format): Set using is_rela.
451 (strip-13): Pass RELOC and ELF64 to assembler.
452 (strip-14, strip-15): Use elf64 rather than calling is_elf64 again.
453 * testsuite/binutils-all/strip-13.d: Run for more targets.
454 * testsuite/binutils-all/strip-13mips64.s: Use RELOC and set
455 addend to zero.
456 * testsuite/binutils-all/strip-13rel.s: Use RELOC and ELF64.
457 Don't add _NONE reloc.
458 * testsuite/binutils-all/strip-13rela.s: Likewise.
459
9c973a29
L
4602018-08-10 H.J. Lu <hongjiu.lu@intel.com>
461
462 PR binutils/23494
463 * testsuite/binutils-all/x86-64/pr23494c.s: New file.
464 * testsuite/binutils-all/x86-64/pr23494e-x32.d: Likewise.
465 * testsuite/binutils-all/x86-64/pr23494e.d: Likewise.
466
11459a79
L
4672018-08-10 H.J. Lu <hongjiu.lu@intel.com>
468
469 * testsuite/binutils-all/x86-64/pr23494a-x32.d: Skip nacl
470 targets.
471 * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
472 * testsuite/binutils-all/x86-64/pr23494b-x32.d: Likewise.
473 * testsuite/binutils-all/x86-64/pr23494b.d: Likewise.
474 * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
475 * testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
476 * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
477 * testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
478
6404ab99
L
4792018-08-08 H.J. Lu <hongjiu.lu@intel.com>
480
481 PR binutils/23494
482 * testsuite/binutils-all/x86-64/pr23494a-x32.d: New file.
483 * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
484 * testsuite/binutils-all/x86-64/pr23494a.s: Likewise.
485 * testsuite/binutils-all/x86-64/pr23494b-x32.d: Likewise.
486 * testsuite/binutils-all/x86-64/pr23494b.d: Likewise.
487 * testsuite/binutils-all/x86-64/pr23494b.s: Likewise.
488 * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
489 * testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
490 * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
491 * testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
492
f384a1f0
KB
4932018-08-08 Kevin Buettner <kevinb@redhat.com>
494
f9853190
AM
495 * dwarf.c (decode_location_expresion): Add case for
496 DW_OP_GNU_variable_value.
f384a1f0 497
db1e1b45 4982018-08-06 Claudiu Zissulescu <claziss@synopsys.com>
499
500 * readelf.c (display_arc_attribute): Print Tag_ARC_ATR_version.
501
4aae6e5a
NC
5022018-08-03 Nick Clifton <nickc@redhat.com>
503
504 * objcopy.c (merge_gnu_build_notes): Delete empty notes. Merge
505 identical function notes.
506
e2561448
NC
5072018-08-01 Nick Clifton <nickc@redhat.com>
508
509 * README-how-to-make-a-release: Add note about regenerating the
510 info files prior to the release.
511
2409af1e
AJ
5122018-07-30 Andrew Jenner <andrew@codesourcery.com>
513
514 * MAINTAINERS (C-SKY): Add Yunhai Shang as co-maintainer.
515
d0ba5758
AJ
5162018-07-30 Andrew Jenner <andrew@codesourcery.com>
517
518 * MAINTAINERS (C-SKY): Add Lifang Xia as maintainer.
519
b8891f8d
AJ
5202018-07-30 Andrew Jenner <andrew@codesourcery.com>
521
522 * readelf.c: Include elf/csky.h.
523 (guess_is_rela): Handle EM_CSKY.
524 (dump_relocations): Likewise.
525 (get_machine_name): Likewise.
526 (is_32bit_abs_reloc): Likewise.
527
e3d39609
NC
5282018-07-25 Nick Clifton <nickc@redhat.com>
529
530 * rdcoff.c (parse_coff_struct_type): Free fields array upon early
531 exit.
532 (parse_coff_enum_type): Free names and vals arrays upon early
533 exit.
534 * rddbg.c (read_section_stabs_debugging_info): Free shandle and
535 strings and stabs arrays upon early exit.
536 * readelf.c (get_32bit_section_headers): Free shdrs structure upon
537 early exit.
538 (get_64bit_section_headers): Likewise.
539 (get_32bit_elf_symbols): Generate an error if multiple symbol
540 table index sections are associated with the same symbol section.
541 (get_64bit_elf_symbols): Likewise.
542 (process_dynamic_section): Generate an error if there are multiple
543 dynamic symbol table sections, multiple dynamic string tables or
544 multiple dynamic symbol information sections.
545
1d97232a
NC
5462018-07-24 Nick Clifton <nickc@redhat.com>
547
548 * po/sv.po: Updated Swedish translation.
549
7b8d9e8c
AM
5502018-07-24 Alan Modra <amodra@gmail.com>
551
552 PR 23431
553 * dwarf.c (display_formatted_table): Replace "what" parameter
554 with "is_dir". Expand messages. Fix capitalisation.
555 * testsuite/binutils-all/dw5.W: Update expected output.
556
67ce483b
AM
5572018-07-24 Alan Modra <amodra@gmail.com>
558
559 PR 23430
560 * elfcomm.h (struct archive_info): Rename uses_64bit_indicies
561 to uses_64bit_indices.
562 * elfcomm.c (setup_archive): Update uses of above.
563 * readelf.c (process_archive): Likewise.
564 (get_section_type_name): Rename indicies to indices.
565 (get_32bit_elf_symbols, get_64bit_elf_symbols): Likewise.
566 (process_section_groups): Likewise.
567
e2e31f10
MR
5682018-07-20 Maciej W. Rozycki <macro@mips.com>
569
570 * MAINTAINERS: Update my e-mail address, downgrade to MIPS I-IV
571 ISA maintenance.
572
3391569f
NC
5732018-07-20 Nick Clifton <nickc@redhat.com>
574
575 * objcopy.c (add_specific_symbols): Free buffer on exit.
576 (add_redefine_syms_file): Close file handle on exit.
577 (copy_object): Close file handle on early exit.
578 Free buffer on early exit.
579 Free gaps buffers once they are no longer needed.
580 * dwarf.c (display_debug_frames): Free allocated memory on exit.
581 (load_separate_debug_info): Free allocate memory on early exit.
582
8095d2f7
CX
5832018-07-20 Chenghua Xu <paul.hua.gm@gmail.com>
584 Maciej W. Rozycki <macro@mips.com>
585
586 * readelf.c (print_mips_ases): Add MMI extension.
587
79f5b65e
DD
5882018-07-19 DJ Delorie <dj@redhat.com>
589
590 * MAINTAINERS (RL78, RX): Remove myself as maintainer.
591
442a6ce8
NC
5922018-07-19 Nick Clifton <nickc@redhat.com>
593
594 * dwarf.c (read_cie): Free allocated memory before returning with
595 a failure result.
596
3fd21718
PFC
5972018-07-16 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
598
599 * readelf.c (get_note_type): Fix typo in NT_PPC_TM_CVSX note
600 description.
601
ad96220c
NC
6022018-07-16 Nick Clifton <nickc@redhat.com>
603
604 * README-how-to-make-a-release: Add note to check for new top
605 level files and add them to the src-release.sh script.
606
6cb624f8
NC
6072018-07-14 Nick Clifton <nickc@redhat.com>
608
609 * README-how-to-make-a-release: Updated with corrections based on
610 the 2.31 release experience.
611
55cc53e9
FT
6122018-07-12 Francois H. Theron <francois.theron@netronome.com>
613
614 * readelf.c (process_section_headers): Don't print section type
615 twice for --section-details.
616
be570f06
AM
6172018-07-10 Alan Modra <amodra@gmail.com>
618
619 * testsuite/lib/binutils-common.exp (supports_gnu_unique): Return
620 zero for xgate.
621
d20e98ab
NC
6222018-07-06 Nick Clifton <nickc@redhat.com>
623
624 * readelf.c (same_section): New function.
625 (print_gnu_build_attribute_description): Do not complain about
626 gaps that cross a section boundary.
627
d8dab054
NC
6282018-07-05 Nick Clifton <nickc@redhat.com>
629
630 * po/bg.po: Updated Bulgarian translation.
631
a05a5b64
TP
6322018-07-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
633
634 * NEWS: Use command-line consistently when used in a compount word.
635 * doc/binutils.texi: Likewise and fix trailing whitespace on same
636 line.
637
30aa1306
NC
6382018-06-26 Nick Clifton <nickc@redhat.com>
639
640 * po/sv.po: Updated Swedish translation.
641 * po/uk.po: Updated Ukranian translation.
642
eca4b721
NC
6432018-06-26 Nick Clifton <nickc@redhat.com>
644
645 * doc/binutils.texi: Fix spelling mistakes.
646 * README--how-to-make-a-release: Likewise.
647
1021d1cb
TT
6482018-06-25 Tom Tromey <tom@tromey.com>
649
650 * dwarf-mode.el (dwarf-mode-syntax-table): New variable.
651 Bump version number.
652
71300e2c
NC
6532018-06-24 Nick Clifton <nickc@redhat.com>
654
655 * README-how-to-make-a-release: Update with experiences from
656 making 2.31 branch.
657 * po/binutils.pot: Regenerate.
658 * configure: Regenerate.
659
719d8288
NC
6602018-06-24 Nick Clifton <nickc@redhat.com>
661
662 2.31 branch created.
663 * NEWS: Add marker for 2.31.
664
d388f643
AM
6652018-06-21 Alan Modra <amodra@gmail.com>
666
667 * doc/Makefile.am (AUTOMAKE_OPTIONS): Add "foreign".
668 * doc/Makefile.in: Regenerate.
669
d0ac1c44
SM
6702018-06-19 Simon Marchi <simon.marchi@ericsson.com>
671
672 * configure.ac: Remove AC_PREREQ.
673 * doc/Makefile.am (AUTOMAKE_OPTIONS): Remove cygnus, add
674 info-in-builddir no-texinfo.tex.
675 * Makefile.in: Re-generate.
676 * aclocal.m4: Re-generate.
677 * config.in: Re-generate.
678 * configure: Re-generate.
679 * doc/Makefile.in: Re-generate.
680
3a075e56
AS
6812018-06-19 Andreas Schwab <schwab@suse.de>
682
683 * readelf.c (is_16bit_abs_reloc): Handle R_RISCV_SET16.
684 (is_8bit_abs_reloc): New function.
685 (is_6bit_abs_reloc): New function.
686 (is_6bit_inplace_sub_reloc): New function.
687 (apply_relocations): Use them. Handle 6-bit relocations.
688
6f20c942
FS
6892018-06-14 Faraz Shahbazker <Faraz.Shahbazker@mips.com>
690
691 * readelf.c (print_mips_ases): Add GINV extension.
692
1f6f5dba
L
6932018-06-14 H.J. Lu <hongjiu.lu@intel.com>
694
695 PR binutils/23267
696 * readelf.c (get_symbol_version_string): Check if the first
697 symbol version is base version.
698
730c3174
SE
6992018-06-13 Scott Egerton <scott.egerton@imgtec.com>
700 Faraz Shahbazker <Faraz.Shahbazker@mips.com>
701
702 * readelf.c (print_mips_ases): Add CRC.
703
7a486e6d
NC
7042018-06-13 Nick Clifton <nickc@redhat.com>
705
706 * doc/binutils.texi (objdump): Add missing closing square
707 parenthesis to listing of objcopy's command line options.
708
5a485b38
NC
7092018-06-11 Nick Clifton <nickc@redhat.com>
710
711 * po/es.po: Updated Spanish translation.
712
55e99962
L
7132018-06-01 H.J. Lu <hongjiu.lu@intel.com>
714
715 * configure: Regenerated.
716
0034eed0
AM
7172018-05-31 Alan Modra <amodra@gmail.com>
718
719 * testsuite/binutils-all/compress.exp (test_gnu_debuglink): Don't
720 set CC_FOR_TARGET. Run test non-native.
721 * testsuite/binutils-all/objdump.exp (test_build_id_debuglink):
722 Likewise.
723 (test_follow_debuglink): Run test non-native.
724
1869e86f
AB
7252018-05-30 Ant Bikeneev <ant.bikineev@gmail.com>
726
727 PR 23107
728 * ar.c (display_offsets): New variable.
729 (usage): Add description of 'O' operator.
730 (decode_option): Handle 'O' operator.
731 (print_descr): Pass display_offsets to print_arelt_descr.
732 * arsup.c: Update call to printy_arelt_descr.
733 * objdump.c: Likewise.
734 * bucomm.c (print_arelt_descr): If offsets parameter is true then
735 display offset of archive element within the archive.
736 * bucomm.h: Update prototype for print_arelt_descr.
737 * doc/binutils.texi: Update description of ar command.
738 * NEWS: Mention the new feature.
739 * testsuite/binutils-all/ar.exp: Add text of new feature.
740
bb3b5316
AM
7412018-05-28 Alan Modra <amodra@gmail.com>
742
743 PR 23235
744 * testsuite/binutils-all/compress.exp (test_gnu_debuglink): Return
745 unsupported rather than fail on compile errors.
746 * testsuite/binutils-all/objdump.exp (test_build_id_debuglink):
747 Likewise. Save and restore CFLAGS_FOR_TARGET.
748
7f999549
JW
7492018-05-18 Kito Cheng <kito.cheng@gmail.com>
750
751 * readelf.c (get_machine_flags): Handle EF_RISCV_RVE.
752
7b4ae824
JD
7532018-05-18 John Darrington <john@darrington.wattle.id.au>
754
755 * readelf.c: Add support for s12z architecture.
756 * testsuite/lib/binutils-common.exp (is_elf_format): Excluse s12z
757 targets.
758
f9830ec1
TC
7592018-05-15 Tamar Christina <tamar.christina@arm.com>
760
761 PR binutils/21446
762 * doc/binutils.texi (-M): Document AArch64 options.
763
7d02540a
TC
7642018-05-15 Tamar Christina <tamar.christina@arm.com>
765
766 PR binutils/21446
767 * doc/binutils.texi (-M): Document AArch64 options.
768 * NEWS: Document notes and warnings.
769
679ca975
AM
7702018-05-15 Alan Modra <amodra@gmail.com>
771
772 * testsuite/lib/binutils-common.exp (is_elf_format): Add chorus,
773 cloudabi, fuchsia, kaos and nto. Merge netbsdelf* into *elf*,
774 and *uclinux* into *linux*.
775 * testsuite/binutils-all/objcopy.exp: Accept armeb for rel
776 strip-13 test, exclude arm-vxworks and arm-windiss.
777
637b1970
JD
7782018-05-10 John Darrington <john@darrington.wattle.id.au>
779
780 * readelf.c (get_machine_name): EM_S12Z - handle new case.
781
60cb2c8a
AM
7822018-05-09 Alan Modra <amodra@gmail.com>
783
784 * od-macho.c (dump_unwind_encoding_x86): Fix typo in last patch.
785
84f9f8c3
AM
7862018-05-09 Sebastian Rasmussen <sebras@gmail.com>
787
788 * od-macho.c (dump_unwind_encoding_x86): Adjust for macro renaming.
789
886d5428
AM
7902018-05-08 Alan Modra <amodra@gmail.com>
791
792 PR 23141
793 * objcopy.c (is_strip_section): Strip groups without a valid
794 signature symbol.
795
ce4ec1a9
AM
7962018-05-07 Alan Modra <amodra@gmail.com>
797
798 PR 23142
799 * objcopy.c (group_signature): Don't accept groups that use a
800 symbol table other than the one we've read.
801
fe944acf
FT
8022018-04-30 Francois H. Theron <francois.theron@netronome.com>
803
804 * readelf.c: Very basic support for EM_NFP and its section types.
805 * testsuite/binutils-all/nfp: New directory.
806 * testsuite/binutils-all/nfp/objdump.exp: New file. Run new
807 tests.
808 * testsuite/binutils-all/nfp/test2_ctx8.d: New file.
809 * testsuite/binutils-all/nfp/test2_no-pc_ctx4.d: New file.
810 * testsuite/binutils-all/nfp/test1.d: New file.
811 * testsuite/binutils-all/nfp/nfp6000.nffw: New file.
812 * testsuite/binutils-all/nfp/test2_nfp6000.nffw: New file.
813 * NEWS: Mention the new support.
814
6d9dabbb
MR
8152018-04-27 Maciej W. Rozycki <macro@mips.com>
816
817 * testsuite/lib/binutils-common.exp (match_target): New procedure.
818 * testsuite/lib/utils-lib.exp (run_dump_test): Use it in place
819 of `istarget' for matching with `target', `not-target', `skip'
820 and `not-skip' options.
821
0df8ad28
NC
8222018-04-26 Nick Clifton <nickc@redhat.com>
823
824 * readelf.c (is_32bit_abs_reloc): Support R_PARISC_DIR32 as a
825 32-bit absolute reloc for the HPPA target.
826 * testsuite/binutils-all/note-5.d: New test.
827 * testsuite/binutils-all/note-5.s: Source file for new test.
828 * testsuite/binutils-all/objcopy.exp: Run new test.
829
f1ac0afe
CL
8302018-04-25 Christophe Lyon <christophe.lyon@st.com>
831
832 * testsuite/binutils-all/elfedit-2.d: Accept arm*-*-uclinuxfdpiceabi.
833 * testsuite/binutils-all/elfedit-3.d: Likewise.
834 * testsuite/binutils-all/objcopy.exp: Likewise.
835 * testsuite/binutils-all/strip-3.d: Likewise.
836 * testsuite/lib/binutils-common.exp: Likewise.
837
18a20338
CL
8382018-04-25 Christophe Lyon <christophe.lyon@st.com>
839 Mickaël Guêné <mickael.guene@st.com>
840
841 * readelf.c (decode_ARM_machine_flags): Support EF_ARM_PIC.
842 (get_osabi_name): Support ELFOSABI_ARM_FDPIC.
843
2ac93be7
AM
8442018-04-25 Alan Modra <amodra@gmail.com>
845
846 * testsuite/binutils-all/arm/objdump.exp: Remove arm-aout and
847 arm-coff support.
848 * testsuite/binutils-all/objcopy.exp: Likewise.
849 * testsuite/lib/binutils-common.exp: Likewise.
850
a7504f87
NC
8512018-04-18 Nick Clifton <nickc@redhat.com>
852
853 PR 23062
854 * dwarf.c (read_and_display_attr_value): Replace assertions with
855 test and warning message.
856
c65c21e1
AM
8572018-04-18 Alan Modra <amodra@gmail.com>
858
859 * testsuite/lib/binutils-common.exp: Remove support for assorted
860 aout targets.
861
6aea08d9
NC
8622018-04-17 Nick Clifton <nickc@redhat.com>
863
c4a91159 864 PR 23063
56d8f8a9
NC
865 * readelf.c (print_symbol): If the width is zero, return straight
866 away.
867
6aea08d9
NC
868 PR 23064
869 * dwarf.c (process_cu_tu_index): Test for a potential buffer
870 overrun before copying signature pointer.
871
f954747f
AM
8722018-04-17 Alan Modra <amodra@gmail.com>
873
874 * readelf.c: Revert 2018-04-16 and 2018-04-11 changes.
875
d7867d17
AM
8762018-04-16 Alan Modra <amodra@gmail.com>
877
878 * readelf.c (get_machine_name): Correct typo.
879
ddb00039
AM
8802018-04-16 Alan Modra <amodra@gmail.com>
881
882 * configure.ac: Remove arm-epoc-pe support.
883 * dlltool.c: Likewise.
884 * configure: Regenerate.
885
c9098af4
AM
8862018-04-16 Alan Modra <amodra@gmail.com>
887
888 * testsuite/lib/binutils-common.exp: Remove sparc-aout and
889 sparc-coff support.
890
dc12032b
AM
8912018-04-16 Alan Modra <amodra@gmail.com>
892
893 * testsuite/binutils-all/copy-2.d: Remove m68k-aout and m68k-coff
894 support.
895 * testsuite/binutils-all/copy-3.d: Likewise.
896 * testsuite/binutils-all/objcopy.exp: Likewise.
897 * testsuite/lib/binutils-common.exp: Likewise.
898
211dc24b
AM
8992018-04-16 Alan Modra <amodra@gmail.com>
900
901 * testsuite/binutils-all/objcopy.exp: Remove sh5 and sh64 support.
902
a9a4b302
AM
9032018-04-16 Alan Modra <amodra@gmail.com>
904
905 * testsuite/binutils-all/objcopy.exp: Remove w65 support.
906
04cb01fd
AM
9072018-04-16 Alan Modra <amodra@gmail.com>
908
909 * testsuite/binutils-all/objdump.exp: Remove we32k support.
910
c2bf1eec
AM
9112018-04-16 Alan Modra <amodra@gmail.com>
912
913 * MAINTAINERS (Mark Kettenis): Move to past maintainers.
914 * testsuite/binutils-all/objdump.exp: Remove m88k support.
915
6793974d
AM
9162018-04-16 Alan Modra <amodra@gmail.com>
917
918 * readelf.c: Remove i370 support.
919 * testsuite/binutils-all/objdump.exp: Likewise.
920
e82aa794
AM
9212018-04-16 Alan Modra <amodra@gmail.com>
922
923 * testsuite/binutils-all/objcopy.exp: Remove h8500 support.
924 * testsuite/lib/binutils-common.exp: Likewise.
925
fe0bf0fd
AM
9262018-04-16 Alan Modra <amodra@gmail.com>
927
928 * testsuite/binutils-all/objcopy.exp: Remove h8300-coff support.
929
fdef3943
AM
9302018-04-16 Alan Modra <amodra@gmail.com>
931
932 * Makefile.am: Remove IEEE 695 support.
933 * budbg.h: Likewise.
934 * doc/binutils.texi: Likewise.
935 * makefile.vms: Likewise.
936 * objcopy.c: Likewise.
937 * objdump.c: Likewise.
938 * rddbg.c: Likewise.
939 * ieee.c: Delete.
940 * Makefile.in: Regenerate.
941 * po/POTFILES.in: Regenerate.
942
5972ac73
AM
9432018-04-16 Alan Modra <amodra@gmail.com>
944
945 * testsuite/binutils-all/copy-2.d: Remove newsos3 support.
946 * testsuite/binutils-all/nm.exp: Likewise.
947
b4b594e3
AM
9482018-04-16 Alan Modra <amodra@gmail.com>
949
950 * .gitignore: Remove netware support.
951 * Makefile.am: Likewise.
952 * configure.ac: Likewise.
953 * doc/Makefile.am: Likewise.
954 * doc/binutils.texi: Likewise.
955 * testsuite/binutils-all/nm.exp: Likewise.
956 * nlmconv.c: Delete.
957 * nlmconv.h: Delete.
958 * nlmheader.y: Delete.
959 * Makefile.in: Regenerate.
960 * configure: Regenerate.
961 * doc/Makefile.in: Regenerate.
962 * po/POTFILES.in: Regenerate.
963
fceadf09
AM
9642018-04-16 Alan Modra <amodra@gmail.com>
965
966 * testsuite/binutils-all/objdump.exp: Remove tahoe support.
967
fb70ec17
AM
9682018-04-14 Alan Modra <amodra@gmail.com>
969
970 * readelf.c (get_machine_name): Revert 2018-04-11 change.
971
86c6c6df
NC
9722018-04-12 Nick Clifton <nickc@redhat.com>
973
974 PR 23050
975 * readelf.c (process_dynamic_section): Correct dynamic string
976 table size calculation.
977
a8eb42a8
AM
9782018-04-11 Alan Modra <amodra@gmail.com>
979
980 * ieee.c: Remove i960 support.
981 * od-macho.c: Remove i860 support.
982 * readelf.c: Remove i860 and i960 support.
983 * testsuite/binutils-all/objcopy.exp: Likewise.
984 * testsuite/binutils-all/objdump.exp: Likewise.
985 * testsuite/lib/binutils-common.exp: Likewise.
986
c43b2c54
MR
9872018-04-11 Maciej W. Rozycki <macro@mips.com>
988
989 * testsuite/lib/binutils-common.exp (is_elf_format): Also return
990 1 for `*-*-lynxos*' and `*-*-symbianelf*' targets.
991
d4ae1932
AM
9922018-04-10 Alan Modra <amodra@gmail.com>
993
994 * testsuite/binutils-all/objcopy.exp (strip-14, strip-15): Choose
995 reloc=11 for pru and reloc=50 for nds32.
996 * testsuite/binutils-all/strip-15.d: Accept 0xb reloc number.
997
d52e3d06
MR
9982018-04-09 Maciej W. Rozycki <macro@mips.com>
999
1000 * testsuite/binutils-all/strip-15.d: New test.
1001 * testsuite/binutils-all/strip-15rel.s: New test source.
1002 * testsuite/binutils-all/strip-15rela.s: New test source.
1003 * testsuite/binutils-all/strip-15mips64.s: New test source.
1004 * testsuite/binutils-all/objcopy.exp: Run the new test.
1005
3f97ba9f
MR
10062018-04-09 Maciej W. Rozycki <macro@mips.com>
1007
1008 * testsuite/binutils-all/strip-14.d: New test.
1009 * testsuite/binutils-all/strip-14rel.s: New test source.
1010 * testsuite/binutils-all/strip-14rela.s: New test source.
1011 * testsuite/binutils-all/strip-14mips64.s: New test source.
1012 * testsuite/binutils-all/objcopy.exp: Run the new test.
1013
2008a0db
TT
10142018-04-06 Tom Tromey <tom@tromey.com>
1015
1016 * dwarf.c (read_and_display_attr_value): Add missing DW_LANG
1017 constants from DWARF 5.
1018
3cba8b6c
L
10192018-04-05 H.J. Lu <hongjiu.lu@intel.com>
1020
1021 PR gas/22318
1022 * configure: Regenerated.
1023
2d8c1a23
MR
10242018-04-05 Maciej W. Rozycki <macro@mips.com>
1025
1026 * testsuite/binutils-all/strip-13mips64.s: Use `.dc.l' rather
1027 than `.dc.w' in second relocation.
1028
65bd2045
MR
10292018-04-05 Maciej W. Rozycki <macro@mips.com>
1030
1031 * testsuite/binutils-all/strip-13.d: Also expect `unsupported
1032 relocation type 0x8f' error message.
1033
2f8ceb38
MR
10342018-04-05 Maciej W. Rozycki <macro@mips.com>
1035
1036 * testsuite/binutils-all/strip-13.s: Rename to...
1037 * testsuite/binutils-all/strip-13rela.s: ... this.
1038 * testsuite/binutils-all/strip-13rel.s: New test source.
1039 * testsuite/binutils-all/strip-13mips64.s: New test source.
1040 * testsuite/binutils-all/strip-13.d: Remove `arm-*', `d10v-*',
1041 `dlx-*' and `xgate-*' from `not-target' list. Add `m6811-*' and
1042 `m68hc11-*' to `not-target' list.
1043 * testsuite/binutils-all/objcopy.exp: Switch between sources for
1044 `strip-13'.
1045
aad7be45
MR
10462018-04-05 Maciej W. Rozycki <macro@mips.com>
1047
1048 * testsuite/binutils-all/strip-13.s: Use 143 (0x8f) rather than
1049 241 (0xf1) for the relocation number and RELA addend.
1050 * testsuite/binutils-all/strip-13.d: Remove `hppa*-*' from the
1051 `not-target' list.
1052
89f60df2
JDA
10532018-04-04 John David Anglin <danglin@gcc.gnu.org>
1054
1055 * MAINTAINERS: Update my e-mail address.
1056
f1ca0d6d
NC
10572018-04-04 Nick Clifton <nickc@redhat.com>
1058
1059 * MAINTAINERS: Move Jason Eckhardt to past maintainers section.
1060
8fd75781
NC
10612018-03-23 Nick Clifton <nickc@redhat.com>
1062
1063 * readelf.c (get_symbol_for_build_attribute): Skip ARM mapping
1064 symbols.
1065 (print_gnu_build_attribute_description): If no file start symbol
1066 could be found, look for one two bytes into the file.
1067 * testsuite/binutils-all/note-4-64.s: Set the address of the file
1068 start symbol to two bytes into the file.
1069 * testsuite/binutils-all/note-4-32.s: Likewise.
1070
b1202ffa
L
10712018-03-21 H.J. Lu <hongjiu.lu@intel.com>
1072
1073 * readelf.c (process_dynamic_section): Also dump DF_1_KMOD,
1074 DF_1_WEAKFILTER and DF_1_NOCOMMON.
1075
7e100140
NC
10762018-03-20 Nick Clifton <nickc@redhat.com>
1077
1078 * po/es.po: Updated Spanish translation.
1079 * po/ru.po: Updated Russian translation.
1080
e45ad123
NC
10812018-03-13 Nick Clifton <nickc@redhat.com>
1082
1083 PR 22957
1084 * stabs.c (pop_binincl): Fail if the file index is off the end of
1085 the stack.
1086
81db3241
NC
10872018-03-13 Nick Clifton <nickc@redhat.com>
1088
1089 PR 22955
1090 * stabs.c (parse_number): Add p_end parameter and use it to check
1091 the validity of the pp parameter. Add checks to prevent walking
1092 off the end of the string buffer.
1093 (parse_stab_string): Likewise.
1094 (parse_stab_type): Likewise.
1095 (parse_stab_type_number): Likewise.
1096 (parse_stab_range_type): Likewise.
1097 (parse_stab_sun_builtin_type): Likewise.
1098 (parse_stab_sun_floating_type): Likewise.
1099 (parse_stab_enum_type): Likewise.
1100 (parse_stab_struct_type): Likewise.
1101 (parse_stab_baseclasses): Likewise.
1102 (parse_stab_struct_fields): Likewise.
1103 (parse_stab_cpp_abbrev): Likewise.
1104 (parse_stab_one_struct_field): Likewise.
1105 (parse_stab_members): Likewise.
1106 (parse_stab_tilde_field): Likewise.
1107 (parse_stab_array_type): Likewise.
e45ad123 1108
81db3241
NC
1109 * parse_stab: Compute the end of the string and then pass it on to
1110 individual parser functions.
1111
6d4f21f6
PP
11122018-03-07 Paul Pluzhnikov <ppluzhnikov@google.com>
1113
1114 PR binutils/22923
1115 * binutils/readelf.c (get_ver_flags): Expand buffer to avoid
1116 overflow.
1117
52fe4420
AM
11182018-03-07 Alan Modra <amodra@gmail.com>
1119
1120 * configure.ac: Add objdump_private_desc_xcoff for rs6000.
1121 * configure: Regenerate.
1122
0e70b27b
L
11232018-03-05 H.J. Lu <hongjiu.lu@intel.com>
1124
1125 PR binutils/22911
1126 * objdump.c (is_significant_symbol_name): Return TRUE for all
1127 .plt* sections.
1128 (find_symbol_for_address): Replace linear search with binary
1129 search on dynamic relocations.
1130
d11ae95e
NC
11312018-03-01 Nick Clifton <nickc@redhat.com>
1132
1133 PR 22905
1134 * dwarf.c (display_debug_ranges): Check that the offset loaded
1135 from the range_entry structure is valid.
1136
e184813f
AM
11372018-03-01 Alan Modra <amodra@gmail.com>
1138
1139 * configure.ac (ALL_LINGUAS): Add sr. Sort.
1140 * configure: Regenerate.
1141
bc7c0509
NC
11422018-02-27 Nick Clifton <nickc@redhat.com>
1143
1144 * po/pt.po: New Portuguese translation.
1145 * configure.ac (ALL_LINGUAS): Add pt.
1146 * configure: Regenerate.
1147
f3185997
NC
11482018-02-27 Nick Clifton <nickc@redhat.com>
1149
1150 PR 22875
1151 * objcopy.c (copy_object): Check the error status after marking
1152 symbols used in relocations.
1153 * testsuite/binutils-all/strip-13.s: New test source file.
1154 * testsuite/binutils-all/strip-13.s: New test driver file.
1155 * testsuite/binutils-all/objcopy.exp: Run the new test.
1156
2c1c9679
AM
11572018-02-26 Alan Modra <amodra@gmail.com>
1158
1159 * testsuite/binutils-all/mips/mips-reginfo-n32.d,
1160 * testsuite/binutils-all/mips/mips-reginfo.d: Update.
1161
6e05870c
AM
11622018-02-23 Alan Modra <amodra@gmail.com>
1163
1164 * testsuite/binutils-all/mips/mips-reginfo-n32.d,
1165 * testsuite/binutils-all/mips/mips-reginfo.d: Update.
1166
b0ab9c45
RH
11672018-02-20 Ronald Hoogenboom <hoogenboom30@zonnet.nl>
1168
1169 * doc/binutils.texi (objcopy): Add missing closing square
1170 parenthesis to listing of objcopy's command line options.
1171
e535d0dd
MK
11722018-02-19 Matthias Klose <doko@debian.org>
1173
1174 * strings.c (long_options): Include-all-whitespace does not take
f9853190 1175 an extra agument.
e535d0dd 1176
6e5e9d58
AM
11772018-02-13 Alan Modra <amodra@gmail.com>
1178
1179 PR 22836
1180 * testsuite/binutils-all/group-7.s,
1181 * testsuite/binutils-all/group-7a.d,
1182 * testsuite/binutils-all/group-7b.d,
1183 * testsuite/binutils-all/group-7c.d: New tests.
1184 * testsuite/binutils-all/objcopy.exp: Run them.
1185
8de3a6e2
NC
11862018-02-08 Nick Clifton <nickc@redhat.com>
1187
1188 PR 22802
1189 * dwarf.c (load_separate_debug_file): Return early if the user is
1190 not interested in debug links.
1191
68807c3c
NC
11922018-02-06 Nick Clifton <nickc@redhat.com>
1193
1194 PR 22793
1195 * readelf.c (find_section): Replace assertion with test and return
1196 of NULL.
1197 (find_section_by_address): Add test of section header table
1198 existance.
1199 (find_section_by_type): Likewise.
1200 (find_section_in_set): Likewise.
1201
2d6dda71
MR
12022018-02-05 Maciej W. Rozycki <macro@mips.com>
1203
1204 * testsuite/binutils-all/mips/mips-reginfo.d: New test.
1205 * testsuite/binutils-all/mips/mips-reginfo-n32.d: New test.
1206 * testsuite/binutils-all/mips/mips-reginfo.s: New test source.
1207 * testsuite/binutils-all/mips/mips.exp: Run the new tests.
1208
78c88364
MR
12092018-02-05 Maciej W. Rozycki <macro@mips.com>
1210
1211 * testsuite/config/default.exp (binutils_run): Document
1212 `binutils_run_status'.
1213 * testsuite/lib/utils-lib.exp (default_binutils_run): Likewise,
1214 and set it.
1215 (run_dump_test): Add `error', `error_output', `warning' and
1216 `warning_output' options. Update documentation accordingly.
1217
5bb0830d
AB
12182018-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
1219
1220 * dwarf.c (dwarf_regnames_riscv): New register name table.
1221 (init_dwarf_regnames_riscv): New function.
1222 (init_dwarf_regnames): Add call to initialise RiscV register
1223 names.
1224 * dwarf.h (init_dwarf_regnames_riscv): Declare.
1225 * objdump.c (dump_dwarf): Add call to initialise RiscV register
1226 names.
1227
f2023ce7
AM
12282018-02-01 Alan Modra <amodra@gmail.com>
1229
1230 PR 22769
1231 * objdump.c (load_specific_debug_section): Check for overflow
1232 when adding one to section size for a string section terminator.
1233
fcabedd5
NC
12342018-01-30 Nick Clifton <nickc@redhat.com>
1235
1236 PR 22734
1237 * doc/binutils.texi (nm): Update description to point out that
1238 zero-initialized values can also be shown as type B, b, S or s
1239 since they can be stored in the BSS section.
1240
f49db8be
AM
12412018-01-30 Alan Modra <amodra@gmail.com>
1242
1243 * objcopy.c (merge_gnu_build_notes): Use (bfd_vma) -1 as
1244 "artificially large" end address.
1245
a8d6d6ac
NC
12462018-01-28 Nick Clifton <nickc@redhat.com>
1247
1248 * README-how-to-make-a-release: Add note about checking gpg key
1249 and the results of gnupload.
1250
9a5db26e
NC
12512018-01-27 Nick Clifton <nickc@redhat.com>
1252
1253 * README-how-to-make-a-release: Add details on how to actually
1254 make the release.
1255
94c2436b
NC
12562018-01-26 Nick Clifton <nickc@redhat.com>
1257
1258 * README-how-to-make-a-release: Add more details on updating
1259 version numbers.
1260
1ea332d6
MR
12612018-01-22 Maciej W. Rozycki <macro@mips.com>
1262
1263 * doc/binutils.texi (objcopy): Fix a typo in `--rename-section'
1264 option description.
1265
d65ce302
MR
12662018-01-22 Maciej W. Rozycki <macro@mips.com>
1267
1268 * MAINTAINERS: Update my company e-mail address.
1269
f433138f
NC
12702018-01-22 Nick Clifton <nickc@redhat.com>
1271
1272 * po/sv.po: Updated Swedish translation.
1273
7ab82037
NC
12742018-01-18 Nick Clifton <nickc@redhat.com>
1275
1276 * po/bg.po: Updated Bulgarian translation.
1277
0dd86f32
JB
12782018-01-16 Joel Brobecker <brobecker@adacore.com>
1279
1280 * README-how-to-make-a-release: Add reminder to update the
1281 branch name in gdbadmin's crontab on sourceware.
1282
a960d29f
JB
12832018-01-16 Joel Brobecker <brobecker@adacore.com>
1284
1285 * README-how-to-make-a-release: Remove trailing spaces.
1286
f6efed01
NC
12872018-01-16 Nick Clifton <nickc@redhat.com>
1288
1289 * po/fr.po: Updated French translation.
1290
616dcb87
NC
12912018-01-15 Nick Clifton <nickc@redhat.com>
1292
1293 * po/uk.po: Updated Ukranian translation.
1294
3957a496
NC
12952018-01-13 Nick Clifton <nickc@redhat.com>
1296
19e2900b 1297 * README-how-to-make-a-release: Update notes.
3957a496
NC
1298 * po/binutils.pot: Regenerated.
1299
769c7ea5
NC
13002018-01-13 Nick Clifton <nickc@redhat.com>
1301
1302 * configure: Regenerate.
1303
9176ac5b
NC
13042018-01-13 Nick Clifton <nickc@redhat.com>
1305
faf766e3 1306 2.30 branch created.
9176ac5b
NC
1307 * NEWS: Add marker for 2.30.
1308
98ab9e96
NC
13092018-01-12 Nick Clifton <nickc@redhat.com>
1310
1311 * README-how-to-make-a-release: Add notes on how to make the
1312 branch and prelease snapshot.
1313 * BRANCHES: Add binutils-2_29-branch.
1314
bf41f30d
NC
13152018-01-10 Nick Clifton <nickc@redhat.com>
1316
1317 * MAINTAINERS: Note that it is now the configure.ac file and not
1318 the configure.in file that needs to be kept in sync with gcc.
1319 Add a note about sending patches for libiberty to gcc.
1320
f13974bd
NC
13212018-01-03 Nick Clifton <nickc@redhat.com>
1322
1323 * objcopy.c (merge_gnu_build_notes): Add cast to maximum address
1324 constants.
1325
6f156d7a
NC
13262018-01-03 Nick Clifton <nickc@redhat.com>
1327
1328 * objcopy.c (objcopy_internal_note): New structure.
1329 (gap_exists): New function.
1330 (is_open_note): New function.
1331 (is_func_note): New function.
1332 (is_64bit): New function.
1333 (merge_gnu_build_notes): Handle v3 notes. Do not merge
1334 if there are relocations against the notes.
1335 * readelf.c (get_note_type): Use short names for build attribute
1336 notes.
1337 (print_symbol_for_build_attribute): Rename to
1338 get_symbol_for_build_attribute. Returns the found symbol rather
1339 than printing it.
1340 (print_gnu_build_attribute_description): Maintain address ranges
1341 for function notes as well as global notes. Handle v3 notes.
1342 (print_gnu_build_attribute_name): Use more space for printing the
1343 name in wide mode.
1344 * testsuite/binutils-all/note-2-32.s: Use .dc.l instead of .word.
1345 Eliminate symbol references in order to remove the need for
1346 relocations.
1347 * testsuite/binutils-all/note-2-64.s: Likewise.
1348 * testsuite/binutils-all/note-3-32.s: Add a size to the note_1
1349 symbol.
1350 * testsuite/binutils-all/note-3-64.s: Likewise.
1351 * testsuite/binutils-all/mips/mips-note-2r-n32.d: Update expected
1352 output.
1353 * testsuite/binutils-all/mips/mips-note-2r-n64.d: Likewise.
1354 * testsuite/binutils-all/mips/mips-note-2r.d: Likewise.
1355 * testsuite/binutils-all/note-2-32.d: Likewise.
1356 * testsuite/binutils-all/note-2-64.d: Likewise.
1357 * testsuite/binutils-all/note-3-32.d: Likewise.
1358 * testsuite/binutils-all/note-3-64.d: Likewise.
1359 * testsuite/binutils-all/note-4-64.s: New test. Checks v3 notes.
1360 * testsuite/binutils-all/note-4-32.s: New test.
1361 * testsuite/binutils-all/note-4-64.d: New test result file.
1362 * testsuite/binutils-all/note-4-32.d: New test result file.
1363
219d1afa
AM
13642018-01-03 Alan Modra <amodra@gmail.com>
1365
1366 Update year range in copyright notice of all files.
1367
1e563868 1368For older changes see ChangeLog-2017
3499769a 1369\f
1e563868 1370Copyright (C) 2018 Free Software Foundation, Inc.
3499769a
AM
1371
1372Copying and distribution of this file, with or without modification,
1373are permitted in any medium without royalty provided the copyright
1374notice and this notice are preserved.
1375
1376Local Variables:
1377mode: change-log
1378left-margin: 8
1379fill-column: 74
1380version-control: never
1381End:
This page took 0.202719 seconds and 4 git commands to generate.