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