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