3 * readelf.c (get_machine_flags): Handle EF_M68K_CPU32_FIDO_A.
7 MAINTAINERS (SH): Remove my entry.
11 * configure.in: Define GENINSRC_NEVER.
12 * doc/Makefile.am (MAINTAINERCLEANFILES): Add info file.
13 (DISTCLEANFILES): Pretend to add info file.
14 * po/Make-in (.po.gmo): Put gmo files in objdir.
15 * configure, Makefile.in, doc/Makefile.in: Regenerated.
19 * readelf.c: Update uses of EF_M68K_*.
23 * objdump.c (disassemble_section): Set info->symtab_pos.
24 (disassemble_data): Set info->symtab and info->symtab_size.
29 * configure.in (AC_CHECK_HEADERS): Add limits.h and sys/param.h.
30 * configure: Regenerated.
31 * config.in: Likewise.
33 * readelf.c: Include <limits.h> and <sys/param.h> for PATH_MAX.
34 (program_interpreter): Allocate PATH_MAX bytes instead of 64.
35 (process_program_headers): Don't assume that program interpreter
36 is shorter than 64 characters.
44 * readelf.c: Add SPU support.
45 * Makefile.am: Run "make dep-am".
46 * Makefile.in: Regenerate.
51 * configure.in: Check for the mkstemp and mkdtemp functions.
52 * configure: Regenerate.
53 * config.in (HAVE_MKDTEMP): New potential define.
54 (MAKE_MKSTEMP): Likewise.
55 * bucomm.c (make_tempname): Use mkstemp if it is available.
56 (make_tempdir): New function: Create a temporary directory using
57 mkdtemp, if it is available.
58 * bucomm.h (make_tempdir): New prototype.
59 * objcopy.c (copy_archive): Use make_tempdir if it is available.
60 (strip_main): Produce an warning message if a temporary file could
62 (copy_main): Likewise.
63 * ar.c (write_archive): Likewise.
67 * dwarf.c (display_debug_loc): Don't dereference loc_offsets when
68 there are no location lists.
69 (display_debug_ranges): Similar for range_lists.
73 * readelf.c (debug_apply_rela_addends): Don't ignore relocation
74 against symbols without type.
78 * nlmconv.c (main) : Use LITMEMCPY.
79 * prdbg.c (tg_class_static_member) : Use LITSTRCPY.
84 * strings.c (main): Handle "-T format".
88 * MAINTAINERS: Add Mei Ligang as maintainer of the Score port.
92 * configure.in: Remove broken changequote lines.
96 * configure.in: Add new target x86_64-pc-mingw64.
97 * configure: Regenerate.
98 * dlltool.c: Adjust include for this target.
99 (DLLTOOL_MX86_64): Added macro to handle target specific code.
100 (mname): Added default target static as "i386:x86-64".
101 (MX86): Added macro for target ident.
102 (mtable): Added target specific definitions.
103 (rvaafter): Add handling of MX86.
104 (rvabefore): Add handling of MX86.
105 (asmprefix): Add handling of MX86.
109 * readelf.c: Add support for Score binaries.
110 * Makefile.am: Update readelf's dependencies.
111 * Makefile.in: Regenerate.
116 * ar.c: Make use of new STRING_COMMA_LEN and CONST_STRNEQ
117 macros defined in bfd.h.
118 * dlltool.c: Likewise.
119 * emul_aix.c: Likewise.
120 * nlmconv.c: Likewise.
121 * objdump.c: Likewise.
124 * readelf.c (const_strneq): New macro.
125 (process_section_headers, slurp_ia64_unwind_table,
126 slurp_hppa_unwind_table, display_debug_section, process_notes,
127 process_archive): Use the new macro.
132 * objcopy.c (group_signature): Return proper group signature.
137 * objcopy.c (group_signature): New function, split out from..
138 (setup_section): ..here.
139 (is_strip_section): Return true for SHT_GROUP sections that are
140 going to lose their group signature symbol.
145 * objcopy.c (copy_object): Load symbols earlier.
146 (setup_section): Mark group signature symbols with BSF_KEEP.
151 * objcopy.c (copy_archive): Add new parameter:
152 force_output_target. If not true, then perserve the file formats
153 of each copied archive element, otherwise force them to be one
154 specific file format.
155 (copy_file): Compute force_output_target parameter to pass to
161 * objcopy.c (is_strip_section): Do not treat group sections as
163 * doc/binutils.texi (--only-keep-debug): Document that this switch
164 is only intended for use on fully linked files.
169 * readelf.c (dump_relocations): Check for a NULL value in rtype
174 * configure.in: Split arm-pe and arm-wince-pe. Build dlltool
175 with -DDLLTOOL_ARM_WINCE for Windows CE case.
176 * configure: Regenerate.
177 * dlltool.c: Add support for arm-wince.
182 * wrstabs.c (stab_tag_type): Initialize 'size'.
187 * doc/Makefile.am: Use single quotes inside backquotes for
188 date command while generating config.texi.
189 * doc/Makefile.in: Regenerate.
194 * dwarf.c (display_debug_aranges): When the address size is
195 greater than 4 display addresses and lengths as 16 hex digits,
196 otherwise use 8 hex digits.
201 * addr2line.c (process_file): Change function from void to
202 returning an int. Return 0 upon success, 1 otherwise.
203 (main): Use return value from process_file as the exit value.
204 * ar.c (ranlib_only): Change function from void to returning an
205 int. Return 0 upon success, 1 otherwise.
206 (ranlib_touch): Likewise.
207 (main): Use return value from ranlib functions as exit value.
208 * objcopy.c (add_specific_symbol): Set status to 1 if get_file_size
210 (copy_file): Likewise.
211 (strip_main): Likewise.
212 (copy_main): Likewise.
213 * objdump.c (display_file): Set exit_status to 1 if get_file_size
215 * size.c (display_file): Set return_code to 1 if get_file_size
221 * readelf.c (dump_relocations): Handle MIPS-specific
222 SHN_MIPS_SCOMMON and SHN_MIPS_SUNDEFINED.
223 (get_symbol_index_type): Similarly.
227 * doc/binutils.texinfo: Fix spelling mistakes.
231 * readelf.c (get_dynamic_type): Handle DT_GNU_HASH.
232 (get_section_type_name): Handle SHT_GNU_HASH.
233 (dynamic_info_DT_GNU_HASH): New variable.
234 (process_dynamic_section): Handle DT_GNU_HASH.
235 (process_symbol_table): Print also DT_GNU_HASH histogram.
240 * doc/binutils.texi (Strings): Document -T shorthand for --target
242 * strings.c: Update comment to include -T option.
245 * doc/binutils.texi (readelf): Fix spelling typo.
249 * dwarf.c (display_debug_frames): Catch a corrupt length field
250 generating an end of block address that is beyond the end of the
252 When encountering a corrupt CIE pointer do not reset the start
253 pointer as more data still has to be read.
254 Do not warn about user defined call frame instructions.
258 * readelf.c (process_section_headers): Add H8/300 support.
262 * objcopy.c (localize_hidden): New variable.
263 (OPTION_LOCALIZE_HIDDEN): New command_line_switch value.
264 (copy_options): Add --localize-hidden.
265 (copy_usage): Mention --localize-hidden.
266 (is_hidden_symbol): New function.
267 (filter_symbols): Handle localize_hidden.
268 (copy_object): Call filter_symbols if localize_hidden.
269 (copy_main): Handle OPTION_LOCALIZE_HIDDEN.
270 * doc/binutils.texi (--localize-hidden): Document new option.
274 * Makefile.am (ar_DEPENDENCIES, ranlib_DEPENDENCIES)
275 (dlltool_DEPENDENCIES, windres_DEPENDENCIES): Remove @LEXLIB@.
276 * Makefile.in: Regenerate.
280 * Makefile.am (*_DEPENDENCIES): Add missing dependencies.
281 * Makefile.in: Regenerate.
285 * po/Make-in (pdf, ps): New dummy targets.
289 * po/Make-in (top_builddir): Define.
293 * config.in: Regenerate.
297 * doc/Makefile.am (TEXI2DVI): Define.
298 * doc/Makefile.in: Regenerate.
302 * Makefile.am: Replace INTLLIBS with LIBINTL everywhere. Add
303 DEPENDENCIES variables for every program.
305 (INCLUDES): Use @INCINTL@.
306 * acinclude.m4: Include new gettext macros.
307 * configure.in: Use ZW_GNU_GETTEXT_SISTER_DIR and AM_PO_SUBDIRS.
308 Remove local code for po/Makefile.
309 * Makefile.in, configure, doc/Makefile.in: Regenerated.
313 * po/es.po: Updated Spanish translation.
317 * MAINTAINERS: Update my email address.
321 * po/fr.po: Updated French translation.
325 * po/vi.po: Updated Vietnamese translation.
329 * po/ru.po: Updated translation.
333 * doc/Makefile.am (addr2line.1): Depend on $(binutils_TEXINFOS).
335 (dlltool.1): Likewise.
336 (nlmconv.1): Likewise.
338 (objcopy.1): Likewise.
339 (objdump.1): Likewise.
340 (ranlib.1): Likewise.
341 (readelf.1): Likewise.
343 (strings.1): Likewise.
345 (windres.1): Likewise.
346 (cxxfilt.man): Likewise.
347 * doc/Makefile.in: Regenerated.
351 * doc/binutils.texi: Use "Binutils Index" for index name.
355 * dwarf.c (display_debug_frames): Don't return on ZERO
360 * doc/Makefile.am (AM_MAKEINFOFLAGS): New.
361 (TEXI2POD): Use AM_MAKEINFOFLAGS.
362 (config.texi): Don't set top_srcdir.
363 * doc/binutils.texi: Don't use top_srcdir.
364 * aclocal.m4, Makefile.in, doc/Makefile.in: Regenerated.
368 * readelf.c (arm_attr_tag_VFP_arch): Add VFPv3.
372 * Makefile.am: Run "make dep-am".
373 * Makefile.in: Regenerate.
377 * configure: Regenerate.
382 * readelf.c (SECTION_NAME): Cope with a missing string table.
383 (process_file_header): Cope with a corrupt e_shstrndx field.
384 (process_section_headers): Correctly handle an e_shstrndx value of
389 * objdump.c (objdump_symbol_at_address): Fix typo in comment.
393 * MAINTAINERS (CGEN Maintainers): Remove myself.
397 * po/Make-in: Add install-html target.
398 * Makefile.am: Add install-html and install-html-recursive targets.
399 * Makefile.in: Regenerate.
400 * configure.in: AC_SUBST datarootdir, docdir and htmldir.
401 * configure: Regenerate.
402 * doc/Makefile.am: Add install-html and install-html-am targets.
403 * doc/Makefile.in: Regenerate.
407 * addr2line.c (long_options): Add new option 'section'.
408 (usage): Document new -j/--section option.
409 (find_offset_in_section): New function.
410 (translate_addresses): Add 'section' parameter.
411 If it is non-null, call find_offset_in_section on it.
412 (process_file): Add 'section_name' parameter.
413 If it is non-null, look for the section in the BFD object.
414 Pass the section to translate_addresses.
415 (main): Handle new -j option.
416 Pass the section name to process_file.
417 * doc/binutils.texi (addr2line): Document new -j/--section option.
421 * resbin.c: Avoid duplicating constants in calls to reswr_alloc.
425 * BRANCHES: Remove binutils-csl-arm-2006q1-branch. Document
426 binutils-csl-2_17-branch instead.
430 * BRANCHES: Mention binutils-csl-arm-2006q1-branch.
435 * ieee.c (write_ieee_debugging_info): Adjust bfd_hash_table_init calls.
436 * wrstabs.c (write_stabs_in_sections_debugging_info): Likewise.
440 * bucomm.c (display_target_list): Make local variable `a' to be of
441 type enum bfd_architecture. Thus no need to cast enums to int.
442 (display_info_table): Likewise.
446 * readelf.c (decode_ARM_machine_flags): Handle EABIv5.
450 * dwarf.c (process_extended_line_op): Remove pointer_size param.
451 Use length instead to determine address size.
452 (get_pointer_size_and_offset_of_comp_unit): Delete.
453 (display_debug_lines): Adjust for above.
454 (display_debug_aranges): Don't stop on finding two zeros.
455 (display_debug_frames): For warning, print offset not pointer.
459 * dlltool.c: Update copyright year.
460 * doc/binutils.texi: Likewise.
464 * dlltool.c (add_stdcall_underscore): New flag.
465 (xlate): Also add underscore to stdcall symbol if
466 add_stdcall_underscore set.
467 (usage): Document --add-stdcall-underscore option.
468 (OPTION_ADD_STDCALL_UNDERSCORE): New define.
469 (long_options): Use it for --add-stdcall-underscore option.
471 * doc/binutils.texi: Document --add-stdcall-underscore option
472 and differentiate from --add-underscore.
476 * readelf.c (get_machine_flags): Adjust.
480 * dwarf.c (frame_display_row, display_debug_frames): Handle
481 DW_CFA_val_offset, DW_CFA_val_offset_sf and DW_CFA_val_expression.
485 * objcopy.c (use_alt_mach_code): Change type to unsigned long.
486 (copy_object): If bfd_alt_mach_code fails emit a more helpful
487 message and if the target architecture is ELF use the alternative
488 as replacement value for the e_machine number.
489 (copy_main): Use strtoul to parse the number provided with the
490 --alt-mach-code switch.
491 * doc/binutils.texi (--alt-mach-code): Document that this switch
492 can now set the absolute e_machine value.
496 * po/Make-in: Add html target.
500 * readelf.c (get_machine_flags): Add logic for missing EF_SH flags.
504 * config.in: Rebuilt.
509 * readelf.c (process_program_headers): Use
510 ELF_IS_SECTION_IN_SEGMENT_MEMORY.
514 * configure.in (CHECK_DECLS): Add snprintf and vsnprintf.
515 * configure: Regenerate.
516 * objdump.c (fprintf): Remove declaration.
517 * bucomm.h (fprintf): Declare if not already declared.
518 (snprintf): Likewise.
519 (vsnprintf): Likewise.
523 * readelf.c (process_program_headers): Match PT_TLS segment
524 only with SHT_TLS sections.
528 * readelf.c (get_machine_flags): Add logic for EF_M68K flags.
532 * readelf.c (process_program_headers): Undo the last change.
536 * readelf.c (process_program_headers): Undo the change made on
537 2004-09-22. Match PT_DYNAMIC segment only with SHT_DYNAMIC
542 * objcopy.c (copy_object): Catch the case where an attempt is made
543 to add a section that already exists and produce a more helpful
548 * po/vi.po: New Vietnamese translation.
549 * configure.in (ALL_LINGUAS): Add vi.
550 * configure: Regenerate.
554 Introduce TLS descriptors for i386 and x86_64.
555 * readelf.c (get_dynamic_type): Handle DT_TLSDESC_GOT and
561 * objcopy.c (copy_object): For PE format targets set the VMA of a
562 newly created gnu_debuglink section to a non-zero, aligned,
564 * Makefile.am (objcopy.c): Add a dependency upon libbfd.h.
565 * Makefile.in: Regenerate.
570 * configure.in: Don't define DISASSEMBLER_NEEDS_RELOCS.
571 * configure: Regenerate.
572 * objdump.c (struct objdump_disasm_info): Don't check for
573 DISASSEMBLER_NEEDS_RELOCS.
574 (objdump_print_addr): Likewise.
575 (disassemble_bytes): Check disassembler_needs_relocs from
576 disassemble_info at run-time instead of DISASSEMBLER_NEEDS_RELOCS
578 (disassemble_section): Likewise.
579 (disassemble_data): Initialize it.
583 * objcopy.c (copy_object): Fix thinko.
585 * objcopy.c (copy_object): Set isympp and osympp to NULL after free.
589 * readelf.c (guess_is_rela): Add case for Nios/Nios II.
590 (get_machine_name): Likewise.
592 For older changes see ChangeLog-2005
594 Copyright (C) 2006 Free Software Foundation, Inc.
596 Copying and distribution of this file, with or without modification,
597 are permitted in any medium without royalty provided the copyright
598 notice and this notice are preserved.
604 version-control: never