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