Ignore DWARF debug information with a version of 0 - assume that it is padding.
[external/binutils.git] / binutils / ChangeLog
1 2016-04-04  Nick Clifton  <nickc@redhat.com>
2
3         PR 19872
4         * dwarf.c (display_debug_aranges): Skip warning about unrecognised
5         version number if the version is zero.
6
7 2016-03-29  Alan Modra  <amodra@gmail.com>
8
9         * readelf.c (get_data): Use BFD_VMA_FMT to print bfd_size_type vars.
10         (get_dynamic_data): Likewise.
11
12 2016-03-22  Nick Clifton  <nickc@redhat.com>
13
14         PR 19851
15         * dwarf.c (SAFE_BYTE_GET): Replace local dynamic array allocation
16         with run time size check.
17
18         * configure: Regenerate.
19
20 2016-03-21  Andrew Burgess  <andrew.burgess@embecosm.com>
21
22         * readelf.c (decode_ARC_machine_flags): Handle nps400.
23
24 2016-03-21  Andrew Burgess  <andrew.burgess@embecosm.com>
25
26         * readelf.c (get_machine_flags): Move arc processing into...
27         (decode_ARC_machine_flags): ... new function.  Remove use of
28         EF_ARC_CPU_GENERIC, change default case from "generic arc" to
29         "unknown arc".  Merged ABI printing between two machine types.
30
31 2016-03-21  Andrew Burgess  <andrew.burgess@embecosm.com>
32
33         * testsuite/binutils-all/objdump.exp (cpus_expected): Add ARC700
34         to the architecture list.
35
36 2016-03-21  Nick Clifton  <nickc@redhat.com>
37
38         * dlltool.c: Replace use of alloca with call to xmalloc.
39         * dllwrap.c: Likewise.
40         * nlmconv.c: Likewise.
41         * objdump.c: Likewise.
42         * resrc.c: Likewise.
43         * winduni.c: Likewise.
44         * configure: Regenerate.
45
46 2016-03-07  Nick Clifton  <nickc@redhat.com>
47
48         PR binutils/19775
49         * testsuite/binutils-all/ar.exp (proc empty_archive): New proc.
50         Run the new proc.
51         * testsuite/binutils-all/empty: New, empty, file.
52
53 2016-03-04  Matthew Wahab  <matthew.wahab@arm.com>
54
55         * readelf.c (arm_attry_tag_FP_arch): Add "NEON for ARMv8.1".
56
57 2016-02-26  H.J. Lu  <hongjiu.lu@intel.com>
58
59         PR ld/19645
60         * NEWS: Mention --elf-stt-common= for objcopy.
61         * doc/binutils.texi: Document --elf-stt-common= for objcopy.
62         * objcopy.c (do_elf_stt_common): New.
63         (command_line_switch): Add OPTION_ELF_STT_COMMON.
64         (copy_options): Add --elf-stt-common=.
65         (copy_usage): Add --elf-stt-common=.
66         (copy_object): Also check do_elf_stt_common for ELF targets.
67         (copy_file): Handle do_elf_stt_common.
68         (copy_main): Handle OPTION_ELF_STT_COMMON.
69         * readelf.c (apply_relocations): Support STT_COMMON.
70         * testsuite/binutils-all/common-1.s: New file.
71         * testsuite/binutils-all/common-1a.d: Likewise.
72         * testsuite/binutils-all/common-1b.d: Likewise.
73         * testsuite/binutils-all/common-1c.d: Likewise.
74         * testsuite/binutils-all/common-1d.d: Likewise.
75         * testsuite/binutils-all/common-1e.d: Likewise.
76         * testsuite/binutils-all/common-1f.d: Likewise.
77         * testsuite/binutils-all/common-2.s: Likewise.
78         * testsuite/binutils-all/common-2a.d: Likewise.
79         * testsuite/binutils-all/common-2b.d: Likewise.
80         * testsuite/binutils-all/common-2c.d: Likewise.
81         * testsuite/binutils-all/common-2d.d: Likewise.
82         * testsuite/binutils-all/common-2e.d: Likewise.
83         * testsuite/binutils-all/common-2f.d: Likewise.
84         * testsuite/binutils-all/objcopy.exp
85         (objcopy_test_elf_common_symbols): New proc.
86         Run objcopy_test_elf_common_symbols for ELF targets
87
88 2016-02-16  H.J. Lu  <hongjiu.lu@intel.com>
89
90         PR binutils/19647
91         * readelf.c (get_section_type_name): Add a missing break.
92
93 2016-02-16  Claudiu Zissulescu  <claziss@synopsys.com>
94
95         * readelf.c (is_32bit_pcrel_reloc): Add R_ARC_32_PCREL.
96
97 2016-02-15  Nick Clifton  <nickc@redhat.com>
98
99         * readelf.c (get_section_type_name): Add hex prefix to offsets
100         printed for LOPROC and LOOS values.  Ensure that a result is
101         always returned for the V850 target, even when an unrecognised
102         processor specific value is encountered.
103         (process_section_headers): Display key values in the order in
104         which they appear to the user.  Add the "C (compressed)" value to
105         the list.
106
107 2016-02-12  H.J. Lu  <hongjiu.lu@intel.com>
108
109         * doc/binutils.texi: Fix a typo.
110
111 2016-02-05  Cupertino Miranda  <Cupertino.Miranda@synopsys.com>
112
113         * testsuite/binutils-all/objdump.exp: Update expected default
114         architecture value for ARC binaries.
115
116 2016-02-02  H.J. Lu  <hongjiu.lu@intel.com>
117
118         PR binutils/19547
119         * testsuite/binutils-all/objcopy.exp
120         (objcopy_test_without_global_symbol): New proc.
121         Run objcopy_test_without_global_symbol.
122         * testsuite/binutils-all/pr19547.c: New file.
123
124 2016-01-28  H.J. Lu  <hongjiu.lu@intel.com>
125
126         PR binutils/19523
127         * Makefile.am (check-DEJAGNU): Pass CC and CC_FOR_BUILD to
128         runtest.
129         * Makefile.in: Regenerated.
130         * testsuite/binutils-all/compress.exp (test_gnu_debuglink): New
131         proc.
132         Run test_gnu_debuglink for native ELF build.
133
134 2016-01-20  Nick Clifton  <nickc@redhat.com>
135
136         PR 19495
137         * testsuite/binutils-all/dlltool.exp: Fix tests for targets which
138         do not support inserting leading underscores.
139
140 2016-01-20  Mickael Guene  <mickael.guene@st.com>
141
142         * readelf.c (get_elf_section_flags): Display y letter for section
143         with SHF_ARM_NOREAD section flag in readelf section output.
144         (process_section_headers): Add y letter in readelf section output
145         key mapping for ARM architecture.
146         * objdump.c (dump_section_header): Display NOREAD attributes as
147         well.
148         * doc/binutils.texi (objdump): Note that it is correct for
149         sections to have both the READONLY and NOREAD attributes.
150
151 2016-01-19  John Baldwin  <jhb@FreeBSD.org>
152
153         * readelf.c (get_freebsd_elfcore_note_type): Remove unused variable.
154
155 2016-01-19  John Baldwin  <jhb@FreeBSD.org>
156
157         * readelf.c (get_freebsd_elfcore_note_type): New
158         (process_note): Add support for FreeBSD core notes.
159
160 2016-01-18  Miranda Cupertino  <Cupertino.Miranda@synopsys.com>
161             Zissulescu Claudiu  <Claudiu.Zissulescu@synopsys.com>
162
163         * readelf.c (get_machine_flags): Add support for newer ARC ELF
164         header flags.
165
166 2016-01-18  Alan Modra  <amodra@gmail.com>
167
168         * configure: Regenerate.
169
170 2016-01-17  Alan Modra  <amodra@gmail.com>
171
172         * configure: Regenerate.
173
174 2016-01-17  Alan Modra  <amodra@gmail.com>
175
176         * testsuite/lib/binutils-common.exp (is_elf_format): Return true
177         for m68hc11/12 and xgate triples.
178
179 2016-01-17  Alan Modra  <amodra@gmail.com>
180
181         * readelf.c (is_32bit_abs_reloc): Add R_M68HC11_32.
182
183 2016-01-01  Alan Modra  <amodra@gmail.com>
184
185         Update year range in copyright notice of all files.
186
187 For older changes see ChangeLog-2015 and testsuite/ChangeLog-1215
188 \f
189 Copyright (C) 2016 Free Software Foundation, Inc.
190
191 Copying and distribution of this file, with or without modification,
192 are permitted in any medium without royalty provided the copyright
193 notice and this notice are preserved.
194
195 Local Variables:
196 mode: change-log
197 left-margin: 8
198 fill-column: 74
199 version-control: never
200 End: