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