Fix mis-placement in binutils.texi
[deliverable/binutils-gdb.git] / binutils / ChangeLog
1 2016-07-30 Tristan Gingold <gingold@adacore.com>
2
3 * doc/binutils.texi (objdump): Fix mis-placement.
4
5 2016-06-28 Nick Clifton <nickc@redhat.com>
6
7 * testsuite/binutils-all/ar.exp: Relax previous restriction on
8 Alpha targets. Allow ELF based Alpha targets.
9
10 2016-06-28 Maciej W. Rozycki <macro@imgtec.com>
11
12 * testsuite/binutils-all/ar.exp: Use `supports_gnu_unique' with
13 the `unique_symbol' test.
14
15 2016-06-28 Alan Modra <amodra@gmail.com>
16
17 PR 20304
18 * objdump.c (objdump_print_symname): Don't attempt to retrieve
19 version info from synthetic symbols.
20
21 2016-06-24 Alan Modra <amodra@gmail.com>
22
23 * objcopy.c (find_section_rename): Forward declare. Remove
24 ibfd and sec_ptr param. Add old_name param. Allow for NULL
25 returned_flags. Move read of section name and flags to..
26 (setup_section): ..here. Update find_section_rename call.
27 (filter_symbols): Rename section symbols for renamed sections.
28 (copy_object): Call filter_symbols when renamed sections.
29 * testsuite/lib/binutils-common.exp (is_bad_symtab): New.
30 * testsuite/binutils-all/update-section.exp: Revert 96037eb0
31 mips xfail.
32 * testsuite/binutils-all/objcopy.exp (copy_executable): Use
33 is_bad_symtab.
34 (localize-hidden-1): xfail if is_bad_symtab.
35 * testsuite/binutils-all/readelf.exp: Use is_bad_symtab to select
36 between mips/tmips.
37
38 2016-06-24 Alan Modra <amodra@gmail.com>
39
40 * objdump.c (struct print_file_list): Add "max_printed".
41 (try_print_file_open): Init new field.
42 (show_line): Don't show 5 context lines when redisplaying source.
43
44 2016-06-22 Nick Clifton <nickc@redhat.com>
45
46 * testsuite/binutils-all/ar.exp: Skip tests for Alpha target.
47 Skip bfdtest1 tests for tic30 target.
48 * testsuite/binutils-all/arm/objdump.exp: Skip for aout arm
49 target.
50 * testsuite/binutils-all/compress.exp: Expect some tests to fail
51 on the nds32.
52 * testsuite/binutils-all/copy-3.d: Skip for go32 targets.
53 * testsuite/binutils-all/copy-4.d: Skip for AIX and linuxecoff
54 targets.
55 * testsuite/binutils-all/nm.exp: Treat beos based targets as ELF
56 targets.
57 * testsuite/binutils-all/objcopy.exp: Only run reverse bytes tests
58 if the bintest.o file was created. Use the
59 get_standard_section_names proc to get the name of the data
60 section.
61 * testsuite/binutils-all/objdump.exp: Update regexps to allow for
62 RX section names.
63 * testsuite/binutils-all/readelf.exp: Use
64 get_standard_section_names proc to get the name of the data
65 section.
66 * testsuite/binutils-all/readelf.r: Allow for non standard text
67 section names.
68 * testsuite/binutils-all/readelf.s: Update regexps for tilepro.
69 * testsuite/binutils-all/size.exp: Allow for non standard section
70 names.
71 * testsuite/binutils-all/update-section.exp: Expect comapre 1vs4
72 to fail on mips targets.
73 * testsuite/lib/utils-lib.exp (default_binutils_run): Use
74 get_standard_section_names proc.
75 (run_dump_test): Likewise.
76 (proc get_standard_section_names): New proc.
77
78 2016-06-22 Nick Clifton <nickc@redhat.com>
79
80 * readelf.c (dynamic_section_mips_val): Increase size of timebuf.
81 (process_mips_specific): Likewise.
82 (process_gnu_liblist): Likewise.
83
84 2016-06-21 Graham Markall <graham.markall@embecosm.com>
85
86 * readelf.c (decode_ARC_machine_flags): Remove E_ARC_MACH_NPS400
87 case.
88
89 2016-06-15 Nick Clifton <nickc@redhat.com>
90
91 * readelf.c (is_24bit_abs_reloc): Add support for R_FT32_20
92 reloc.
93
94 2016-06-14 John Baldwin <jhb@FreeBSD.org>
95
96 * objcopy.c (do_elf_stt_common): Use correct type.
97
98 2016-06-14 Alan Modra <amodra@gmail.com>
99
100 * ar.c: Expand uses of bfd_my_archive.
101 * size.c: Likewise.
102
103 2016-06-14 Alan Modra <amodra@gmail.com>
104
105 PR ld/20241
106 * bucomm.c (bfd_get_archive_filename): Return file name within thin
107 archive.
108
109 2016-06-02 Nick Clifton <nickc@redhat.com>
110
111 PR 20089
112 * objcopy.c (group_signature): Fail if the input symbol table has
113 not been loaded, or if the sh_info field of the group header is 0.
114
115 * dwarf.c (display_debug_frames): Do not display any
116 interpretation if the block consists solely of DW__CFA_NOPs.
117
118 2016-05-31 Alan Modra <amodra@gmail.com>
119
120 * objcopy.c: Formatting, whitespace throughout.
121 (copy_main): Init newsym->othersym.
122 (parse_symflags): Make len a size_t. Adjust uses.
123
124 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
125
126 PR binutils/14625
127 * NEWS: Mention --enable-64-bit-archive.
128
129 2016-05-18 Nick Clifton <nickc@redhat.com>
130
131 PR 20096
132 * objcopy.c (copy_relocations_in_section): Also check for the
133 symbol pointed to by sym_ptr_ptr being NULL.
134
135 2016-05-18 Maciej W. Rozycki <macro@imgtec.com>
136
137 * testsuite/binutils-all/mips/mixed-mips16-micromips.d: New test.
138 * testsuite/binutils-all/mips/mixed-mips16-micromips.s: New test
139 source.
140 * testsuite/binutils-all/mips/mips.exp: Run the new test.
141
142 2016-05-18 Nick Clifton <nickc@redhat.com>
143
144 * po/sv.po: Updated Swedish translation.
145
146 2016-05-18 Maciej W. Rozycki <macro@imgtec.com>
147
148 * readelf.c (dynamic_section_mips_val) <DT_MIPS_RLD_VERSION>
149 <DT_MIPS_LOCAL_GOTNO, DT_MIPS_CONFLICTNO, DT_MIPS_LIBLISTNO>
150 <DT_MIPS_SYMTABNO, DT_MIPS_UNREFEXTNO, DT_MIPS_HIPAGENO>
151 <DT_MIPS_DELTA_CLASS_NO, DT_MIPS_DELTA_INSTANCE_NO>
152 <DT_MIPS_DELTA_RELOC_NO, DT_MIPS_DELTA_SYM_NO>
153 <DT_MIPS_DELTA_CLASSSYM_NO, DT_MIPS_COMPACT_SIZE>: Use the
154 `d_val' rather than `d_ptr' member of the dynamic entry.
155
156 2016-05-17 Maciej W. Rozycki <macro@imgtec.com>
157
158 * testsuite/lib/binutils-common.exp (supports_gnu_unique): New
159 procedure.
160 * testsuite/binutils-all/objcopy.exp: Use `supports_gnu_unique'
161 with the `strip-10' test.
162
163 2016-05-16 Maciej W. Rozycki <macro@imgtec.com>
164
165 * testsuite/binutils-all/objcopy.exp: Don't skip the `strip-10'
166 test for the V850.
167
168 2016-05-11 Andrew Bennett <andrew.bennett@imgtec.com>
169
170 * readelf.c (print_mips_ases): Add DSPR3.
171
172 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
173
174 * readelf.c (display_arm_attribute): Add output for Tag_DSP_extension.
175 (arm_attr_public_tags): Define DSP_extension attribute.
176
177 2016-05-10 Andrew Burgess <andrew.burgess@embecosm.com>
178
179 * doc/binutils.texi (nm): Update description of --size-sort.
180
181 2016-05-09 Nick Clifton <nickc@redhat.com>
182
183 PR binutils/20063
184 * readelf.c (get_32bit_section_headers): Warn if an out of range
185 sh_link or sh_info field is encountered.
186 (get_64bit_section_headers): Likewise.
187
188 2016-05-04 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
189
190 * testsuite/lib/binutils-common.exp (is_elf_format): Add avr-*-*.
191
192 2016-05-03 Nick Clifton <nickc@redhat.com>
193
194 * po/sv.po: Updated Swedish translation.
195
196 2016-04-29 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
197
198 * readelf.c (is_32bit_pcrel_reloc): Return true if reloc is 32-bit
199 PC relocation for AVR target.
200 (is_none_reloc): Return true if reloc is any of AVR diff
201 relocations.
202
203 2016-04-29 Nick Clifton <nickc@redhat.com>
204
205 PR 19938
206 * readelf.c (get_solaris_segment_type): New function.
207 (get_segment_type): Call it.
208
209 2016-04-28 Nick Clifton <nickc@redhat.com>
210
211 * po/zh_CN.po: Updated Chinese (simplified) translation.
212
213 2016-04-28 Nick Clifton <nickc@redhat.com>
214
215 PR target/19722
216 * testsuite/binutils-all/aarch64/illegal.s: New test.
217 * testsuite/binutils-all/aarch64/illegal.d: New test driver.
218
219 2016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
220
221 * resres.c: Likewise.
222
223 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
224
225 * Makefile.in: Regenerated with automake 1.11.6.
226 * aclocal.m4: Likewise.
227 * doc/Makefile.in: Likewise.
228
229 2016-04-14 Nick Clifton <nickc@redhat.com>
230
231 PR target/19938
232 * testsuite/binutils-all/i386/compressed-1b.d: Allow for the
233 string sections possibly having the SHF_STRINGS flag bit set.
234 * testsuite/binutils-all/i386/compressed-1c.d: Likewise.
235 * testsuite/binutils-all/readelf.s: Likewise.
236 * testsuite/binutils-all/readelf.s-64: Likewise.
237 * testsuite/binutils-all/x86-64/compressed-1b.d: Likewise.
238 * testsuite/binutils-all/x86-64/compressed-1c.d: Likewise.
239
240 2016-04-13 Nick Clifton <nickc@redhat.com>
241
242 PR target/19938
243 * readelf.c (get_solaris_section_type): New function: Returns the
244 name of Solaris specific section types.
245 (get_solaris_dynamic_type): New function: Return the name of
246 Solaris specific dynamic types.
247 (get_dynamic_type): Use get_solaris_dynamic_type.
248 (get_section_type_name): Use get_solaris_section_type.
249 (get_solaris_symbol_visibility): New function: Returns Solaris
250 specific symbol visibilities.
251 (print_dynamic_symbol): Use get_solaris_symbol_visibility.
252 (process_symbol_table): Likewise.
253
254 2016-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
255
256 * dwarf.h (init_dwarf_regnames_s390): Declare.
257 * dwarf.c (dwarf_regnames_s390): New.
258 (init_dwarf_regnames_s390): New.
259 (init_dwarf_regnames): Call it.
260 * objdump.c (dump_dwarf): Likewise.
261
262 2016-04-11 Maciej W. Rozycki <macro@imgtec.com>
263
264 * testsuite/binutils-all/mips/mips16-undecoded.d: New test.
265 * testsuite/binutils-all/mips/mips16-undecoded.s: New test
266 source.
267 * testsuite/binutils-all/mips/mips.exp: Run the new test.
268
269 2016-04-04 Nick Clifton <nickc@redhat.com>
270
271 PR 19872
272 * dwarf.c (display_debug_aranges): Skip warning about unrecognised
273 version number if the version is zero.
274
275 2016-03-29 Alan Modra <amodra@gmail.com>
276
277 * readelf.c (get_data): Use BFD_VMA_FMT to print bfd_size_type vars.
278 (get_dynamic_data): Likewise.
279
280 2016-03-22 Nick Clifton <nickc@redhat.com>
281
282 PR 19851
283 * dwarf.c (SAFE_BYTE_GET): Replace local dynamic array allocation
284 with run time size check.
285
286 * configure: Regenerate.
287
288 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
289
290 * readelf.c (decode_ARC_machine_flags): Handle nps400.
291
292 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
293
294 * readelf.c (get_machine_flags): Move arc processing into...
295 (decode_ARC_machine_flags): ... new function. Remove use of
296 EF_ARC_CPU_GENERIC, change default case from "generic arc" to
297 "unknown arc". Merged ABI printing between two machine types.
298
299 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
300
301 * testsuite/binutils-all/objdump.exp (cpus_expected): Add ARC700
302 to the architecture list.
303
304 2016-03-21 Nick Clifton <nickc@redhat.com>
305
306 * dlltool.c: Replace use of alloca with call to xmalloc.
307 * dllwrap.c: Likewise.
308 * nlmconv.c: Likewise.
309 * objdump.c: Likewise.
310 * resrc.c: Likewise.
311 * winduni.c: Likewise.
312 * configure: Regenerate.
313
314 2016-03-07 Nick Clifton <nickc@redhat.com>
315
316 PR binutils/19775
317 * testsuite/binutils-all/ar.exp (proc empty_archive): New proc.
318 Run the new proc.
319 * testsuite/binutils-all/empty: New, empty, file.
320
321 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
322
323 * readelf.c (arm_attry_tag_FP_arch): Add "NEON for ARMv8.1".
324
325 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
326
327 PR ld/19645
328 * NEWS: Mention --elf-stt-common= for objcopy.
329 * doc/binutils.texi: Document --elf-stt-common= for objcopy.
330 * objcopy.c (do_elf_stt_common): New.
331 (command_line_switch): Add OPTION_ELF_STT_COMMON.
332 (copy_options): Add --elf-stt-common=.
333 (copy_usage): Add --elf-stt-common=.
334 (copy_object): Also check do_elf_stt_common for ELF targets.
335 (copy_file): Handle do_elf_stt_common.
336 (copy_main): Handle OPTION_ELF_STT_COMMON.
337 * readelf.c (apply_relocations): Support STT_COMMON.
338 * testsuite/binutils-all/common-1.s: New file.
339 * testsuite/binutils-all/common-1a.d: Likewise.
340 * testsuite/binutils-all/common-1b.d: Likewise.
341 * testsuite/binutils-all/common-1c.d: Likewise.
342 * testsuite/binutils-all/common-1d.d: Likewise.
343 * testsuite/binutils-all/common-1e.d: Likewise.
344 * testsuite/binutils-all/common-1f.d: Likewise.
345 * testsuite/binutils-all/common-2.s: Likewise.
346 * testsuite/binutils-all/common-2a.d: Likewise.
347 * testsuite/binutils-all/common-2b.d: Likewise.
348 * testsuite/binutils-all/common-2c.d: Likewise.
349 * testsuite/binutils-all/common-2d.d: Likewise.
350 * testsuite/binutils-all/common-2e.d: Likewise.
351 * testsuite/binutils-all/common-2f.d: Likewise.
352 * testsuite/binutils-all/objcopy.exp
353 (objcopy_test_elf_common_symbols): New proc.
354 Run objcopy_test_elf_common_symbols for ELF targets
355
356 2016-02-16 H.J. Lu <hongjiu.lu@intel.com>
357
358 PR binutils/19647
359 * readelf.c (get_section_type_name): Add a missing break.
360
361 2016-02-16 Claudiu Zissulescu <claziss@synopsys.com>
362
363 * readelf.c (is_32bit_pcrel_reloc): Add R_ARC_32_PCREL.
364
365 2016-02-15 Nick Clifton <nickc@redhat.com>
366
367 * readelf.c (get_section_type_name): Add hex prefix to offsets
368 printed for LOPROC and LOOS values. Ensure that a result is
369 always returned for the V850 target, even when an unrecognised
370 processor specific value is encountered.
371 (process_section_headers): Display key values in the order in
372 which they appear to the user. Add the "C (compressed)" value to
373 the list.
374
375 2016-02-12 H.J. Lu <hongjiu.lu@intel.com>
376
377 * doc/binutils.texi: Fix a typo.
378
379 2016-02-05 Cupertino Miranda <Cupertino.Miranda@synopsys.com>
380
381 * testsuite/binutils-all/objdump.exp: Update expected default
382 architecture value for ARC binaries.
383
384 2016-02-02 H.J. Lu <hongjiu.lu@intel.com>
385
386 PR binutils/19547
387 * testsuite/binutils-all/objcopy.exp
388 (objcopy_test_without_global_symbol): New proc.
389 Run objcopy_test_without_global_symbol.
390 * testsuite/binutils-all/pr19547.c: New file.
391
392 2016-01-28 H.J. Lu <hongjiu.lu@intel.com>
393
394 PR binutils/19523
395 * Makefile.am (check-DEJAGNU): Pass CC and CC_FOR_BUILD to
396 runtest.
397 * Makefile.in: Regenerated.
398 * testsuite/binutils-all/compress.exp (test_gnu_debuglink): New
399 proc.
400 Run test_gnu_debuglink for native ELF build.
401
402 2016-01-20 Nick Clifton <nickc@redhat.com>
403
404 PR 19495
405 * testsuite/binutils-all/dlltool.exp: Fix tests for targets which
406 do not support inserting leading underscores.
407
408 2016-01-20 Mickael Guene <mickael.guene@st.com>
409
410 * readelf.c (get_elf_section_flags): Display y letter for section
411 with SHF_ARM_NOREAD section flag in readelf section output.
412 (process_section_headers): Add y letter in readelf section output
413 key mapping for ARM architecture.
414 * objdump.c (dump_section_header): Display NOREAD attributes as
415 well.
416 * doc/binutils.texi (objdump): Note that it is correct for
417 sections to have both the READONLY and NOREAD attributes.
418
419 2016-01-19 John Baldwin <jhb@FreeBSD.org>
420
421 * readelf.c (get_freebsd_elfcore_note_type): Remove unused variable.
422
423 2016-01-19 John Baldwin <jhb@FreeBSD.org>
424
425 * readelf.c (get_freebsd_elfcore_note_type): New
426 (process_note): Add support for FreeBSD core notes.
427
428 2016-01-18 Miranda Cupertino <Cupertino.Miranda@synopsys.com>
429 Zissulescu Claudiu <Claudiu.Zissulescu@synopsys.com>
430
431 * readelf.c (get_machine_flags): Add support for newer ARC ELF
432 header flags.
433
434 2016-01-18 Alan Modra <amodra@gmail.com>
435
436 * configure: Regenerate.
437
438 2016-01-17 Alan Modra <amodra@gmail.com>
439
440 * configure: Regenerate.
441
442 2016-01-17 Alan Modra <amodra@gmail.com>
443
444 * testsuite/lib/binutils-common.exp (is_elf_format): Return true
445 for m68hc11/12 and xgate triples.
446
447 2016-01-17 Alan Modra <amodra@gmail.com>
448
449 * readelf.c (is_32bit_abs_reloc): Add R_M68HC11_32.
450
451 2016-01-01 Alan Modra <amodra@gmail.com>
452
453 Update year range in copyright notice of all files.
454
455 For older changes see ChangeLog-2015 and testsuite/ChangeLog-1215
456 \f
457 Copyright (C) 2016 Free Software Foundation, Inc.
458
459 Copying and distribution of this file, with or without modification,
460 are permitted in any medium without royalty provided the copyright
461 notice and this notice are preserved.
462
463 Local Variables:
464 mode: change-log
465 left-margin: 8
466 fill-column: 74
467 version-control: never
468 End:
This page took 0.040639 seconds and 5 git commands to generate.