* elf32-ppc.c (ppc_elf_check_relocs): Set PLT_IFUNC in local got
[deliverable/binutils-gdb.git] / binutils / ChangeLog
CommitLineData
7e93ea4b
NC
12013-03-27 Phil Krylov <phil.krylov@gmail.com>
2
3 PR binutils/13409
4 * winduni.c (codepages[]): Use UTF-16LE.
5 (wind_MultiByteToWideChar): Likewise.
6 (wind_WideCharToMultiByte): Likewise.
7
2bdc3eca
AM
82013-03-27 Alan Modra <amodra@gmail.com>
9
10 PR binutils/15206
11 * dwarf.c (read_and_display_attr_value): Cast format '*' arg to int.
12
0c588247
NC
132013-03-26 Nick Clifton <nickc@redhat.com>
14
f4155c00 15 PR binutils/15206
0c588247
NC
16 * dwarf.c (SAFE_BYTE_GET): New macro - checks remaining buffer
17 space before calling byte_get.
18 (SAFE_BYTE_GET_AND_INC): New macro.
19 (SAFE_SIGNED_BYTE_GET): New macro.
20 (SAFE_SIGNED_BYTE_GET_AND_INC): New macro.
21 (SAFE_BYTE_GET64): New macro.
22 (process_extened_line_op): Use new macros. Use strnlen when
23 appropriate.
24 (fetch_indirect_string): Likewise.
25 (get_FORM_name): Likewise.
26 (decode_location_expression): Likewise.
27 (read_and_display_attr_value): Likewise.
28 (process_debug_info): Likewise.
29 (display_debug_lines_raw): Likewise.
30 (display_debug_lines_decoded): Likewise.
31 (display_debug_pubnames): Likewise.
32 (display_debug_macinfo): Likewise.
33 (get_line_filename_and_dirname): Likewise.
34 (display_debug_macro): Likewise.
35 (display_loc_list): Likewise.
36 (display_loc_list_dwo): Likewise.
37 (display_debug_aranges): Likewise.
38 (display_debug_ranges): Likewise.
39 (frame_display_row): Likewise.
40 (display_debug_frames): Likewise.
41
f6f0e17b
NC
422013-03-25 Nick Clifton <nickc@redhat.com>
43
44 PR binutils/15202
45 * dwarf.c (read_leb128): Add END parameter. Do not read at or
46 beyond end.
47 (read_sleb128): Add END parameter.
48 (read_uleb128): New function.
49 (process_extended_line_op): Pass END to leb128 functions.
50 (process_abbrev_section): Likewise.
51 (decode_location_expression): Likewise.
52 (read_and_display_attr_value): Likewise.
53 (read_and_display_attr): Likewise.
54 (process_debug_info): Likewise.
55 (display_debug_lines_raw): Likewise.
56 (display_debug_lines_decoded): Likewise.
57 (display_debug_macinfo): Likewise.
58 (get_line_filename_and_dirname): Likewise.
59 (display_debug_macro): Likewise.
60 (display_loc_list_dwo): Likewise.
61 (display_debug_ranges): Likewise.
62 * dwarf.h (read_leb128): Update prototype.
63 * readelf.c (read_uleb128): Add END parameter.
64 (decode_arm_unwind_bytecode): Pass END to read_uleb128.
65 (decode_tic6x_unwind_bytecode): Likewise.
66 (display_tag_value): New function.
67 (display_arm_attribute): Add END parameter. Pass END to
68 read_uleb128. Use display_tag_value.
69 (display_gnu_attribute): Likewise.
70 (display_power_gnu_attribute): Likewise.
71 (display_sparc_gnu_attribute): Likewise.
72 (display_mips_gnu_attribute): Likewise.
73 (display_tic6x_attribute): Likewise.
74 (process_attributes): Likewise.
75 (display_raw_attribute): New function.
76
c8da6823
NC
772013-03-22 Nick Clifton <nickc@redhat.com>
78
c842b54b
NC
79 PR binutils/15201
80 * dwarf.c (display_debug_ranges): Add checks for reading beyond
81 the end of the section.
82
c8da6823
NC
83 PR binutils/15157
84 * readelf.c (apply_relocations): Catch relocations with negative
85 offsets.
86
0d0fb1ba
NC
872013-03-15 Nick Clifton <nickc@redhat.com>
88
89 * addr2line.c (slurp_symtab): If canonicalization reveals that
90 there were no ordinary symbols, try loading the dynamic symbols
91 instead.
92
d5c7e0e9
NC
932013-03-14 Markos Chandras <markos.chandras@imgtec.com>
94
95 * MAINTAINERS: Add myself as Meta maintainer.
96
abb3f6cc
NC
972013-03-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
98
99 * readelf.c (get_note_type): Add NT_S390_TDB.
100
c54e2ec1
AM
1012013-03-07 Alan Modra <amodra@gmail.com>
102
103 * strings.c (get_char): Dispense with buf[]. Instead shift
104 chars into big-endian value and byte-swap later if
105 little-endian. Don't EOF check value read from object.
106
ee36d918
CV
1072013-03-05 Corinna Vinschen <vinschen@redhat.com>
108
109 * configure.in: Build DLL tools on x86_64-*-cygwin* as well.
110 * configure: Regenerate.
111
fafd911d
NC
1122013-03-04 Nick Clifton <nickc@redhat.com>
113
114 * elfcomm.c (error): Flush stdout before emitting the error
115 message.
116 (warn): Likewise.
117
341f9135
CC
1182013-03-01 Cary Coutant <ccoutant@google.com>
119
120 * dwarf.c (cu_tu_indexes_read, shndx_pool, shndx_pool_size)
121 (shndx_pool_used): Move to top of file.
122 (struct cu_tu_set): New type.
123 (cu_count, tu_count, cu_sets, tu_sets): New file scope variables.
124 (fetch_indexed_string): Add "this_set" parameter. Update all callers.
125 (find_cu_tu_set_v2): New function.
126 (read_and_display_attr_value): Add "this_set" parameter.
127 (read_and_display_attr): Likewise.
128 (process_debug_info): Track base offsets for DWARF package files.
129 (load_debug_info): Call load_cu_tu_indexes.
130 (get_DW_SECT_short_name): New function.
131 (process_cu_tu_index): Add support for version 2 DWARF package files.
132
15b42fb0
AM
1332013-02-27 Alan Modra <amodra@gmail.com>
134
135 PR binutils/15191
136 * readelf.c (offsetof): Define.
137 (CHECK_ENTSIZE_VALUES): Remove extraneous indefinite article.
138 (process_corefile_note_segment): Allow notes without name or
139 desc. Combine out-of-range checks. Disallow "negative"
140 notesz or descsz.
141
9dd3a467
NC
1422013-02-26 Nick Clifton <nickc@redhat.com>
143
144 PR binutils/15191
145 * readelf.c (process_corefile_note_segment): Prevent attempts to
146 read beyond the end of the note buffer.
147
76d8cf45
KT
1482013-02-15 Kai Tietz <ktietz@redhat.com>
149
150 * objcopy.c (copy_main): Initialize context variable.
151
a043396b
NC
1522013-02-15 Nick Clifton <nickc@redhat.com>
153
154 PR binutils/15140
155 * ar.c (open_inarch): Fail on attempts to convert a normal archive
156 to a thin archive or vice versa.
157 * elfcomm.c (make_qualified_name): Handle corrupted thin
158 archives.
159 * readelf.c (process_archive): Likewise.
160 * doc/binutils.texi: Clarify documentation describing thin
161 archives.
162
2e62b721
NC
1632013-02-15 Nick Clifton <nickc@redhat.com>
164
165 PR binutils/15033
166 * objcopy.c (enum change_action): Delete.
167 (struct section_list): Delete remove, copy, change_vma, change_lma
168 and set_flags fields. Add context field.
169 (find_section_list): Add a context parameter. Add support for
170 wildcard characters in section names.
171 (is_strip_section): Check for sections being both copied and
172 removed.
173 (copy_object): Pass context to find_section_list.
174 (setup_section): Likewise.
175 (copy_section): Likewise.
176 (copy_main): Likewise.
177 * doc/binutils: Document the new behaviour.
178 * NEWS: Mention the new feature
179
d99b05a3
NC
1802013-02-14 Nick Clifton <nickc@redhat.com>
181
182 PR binutils/15125
183 * objcopy.c (copy_object): Provide a helpful warning message when
184 adding a gnu_debuglink section to an object which already contains
185 one.
186
83ee86b1
NC
1872013-02-07 Nick Clifton <nickc@redhat.com>
188
189 * elfcomm.c (get_archive_member_name): Prevent seg-fault if a
190 corrupt archive uses long names but has no long name table.
191
36591ba1
SL
1922013-02-06 Sandra Loosemore <sandra@codesourcery.com>
193 Andrew Jenner <andrew@codesourcery.com>
194
195 Based on patches from Altera Corporation.
196
197 * readelf.c: Include elf/nios2.h.
198 (dump_relocations): Add case for EM_ALTERA_NIOS2.
199 (get_nios2_dynamic_type): New.
200 (get_dynamic_type): Add case for EM_ALTERA_NIOS2.
201 (is_32bit_abs_reloc): Fix EM_ALTERA_NIOS2 case.
202 (is_16bit_abs_reloc): Likewise.
203 (is_none_reloc): Add EM_ALTERA_NIOS2 and EM_NIOS32 cases.
204 * NEWS: Note Altera Nios II support.
205 * MAINTAINERS: Add Nios II maintainers.
206
7e26601c
NC
2072013-01-29 Xi Wang <xi.wang@gmail.com>
208
209 * readelf.c (process_version_sections): Fix overflow checks to
210 avoid undefined behaviour.
211
aa170720
DE
2122013-01-28 Doug Evans <dje@google.com>
213
214 * dwarf.c (display_gdb_index): Handle .gdb_index version 8.
215
5dddde8e
AM
2162013-01-28 Robert Schiele <rschiele@gmail.com>
217
218 * objcopy.c (parse_flags): Add merge and strings section flags.
219
fab128ef
CC
2202013-01-25 Cary Coutant <ccoutant@google.com>
221
15b42fb0
AM
222 * dwarf.c (display_loc_list): Update offset for each line
223 printed.
224 (print_addr_index): New function.
225 (display_loc_list_dwo): Update offset for each line printed.
226 Fix problems displaying loclists in .dwo files. Add support
227 for type 4 entries.
228 (display_debug_loc): Remove custom header for .dwo files.
229 (display_debug_addr): Adjust formatting.
fab128ef 230
9b8bf321
NC
2312013-01-25 Marco Atzeri <marco.atzeri@gmail.com>
232
233 * objcopy.c : Enable long section names for OPTION_ADD_GNU_DEBUGLINK.
234
90f9a987
DE
2352013-01-24 Doug Evans <dje@google.com>
236
237 * dwarf.c (display_debug_addr): Add missing parentheses to expression.
238
78c8d46c
NC
2392013-01-24 Nick Clifton <nickc@redhat.com>
240
241 * readelf.c (get_machine_flags): Decode E_V850E3V5_ARCH.
242
a367d729
AK
2432013-01-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
244
245 * readelf.c: Add strings for NT_S390_LAST_BREAK and
246 NT_S390_SYSTEM_CALL.
247
a477bfd1
NC
2482013-01-18 Nick Clifton <nickc@redhat.com>
249
250 PR binutils/15026
251 * addr2line.c (translate_addresses): When pretty printing, print
252 unknown function names on the same line as unknown symbol names.
253
c32d6f7b
AM
2542013-01-17 Nickolai Zeldovich <nickolai@csail.mit.edu>
255
256 * objdump.c (dump_target_specific): Fix NULL pointer test.
257
cb566e3a
AM
2582013-01-16 Alan Modra <amodra@gmail.com>
259
260 PR binutils/15018
261 * stabs.c (parse_stab_members): Always set physname here to avoid
262 gcc warning..
263 (parse_stab_argtypes): ..and don't duplicate the init here.
264
a3c62988
NC
2652013-01-10 Will Newton <will.newton@imgtec.com>
266
267 * binutils/readelf.c: (guess_is_rela): Add EM_METAG.
268 (dump_relocations): Add EM_METAG.
269 (get_machine_name): Correct case for Meta.
270 (is_32bit_abs_reloc): Add support for Meta ADDR32 reloc.
271 (is_none_reloc): Add support for Meta NONE reloc.
272
652451f8
YZ
2732013-01-08 Yufeng Zhang <yufeng.zhang@arm.com>
274
275 * readelf.c (get_note_type): Handle NT_ARM_TLS, NT_ARM_HW_BREAK
276 and NT_ARM_HW_WATCH.
277
955d0b3b
RM
2782013-01-07 Roland McGrath <mcgrathr@google.com>
279
280 * objcopy.c (deterministic): Make int rather than bfd_boolean,
281 initialize to -1.
282 (strip_options, copy_options): Add -U/--disable-deterministic-archives.
283 (default_deterministic): New function.
284 (strip_main, copy_main): Handle -U. Call default_deterministic.
285 (copy_usage, strip_usage): Describe -U. Cite whether -D or -U is
286 the default based on DEFAULT_AR_DETERMINISTIC.
287 * doc/binutils.texi (objcopy, strip): Describe -U and effect of
288 configure options on -D.
289
290 * ar.c (default_deterministic): Comment fix.
291
7ca01ed9
NC
2922013-01-07 Patrice Dumas <pertusus@free.fr>
293
294 * doc/binutils.texi: Fix ordering of top level nodes.
295 Replace erroneous uses of @itemx with @item.
296
574b25e8
AS
2972013-01-04 Andreas Schwab <schwab@linux-m68k.org>
298
299 * doc/binutils.texi (elfedit): Fix use of @itemx in @table.
300
5b2ab150
MS
3012013-01-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
302
303 * MAINTAINERS: Add myself as AArch64 co-maintainer.
304
62658407
L
3052013-01-02 H.J. Lu <hongjiu.lu@intel.com>
306
307 * version.c (print_version): Update copyright year to 2013.
308
4e5f3f9d 309For older changes see ChangeLog-2012
252b5132 310\f
4e5f3f9d 311Copyright (C) 2013 Free Software Foundation, Inc.
752937aa
NC
312
313Copying and distribution of this file, with or without modification,
314are permitted in any medium without royalty provided the copyright
315notice and this notice are preserved.
316
252b5132
RH
317Local Variables:
318mode: change-log
319left-margin: 8
320fill-column: 74
321version-control: never
322End:
This page took 0.534182 seconds and 4 git commands to generate.