OSDN Git Service

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