OSDN Git Service

23f0a81c2b4d391301c0b717860263048daceabe
[pf3gnuchains/pf3gnuchains3x.git] / binutils / ChangeLog
1 2006-09-16  Nick Clifton  <nickc@redhat.com>
2             Pedro Alves  <pedro_alves@portugalmail.pt>
3
4         * ar.c: Make use of new STRING_COMMA_LEN and CONST_STRNEQ
5         macros defined in bfd.h.
6         * dlltool.c: Likewise.
7         * emul_aix.c: Likewise.
8         * nlmconv.c: Likewise.
9         * objdump.c: Likewise.
10         * prdbg.c: Likewise.
11         * stabs.c: Likewise.
12         * readelf.c (const_strneq): New macro.
13         (process_section_headers, slurp_ia64_unwind_table,
14         slurp_hppa_unwind_table, display_debug_section, process_notes,
15         process_archive): Use the new macro.
16
17 2006-09-14  H.J. Lu  <hongjiu.lu@intel.com>
18
19         PR binutils/3181
20         * objcopy.c (group_signature): Return proper group signature.
21
22 2006-09-14  Alan Modra  <amodra@bigpond.net.au>
23
24         PR 3181
25         * objcopy.c (group_signature): New function, split out from..
26         (setup_section): ..here.
27         (is_strip_section): Return true for SHT_GROUP sections that are
28         going to lose their group signature symbol.
29
30 2006-09-14  Alan Modra  <amodra@bigpond.net.au>
31
32         PR 3181
33         * objcopy.c (copy_object): Load symbols earlier.
34         (setup_section): Mark group signature symbols with BSF_KEEP.
35
36 2006-09-09  Nick Clifton  <nickc@redhat.com>
37
38         PR binutils/3110
39         * objcopy.c (copy_archive): Add new parameter:
40         force_output_target.  If not true, then perserve the file formats
41         of each copied archive element, otherwise force them to be one
42         specific file format.
43         (copy_file): Compute force_output_target parameter to pass to
44         copy_archive. 
45
46 2006-09-05  Nick Clifton  <nickc@redhat.com>
47
48         PR binutils/3166
49         * objcopy.c (is_strip_section): Do not treat group sections as
50         debugging sections.
51         * doc/binutils.texi (--only-keep-debug): Document that this switch
52         is only intended for use on fully linked files.
53
54 2006-09-01  Nick Clifton  <nickc@redhat.com>
55
56         PR binutils/3146
57         * readelf.c (dump_relocations): Check for a NULL value in rtype
58         before using it.
59
60 2006-08-21  Pedro Alves  <pedro_alves@portugalmail.pt>
61
62         * configure.in: Split arm-pe and arm-wince-pe. Build dlltool
63         with -DDLLTOOL_ARM_WINCE for Windows CE case.
64         * configure: Regenerate.
65         * dlltool.c: Add support for arm-wince.
66
67 2006-08-15  Nick Clifton  <nickc@redhat.com>
68
69         PR binutils/3039
70         * wrstabs.c (stab_tag_type): Initialize 'size'.
71
72 2006-08-10  J"orn Rennecke  <joern.rennecke@st.com>
73
74         PR binutils/3017
75         * doc/Makefile.am: Use single quotes inside backquotes for
76         date command while generating config.texi.
77         * doc/Makefile.in: Regenerate.
78
79 2006-08-08  Nick Clifton  <nickc@redhat.com>
80
81         PR binutils/2768
82         * dwarf.c (display_debug_aranges): When the address size is
83         greater than 4 display addresses and lengths as 16 hex digits,
84         otherwise use 8 hex digits.
85
86 2006-08-06  Nick Clifton  <nickc@redhat.com>
87
88         PR binutils/3001
89         * addr2line.c (process_file): Change function from void to
90         returning an int.  Return 0 upon success, 1 otherwise.
91         (main): Use return value from process_file as the exit value.
92         * ar.c (ranlib_only):  Change function from void to returning an
93         int.  Return 0 upon success, 1 otherwise.
94         (ranlib_touch): Likewise.
95         (main): Use return value from ranlib functions as exit value.
96         * objcopy.c (add_specific_symbol): Set status to 1 if get_file_size
97         fails.
98         (copy_file): Likewise.
99         (strip_main): Likewise.
100         (copy_main): Likewise.
101         * objdump.c (display_file): Set exit_status to 1 if get_file_size
102         fails.
103         * size.c (display_file): Set return_code to 1 if get_file_size
104         fails.
105
106 2006-08-02  Thiemo Seufer  <ths@mips.com>
107             Nigel Stephens  <nigel@mips.com>
108
109         * readelf.c (dump_relocations): Handle MIPS-specific
110         SHN_MIPS_SCOMMON and SHN_MIPS_SUNDEFINED. 
111         (get_symbol_index_type): Similarly.
112
113 2006-07-24  Ralk Wildenhues  <Ralf.Wildenhues@gmx.de>
114
115         * doc/binutils.texinfo: Fix spelling mistakes.
116
117 2006-07-10  Jakub Jelinek  <jakub@redhat.com>
118
119         * readelf.c (get_dynamic_type): Handle DT_GNU_HASH.
120         (get_section_type_name): Handle SHT_GNU_HASH.
121         (dynamic_info_DT_GNU_HASH): New variable.
122         (process_dynamic_section): Handle DT_GNU_HASH.
123         (process_symbol_table): Print also DT_GNU_HASH histogram.
124
125 2006-07-06  Mohammed Adnène Trojette  <adn@diwi.org>
126
127         PR binutils/2879
128         * doc/binutils.texi (Strings): Document -T shorthand for --target
129         switch.
130         * strings.c: Update comment to include -T option.
131
132         PR binutils/2875
133         * doc/binutils.texi (readelf): Fix spelling typo.
134
135 2006-06-30  Nick Clifton  <nickc@redhat.com>
136
137         * dwarf.c (display_debug_frames): Catch a corrupt length field
138         generating an end of block address that is beyond the end of the
139         section.
140         When encountering a corrupt CIE pointer do not reset the start
141         pointer as more data still has to be read.
142         Do not warn about user defined call frame instructions.
143
144 2006-06-29  DJ Delorie  <dj@redhat.com>
145
146         * readelf.c (process_section_headers): Add H8/300 support.
147
148 2006-06-23  Richard Sandiford  <richard@codesourcery.com>
149
150         * objcopy.c (localize_hidden): New variable.
151         (OPTION_LOCALIZE_HIDDEN): New command_line_switch value.
152         (copy_options): Add --localize-hidden.
153         (copy_usage): Mention --localize-hidden.
154         (is_hidden_symbol): New function.
155         (filter_symbols): Handle localize_hidden.
156         (copy_object): Call filter_symbols if localize_hidden.
157         (copy_main): Handle OPTION_LOCALIZE_HIDDEN.
158         * doc/binutils.texi (--localize-hidden): Document new option.
159
160 2006-06-23  Daniel Jacobowitz  <dan@codesourcery.com>
161
162         * Makefile.am (ar_DEPENDENCIES, ranlib_DEPENDENCIES)
163         (dlltool_DEPENDENCIES, windres_DEPENDENCIES): Remove @LEXLIB@.
164         * Makefile.in: Regenerate.
165
166 2006-06-23  Alan Modra  <amodra@bigpond.net.au>
167
168         * Makefile.am (*_DEPENDENCIES): Add missing dependencies.
169         * Makefile.in: Regenerate.
170
171 2006-06-07  Joseph S. Myers  <joseph@codesourcery.com>
172
173         * po/Make-in (pdf, ps): New dummy targets.
174
175 2006-06-05  Daniel Jacobowitz  <dan@codesourcery.com>
176
177         * po/Make-in (top_builddir): Define.
178
179 2006-06-05  Alan Modra  <amodra@bigpond.net.au>
180
181         * config.in: Regenerate.
182
183 2006-06-02  Joseph S. Myers  <joseph@codesourcery.com>
184
185         * doc/Makefile.am (TEXI2DVI): Define.
186         * doc/Makefile.in: Regenerate.
187
188 2006-05-31  Daniel Jacobowitz  <dan@codesourcery.com>
189
190         * Makefile.am: Replace INTLLIBS with LIBINTL everywhere.  Add
191         DEPENDENCIES variables for every program.
192         (INTLLIBS): Remove.
193         (INCLUDES): Use @INCINTL@.
194         * acinclude.m4: Include new gettext macros.
195         * configure.in: Use ZW_GNU_GETTEXT_SISTER_DIR and AM_PO_SUBDIRS.
196         Remove local code for po/Makefile.
197         * Makefile.in, configure, doc/Makefile.in: Regenerated.
198
199 2006-05-30  Nick Clifton  <nickc@redhat.com>
200
201         * po/es.po: Updated Spanish translation.
202
203 2006-05-25  J"orn Rennecke <joern.rennecke@st.com>
204
205         * MAINTAINERS: Update my email address.
206
207 2006-05-24  Nick Clifton  <nickc@redhat.com>
208
209         * po/fr.po: Updated French translation.
210
211 2006-05-23  Nick Clifton  <nickc@redhat.com>
212
213         * po/vi.po: Updated Vietnamese translation.
214
215 2006-05-22  Daniel Jacobowitz  <dan@codesourcery.com>
216
217         * po/ru.po: Updated translation.
218
219 2006-05-19  Andreas Schwab  <schwab@suse.de>
220
221         * doc/Makefile.am (addr2line.1): Depend on $(binutils_TEXINFOS).
222         (ar.1): Likewise.
223         (dlltool.1): Likewise.
224         (nlmconv.1): Likewise.
225         (nm.1): Likewise.
226         (objcopy.1): Likewise.
227         (objdump.1): Likewise.
228         (ranlib.1): Likewise.
229         (readelf.1): Likewise.
230         (size.1): Likewise.
231         (strings.1): Likewise.
232         (strip.1): Likewise.
233         (windres.1): Likewise.
234         (cxxfilt.man): Likewise.
235         * doc/Makefile.in: Regenerated.
236
237 2006-05-17  Carlos O'Donell  <carlos@codesourcery.com>
238
239         * doc/binutils.texi: Use "Binutils Index" for index name.
240
241 2006-05-15  H.J. Lu  <hongjiu.lu@intel.com>
242
243         * dwarf.c (display_debug_frames): Don't return on ZERO
244         terminator.
245
246 2006-05-02  Daniel Jacobowitz  <dan@codesourcery.com>
247
248         * doc/Makefile.am (AM_MAKEINFOFLAGS): New.
249         (TEXI2POD): Use AM_MAKEINFOFLAGS.
250         (config.texi): Don't set top_srcdir.
251         * doc/binutils.texi: Don't use top_srcdir.
252         * aclocal.m4, Makefile.in, doc/Makefile.in: Regenerated.
253
254 2006-04-26  Julian Brown  <julian@codesourcery.com>
255
256         * readelf.c (arm_attr_tag_VFP_arch): Add VFPv3.
257
258 2006-04-19  Alan Modra  <amodra@bigpond.net.au>
259
260         * Makefile.am: Run "make dep-am".
261         * Makefile.in: Regenerate.
262
263 2006-04-19  Alan Modra  <amodra@bigpond.net.au>
264
265         * configure: Regenerate.
266
267 2006-04-18  Nick Clifton  <nickc@redhat.com>
268
269         PR 2257
270         * readelf.c (SECTION_NAME): Cope with a missing string table.
271         (process_file_header): Cope with a corrupt e_shstrndx field.
272         (process_section_headers): Correctly handle an e_shstrndx value of
273         SHF_UNDEF.
274
275 2006-04-12  Nick Clifton  <nickc@redhat.com>
276
277         * objdump.c (objdump_symbol_at_address): Fix typo in comment.
278
279 2006-04-10  Ben Elliston  <bje@gnu.org>
280
281         * MAINTAINERS (CGEN Maintainers): Remove myself.
282
283 2006-04-06  Carlos O'Donell  <carlos@codesourcery.com>
284
285         * po/Make-in: Add install-html target.
286         * Makefile.am: Add install-html and install-html-recursive targets.
287         * Makefile.in: Regenerate.
288         * configure.in: AC_SUBST datarootdir, docdir and htmldir.
289         * configure: Regenerate.
290         * doc/Makefile.am: Add install-html and install-html-am targets.
291         * doc/Makefile.in: Regenerate.
292
293 2006-04-05  Eric Botcazou  <ebotcazou@adacore.com>
294
295         * addr2line.c (long_options): Add new option 'section'.
296         (usage): Document new -j/--section option.
297         (find_offset_in_section): New function.
298         (translate_addresses): Add 'section' parameter.
299         If it is non-null, call find_offset_in_section on it.
300         (process_file): Add 'section_name' parameter.
301         If it is non-null, look for the section in the BFD object.
302         Pass the section to translate_addresses.
303         (main): Handle new -j option.
304         Pass the section name to process_file.
305         * doc/binutils.texi (addr2line): Document new -j/--section option.
306
307 2006-03-29  Ben Elliston  <bje@au.ibm.com>
308
309         * resbin.c: Avoid duplicating constants in calls to reswr_alloc.
310
311 2006-03-20  Nathan Sidwell  <nathan@codesourcery.com>
312
313         * BRANCHES: Remove binutils-csl-arm-2006q1-branch.  Document
314         binutils-csl-2_17-branch instead.
315
316 2006-03-20  Paul Brook  <paul@codesourcery.com>
317
318         * BRANCHES: Mention binutils-csl-arm-2006q1-branch.
319
320 2006-03-16  Alan Modra  <amodra@bigpond.net.au>
321
322         PR 2434
323         * ieee.c (write_ieee_debugging_info): Adjust bfd_hash_table_init calls.
324         * wrstabs.c (write_stabs_in_sections_debugging_info): Likewise.
325
326 2006-03-13  Ben Elliston  <bje@au.ibm.com>
327
328         * bucomm.c (display_target_list): Make local variable `a' to be of
329         type enum bfd_architecture.  Thus no need to cast enums to int.
330         (display_info_table): Likewise.
331
332 2006-03-10  Paul Brook  <paul@codesourcery.com>
333
334         * readelf.c (decode_ARM_machine_flags):  Handle EABIv5.
335
336 2006-03-10  Alan Modra  <amodra@bigpond.net.au>
337
338         * dwarf.c (process_extended_line_op): Remove pointer_size param.
339         Use length instead to determine address size.
340         (get_pointer_size_and_offset_of_comp_unit): Delete.
341         (display_debug_lines): Adjust for above.
342         (display_debug_aranges): Don't stop on finding two zeros.
343         (display_debug_frames): For warning, print offset not pointer.
344
345 2006-03-09  Danny Smith  <dannysmith@users.sourceforge.net>
346
347         * dlltool.c: Update copyright year.
348         * doc/binutils.texi: Likewise.
349
350 2006-03-09  Danny Smith  <dannysmith@users.sourceforge.net>
351
352         * dlltool.c (add_stdcall_underscore): New flag.
353         (xlate): Also add underscore to stdcall symbol if
354         add_stdcall_underscore set.
355         (usage): Document --add-stdcall-underscore option.
356         (OPTION_ADD_STDCALL_UNDERSCORE): New define.
357         (long_options): Use it for --add-stdcall-underscore option.
358         (main): Handle it.
359         * doc/binutils.texi: Document --add-stdcall-underscore option
360         and differentiate from --add-underscore.
361
362 2006-03-06  Nathan Sidwell  <nathan@codesourcery.com>
363
364         * readelf.c (get_machine_flags): Adjust.
365
366 2006-03-03  Jakub Jelinek  <jakub@redhat.com>
367
368         * dwarf.c (frame_display_row, display_debug_frames): Handle
369         DW_CFA_val_offset, DW_CFA_val_offset_sf and DW_CFA_val_expression.
370
371 2006-02-28  Nick Clifton  <nickc@redhat.com>
372
373         * objcopy.c (use_alt_mach_code): Change type to unsigned long.
374         (copy_object):  If bfd_alt_mach_code fails emit a more helpful
375         message and if the target architecture is ELF use the alternative
376         as replacement value for the e_machine number.
377         (copy_main): Use strtoul to parse the number provided with the
378         --alt-mach-code switch.
379         * doc/binutils.texi (--alt-mach-code): Document that this switch
380         can now set the absolute e_machine value.
381
382 2006-02-27  Carlos O'Donell  <carlos@codesourcery.com>
383
384         * po/Make-in: Add html target.
385
386 2006-02-17  Nick Hudson  <nick.hudson@dsl.pipex.com>
387
388         * readelf.c (get_machine_flags): Add logic for missing EF_SH flags.
389
390 2006-02-14  Jakub Jelinek  <jakub@redhat.com>
391
392         * config.in: Rebuilt.
393
394 2006-02-10  H.J. Lu  <hongjiu.lu@intel.com>
395
396         PR binutils/2258
397         * readelf.c (process_program_headers): Use
398         ELF_IS_SECTION_IN_SEGMENT_MEMORY.
399
400 2006-02-09  Eric Botcazou  <ebotcazou@libertysurf.fr>
401
402         * configure.in (CHECK_DECLS): Add snprintf and vsnprintf.
403         * configure: Regenerate.
404         * objdump.c (fprintf): Remove declaration.
405         * bucomm.h (fprintf): Declare if not already declared.
406         (snprintf): Likewise.
407         (vsnprintf): Likewise.
408
409 2006-02-08  H.J. Lu  <hongjiu.lu@intel.com>
410
411         * readelf.c (process_program_headers): Match PT_TLS segment
412         only with SHT_TLS sections.
413
414 2006-02-07  Nathan Sidwell  <nathan@codesourcery.com>
415
416         * readelf.c (get_machine_flags): Add logic for EF_M68K flags.
417
418 2006-02-02  H.J. Lu  <hongjiu.lu@intel.com>
419
420         * readelf.c (process_program_headers): Undo the last change.
421
422 2006-02-02  H.J. Lu  <hongjiu.lu@intel.com>
423
424         * readelf.c (process_program_headers): Undo the change made on
425         2004-09-22.  Match PT_DYNAMIC segment only with SHT_DYNAMIC
426         sections.
427
428 2006-01-30  Nick Clifton  <nickc@redhat.com>
429
430         * objcopy.c (copy_object): Catch the case where an attempt is made
431         to add a section that already exists and produce a more helpful
432         warning message.
433
434 2006-01-26  Nick Clifton  <nickc@redhat.com>
435
436         * po/vi.po: New Vietnamese translation.
437         * configure.in (ALL_LINGUAS): Add vi.
438         * configure: Regenerate.
439
440 2006-01-18  Alexandre Oliva  <aoliva@redhat.com>
441
442         Introduce TLS descriptors for i386 and x86_64.
443         * readelf.c (get_dynamic_type): Handle DT_TLSDESC_GOT and
444         DT_TLSDESC_PLT.
445
446 2006-01-18  Nick Clifton  <nickc@redhat.com>
447
448         PR binutils/1391
449         * objcopy.c (copy_object): For PE format targets set the VMA of a
450         newly created gnu_debuglink section to a non-zero, aligned,
451         contiguous value.
452         * Makefile.am (objcopy.c): Add a dependency upon libbfd.h.
453         * Makefile.in: Regenerate.
454
455 2006-01-17  Andreas Schwab  <schwab@suse.de>
456
457         PR binutils/1486
458         * configure.in: Don't define DISASSEMBLER_NEEDS_RELOCS.
459         * configure: Regenerate.
460         * objdump.c (struct objdump_disasm_info): Don't check for
461         DISASSEMBLER_NEEDS_RELOCS.
462         (objdump_print_addr): Likewise.
463         (disassemble_bytes): Check disassembler_needs_relocs from
464         disassemble_info at run-time instead of DISASSEMBLER_NEEDS_RELOCS
465         at compile-time.
466         (disassemble_section): Likewise.
467         (disassemble_data): Initialize it.
468
469 2006-01-11  Alan Modra  <amodra@bigpond.net.au>
470
471         * objcopy.c (copy_object): Fix thinko.
472
473         * objcopy.c (copy_object): Set isympp and osympp to NULL after free.
474
475 2006-01-09  Mike Frysinger  <vapier@gentoo.org>:
476
477         * readelf.c (guess_is_rela): Add case for Nios/Nios II.
478         (get_machine_name): Likewise.
479
480 For older changes see ChangeLog-2005
481 \f
482 Local Variables:
483 mode: change-log
484 left-margin: 8
485 fill-column: 74
486 version-control: never
487 End: