PR 2257
[platform/upstream/binutils.git] / binutils / ChangeLog
1 2006-04-18  Nick Clifton  <nickc@redhat.com>
2
3         PR 2257
4         * readelf.c (SECTION_NAME): Cope with a missing string table.
5         (process_file_header): Cope with a corrupt e_shstrndx field.
6         (process_section_headers): Correctly handle an e_shstrndx value of
7         SHF_UNDEF.
8
9 2006-04-12  Nick Clifton  <nickc@redhat.com>
10
11         * objdump.c (objdump_symbol_at_address): Fix typo in comment.
12
13 2006-04-10  Ben Elliston  <bje@gnu.org>
14
15         * MAINTAINERS (CGEN Maintainers): Remove myself.
16
17 2006-04-06  Carlos O'Donell  <carlos@codesourcery.com>
18
19         * po/Make-in: Add install-html target.
20         * Makefile.am: Add install-html and install-html-recursive targets.
21         * Makefile.in: Regenerate.
22         * configure.in: AC_SUBST datarootdir, docdir and htmldir.
23         * configure: Regenerate.
24         * doc/Makefile.am: Add install-html and install-html-am targets.
25         * doc/Makefile.in: Regenerate.
26
27 2006-04-05  Eric Botcazou  <ebotcazou@adacore.com>
28
29         * addr2line.c (long_options): Add new option 'section'.
30         (usage): Document new -j/--section option.
31         (find_offset_in_section): New function.
32         (translate_addresses): Add 'section' parameter.
33         If it is non-null, call find_offset_in_section on it.
34         (process_file): Add 'section_name' parameter.
35         If it is non-null, look for the section in the BFD object.
36         Pass the section to translate_addresses.
37         (main): Handle new -j option.
38         Pass the section name to process_file.
39         * doc/binutils.texi (addr2line): Document new -j/--section option.
40
41 2006-03-29  Ben Elliston  <bje@au.ibm.com>
42
43         * resbin.c: Avoid duplicating constants in calls to reswr_alloc.
44
45 2006-03-20  Nathan Sidwell  <nathan@codesourcery.com>
46
47         * BRANCHES: Remove binutils-csl-arm-2006q1-branch.  Document
48         binutils-csl-2_17-branch instead.
49
50 2006-03-20  Paul Brook  <paul@codesourcery.com>
51
52         * BRANCHES: Mention binutils-csl-arm-2006q1-branch.
53
54 2006-03-16  Alan Modra  <amodra@bigpond.net.au>
55
56         PR 2434
57         * ieee.c (write_ieee_debugging_info): Adjust bfd_hash_table_init calls.
58         * wrstabs.c (write_stabs_in_sections_debugging_info): Likewise.
59
60 2006-03-13  Ben Elliston  <bje@au.ibm.com>
61
62         * bucomm.c (display_target_list): Make local variable `a' to be of
63         type enum bfd_architecture.  Thus no need to cast enums to int.
64         (display_info_table): Likewise.
65
66 2006-03-10  Paul Brook  <paul@codesourcery.com>
67
68         * readelf.c (decode_ARM_machine_flags):  Handle EABIv5.
69
70 2006-03-10  Alan Modra  <amodra@bigpond.net.au>
71
72         * dwarf.c (process_extended_line_op): Remove pointer_size param.
73         Use length instead to determine address size.
74         (get_pointer_size_and_offset_of_comp_unit): Delete.
75         (display_debug_lines): Adjust for above.
76         (display_debug_aranges): Don't stop on finding two zeros.
77         (display_debug_frames): For warning, print offset not pointer.
78
79 2006-03-09  Danny Smith  <dannysmith@users.sourceforge.net>
80
81         * dlltool.c: Update copyright year.
82         * doc/binutils.texi: Likewise.
83
84 2006-03-09  Danny Smith  <dannysmith@users.sourceforge.net>
85
86         * dlltool.c (add_stdcall_underscore): New flag.
87         (xlate): Also add underscore to stdcall symbol if
88         add_stdcall_underscore set.
89         (usage): Document --add-stdcall-underscore option.
90         (OPTION_ADD_STDCALL_UNDERSCORE): New define.
91         (long_options): Use it for --add-stdcall-underscore option.
92         (main): Handle it.
93         * doc/binutils.texi: Document --add-stdcall-underscore option
94         and differentiate from --add-underscore.
95
96 2006-03-06  Nathan Sidwell  <nathan@codesourcery.com>
97
98         * readelf.c (get_machine_flags): Adjust.
99
100 2006-03-03  Jakub Jelinek  <jakub@redhat.com>
101
102         * dwarf.c (frame_display_row, display_debug_frames): Handle
103         DW_CFA_val_offset, DW_CFA_val_offset_sf and DW_CFA_val_expression.
104
105 2006-02-28  Nick Clifton  <nickc@redhat.com>
106
107         * objcopy.c (use_alt_mach_code): Change type to unsigned long.
108         (copy_object):  If bfd_alt_mach_code fails emit a more helpful
109         message and if the target architecture is ELF use the alternative
110         as replacement value for the e_machine number.
111         (copy_main): Use strtoul to parse the number provided with the
112         --alt-mach-code switch.
113         * doc/binutils.texi (--alt-mach-code): Document that this switch
114         can now set the absolute e_machine value.
115
116 2006-02-27  Carlos O'Donell  <carlos@codesourcery.com>
117
118         * po/Make-in: Add html target.
119
120 2006-02-17  Nick Hudson  <nick.hudson@dsl.pipex.com>
121
122         * readelf.c (get_machine_flags): Add logic for missing EF_SH flags.
123
124 2006-02-14  Jakub Jelinek  <jakub@redhat.com>
125
126         * config.in: Rebuilt.
127
128 2006-02-10  H.J. Lu  <hongjiu.lu@intel.com>
129
130         PR binutils/2258
131         * readelf.c (process_program_headers): Use
132         ELF_IS_SECTION_IN_SEGMENT_MEMORY.
133
134 2006-02-09  Eric Botcazou  <ebotcazou@libertysurf.fr>
135
136         * configure.in (CHECK_DECLS): Add snprintf and vsnprintf.
137         * configure: Regenerate.
138         * objdump.c (fprintf): Remove declaration.
139         * bucomm.h (fprintf): Declare if not already declared.
140         (snprintf): Likewise.
141         (vsnprintf): Likewise.
142
143 2006-02-08  H.J. Lu  <hongjiu.lu@intel.com>
144
145         * readelf.c (process_program_headers): Match PT_TLS segment
146         only with SHT_TLS sections.
147
148 2006-02-07  Nathan Sidwell  <nathan@codesourcery.com>
149
150         * readelf.c (get_machine_flags): Add logic for EF_M68K flags.
151
152 2006-02-02  H.J. Lu  <hongjiu.lu@intel.com>
153
154         * readelf.c (process_program_headers): Undo the last change.
155
156 2006-02-02  H.J. Lu  <hongjiu.lu@intel.com>
157
158         * readelf.c (process_program_headers): Undo the change made on
159         2004-09-22.  Match PT_DYNAMIC segment only with SHT_DYNAMIC
160         sections.
161
162 2006-01-30  Nick Clifton  <nickc@redhat.com>
163
164         * objcopy.c (copy_object): Catch the case where an attempt is made
165         to add a section that already exists and produce a more helpful
166         warning message.
167
168 2006-01-26  Nick Clifton  <nickc@redhat.com>
169
170         * po/vi.po: New Vietnamese translation.
171         * configure.in (ALL_LINGUAS): Add vi.
172         * configure: Regenerate.
173
174 2006-01-18  Alexandre Oliva  <aoliva@redhat.com>
175
176         Introduce TLS descriptors for i386 and x86_64.
177         * readelf.c (get_dynamic_type): Handle DT_TLSDESC_GOT and
178         DT_TLSDESC_PLT.
179
180 2006-01-18  Nick Clifton  <nickc@redhat.com>
181
182         PR binutils/1391
183         * objcopy.c (copy_object): For PE format targets set the VMA of a
184         newly created gnu_debuglink section to a non-zero, aligned,
185         contiguous value.
186         * Makefile.am (objcopy.c): Add a dependency upon libbfd.h.
187         * Makefile.in: Regenerate.
188
189 2006-01-17  Andreas Schwab  <schwab@suse.de>
190
191         PR binutils/1486
192         * configure.in: Don't define DISASSEMBLER_NEEDS_RELOCS.
193         * configure: Regenerate.
194         * objdump.c (struct objdump_disasm_info): Don't check for
195         DISASSEMBLER_NEEDS_RELOCS.
196         (objdump_print_addr): Likewise.
197         (disassemble_bytes): Check disassembler_needs_relocs from
198         disassemble_info at run-time instead of DISASSEMBLER_NEEDS_RELOCS
199         at compile-time.
200         (disassemble_section): Likewise.
201         (disassemble_data): Initialize it.
202
203 2006-01-11  Alan Modra  <amodra@bigpond.net.au>
204
205         * objcopy.c (copy_object): Fix thinko.
206
207         * objcopy.c (copy_object): Set isympp and osympp to NULL after free.
208
209 2006-01-09  Mike Frysinger  <vapier@gentoo.org>:
210
211         * readelf.c (guess_is_rela): Add case for Nios/Nios II.
212         (get_machine_name): Likewise.
213
214 For older changes see ChangeLog-2005
215 \f
216 Local Variables:
217 mode: change-log
218 left-margin: 8
219 fill-column: 74
220 version-control: never
221 End: