]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - binutils/ChangeLog
Fix gdb/python/python.c use-after-free
[thirdparty/binutils-gdb.git] / binutils / ChangeLog
CommitLineData
d347c9df
PS
12016-04-29 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
2
3 * readelf.c (is_32bit_pcrel_reloc): Return true if reloc is 32-bit
4 PC relocation for AVR target.
5 (is_none_reloc): Return true if reloc is any of AVR diff
6 relocations.
7
5522f910
NC
82016-04-29 Nick Clifton <nickc@redhat.com>
9
10 PR 19938
11 * readelf.c (get_solaris_segment_type): New function.
12 (get_segment_type): Call it.
13
786a118c
NC
142016-04-28 Nick Clifton <nickc@redhat.com>
15
16 * po/zh_CN.po: Updated Chinese (simplified) translation.
17
4bd13cde
NC
182016-04-28 Nick Clifton <nickc@redhat.com>
19
20 PR target/19722
21 * testsuite/binutils-all/aarch64/illegal.s: New test.
22 * testsuite/binutils-all/aarch64/illegal.d: New test driver.
23
e6c7cdec
TS
242016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
25
26 * resres.c: Likewise.
27
6fd8e7c2
L
282016-04-15 H.J. Lu <hongjiu.lu@intel.com>
29
30 * Makefile.in: Regenerated with automake 1.11.6.
31 * aclocal.m4: Likewise.
32 * doc/Makefile.in: Likewise.
33
84865015
NC
342016-04-14 Nick Clifton <nickc@redhat.com>
35
36 PR target/19938
37 * testsuite/binutils-all/i386/compressed-1b.d: Allow for the
38 string sections possibly having the SHF_STRINGS flag bit set.
39 * testsuite/binutils-all/i386/compressed-1c.d: Likewise.
40 * testsuite/binutils-all/readelf.s: Likewise.
41 * testsuite/binutils-all/readelf.s-64: Likewise.
42 * testsuite/binutils-all/x86-64/compressed-1b.d: Likewise.
43 * testsuite/binutils-all/x86-64/compressed-1c.d: Likewise.
44
fd85a6a1
NC
452016-04-13 Nick Clifton <nickc@redhat.com>
46
84865015 47 PR target/19938
fd85a6a1
NC
48 * readelf.c (get_solaris_section_type): New function: Returns the
49 name of Solaris specific section types.
50 (get_solaris_dynamic_type): New function: Return the name of
51 Solaris specific dynamic types.
52 (get_dynamic_type): Use get_solaris_dynamic_type.
53 (get_section_type_name): Use get_solaris_section_type.
54 (get_solaris_symbol_visibility): New function: Returns Solaris
55 specific symbol visibilities.
56 (print_dynamic_symbol): Use get_solaris_symbol_visibility.
57 (process_symbol_table): Likewise.
58
d6bb17b0
AA
592016-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
60
61 * dwarf.h (init_dwarf_regnames_s390): Declare.
62 * dwarf.c (dwarf_regnames_s390): New.
63 (init_dwarf_regnames_s390): New.
64 (init_dwarf_regnames): Call it.
65 * objdump.c (dump_dwarf): Likewise.
66
92708cec
MR
672016-04-11 Maciej W. Rozycki <macro@imgtec.com>
68
69 * testsuite/binutils-all/mips/mips16-undecoded.d: New test.
70 * testsuite/binutils-all/mips/mips16-undecoded.s: New test
71 source.
72 * testsuite/binutils-all/mips/mips.exp: Run the new test.
73
67f101ee
NC
742016-04-04 Nick Clifton <nickc@redhat.com>
75
76 PR 19872
77 * dwarf.c (display_debug_aranges): Skip warning about unrecognised
78 version number if the version is zero.
79
ed754a13
AM
802016-03-29 Alan Modra <amodra@gmail.com>
81
82 * readelf.c (get_data): Use BFD_VMA_FMT to print bfd_size_type vars.
83 (get_dynamic_data): Likewise.
84
9780e045
NC
852016-03-22 Nick Clifton <nickc@redhat.com>
86
34b9f729
NC
87 PR 19851
88 * dwarf.c (SAFE_BYTE_GET): Replace local dynamic array allocation
89 with run time size check.
90
9780e045
NC
91 * configure: Regenerate.
92
8699fc3e
AB
932016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
94
95 * readelf.c (decode_ARC_machine_flags): Handle nps400.
96
a9522a21
AB
972016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
98
99 * readelf.c (get_machine_flags): Move arc processing into...
100 (decode_ARC_machine_flags): ... new function. Remove use of
101 EF_ARC_CPU_GENERIC, change default case from "generic arc" to
102 "unknown arc". Merged ABI printing between two machine types.
103
24740d83
AB
1042016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
105
106 * testsuite/binutils-all/objdump.exp (cpus_expected): Add ARC700
107 to the architecture list.
108
e1fa0163
NC
1092016-03-21 Nick Clifton <nickc@redhat.com>
110
111 * dlltool.c: Replace use of alloca with call to xmalloc.
112 * dllwrap.c: Likewise.
113 * nlmconv.c: Likewise.
114 * objdump.c: Likewise.
115 * resrc.c: Likewise.
116 * winduni.c: Likewise.
117 * configure: Regenerate.
118
4fc87424
NC
1192016-03-07 Nick Clifton <nickc@redhat.com>
120
121 PR binutils/19775
122 * testsuite/binutils-all/ar.exp (proc empty_archive): New proc.
123 Run the new proc.
124 * testsuite/binutils-all/empty: New, empty, file.
125
9411fd44
MW
1262016-03-04 Matthew Wahab <matthew.wahab@arm.com>
127
128 * readelf.c (arm_attry_tag_FP_arch): Add "NEON for ARMv8.1".
129
11e5f1ec
L
1302016-02-26 H.J. Lu <hongjiu.lu@intel.com>
131
132 PR ld/19645
133 * NEWS: Mention --elf-stt-common= for objcopy.
134 * doc/binutils.texi: Document --elf-stt-common= for objcopy.
135 * objcopy.c (do_elf_stt_common): New.
136 (command_line_switch): Add OPTION_ELF_STT_COMMON.
137 (copy_options): Add --elf-stt-common=.
138 (copy_usage): Add --elf-stt-common=.
139 (copy_object): Also check do_elf_stt_common for ELF targets.
140 (copy_file): Handle do_elf_stt_common.
141 (copy_main): Handle OPTION_ELF_STT_COMMON.
142 * readelf.c (apply_relocations): Support STT_COMMON.
143 * testsuite/binutils-all/common-1.s: New file.
144 * testsuite/binutils-all/common-1a.d: Likewise.
145 * testsuite/binutils-all/common-1b.d: Likewise.
146 * testsuite/binutils-all/common-1c.d: Likewise.
147 * testsuite/binutils-all/common-1d.d: Likewise.
148 * testsuite/binutils-all/common-1e.d: Likewise.
149 * testsuite/binutils-all/common-1f.d: Likewise.
150 * testsuite/binutils-all/common-2.s: Likewise.
151 * testsuite/binutils-all/common-2a.d: Likewise.
152 * testsuite/binutils-all/common-2b.d: Likewise.
153 * testsuite/binutils-all/common-2c.d: Likewise.
154 * testsuite/binutils-all/common-2d.d: Likewise.
155 * testsuite/binutils-all/common-2e.d: Likewise.
156 * testsuite/binutils-all/common-2f.d: Likewise.
157 * testsuite/binutils-all/objcopy.exp
158 (objcopy_test_elf_common_symbols): New proc.
159 Run objcopy_test_elf_common_symbols for ELF targets
160
a9fb83be
L
1612016-02-16 H.J. Lu <hongjiu.lu@intel.com>
162
163 PR binutils/19647
164 * readelf.c (get_section_type_name): Add a missing break.
165
726c18e1
CZ
1662016-02-16 Claudiu Zissulescu <claziss@synopsys.com>
167
168 * readelf.c (is_32bit_pcrel_reloc): Add R_ARC_32_PCREL.
169
9fb71ee4
NC
1702016-02-15 Nick Clifton <nickc@redhat.com>
171
172 * readelf.c (get_section_type_name): Add hex prefix to offsets
173 printed for LOPROC and LOOS values. Ensure that a result is
174 always returned for the V850 target, even when an unrecognised
175 processor specific value is encountered.
176 (process_section_headers): Display key values in the order in
177 which they appear to the user. Add the "C (compressed)" value to
178 the list.
179
96d491cf
L
1802016-02-12 H.J. Lu <hongjiu.lu@intel.com>
181
182 * doc/binutils.texi: Fix a typo.
183
bdbca4e6
CM
1842016-02-05 Cupertino Miranda <Cupertino.Miranda@synopsys.com>
185
186 * testsuite/binutils-all/objdump.exp: Update expected default
187 architecture value for ARC binaries.
188
14f2c699
L
1892016-02-02 H.J. Lu <hongjiu.lu@intel.com>
190
191 PR binutils/19547
192 * testsuite/binutils-all/objcopy.exp
193 (objcopy_test_without_global_symbol): New proc.
194 Run objcopy_test_without_global_symbol.
195 * testsuite/binutils-all/pr19547.c: New file.
196
bf150a0b
L
1972016-01-28 H.J. Lu <hongjiu.lu@intel.com>
198
199 PR binutils/19523
200 * Makefile.am (check-DEJAGNU): Pass CC and CC_FOR_BUILD to
201 runtest.
202 * Makefile.in: Regenerated.
203 * testsuite/binutils-all/compress.exp (test_gnu_debuglink): New
204 proc.
205 Run test_gnu_debuglink for native ELF build.
206
0398b8d6
NC
2072016-01-20 Nick Clifton <nickc@redhat.com>
208
209 PR 19495
210 * testsuite/binutils-all/dlltool.exp: Fix tests for targets which
bdbca4e6 211 do not support inserting leading underscores.
0398b8d6 212
91f68a68
MG
2132016-01-20 Mickael Guene <mickael.guene@st.com>
214
215 * readelf.c (get_elf_section_flags): Display y letter for section
216 with SHF_ARM_NOREAD section flag in readelf section output.
217 (process_section_headers): Add y letter in readelf section output
218 key mapping for ARM architecture.
219 * objdump.c (dump_section_header): Display NOREAD attributes as
220 well.
221 * doc/binutils.texi (objdump): Note that it is correct for
222 sections to have both the READONLY and NOREAD attributes.
223
40068dcc
JB
2242016-01-19 John Baldwin <jhb@FreeBSD.org>
225
226 * readelf.c (get_freebsd_elfcore_note_type): Remove unused variable.
227
f4ddf30f
JB
2282016-01-19 John Baldwin <jhb@FreeBSD.org>
229
230 * readelf.c (get_freebsd_elfcore_note_type): New
231 (process_note): Add support for FreeBSD core notes.
232
34e967a5
MC
2332016-01-18 Miranda Cupertino <Cupertino.Miranda@synopsys.com>
234 Zissulescu Claudiu <Claudiu.Zissulescu@synopsys.com>
235
236 * readelf.c (get_machine_flags): Add support for newer ARC ELF
237 header flags.
238
3d961d0d
AM
2392016-01-18 Alan Modra <amodra@gmail.com>
240
241 * configure: Regenerate.
242
5c14705f
AM
2432016-01-17 Alan Modra <amodra@gmail.com>
244
245 * configure: Regenerate.
246
b3066ae8
AM
2472016-01-17 Alan Modra <amodra@gmail.com>
248
249 * testsuite/lib/binutils-common.exp (is_elf_format): Return true
250 for m68hc11/12 and xgate triples.
251
adec12c1
AM
2522016-01-17 Alan Modra <amodra@gmail.com>
253
254 * readelf.c (is_32bit_abs_reloc): Add R_M68HC11_32.
255
6f2750fe
AM
2562016-01-01 Alan Modra <amodra@gmail.com>
257
258 Update year range in copyright notice of all files.
259
3499769a
AM
260For older changes see ChangeLog-2015 and testsuite/ChangeLog-1215
261\f
262Copyright (C) 2016 Free Software Foundation, Inc.
263
264Copying and distribution of this file, with or without modification,
265are permitted in any medium without royalty provided the copyright
266notice and this notice are preserved.
267
268Local Variables:
269mode: change-log
270left-margin: 8
271fill-column: 74
272version-control: never
273End: