PR binutils/2879
[external/binutils.git] / binutils / ChangeLog
1 2006-07-06  Mohammed Adnène Trojette  <adn@diwi.org>
2
3         PR binutils/2879
4         * doc/binutils.texi: Document -T shorthand for --target switch.
5         * strings.c: Update comment to include -T option.
6
7 2006-06-30  Nick Clifton  <nickc@redhat.com>
8
9         * dwarf.c (display_debug_frames): Catch a corrupt length field
10         generating an end of block address that is beyond the end of the
11         section.
12         When encountering a corrupt CIE pointer do not reset the start
13         pointer as more data still has to be read.
14         Do not warn about user defined call frame instructions.
15
16 2006-06-29  DJ Delorie  <dj@redhat.com>
17
18         * readelf.c (process_section_headers): Add H8/300 support.
19
20 2006-06-23  Richard Sandiford  <richard@codesourcery.com>
21
22         * objcopy.c (localize_hidden): New variable.
23         (OPTION_LOCALIZE_HIDDEN): New command_line_switch value.
24         (copy_options): Add --localize-hidden.
25         (copy_usage): Mention --localize-hidden.
26         (is_hidden_symbol): New function.
27         (filter_symbols): Handle localize_hidden.
28         (copy_object): Call filter_symbols if localize_hidden.
29         (copy_main): Handle OPTION_LOCALIZE_HIDDEN.
30         * doc/binutils.texi (--localize-hidden): Document new option.
31
32 2006-06-23  Daniel Jacobowitz  <dan@codesourcery.com>
33
34         * Makefile.am (ar_DEPENDENCIES, ranlib_DEPENDENCIES)
35         (dlltool_DEPENDENCIES, windres_DEPENDENCIES): Remove @LEXLIB@.
36         * Makefile.in: Regenerate.
37
38 2006-06-23  Alan Modra  <amodra@bigpond.net.au>
39
40         * Makefile.am (*_DEPENDENCIES): Add missing dependencies.
41         * Makefile.in: Regenerate.
42
43 2006-06-07  Joseph S. Myers  <joseph@codesourcery.com>
44
45         * po/Make-in (pdf, ps): New dummy targets.
46
47 2006-06-05  Daniel Jacobowitz  <dan@codesourcery.com>
48
49         * po/Make-in (top_builddir): Define.
50
51 2006-06-05  Alan Modra  <amodra@bigpond.net.au>
52
53         * config.in: Regenerate.
54
55 2006-06-02  Joseph S. Myers  <joseph@codesourcery.com>
56
57         * doc/Makefile.am (TEXI2DVI): Define.
58         * doc/Makefile.in: Regenerate.
59
60 2006-05-31  Daniel Jacobowitz  <dan@codesourcery.com>
61
62         * Makefile.am: Replace INTLLIBS with LIBINTL everywhere.  Add
63         DEPENDENCIES variables for every program.
64         (INTLLIBS): Remove.
65         (INCLUDES): Use @INCINTL@.
66         * acinclude.m4: Include new gettext macros.
67         * configure.in: Use ZW_GNU_GETTEXT_SISTER_DIR and AM_PO_SUBDIRS.
68         Remove local code for po/Makefile.
69         * Makefile.in, configure, doc/Makefile.in: Regenerated.
70
71 2006-05-30  Nick Clifton  <nickc@redhat.com>
72
73         * po/es.po: Updated Spanish translation.
74
75 2006-05-25  J"orn Rennecke <joern.rennecke@st.com>
76
77         * MAINTAINERS: Update my email address.
78
79 2006-05-24  Nick Clifton  <nickc@redhat.com>
80
81         * po/fr.po: Updated French translation.
82
83 2006-05-23  Nick Clifton  <nickc@redhat.com>
84
85         * po/vi.po: Updated Vietnamese translation.
86
87 2006-05-22  Daniel Jacobowitz  <dan@codesourcery.com>
88
89         * po/ru.po: Updated translation.
90
91 2006-05-19  Andreas Schwab  <schwab@suse.de>
92
93         * doc/Makefile.am (addr2line.1): Depend on $(binutils_TEXINFOS).
94         (ar.1): Likewise.
95         (dlltool.1): Likewise.
96         (nlmconv.1): Likewise.
97         (nm.1): Likewise.
98         (objcopy.1): Likewise.
99         (objdump.1): Likewise.
100         (ranlib.1): Likewise.
101         (readelf.1): Likewise.
102         (size.1): Likewise.
103         (strings.1): Likewise.
104         (strip.1): Likewise.
105         (windres.1): Likewise.
106         (cxxfilt.man): Likewise.
107         * doc/Makefile.in: Regenerated.
108
109 2006-05-17  Carlos O'Donell  <carlos@codesourcery.com>
110
111         * doc/binutils.texi: Use "Binutils Index" for index name.
112
113 2006-05-15  H.J. Lu  <hongjiu.lu@intel.com>
114
115         * dwarf.c (display_debug_frames): Don't return on ZERO
116         terminator.
117
118 2006-05-02  Daniel Jacobowitz  <dan@codesourcery.com>
119
120         * doc/Makefile.am (AM_MAKEINFOFLAGS): New.
121         (TEXI2POD): Use AM_MAKEINFOFLAGS.
122         (config.texi): Don't set top_srcdir.
123         * doc/binutils.texi: Don't use top_srcdir.
124         * aclocal.m4, Makefile.in, doc/Makefile.in: Regenerated.
125
126 2006-04-26  Julian Brown  <julian@codesourcery.com>
127
128         * readelf.c (arm_attr_tag_VFP_arch): Add VFPv3.
129
130 2006-04-19  Alan Modra  <amodra@bigpond.net.au>
131
132         * Makefile.am: Run "make dep-am".
133         * Makefile.in: Regenerate.
134
135 2006-04-19  Alan Modra  <amodra@bigpond.net.au>
136
137         * configure: Regenerate.
138
139 2006-04-18  Nick Clifton  <nickc@redhat.com>
140
141         PR 2257
142         * readelf.c (SECTION_NAME): Cope with a missing string table.
143         (process_file_header): Cope with a corrupt e_shstrndx field.
144         (process_section_headers): Correctly handle an e_shstrndx value of
145         SHF_UNDEF.
146
147 2006-04-12  Nick Clifton  <nickc@redhat.com>
148
149         * objdump.c (objdump_symbol_at_address): Fix typo in comment.
150
151 2006-04-10  Ben Elliston  <bje@gnu.org>
152
153         * MAINTAINERS (CGEN Maintainers): Remove myself.
154
155 2006-04-06  Carlos O'Donell  <carlos@codesourcery.com>
156
157         * po/Make-in: Add install-html target.
158         * Makefile.am: Add install-html and install-html-recursive targets.
159         * Makefile.in: Regenerate.
160         * configure.in: AC_SUBST datarootdir, docdir and htmldir.
161         * configure: Regenerate.
162         * doc/Makefile.am: Add install-html and install-html-am targets.
163         * doc/Makefile.in: Regenerate.
164
165 2006-04-05  Eric Botcazou  <ebotcazou@adacore.com>
166
167         * addr2line.c (long_options): Add new option 'section'.
168         (usage): Document new -j/--section option.
169         (find_offset_in_section): New function.
170         (translate_addresses): Add 'section' parameter.
171         If it is non-null, call find_offset_in_section on it.
172         (process_file): Add 'section_name' parameter.
173         If it is non-null, look for the section in the BFD object.
174         Pass the section to translate_addresses.
175         (main): Handle new -j option.
176         Pass the section name to process_file.
177         * doc/binutils.texi (addr2line): Document new -j/--section option.
178
179 2006-03-29  Ben Elliston  <bje@au.ibm.com>
180
181         * resbin.c: Avoid duplicating constants in calls to reswr_alloc.
182
183 2006-03-20  Nathan Sidwell  <nathan@codesourcery.com>
184
185         * BRANCHES: Remove binutils-csl-arm-2006q1-branch.  Document
186         binutils-csl-2_17-branch instead.
187
188 2006-03-20  Paul Brook  <paul@codesourcery.com>
189
190         * BRANCHES: Mention binutils-csl-arm-2006q1-branch.
191
192 2006-03-16  Alan Modra  <amodra@bigpond.net.au>
193
194         PR 2434
195         * ieee.c (write_ieee_debugging_info): Adjust bfd_hash_table_init calls.
196         * wrstabs.c (write_stabs_in_sections_debugging_info): Likewise.
197
198 2006-03-13  Ben Elliston  <bje@au.ibm.com>
199
200         * bucomm.c (display_target_list): Make local variable `a' to be of
201         type enum bfd_architecture.  Thus no need to cast enums to int.
202         (display_info_table): Likewise.
203
204 2006-03-10  Paul Brook  <paul@codesourcery.com>
205
206         * readelf.c (decode_ARM_machine_flags):  Handle EABIv5.
207
208 2006-03-10  Alan Modra  <amodra@bigpond.net.au>
209
210         * dwarf.c (process_extended_line_op): Remove pointer_size param.
211         Use length instead to determine address size.
212         (get_pointer_size_and_offset_of_comp_unit): Delete.
213         (display_debug_lines): Adjust for above.
214         (display_debug_aranges): Don't stop on finding two zeros.
215         (display_debug_frames): For warning, print offset not pointer.
216
217 2006-03-09  Danny Smith  <dannysmith@users.sourceforge.net>
218
219         * dlltool.c: Update copyright year.
220         * doc/binutils.texi: Likewise.
221
222 2006-03-09  Danny Smith  <dannysmith@users.sourceforge.net>
223
224         * dlltool.c (add_stdcall_underscore): New flag.
225         (xlate): Also add underscore to stdcall symbol if
226         add_stdcall_underscore set.
227         (usage): Document --add-stdcall-underscore option.
228         (OPTION_ADD_STDCALL_UNDERSCORE): New define.
229         (long_options): Use it for --add-stdcall-underscore option.
230         (main): Handle it.
231         * doc/binutils.texi: Document --add-stdcall-underscore option
232         and differentiate from --add-underscore.
233
234 2006-03-06  Nathan Sidwell  <nathan@codesourcery.com>
235
236         * readelf.c (get_machine_flags): Adjust.
237
238 2006-03-03  Jakub Jelinek  <jakub@redhat.com>
239
240         * dwarf.c (frame_display_row, display_debug_frames): Handle
241         DW_CFA_val_offset, DW_CFA_val_offset_sf and DW_CFA_val_expression.
242
243 2006-02-28  Nick Clifton  <nickc@redhat.com>
244
245         * objcopy.c (use_alt_mach_code): Change type to unsigned long.
246         (copy_object):  If bfd_alt_mach_code fails emit a more helpful
247         message and if the target architecture is ELF use the alternative
248         as replacement value for the e_machine number.
249         (copy_main): Use strtoul to parse the number provided with the
250         --alt-mach-code switch.
251         * doc/binutils.texi (--alt-mach-code): Document that this switch
252         can now set the absolute e_machine value.
253
254 2006-02-27  Carlos O'Donell  <carlos@codesourcery.com>
255
256         * po/Make-in: Add html target.
257
258 2006-02-17  Nick Hudson  <nick.hudson@dsl.pipex.com>
259
260         * readelf.c (get_machine_flags): Add logic for missing EF_SH flags.
261
262 2006-02-14  Jakub Jelinek  <jakub@redhat.com>
263
264         * config.in: Rebuilt.
265
266 2006-02-10  H.J. Lu  <hongjiu.lu@intel.com>
267
268         PR binutils/2258
269         * readelf.c (process_program_headers): Use
270         ELF_IS_SECTION_IN_SEGMENT_MEMORY.
271
272 2006-02-09  Eric Botcazou  <ebotcazou@libertysurf.fr>
273
274         * configure.in (CHECK_DECLS): Add snprintf and vsnprintf.
275         * configure: Regenerate.
276         * objdump.c (fprintf): Remove declaration.
277         * bucomm.h (fprintf): Declare if not already declared.
278         (snprintf): Likewise.
279         (vsnprintf): Likewise.
280
281 2006-02-08  H.J. Lu  <hongjiu.lu@intel.com>
282
283         * readelf.c (process_program_headers): Match PT_TLS segment
284         only with SHT_TLS sections.
285
286 2006-02-07  Nathan Sidwell  <nathan@codesourcery.com>
287
288         * readelf.c (get_machine_flags): Add logic for EF_M68K flags.
289
290 2006-02-02  H.J. Lu  <hongjiu.lu@intel.com>
291
292         * readelf.c (process_program_headers): Undo the last change.
293
294 2006-02-02  H.J. Lu  <hongjiu.lu@intel.com>
295
296         * readelf.c (process_program_headers): Undo the change made on
297         2004-09-22.  Match PT_DYNAMIC segment only with SHT_DYNAMIC
298         sections.
299
300 2006-01-30  Nick Clifton  <nickc@redhat.com>
301
302         * objcopy.c (copy_object): Catch the case where an attempt is made
303         to add a section that already exists and produce a more helpful
304         warning message.
305
306 2006-01-26  Nick Clifton  <nickc@redhat.com>
307
308         * po/vi.po: New Vietnamese translation.
309         * configure.in (ALL_LINGUAS): Add vi.
310         * configure: Regenerate.
311
312 2006-01-18  Alexandre Oliva  <aoliva@redhat.com>
313
314         Introduce TLS descriptors for i386 and x86_64.
315         * readelf.c (get_dynamic_type): Handle DT_TLSDESC_GOT and
316         DT_TLSDESC_PLT.
317
318 2006-01-18  Nick Clifton  <nickc@redhat.com>
319
320         PR binutils/1391
321         * objcopy.c (copy_object): For PE format targets set the VMA of a
322         newly created gnu_debuglink section to a non-zero, aligned,
323         contiguous value.
324         * Makefile.am (objcopy.c): Add a dependency upon libbfd.h.
325         * Makefile.in: Regenerate.
326
327 2006-01-17  Andreas Schwab  <schwab@suse.de>
328
329         PR binutils/1486
330         * configure.in: Don't define DISASSEMBLER_NEEDS_RELOCS.
331         * configure: Regenerate.
332         * objdump.c (struct objdump_disasm_info): Don't check for
333         DISASSEMBLER_NEEDS_RELOCS.
334         (objdump_print_addr): Likewise.
335         (disassemble_bytes): Check disassembler_needs_relocs from
336         disassemble_info at run-time instead of DISASSEMBLER_NEEDS_RELOCS
337         at compile-time.
338         (disassemble_section): Likewise.
339         (disassemble_data): Initialize it.
340
341 2006-01-11  Alan Modra  <amodra@bigpond.net.au>
342
343         * objcopy.c (copy_object): Fix thinko.
344
345         * objcopy.c (copy_object): Set isympp and osympp to NULL after free.
346
347 2006-01-09  Mike Frysinger  <vapier@gentoo.org>:
348
349         * readelf.c (guess_is_rela): Add case for Nios/Nios II.
350         (get_machine_name): Likewise.
351
352 For older changes see ChangeLog-2005
353 \f
354 Local Variables:
355 mode: change-log
356 left-margin: 8
357 fill-column: 74
358 version-control: never
359 End: