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