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