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