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