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