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