PR binutils/15201
[deliverable/binutils-gdb.git] / binutils / ChangeLog
1 2013-03-22 Nick Clifton <nickc@redhat.com>
2
3 PR binutils/15201
4 * dwarf.c (display_debug_ranges): Add checks for reading beyond
5 the end of the section.
6
7 PR binutils/15157
8 * readelf.c (apply_relocations): Catch relocations with negative
9 offsets.
10
11 2013-03-15 Nick Clifton <nickc@redhat.com>
12
13 * addr2line.c (slurp_symtab): If canonicalization reveals that
14 there were no ordinary symbols, try loading the dynamic symbols
15 instead.
16
17 2013-03-14 Markos Chandras <markos.chandras@imgtec.com>
18
19 * MAINTAINERS: Add myself as Meta maintainer.
20
21 2013-03-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
22
23 * readelf.c (get_note_type): Add NT_S390_TDB.
24
25 2013-03-07 Alan Modra <amodra@gmail.com>
26
27 * strings.c (get_char): Dispense with buf[]. Instead shift
28 chars into big-endian value and byte-swap later if
29 little-endian. Don't EOF check value read from object.
30
31 2013-03-05 Corinna Vinschen <vinschen@redhat.com>
32
33 * configure.in: Build DLL tools on x86_64-*-cygwin* as well.
34 * configure: Regenerate.
35
36 2013-03-04 Nick Clifton <nickc@redhat.com>
37
38 * elfcomm.c (error): Flush stdout before emitting the error
39 message.
40 (warn): Likewise.
41
42 2013-03-01 Cary Coutant <ccoutant@google.com>
43
44 * dwarf.c (cu_tu_indexes_read, shndx_pool, shndx_pool_size)
45 (shndx_pool_used): Move to top of file.
46 (struct cu_tu_set): New type.
47 (cu_count, tu_count, cu_sets, tu_sets): New file scope variables.
48 (fetch_indexed_string): Add "this_set" parameter. Update all callers.
49 (find_cu_tu_set_v2): New function.
50 (read_and_display_attr_value): Add "this_set" parameter.
51 (read_and_display_attr): Likewise.
52 (process_debug_info): Track base offsets for DWARF package files.
53 (load_debug_info): Call load_cu_tu_indexes.
54 (get_DW_SECT_short_name): New function.
55 (process_cu_tu_index): Add support for version 2 DWARF package files.
56
57 2013-02-27 Alan Modra <amodra@gmail.com>
58
59 PR binutils/15191
60 * readelf.c (offsetof): Define.
61 (CHECK_ENTSIZE_VALUES): Remove extraneous indefinite article.
62 (process_corefile_note_segment): Allow notes without name or
63 desc. Combine out-of-range checks. Disallow "negative"
64 notesz or descsz.
65
66 2013-02-26 Nick Clifton <nickc@redhat.com>
67
68 PR binutils/15191
69 * readelf.c (process_corefile_note_segment): Prevent attempts to
70 read beyond the end of the note buffer.
71
72 2013-02-15 Kai Tietz <ktietz@redhat.com>
73
74 * objcopy.c (copy_main): Initialize context variable.
75
76 2013-02-15 Nick Clifton <nickc@redhat.com>
77
78 PR binutils/15140
79 * ar.c (open_inarch): Fail on attempts to convert a normal archive
80 to a thin archive or vice versa.
81 * elfcomm.c (make_qualified_name): Handle corrupted thin
82 archives.
83 * readelf.c (process_archive): Likewise.
84 * doc/binutils.texi: Clarify documentation describing thin
85 archives.
86
87 2013-02-15 Nick Clifton <nickc@redhat.com>
88
89 PR binutils/15033
90 * objcopy.c (enum change_action): Delete.
91 (struct section_list): Delete remove, copy, change_vma, change_lma
92 and set_flags fields. Add context field.
93 (find_section_list): Add a context parameter. Add support for
94 wildcard characters in section names.
95 (is_strip_section): Check for sections being both copied and
96 removed.
97 (copy_object): Pass context to find_section_list.
98 (setup_section): Likewise.
99 (copy_section): Likewise.
100 (copy_main): Likewise.
101 * doc/binutils: Document the new behaviour.
102 * NEWS: Mention the new feature
103
104 2013-02-14 Nick Clifton <nickc@redhat.com>
105
106 PR binutils/15125
107 * objcopy.c (copy_object): Provide a helpful warning message when
108 adding a gnu_debuglink section to an object which already contains
109 one.
110
111 2013-02-07 Nick Clifton <nickc@redhat.com>
112
113 * elfcomm.c (get_archive_member_name): Prevent seg-fault if a
114 corrupt archive uses long names but has no long name table.
115
116 2013-02-06 Sandra Loosemore <sandra@codesourcery.com>
117 Andrew Jenner <andrew@codesourcery.com>
118
119 Based on patches from Altera Corporation.
120
121 * readelf.c: Include elf/nios2.h.
122 (dump_relocations): Add case for EM_ALTERA_NIOS2.
123 (get_nios2_dynamic_type): New.
124 (get_dynamic_type): Add case for EM_ALTERA_NIOS2.
125 (is_32bit_abs_reloc): Fix EM_ALTERA_NIOS2 case.
126 (is_16bit_abs_reloc): Likewise.
127 (is_none_reloc): Add EM_ALTERA_NIOS2 and EM_NIOS32 cases.
128 * NEWS: Note Altera Nios II support.
129 * MAINTAINERS: Add Nios II maintainers.
130
131 2013-01-29 Xi Wang <xi.wang@gmail.com>
132
133 * readelf.c (process_version_sections): Fix overflow checks to
134 avoid undefined behaviour.
135
136 2013-01-28 Doug Evans <dje@google.com>
137
138 * dwarf.c (display_gdb_index): Handle .gdb_index version 8.
139
140 2013-01-28 Robert Schiele <rschiele@gmail.com>
141
142 * objcopy.c (parse_flags): Add merge and strings section flags.
143
144 2013-01-25 Cary Coutant <ccoutant@google.com>
145
146 * dwarf.c (display_loc_list): Update offset for each line
147 printed.
148 (print_addr_index): New function.
149 (display_loc_list_dwo): Update offset for each line printed.
150 Fix problems displaying loclists in .dwo files. Add support
151 for type 4 entries.
152 (display_debug_loc): Remove custom header for .dwo files.
153 (display_debug_addr): Adjust formatting.
154
155 2013-01-25 Marco Atzeri <marco.atzeri@gmail.com>
156
157 * objcopy.c : Enable long section names for OPTION_ADD_GNU_DEBUGLINK.
158
159 2013-01-24 Doug Evans <dje@google.com>
160
161 * dwarf.c (display_debug_addr): Add missing parentheses to expression.
162
163 2013-01-24 Nick Clifton <nickc@redhat.com>
164
165 * readelf.c (get_machine_flags): Decode E_V850E3V5_ARCH.
166
167 2013-01-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
168
169 * readelf.c: Add strings for NT_S390_LAST_BREAK and
170 NT_S390_SYSTEM_CALL.
171
172 2013-01-18 Nick Clifton <nickc@redhat.com>
173
174 PR binutils/15026
175 * addr2line.c (translate_addresses): When pretty printing, print
176 unknown function names on the same line as unknown symbol names.
177
178 2013-01-17 Nickolai Zeldovich <nickolai@csail.mit.edu>
179
180 * objdump.c (dump_target_specific): Fix NULL pointer test.
181
182 2013-01-16 Alan Modra <amodra@gmail.com>
183
184 PR binutils/15018
185 * stabs.c (parse_stab_members): Always set physname here to avoid
186 gcc warning..
187 (parse_stab_argtypes): ..and don't duplicate the init here.
188
189 2013-01-10 Will Newton <will.newton@imgtec.com>
190
191 * binutils/readelf.c: (guess_is_rela): Add EM_METAG.
192 (dump_relocations): Add EM_METAG.
193 (get_machine_name): Correct case for Meta.
194 (is_32bit_abs_reloc): Add support for Meta ADDR32 reloc.
195 (is_none_reloc): Add support for Meta NONE reloc.
196
197 2013-01-08 Yufeng Zhang <yufeng.zhang@arm.com>
198
199 * readelf.c (get_note_type): Handle NT_ARM_TLS, NT_ARM_HW_BREAK
200 and NT_ARM_HW_WATCH.
201
202 2013-01-07 Roland McGrath <mcgrathr@google.com>
203
204 * objcopy.c (deterministic): Make int rather than bfd_boolean,
205 initialize to -1.
206 (strip_options, copy_options): Add -U/--disable-deterministic-archives.
207 (default_deterministic): New function.
208 (strip_main, copy_main): Handle -U. Call default_deterministic.
209 (copy_usage, strip_usage): Describe -U. Cite whether -D or -U is
210 the default based on DEFAULT_AR_DETERMINISTIC.
211 * doc/binutils.texi (objcopy, strip): Describe -U and effect of
212 configure options on -D.
213
214 * ar.c (default_deterministic): Comment fix.
215
216 2013-01-07 Patrice Dumas <pertusus@free.fr>
217
218 * doc/binutils.texi: Fix ordering of top level nodes.
219 Replace erroneous uses of @itemx with @item.
220
221 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
222
223 * doc/binutils.texi (elfedit): Fix use of @itemx in @table.
224
225 2013-01-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
226
227 * MAINTAINERS: Add myself as AArch64 co-maintainer.
228
229 2013-01-02 H.J. Lu <hongjiu.lu@intel.com>
230
231 * version.c (print_version): Update copyright year to 2013.
232
233 For older changes see ChangeLog-2012
234 \f
235 Copyright (C) 2013 Free Software Foundation, Inc.
236
237 Copying and distribution of this file, with or without modification,
238 are permitted in any medium without royalty provided the copyright
239 notice and this notice are preserved.
240
241 Local Variables:
242 mode: change-log
243 left-margin: 8
244 fill-column: 74
245 version-control: never
246 End:
This page took 0.033882 seconds and 4 git commands to generate.