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