PR binutils/2879
[binutils.git] / binutils / ChangeLog
blob80a3b255c71b7f31b4d5f9139c97241bfe96ca30
1 2006-07-06  Mohammed Adnène Trojette  <adn@diwi.org>
3         PR binutils/2879
4         * doc/binutils.texi: Document -T shorthand for --target switch.
5         * strings.c: Update comment to include -T option.
7 2006-06-30  Nick Clifton  <nickc@redhat.com>
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.
16 2006-06-29  DJ Delorie  <dj@redhat.com>
18         * readelf.c (process_section_headers): Add H8/300 support.
20 2006-06-23  Richard Sandiford  <richard@codesourcery.com>
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.
32 2006-06-23  Daniel Jacobowitz  <dan@codesourcery.com>
34         * Makefile.am (ar_DEPENDENCIES, ranlib_DEPENDENCIES)
35         (dlltool_DEPENDENCIES, windres_DEPENDENCIES): Remove @LEXLIB@.
36         * Makefile.in: Regenerate.
38 2006-06-23  Alan Modra  <amodra@bigpond.net.au>
40         * Makefile.am (*_DEPENDENCIES): Add missing dependencies.
41         * Makefile.in: Regenerate.
43 2006-06-07  Joseph S. Myers  <joseph@codesourcery.com>
45         * po/Make-in (pdf, ps): New dummy targets.
47 2006-06-05  Daniel Jacobowitz  <dan@codesourcery.com>
49         * po/Make-in (top_builddir): Define.
51 2006-06-05  Alan Modra  <amodra@bigpond.net.au>
53         * config.in: Regenerate.
55 2006-06-02  Joseph S. Myers  <joseph@codesourcery.com>
57         * doc/Makefile.am (TEXI2DVI): Define.
58         * doc/Makefile.in: Regenerate.
60 2006-05-31  Daniel Jacobowitz  <dan@codesourcery.com>
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.
71 2006-05-30  Nick Clifton  <nickc@redhat.com>
73         * po/es.po: Updated Spanish translation.
75 2006-05-25  J"orn Rennecke <joern.rennecke@st.com>
77         * MAINTAINERS: Update my email address.
79 2006-05-24  Nick Clifton  <nickc@redhat.com>
81         * po/fr.po: Updated French translation.
83 2006-05-23  Nick Clifton  <nickc@redhat.com>
85         * po/vi.po: Updated Vietnamese translation.
87 2006-05-22  Daniel Jacobowitz  <dan@codesourcery.com>
89         * po/ru.po: Updated translation.
91 2006-05-19  Andreas Schwab  <schwab@suse.de>
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.
109 2006-05-17  Carlos O'Donell  <carlos@codesourcery.com>
111         * doc/binutils.texi: Use "Binutils Index" for index name.
113 2006-05-15  H.J. Lu  <hongjiu.lu@intel.com>
115         * dwarf.c (display_debug_frames): Don't return on ZERO
116         terminator.
118 2006-05-02  Daniel Jacobowitz  <dan@codesourcery.com>
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.
126 2006-04-26  Julian Brown  <julian@codesourcery.com>
128         * readelf.c (arm_attr_tag_VFP_arch): Add VFPv3.
130 2006-04-19  Alan Modra  <amodra@bigpond.net.au>
132         * Makefile.am: Run "make dep-am".
133         * Makefile.in: Regenerate.
135 2006-04-19  Alan Modra  <amodra@bigpond.net.au>
137         * configure: Regenerate.
139 2006-04-18  Nick Clifton  <nickc@redhat.com>
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.
147 2006-04-12  Nick Clifton  <nickc@redhat.com>
149         * objdump.c (objdump_symbol_at_address): Fix typo in comment.
151 2006-04-10  Ben Elliston  <bje@gnu.org>
153         * MAINTAINERS (CGEN Maintainers): Remove myself.
155 2006-04-06  Carlos O'Donell  <carlos@codesourcery.com>
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.
165 2006-04-05  Eric Botcazou  <ebotcazou@adacore.com>
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.
179 2006-03-29  Ben Elliston  <bje@au.ibm.com>
181         * resbin.c: Avoid duplicating constants in calls to reswr_alloc.
183 2006-03-20  Nathan Sidwell  <nathan@codesourcery.com>
185         * BRANCHES: Remove binutils-csl-arm-2006q1-branch.  Document
186         binutils-csl-2_17-branch instead.
188 2006-03-20  Paul Brook  <paul@codesourcery.com>
190         * BRANCHES: Mention binutils-csl-arm-2006q1-branch.
192 2006-03-16  Alan Modra  <amodra@bigpond.net.au>
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.
198 2006-03-13  Ben Elliston  <bje@au.ibm.com>
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.
204 2006-03-10  Paul Brook  <paul@codesourcery.com>
206         * readelf.c (decode_ARM_machine_flags):  Handle EABIv5.
208 2006-03-10  Alan Modra  <amodra@bigpond.net.au>
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.
217 2006-03-09  Danny Smith  <dannysmith@users.sourceforge.net>
219         * dlltool.c: Update copyright year.
220         * doc/binutils.texi: Likewise.
222 2006-03-09  Danny Smith  <dannysmith@users.sourceforge.net>
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.
234 2006-03-06  Nathan Sidwell  <nathan@codesourcery.com>
236         * readelf.c (get_machine_flags): Adjust.
238 2006-03-03  Jakub Jelinek  <jakub@redhat.com>
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.
243 2006-02-28  Nick Clifton  <nickc@redhat.com>
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.
254 2006-02-27  Carlos O'Donell  <carlos@codesourcery.com>
256         * po/Make-in: Add html target.
258 2006-02-17  Nick Hudson  <nick.hudson@dsl.pipex.com>
260         * readelf.c (get_machine_flags): Add logic for missing EF_SH flags.
262 2006-02-14  Jakub Jelinek  <jakub@redhat.com>
264         * config.in: Rebuilt.
266 2006-02-10  H.J. Lu  <hongjiu.lu@intel.com>
268         PR binutils/2258
269         * readelf.c (process_program_headers): Use
270         ELF_IS_SECTION_IN_SEGMENT_MEMORY.
272 2006-02-09  Eric Botcazou  <ebotcazou@libertysurf.fr>
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.
281 2006-02-08  H.J. Lu  <hongjiu.lu@intel.com>
283         * readelf.c (process_program_headers): Match PT_TLS segment
284         only with SHT_TLS sections.
286 2006-02-07  Nathan Sidwell  <nathan@codesourcery.com>
288         * readelf.c (get_machine_flags): Add logic for EF_M68K flags.
290 2006-02-02  H.J. Lu  <hongjiu.lu@intel.com>
292         * readelf.c (process_program_headers): Undo the last change.
294 2006-02-02  H.J. Lu  <hongjiu.lu@intel.com>
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.
300 2006-01-30  Nick Clifton  <nickc@redhat.com>
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.
306 2006-01-26  Nick Clifton  <nickc@redhat.com>
308         * po/vi.po: New Vietnamese translation.
309         * configure.in (ALL_LINGUAS): Add vi.
310         * configure: Regenerate.
312 2006-01-18  Alexandre Oliva  <aoliva@redhat.com>
314         Introduce TLS descriptors for i386 and x86_64.
315         * readelf.c (get_dynamic_type): Handle DT_TLSDESC_GOT and
316         DT_TLSDESC_PLT.
318 2006-01-18  Nick Clifton  <nickc@redhat.com>
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.
327 2006-01-17  Andreas Schwab  <schwab@suse.de>
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.
341 2006-01-11  Alan Modra  <amodra@bigpond.net.au>
343         * objcopy.c (copy_object): Fix thinko.
345         * objcopy.c (copy_object): Set isympp and osympp to NULL after free.
347 2006-01-09  Mike Frysinger  <vapier@gentoo.org>:
349         * readelf.c (guess_is_rela): Add case for Nios/Nios II.
350         (get_machine_name): Likewise.
352 For older changes see ChangeLog-2005
354 Local Variables:
355 mode: change-log
356 left-margin: 8
357 fill-column: 74
358 version-control: never
359 End: