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