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