objcopy: Close some memory leaks in error paths
[deliverable/binutils-gdb.git] / binutils / ChangeLog
CommitLineData
848ac659
AB
12016-11-04 Andrew Burgess <andrew.burgess@embecosm.com>
2
3 * objcopy.c (copy_section): Add extra calls to free for error
4 paths.
5
c42608e1
TT
62016-11-04 Tom Tromey <tom@tromey.com>
7
8 * dwarf-mode.el (dwarf-browse): Set default-directory. Bump
9 version number.
10
13be4805
PD
112016-11-04 Palmer Dabbelt <palmer@dabbelt.com>
12
13 * MAINTAINERS: Add myself and Andrew Waterman as maintainers for
14 the RISC-V target.
15
e23eba97
NC
162016-11-01 Palmer Dabbelt <palmer@dabbelt.com>
17 Andrew Waterman <andrew@sifive.com>
18
19 Add support for RISC-V architecture.
20 * readelf.c (guess_is_rela): Add EM_RISCV.
21 (get_machine_name): Likewise.
22 (dump_relocations): Add support for riscv relocations.
23 (get_machine_flags): Add support for riscv flags.
24 (is_32bit_abs_reloc): Add R_RISCV_32.
25 (is_64bit_abs_reloc): Add R_RISCV_64.
26 (is_none_reloc): Add R_RISCV_NONE.
27 * testsuite/binutils-all/objdump.exp (cpus_expected): Add riscv.
28 Expect the debug_ranges test to fail.
29
1449284b
NC
302016-10-17 Nick Clifton <nickc@redhat.com>
31
32 * readelf.c (apply_relocations): Fail if the symbol table section
33 linked to by the reloc section does not have either the SHT_SYMTAB
34 or SHT_DYNSYM type.
35 (print_gnu_note): Decode the contents of NT_GNU_HWCAP notes.
36 Print the contents of unknown note types.
37 (process_note): Add the file and section to the parameter list.
38 Use print_symbol to display the note name.
39 Display the contents of unknown note types.
40 (process_corefile_note_segment): Rename to process_notes_at.
41 Add section parameter. Apply relocations to the notes when
42 loading from a section. Display section name when processing
43 notes in a section.
44 * testsuite/binutils-all/readelf.n: Update expected output.
45
6d913794
NC
462016-10-17 Nick Clifton <nickc@redhat.com>
47
48 * readelf.c (get_dynamic_type): Add DT_SYMTAB_SHNDX.
49 (get_machine_type): Add EM_CLOUDSHIELD, EM_COREA_1ST,
50 EM_COREA_2ND, EM_OPEN8, EM_VIDEOCORE5, EM_56800EX, EM_BA1, EM_BA2,
51 EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_KMX16, EM_KMX8,
52 EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA,
53 EM_Z80, EM_AMDGPU, EM_RISCV.
54 (get_osabi_name): Add ELFOSABI_CLOUDABI and ELFOSABI_OPENVS.
55 (get_group_flags): Update to handle flags in the
56 GRP_MASKOS and GRP_MASKPROC ranges.
57
e913b9cb
LM
582016-10-14 Luis Machado <lgustavo@codesourcery.com>
59
60 * testsuite/lib/utils-lib.exp (run_dump_test): Call remote_download
61 to copy file to remote host.
62
a24bb4f0
NC
632016-10-11 Nick Clifton <nickc@redhat.com>
64
65 * objdump.c (is_significant_symbol_name): New function.
66 (remove_useless_symbols): Do not remove significanr symbols.
67 (find_symbol_for_address): If an exact match for the specified
68 address has not been found, try scanning the dynamic relocs to see
69 if one of these matches the address. If so, use the symbol
70 associated with the reloc.
71 (objdump_print_addr_with_symbol): Do not print offsets to symbols
72 with no value.
73 (disassemble_section): Only use dynamic relocs if the user
74 requested this.
75 (disassemble_data): Always load dynamic relocs if they are
76 available.
77
1a0670f3
AM
782016-10-06 Alan Modra <amodra@gmail.com>
79
80 * dlltool.c: Spell fall through comments consistently.
81 * objcopy.c: Likewise.
82 * readelf.c: Likewise.
83 * dwarf.c: Add missing fall through comments.
84 * elfcomm.c: Likewise.
85 * sysinfo.y: Likewise.
86 * readelf.c: Likewise. Also remove extraneous comments.
87
1e0f0b4d
AM
882016-10-06 Alan Modra <amodra@gmail.com>
89
90 * cxxfilt.c (usage): Add ATTRIBUTE_NORETURN.
91 * elfedit.c (usage): Likewise.
92 * nm.c (usage): Likewise.
93 * objcopy.c (copy_usage, strip_usage): Likewise.
94 * srconv.c (show_usage): Likewise.
95 * strings.c (usage): Likewise.
96 * sysdump.c (show_usage): Likewise.
97 * srconv.c: Remove unneeded forward function declarations.
98 * strings.c: Likewise.
99 * sysdump.c: Likewise.
100
2b804145
AM
1012016-10-06 Alan Modra <amodra@gmail.com>
102
103 * coffdump.c (dump_coff_where): Add missing break.
104 * stabs.c (stab_xcoff_builtin_type): Likewise.
105
b82317dd
AM
1062016-09-29 Alan Modra <amodra@gmail.com>
107
108 * readelf.c (process_arch_specific): Call process_power_specific
109 for EM_PPC64.
110
c5da1932
VZ
1112016-09-26 Vlad Zakharov <vzakhar@synopsys.com>
112
113 * Makefile.am: Replace AM_CLFAGS with AM_CFLAGS_FOR_BUILD
114 when building with CC_FOR_BUILD compiler.
115 * Makefile.in: Regenerate.
116 * configure: Likewise.
117 * doc/Makefile.in: Likewise.
118
005d79fd
AM
1192016-09-26 Alan Modra <amodra@gmail.com>
120
121 * readelf.c (display_power_gnu_attribute): Catch truncated section
122 for all powerpc attributes. Display long double ABI. Don't
123 capitalize words, except for names. Show known bits of tag values
124 when some unknown bits are present. Whitespace fixes.
125
7358f4cb
AM
1262016-09-26 Alan Modra <amodra@gmail.com>
127
128 * nm.c (get_elf_symbol_type): Don't use sprintf with translated
129 strings, use asprintf instead.
130 (get_coff_symbol_type): Likewise.
131
2387dd90
AM
1322016-09-19 Alan Modra <amodra@gmail.com>
133
134 * nm.c (print_symbol): Remove is_synthetic param. Test sym->flags
135 instead.
136 (print_size_symbols, print_symbols): Adjust to suit, deleting
137 now unused synth_count param and fromsynth var.
138 (display_rel_file): Adjust, localizing synth_count.
139
fb324ee9
EM
1402016-09-14 Ed Maste <emaste@freebsd.org>
141
142 * readelf.c (process_mips_specific): Fix typo in error message.
143
21b65bac
NC
1442016-09-06 Nick Clifton <nickc@redhat.com>
145
146 * readelf.c (request_dump_bynumber): Only call memcpy if
147 dump_sects is not NULL.
148
f53be977
L
1492016-08-29 H.J. Lu <hongjiu.lu@intel.com>
150
151 * readelf.c (load_specific_debug_section): Check the external
152 compression header size.
153
dd905818
NC
1542016-08-19 Nick Clifton <nickc@redhat.com>
155
156 * testsuite/binutils-all/readelf.s: Adjust expected ordering of
157 sections.
158 * testsuite/binutils-all/readelf.s-64: Likewise.
159
52c3c391
NC
1602016-08-12 Nick Clifton <nickc@redhat.com>
161
162 * readelf.c (process_symbol_table): Generate a warning if a local
163 symbol is found at and offste greater than or equal to the sh_info
164 field of it's section header.
165
db9537d2
NC
1662016-08-08 Nick Clifton <nickc@redhat.com>
167
d8024a91
NC
168 PR binutils/20440
169 * dwarf.c (display_debug_lines_decoded): Add checks for running
170 off the end of the section when populating the directory table and
171 file table.
172 (frame_display_row): Set max_regs equal to ncols.
f53be977
L
173 * readelf.c (load_specific_debug_section): If the section is
174 compressed, but it is not big enough to hold a compression
175 header then warn and return 0.
d8024a91 176
db9537d2
NC
177 PR binutils/20439
178 * dwarf.c (display_debug_lines_decoded): Check directory and file
179 indicies before using them to access directory and file tables.
180
2d5bddc1
NC
1812016-08-02 Nick Clifton <nickc@redhat.com>
182
183 PR binutils/17512
184 * resbin.c (bin_to_res_version): Cast variables to correct type
185 for printing in error message.
186
4931146e
NC
1872016-07-28 Nick Clifton <nickc@redhat.com>
188
189 PR binutils/17512
190 * rescoff.c (read_coff_res_dir): Fix detection of buffer overrun.
191 * resbin.c (bin_to_res_version): Allow for the padded length of a
192 version block to be longer than the recorded length. Skip padding
193 bytes.
194
fecd57f9
L
1952016-07-21 H.J. Lu <hongjiu.lu@intel.com>
196
197 * configure: Regenerated.
198
37fd5ef3
CZ
1992016-07-20 Claudiu Zissulescu <claziss@synopsys.com>
200
201 * doc/binutils.texi (objdump): Add ARC disassembler options.
202 * testsuite/binutils-all/arc/dsp.s: New file.
203 * testsuite/binutils-all/arc/objdump.exp: Likewise.
204 * NEWS: Mention the new feature.
205
f2629855
NC
2062016-07-20 Nick Clifton <nickc@redhat.com>
207
208 * doc/binutils.texi (objcopy): Note that the localize symbol
209 options do not affect unique symbols.
210
7d0b9ebc
AM
2112016-07-16 Alan Modra <amodra@gmail.com>
212
213 * ar.c: Include plugin-api.h.
214 * nm.c: Likewise.
215
aac502f7
AM
2162016-07-16 Alan Modra <amodra@gmail.com>
217
218 * bucomm.c: Don't include libbfd.h.
219 (endian_string, display_target_list): Delete forward declaration.
220 (display_info_table, display_target_tables): Likewise.
221 (LONGEST_ARCH): Delete.
222 (struct display_target): New.
223 (do_display_target): New function.
224 (display_target_list, display_info): Rewrite functions.
225 (display_info_table): Delete.
226 (do_info_size, do_info_header, do_info_row): New functions.
227
16412c3b
AM
2282016-07-16 Alan Modra <amodra@gmail.com>
229
230 * elfcomm.h (HOST_WIDEST_INT): Move to..
231 * sysdep.h: ..here.
232 * od-macho.c: Don't include libbfd.h. Do include dwarf.h
233 (dump_dyld_info_rebase): Use read_leb128 rather than
234 read_unsigned_leb128.
235 (dump_dyld_info_bind, dump_dyld_info_export_1): Likewise.
236 (dump_segment_split_info): Likewise.
237 (dump_dyld_info): Rename vars to avoid shadowing dwarf.h enums.
238 (dump_load_command): Likewise.
239
76e7a751
AM
2402016-07-16 Alan Modra <amodra@gmail.com>
241
242 * ar.c: Don't include libbfd.h.
243 * objcopy.c: Likewise.
244 * bucomm.c (bfd_get_archive_filename): Use xmalloc rather than
245 bfd_malloc.
246
003c15c9
AM
2472016-07-15 Alan Modra <amodra@gmail.com>
248
249 * testsuite/binutils-all/remove-relocs-01.s: Use .dc.a, not .word.
250
d3e5f6c8
AB
2512016-07-14 Andrew Burgess <andrew.burgess@embecosm.com>
252
253 * doc/binutils.texi (objcopy): Document 'remove-relocations'.
254 (strip): Likewise.
255 * objcopy.c (SECTION_CONTEXT_REMOVE_RELOCS): Define.
256 (enum command_line_switch): Add 'OPTION_REMOVE_RELOCS'.
257 (struct option strip_options): Add 'remove-relocations'.
258 (struct option copy_options): Likewise.
259 (copy_usage): Likewise.
260 (strip_usage): Likewise.
261 (handle_remove_relocations_option): New function.
262 (discard_relocations): New function.
263 (handle_remove_section_option): New function.
264 (copy_relocations_in_section): Use discard_relocations.
265 (strip_main): Use handle_remove_section_option for
266 'remove-section', and handle 'remove-relocations' option.
267 (copy_main): Likewise.
268 * testsuite/binutils-all/objcopy.exp: Run new tests.
269 * testsuite/binutils-all/remove-relocs-01.d: New file.
270 * testsuite/binutils-all/remove-relocs-01.s: New file.
271 * testsuite/binutils-all/remove-relocs-02.d: New file.
272 * testsuite/binutils-all/remove-relocs-03.d: New file.
273 * testsuite/binutils-all/remove-relocs-04.d: New file.
274 * testsuite/binutils-all/remove-relocs-05.d: New file.
275 * testsuite/binutils-all/remove-relocs-06.d: New file.
276 * NEWS: Mention new option.
277
e511c9b1
AB
2782016-07-14 Andrew Burgess <andrew.burgess@embecosm.com>
279
280 * objcopy.c (find_section_list): Handle section patterns starting
281 with '!' being a non-matching pattern.
282 * doc/binutils.texi (objcopy): Give example of using '!' with
283 --remove-section and --only-section.
284 (strip): Give example of using '!' with --remove-section.
285 * testsuite/binutils-all/data-sections.s: New file.
286 * testsuite/binutils-all/only-section-01.d: New file.
287 * testsuite/binutils-all/remove-section-01.d: New file.
288 * testsuite/binutils-all/objcopy.exp: Run new tests.
289 * NEWS: Mention new feature.
290
32a0481f
AM
2912016-07-09 Alan Modra <amodra@gmail.com>
292
293 PR binutils/20337
294 * objdump.c (compare_symbols): For ELF, sort same value/type
295 symbols according to size.
296
f0728ee3
AV
2972016-07-05 Andre Vieria <andre.simoesdiasvieira@arm.com>
298
299 * objdump.c (dump_section_header): Rename SEC_ELF_NOREAD
300 to SEC_ELF_NOREAD.
301 * readelf.c (get_elf_section_flags): Rename ARM_NOREAD to
302 ARM_PURECODE and SHF_ARM_NOREAD to SHF_ARM_PURECODE.
303 (process_section_headers): Rename noread to purecode.
304
305 * section.c (SEC_ELF_NOREAD): Rename to ...
306 (SEC_ELF_PURECODE): ... this.
307
98a4fc78
NC
3082016-07-01 Nick Clifton <nickc@redhat.com>
309
310 * prdbg.c (pr_enum_type): Use a buffer big enough to hold an
311 extremely large decimal value.
312 (pr_range_type): Likewise.
313 (pr_array_type): Likewise.
314 (pr_struct_field): Likewise.
315 (pr_class_baseclass): Likewise.
316 (pr_class_method_variant): Likewise.
317 (pr_tag_type): Likewise.
318 (pr_int_constant): Likewise.
319 (pr_typed_constant): Likewise.
320 (pr_variable): Likewise.
321 (pr_function_parameter): Likewise.
322 (pr_start_block): Likewise.
323 (pr_lineno): Likewise.
324 (pr_end_block): Likewise.
325 (tg_enum_type): Likewise.
326 (tg_int_constant): Likewise.
327 (tg_typed_constant): Likewise.
328 (tg_start_block): Likewise.
329
41699fa4
NC
3302016-07-01 Nick Clifton <nickc@redhat.com>
331
332 * testsuite/binutils-all/objcopy.exp
333 (objcopy_test_without_global_symbol): Expect this test to fail on
334 the AArch64 and ARM targets, since they preserve their mapping
335 symbols.
336
96a84ea3
TG
3372016-07-01 Tristan Gingold <gingold@adacore.com>
338
339 * NEWS: Add marker for 2.27.
340
b2a40aa5
TG
3412016-07-30 Tristan Gingold <gingold@adacore.com>
342
343 * doc/binutils.texi (objdump): Fix mis-placement.
344
50c901ed
NC
3452016-06-28 Nick Clifton <nickc@redhat.com>
346
347 * testsuite/binutils-all/ar.exp: Relax previous restriction on
348 Alpha targets. Allow ELF based Alpha targets.
349
eb9bb5b4
MR
3502016-06-28 Maciej W. Rozycki <macro@imgtec.com>
351
352 * testsuite/binutils-all/ar.exp: Use `supports_gnu_unique' with
353 the `unique_symbol' test.
354
f2b2af2c
AM
3552016-06-28 Alan Modra <amodra@gmail.com>
356
357 PR 20304
358 * objdump.c (objdump_print_symname): Don't attempt to retrieve
359 version info from synthetic symbols.
360
9cc0123f
AM
3612016-06-24 Alan Modra <amodra@gmail.com>
362
363 * objcopy.c (find_section_rename): Forward declare. Remove
364 ibfd and sec_ptr param. Add old_name param. Allow for NULL
365 returned_flags. Move read of section name and flags to..
366 (setup_section): ..here. Update find_section_rename call.
367 (filter_symbols): Rename section symbols for renamed sections.
368 (copy_object): Call filter_symbols when renamed sections.
369 * testsuite/lib/binutils-common.exp (is_bad_symtab): New.
370 * testsuite/binutils-all/update-section.exp: Revert 96037eb0
371 mips xfail.
372 * testsuite/binutils-all/objcopy.exp (copy_executable): Use
373 is_bad_symtab.
374 (localize-hidden-1): xfail if is_bad_symtab.
375 * testsuite/binutils-all/readelf.exp: Use is_bad_symtab to select
376 between mips/tmips.
377
43339b1d
AM
3782016-06-24 Alan Modra <amodra@gmail.com>
379
380 * objdump.c (struct print_file_list): Add "max_printed".
381 (try_print_file_open): Init new field.
382 (show_line): Don't show 5 context lines when redisplaying source.
383
96037eb0
NC
3842016-06-22 Nick Clifton <nickc@redhat.com>
385
386 * testsuite/binutils-all/ar.exp: Skip tests for Alpha target.
387 Skip bfdtest1 tests for tic30 target.
388 * testsuite/binutils-all/arm/objdump.exp: Skip for aout arm
389 target.
390 * testsuite/binutils-all/compress.exp: Expect some tests to fail
391 on the nds32.
392 * testsuite/binutils-all/copy-3.d: Skip for go32 targets.
393 * testsuite/binutils-all/copy-4.d: Skip for AIX and linuxecoff
394 targets.
395 * testsuite/binutils-all/nm.exp: Treat beos based targets as ELF
396 targets.
397 * testsuite/binutils-all/objcopy.exp: Only run reverse bytes tests
398 if the bintest.o file was created. Use the
399 get_standard_section_names proc to get the name of the data
400 section.
401 * testsuite/binutils-all/objdump.exp: Update regexps to allow for
402 RX section names.
403 * testsuite/binutils-all/readelf.exp: Use
404 get_standard_section_names proc to get the name of the data
405 section.
406 * testsuite/binutils-all/readelf.r: Allow for non standard text
407 section names.
408 * testsuite/binutils-all/readelf.s: Update regexps for tilepro.
409 * testsuite/binutils-all/size.exp: Allow for non standard section
410 names.
411 * testsuite/binutils-all/update-section.exp: Expect comapre 1vs4
412 to fail on mips targets.
413 * testsuite/lib/utils-lib.exp (default_binutils_run): Use
414 get_standard_section_names proc.
415 (run_dump_test): Likewise.
416 (proc get_standard_section_names): New proc.
417
d5b07ef4
NC
4182016-06-22 Nick Clifton <nickc@redhat.com>
419
420 * readelf.c (dynamic_section_mips_val): Increase size of timebuf.
421 (process_mips_specific): Likewise.
422 (process_gnu_liblist): Likewise.
423
bdd582db
GM
4242016-06-21 Graham Markall <graham.markall@embecosm.com>
425
426 * readelf.c (decode_ARC_machine_flags): Remove E_ARC_MACH_NPS400
427 case.
428
3ee6e4fb
NC
4292016-06-15 Nick Clifton <nickc@redhat.com>
430
431 * readelf.c (is_24bit_abs_reloc): Add support for R_FT32_20
432 reloc.
433
eecc1a7f
JB
4342016-06-14 John Baldwin <jhb@FreeBSD.org>
435
436 * objcopy.c (do_elf_stt_common): Use correct type.
437
3860d2b4
AM
4382016-06-14 Alan Modra <amodra@gmail.com>
439
440 * ar.c: Expand uses of bfd_my_archive.
441 * size.c: Likewise.
442
b0cffb47
AM
4432016-06-14 Alan Modra <amodra@gmail.com>
444
445 PR ld/20241
446 * bucomm.c (bfd_get_archive_filename): Return file name within thin
447 archive.
448
5b6312fd
NC
4492016-06-02 Nick Clifton <nickc@redhat.com>
450
bcc3a8bc
NC
451 PR 20089
452 * objcopy.c (group_signature): Fail if the input symbol table has
c09ec62d 453 not been loaded, or if the sh_info field of the group header is 0.
bcc3a8bc 454
5b6312fd
NC
455 * dwarf.c (display_debug_frames): Do not display any
456 interpretation if the block consists solely of DW__CFA_NOPs.
457
f7433f01
AM
4582016-05-31 Alan Modra <amodra@gmail.com>
459
460 * objcopy.c: Formatting, whitespace throughout.
461 (copy_main): Init newsym->othersym.
462 (parse_symflags): Make len a size_t. Adjust uses.
463
e6cc316a
L
4642016-05-25 H.J. Lu <hongjiu.lu@intel.com>
465
466 PR binutils/14625
467 * NEWS: Mention --enable-64-bit-archive.
468
f507bebf
NC
4692016-05-18 Nick Clifton <nickc@redhat.com>
470
471 PR 20096
472 * objcopy.c (copy_relocations_in_section): Also check for the
473 symbol pointed to by sym_ptr_ptr being NULL.
474
1401d2fe
MR
4752016-05-18 Maciej W. Rozycki <macro@imgtec.com>
476
477 * testsuite/binutils-all/mips/mixed-mips16-micromips.d: New test.
478 * testsuite/binutils-all/mips/mixed-mips16-micromips.s: New test
479 source.
480 * testsuite/binutils-all/mips/mips.exp: Run the new test.
481
50498060
NC
4822016-05-18 Nick Clifton <nickc@redhat.com>
483
484 * po/sv.po: Updated Swedish translation.
485
c69075ac
MR
4862016-05-18 Maciej W. Rozycki <macro@imgtec.com>
487
488 * readelf.c (dynamic_section_mips_val) <DT_MIPS_RLD_VERSION>
489 <DT_MIPS_LOCAL_GOTNO, DT_MIPS_CONFLICTNO, DT_MIPS_LIBLISTNO>
490 <DT_MIPS_SYMTABNO, DT_MIPS_UNREFEXTNO, DT_MIPS_HIPAGENO>
491 <DT_MIPS_DELTA_CLASS_NO, DT_MIPS_DELTA_INSTANCE_NO>
492 <DT_MIPS_DELTA_RELOC_NO, DT_MIPS_DELTA_SYM_NO>
493 <DT_MIPS_DELTA_CLASSSYM_NO, DT_MIPS_COMPACT_SIZE>: Use the
494 `d_val' rather than `d_ptr' member of the dynamic entry.
495
a43942db
MR
4962016-05-17 Maciej W. Rozycki <macro@imgtec.com>
497
498 * testsuite/lib/binutils-common.exp (supports_gnu_unique): New
499 procedure.
500 * testsuite/binutils-all/objcopy.exp: Use `supports_gnu_unique'
501 with the `strip-10' test.
502
71de3413
MR
5032016-05-16 Maciej W. Rozycki <macro@imgtec.com>
504
505 * testsuite/binutils-all/objcopy.exp: Don't skip the `strip-10'
506 test for the V850.
507
8f4f9071
MF
5082016-05-11 Andrew Bennett <andrew.bennett@imgtec.com>
509
510 * readelf.c (print_mips_ases): Add DSPR3.
511
15afaa63
TP
5122016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
513
514 * readelf.c (display_arm_attribute): Add output for Tag_DSP_extension.
515 (arm_attr_public_tags): Define DSP_extension attribute.
516
29f4fdc4
AB
5172016-05-10 Andrew Burgess <andrew.burgess@embecosm.com>
518
519 * doc/binutils.texi (nm): Update description of --size-sort.
520
315350be
NC
5212016-05-09 Nick Clifton <nickc@redhat.com>
522
523 PR binutils/20063
524 * readelf.c (get_32bit_section_headers): Warn if an out of range
525 sh_link or sh_info field is encountered.
526 (get_64bit_section_headers): Likewise.
527
4a85cc09
SKS
5282016-05-04 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
529
530 * testsuite/lib/binutils-common.exp (is_elf_format): Add avr-*-*.
531
99d1b268
NC
5322016-05-03 Nick Clifton <nickc@redhat.com>
533
534 * po/sv.po: Updated Swedish translation.
535
d347c9df
PS
5362016-04-29 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
537
538 * readelf.c (is_32bit_pcrel_reloc): Return true if reloc is 32-bit
539 PC relocation for AVR target.
540 (is_none_reloc): Return true if reloc is any of AVR diff
541 relocations.
542
5522f910
NC
5432016-04-29 Nick Clifton <nickc@redhat.com>
544
545 PR 19938
546 * readelf.c (get_solaris_segment_type): New function.
547 (get_segment_type): Call it.
548
786a118c
NC
5492016-04-28 Nick Clifton <nickc@redhat.com>
550
551 * po/zh_CN.po: Updated Chinese (simplified) translation.
552
4bd13cde
NC
5532016-04-28 Nick Clifton <nickc@redhat.com>
554
555 PR target/19722
556 * testsuite/binutils-all/aarch64/illegal.s: New test.
557 * testsuite/binutils-all/aarch64/illegal.d: New test driver.
558
e6c7cdec
TS
5592016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
560
561 * resres.c: Likewise.
562
6fd8e7c2
L
5632016-04-15 H.J. Lu <hongjiu.lu@intel.com>
564
565 * Makefile.in: Regenerated with automake 1.11.6.
566 * aclocal.m4: Likewise.
567 * doc/Makefile.in: Likewise.
568
84865015
NC
5692016-04-14 Nick Clifton <nickc@redhat.com>
570
571 PR target/19938
572 * testsuite/binutils-all/i386/compressed-1b.d: Allow for the
573 string sections possibly having the SHF_STRINGS flag bit set.
574 * testsuite/binutils-all/i386/compressed-1c.d: Likewise.
575 * testsuite/binutils-all/readelf.s: Likewise.
576 * testsuite/binutils-all/readelf.s-64: Likewise.
577 * testsuite/binutils-all/x86-64/compressed-1b.d: Likewise.
578 * testsuite/binutils-all/x86-64/compressed-1c.d: Likewise.
579
fd85a6a1
NC
5802016-04-13 Nick Clifton <nickc@redhat.com>
581
84865015 582 PR target/19938
fd85a6a1
NC
583 * readelf.c (get_solaris_section_type): New function: Returns the
584 name of Solaris specific section types.
585 (get_solaris_dynamic_type): New function: Return the name of
586 Solaris specific dynamic types.
587 (get_dynamic_type): Use get_solaris_dynamic_type.
588 (get_section_type_name): Use get_solaris_section_type.
589 (get_solaris_symbol_visibility): New function: Returns Solaris
590 specific symbol visibilities.
591 (print_dynamic_symbol): Use get_solaris_symbol_visibility.
592 (process_symbol_table): Likewise.
593
d6bb17b0
AA
5942016-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
595
596 * dwarf.h (init_dwarf_regnames_s390): Declare.
597 * dwarf.c (dwarf_regnames_s390): New.
598 (init_dwarf_regnames_s390): New.
599 (init_dwarf_regnames): Call it.
600 * objdump.c (dump_dwarf): Likewise.
601
92708cec
MR
6022016-04-11 Maciej W. Rozycki <macro@imgtec.com>
603
604 * testsuite/binutils-all/mips/mips16-undecoded.d: New test.
605 * testsuite/binutils-all/mips/mips16-undecoded.s: New test
606 source.
607 * testsuite/binutils-all/mips/mips.exp: Run the new test.
608
67f101ee
NC
6092016-04-04 Nick Clifton <nickc@redhat.com>
610
611 PR 19872
612 * dwarf.c (display_debug_aranges): Skip warning about unrecognised
613 version number if the version is zero.
614
ed754a13
AM
6152016-03-29 Alan Modra <amodra@gmail.com>
616
617 * readelf.c (get_data): Use BFD_VMA_FMT to print bfd_size_type vars.
618 (get_dynamic_data): Likewise.
619
9780e045
NC
6202016-03-22 Nick Clifton <nickc@redhat.com>
621
34b9f729
NC
622 PR 19851
623 * dwarf.c (SAFE_BYTE_GET): Replace local dynamic array allocation
624 with run time size check.
625
9780e045
NC
626 * configure: Regenerate.
627
8699fc3e
AB
6282016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
629
630 * readelf.c (decode_ARC_machine_flags): Handle nps400.
631
a9522a21
AB
6322016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
633
634 * readelf.c (get_machine_flags): Move arc processing into...
635 (decode_ARC_machine_flags): ... new function. Remove use of
636 EF_ARC_CPU_GENERIC, change default case from "generic arc" to
637 "unknown arc". Merged ABI printing between two machine types.
638
24740d83
AB
6392016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
640
641 * testsuite/binutils-all/objdump.exp (cpus_expected): Add ARC700
642 to the architecture list.
643
e1fa0163
NC
6442016-03-21 Nick Clifton <nickc@redhat.com>
645
646 * dlltool.c: Replace use of alloca with call to xmalloc.
647 * dllwrap.c: Likewise.
648 * nlmconv.c: Likewise.
649 * objdump.c: Likewise.
650 * resrc.c: Likewise.
651 * winduni.c: Likewise.
652 * configure: Regenerate.
653
4fc87424
NC
6542016-03-07 Nick Clifton <nickc@redhat.com>
655
656 PR binutils/19775
657 * testsuite/binutils-all/ar.exp (proc empty_archive): New proc.
658 Run the new proc.
659 * testsuite/binutils-all/empty: New, empty, file.
660
9411fd44
MW
6612016-03-04 Matthew Wahab <matthew.wahab@arm.com>
662
663 * readelf.c (arm_attry_tag_FP_arch): Add "NEON for ARMv8.1".
664
11e5f1ec
L
6652016-02-26 H.J. Lu <hongjiu.lu@intel.com>
666
667 PR ld/19645
668 * NEWS: Mention --elf-stt-common= for objcopy.
669 * doc/binutils.texi: Document --elf-stt-common= for objcopy.
670 * objcopy.c (do_elf_stt_common): New.
671 (command_line_switch): Add OPTION_ELF_STT_COMMON.
672 (copy_options): Add --elf-stt-common=.
673 (copy_usage): Add --elf-stt-common=.
674 (copy_object): Also check do_elf_stt_common for ELF targets.
675 (copy_file): Handle do_elf_stt_common.
676 (copy_main): Handle OPTION_ELF_STT_COMMON.
677 * readelf.c (apply_relocations): Support STT_COMMON.
678 * testsuite/binutils-all/common-1.s: New file.
679 * testsuite/binutils-all/common-1a.d: Likewise.
680 * testsuite/binutils-all/common-1b.d: Likewise.
681 * testsuite/binutils-all/common-1c.d: Likewise.
682 * testsuite/binutils-all/common-1d.d: Likewise.
683 * testsuite/binutils-all/common-1e.d: Likewise.
684 * testsuite/binutils-all/common-1f.d: Likewise.
685 * testsuite/binutils-all/common-2.s: Likewise.
686 * testsuite/binutils-all/common-2a.d: Likewise.
687 * testsuite/binutils-all/common-2b.d: Likewise.
688 * testsuite/binutils-all/common-2c.d: Likewise.
689 * testsuite/binutils-all/common-2d.d: Likewise.
690 * testsuite/binutils-all/common-2e.d: Likewise.
691 * testsuite/binutils-all/common-2f.d: Likewise.
692 * testsuite/binutils-all/objcopy.exp
693 (objcopy_test_elf_common_symbols): New proc.
694 Run objcopy_test_elf_common_symbols for ELF targets
695
a9fb83be
L
6962016-02-16 H.J. Lu <hongjiu.lu@intel.com>
697
698 PR binutils/19647
699 * readelf.c (get_section_type_name): Add a missing break.
700
726c18e1
CZ
7012016-02-16 Claudiu Zissulescu <claziss@synopsys.com>
702
703 * readelf.c (is_32bit_pcrel_reloc): Add R_ARC_32_PCREL.
704
9fb71ee4
NC
7052016-02-15 Nick Clifton <nickc@redhat.com>
706
707 * readelf.c (get_section_type_name): Add hex prefix to offsets
708 printed for LOPROC and LOOS values. Ensure that a result is
709 always returned for the V850 target, even when an unrecognised
710 processor specific value is encountered.
711 (process_section_headers): Display key values in the order in
712 which they appear to the user. Add the "C (compressed)" value to
713 the list.
714
96d491cf
L
7152016-02-12 H.J. Lu <hongjiu.lu@intel.com>
716
717 * doc/binutils.texi: Fix a typo.
718
bdbca4e6
CM
7192016-02-05 Cupertino Miranda <Cupertino.Miranda@synopsys.com>
720
721 * testsuite/binutils-all/objdump.exp: Update expected default
722 architecture value for ARC binaries.
723
14f2c699
L
7242016-02-02 H.J. Lu <hongjiu.lu@intel.com>
725
726 PR binutils/19547
727 * testsuite/binutils-all/objcopy.exp
728 (objcopy_test_without_global_symbol): New proc.
729 Run objcopy_test_without_global_symbol.
730 * testsuite/binutils-all/pr19547.c: New file.
731
bf150a0b
L
7322016-01-28 H.J. Lu <hongjiu.lu@intel.com>
733
734 PR binutils/19523
735 * Makefile.am (check-DEJAGNU): Pass CC and CC_FOR_BUILD to
736 runtest.
737 * Makefile.in: Regenerated.
738 * testsuite/binutils-all/compress.exp (test_gnu_debuglink): New
739 proc.
740 Run test_gnu_debuglink for native ELF build.
741
0398b8d6
NC
7422016-01-20 Nick Clifton <nickc@redhat.com>
743
744 PR 19495
745 * testsuite/binutils-all/dlltool.exp: Fix tests for targets which
bdbca4e6 746 do not support inserting leading underscores.
0398b8d6 747
91f68a68
MG
7482016-01-20 Mickael Guene <mickael.guene@st.com>
749
750 * readelf.c (get_elf_section_flags): Display y letter for section
751 with SHF_ARM_NOREAD section flag in readelf section output.
752 (process_section_headers): Add y letter in readelf section output
753 key mapping for ARM architecture.
754 * objdump.c (dump_section_header): Display NOREAD attributes as
755 well.
756 * doc/binutils.texi (objdump): Note that it is correct for
757 sections to have both the READONLY and NOREAD attributes.
758
40068dcc
JB
7592016-01-19 John Baldwin <jhb@FreeBSD.org>
760
761 * readelf.c (get_freebsd_elfcore_note_type): Remove unused variable.
762
f4ddf30f
JB
7632016-01-19 John Baldwin <jhb@FreeBSD.org>
764
765 * readelf.c (get_freebsd_elfcore_note_type): New
766 (process_note): Add support for FreeBSD core notes.
767
34e967a5
MC
7682016-01-18 Miranda Cupertino <Cupertino.Miranda@synopsys.com>
769 Zissulescu Claudiu <Claudiu.Zissulescu@synopsys.com>
770
771 * readelf.c (get_machine_flags): Add support for newer ARC ELF
772 header flags.
773
3d961d0d
AM
7742016-01-18 Alan Modra <amodra@gmail.com>
775
776 * configure: Regenerate.
777
5c14705f
AM
7782016-01-17 Alan Modra <amodra@gmail.com>
779
780 * configure: Regenerate.
781
b3066ae8
AM
7822016-01-17 Alan Modra <amodra@gmail.com>
783
784 * testsuite/lib/binutils-common.exp (is_elf_format): Return true
785 for m68hc11/12 and xgate triples.
786
adec12c1
AM
7872016-01-17 Alan Modra <amodra@gmail.com>
788
789 * readelf.c (is_32bit_abs_reloc): Add R_M68HC11_32.
790
6f2750fe
AM
7912016-01-01 Alan Modra <amodra@gmail.com>
792
793 Update year range in copyright notice of all files.
794
3499769a
AM
795For older changes see ChangeLog-2015 and testsuite/ChangeLog-1215
796\f
797Copyright (C) 2016 Free Software Foundation, Inc.
798
799Copying and distribution of this file, with or without modification,
800are permitted in any medium without royalty provided the copyright
801notice and this notice are preserved.
802
803Local Variables:
804mode: change-log
805left-margin: 8
806fill-column: 74
807version-control: never
808End:
This page took 0.085229 seconds and 4 git commands to generate.