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