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