3 * aclocal.m4: Regenerated.
4 * doc/Makefile.in: Likewise.
5 * Makefile.in: Likewise.
9 * readelf.c (display_power_gnu_attribute, process_power_specific):
11 (process_arch_specific): Call process_power_specific.
15 * readelf.c (display_mips_gnu_attribute): New.
16 (process_mips_specific): Call process_attributes.
20 * readelf.c (display_gnu_attribute): New.
21 (process_arm_specific): Rearrange as process_attributes.
22 (process_arm_specific): Replace by wrapper of process_attributes.
26 * objcopy.c (setup_section): Don't reset ELF section type to
27 SHT_NOBITS when it is SHT_NOTE.
28 * doc/binutils.texi (objcopy, strip): Mention under --only-keep-debug.
32 * ar.c: Rename uses of bfd.next to bfd.archive_next throughout.
34 * binemul.c: Likewise.
35 * objcopy.c: Likewise.
36 * dlltool.c: Likewise.
41 * Makefile.am (windres_DEPENDENCIES, windmc_DEPENDENCIES): Move
42 dependency on $(LIBICONV) to ...
43 (windres_LDADD, windmc_LDADD) ... here.
44 * Makefile.in: Regenerate.
48 * embedspu.sh (relas): Correct sh_info parsing.
52 * objdump.c: Include sys/stat.h.
56 * Makefile.am: Add windmc tool.
57 * Makefile.in: Regenerate.
58 * configure.in: Add windmc tool.
59 * configure: Regenerate.
64 * doc/Makefile.am: Add windmc tool.
65 * doc/Makefile.in: Regenerate.
66 * doc/binutils.texi: Add windmc documentation.
67 * NEWS: Mention new tool.
71 * objdump.c: Include sys/mman.h
72 (print_file_list): Remove f, add map, mapsize, linemap, maxline,
73 last_line, first fields.
76 (print_file_open): Call slurp_file and index_file. Initialize new
78 (skip_to_line): Rename to print_line and write only single line.
80 (show_line): Change to new algorithm.
84 * resres.c (probe_binary): Fix test for badly formatted headers.
88 * rclex.c: (cpp_line): Add code_page pragma support.
89 * windres.c: (usage, long_options, main): Add new option
91 * winduni.c: (wind_default_codepage, wind_current_codepage): New.
92 (unicode_from_ascii, ascii_from_unicode): Use
93 wind_current_codepage as codepage parameter.
94 (unicode_print): Print 4 characters for hexadecimal values in
96 * winduni.h: (wind_default_codepage, wind_current_codepage):
98 * doc/binutils.texi: Document new option.
99 * NEWS: Mention new features of windres.
103 * embedspu.sh: Parse _SPUEAR_ symbol values as hex.
107 * Makefile.am (ACLOCAL_AMFLAGS): Add -I ../config -I ../bfd.
109 * acinclude.m4: Removed.
111 * Makefile.in: Regenerated.
112 * aclocal.m4: Likewise.
113 * configure: Likewise.
117 * dwarf.c (decode_location_expression): Add DW_OP_form_tls_address.
121 PR binutils/4356 binutils/591
122 * resrc.c (filename_need_quotes): New function.
123 (look_for_default): If filename_need_quotes is true then quote the
124 filename in the command line being created.
125 (read_rc_file): Likewise.
129 * doc/binutils.texi (objdump): Fix capitalisation of "PowerPC".
133 * Makefile.am: Add LIBICONV to windres.
134 * acinclude.m4: Added missing "lib-*.m4" and "lt*.m4" files.
135 * configure.in: Add AC_CHECK_HEADER for iconv.h and use AM_ICONV.
136 * config.in: Add ICONV defines.
137 * aclocal.m4: Regenerate.
138 * confugure: Regenerate.
139 * winduni.c: (local_iconv_map codepages, wind_language_t,
140 languages, unicode_is_valid_codepage, wind_find_language_by_id,
141 wind_find_language_by_codepage, wind_find_codepage_info,
142 unicode_from_codepage, codepage_from_unicode, iconv_onechar,
143 wind_iconv_cp, wind_MultiByteToWideChar wind_WideCharToMultiByte):
145 (ascii_from_unicode): Use codepage_from_unicode.
146 (ascii_from_unicode): Use unicode_from_codepage.
147 Use for cygwin windows API for unicode transformation.
148 * winduni.h: (CP_ACP, CP_UTF7, CP_UTF8, CP_OEM, CP_UTF16): New
150 (wind_language_t, local_iconv_map): New types.
151 (wind_find_language_by_id, wind_find_language_by_codepage,
152 unicode_is_valid_codepage, wind_find_codepage_info,
153 unicode_from_codepage, codepage_from_unicode): New
158 * embedspu.sh: Handle R_SPU_PPU* relocs with no symbol.
162 * objcopy.c (copy_object): Revert 2007-05-11 change. Don't
163 avoid calling bfd_copy_private_bfd_data for ELF STRIP_NONDEBUG.
164 (setup_section): Don't modify flags, and don't avoid calling
165 bfd_copy_private_section_data for ELF STRIP_NONDEBUG.
166 * readelf.c (process_program_headers): Ignore .dynamic of type
171 * embedspu.sh: Emit SPU ELF image to .data.rel.ro.speelf if
172 pic or pie and image needs relocs.
176 * Makefile.in: Regenerate.
177 * configure: Regenerate.
178 * aclocal.m4: Regenerate.
179 * doc/Makefile.in: Regenerate.
183 * rcparse.y: Join strings for elements having no side-effects in
188 * rclex.c: New file replacing rclex.l.
190 * windint.h: New file holding common structure and type
192 * Makefile.am: Added new header windint.h and exchanged rclex.l by
194 * Makefile.in: Regenerate.
195 * rcparse.y: Renamed some structures.
196 Use in internal representation always bfd_vma instead of long or
198 Removed from %union unused stringtable.
199 Added to %union suni structure for unicode strings.
200 Added new tokens for ANICURSOR, ANIICON, DLGINCLUDE,
201 DLGINIT, FONTDIR, HTML, MANIFEST, PLUGPLAY, VXD,
202 TOOLBAR, BUTTON, QUOTEDUNISTRING, and SIZEDUNISTRING.
203 Added support for these new rc file tokens.
204 * resbin.c: Rewrote using bfd and binary structures, and support
206 * rescoff.c: Likewise.
207 * resres.c: Likewise.
208 * resrc.c: Likewise. Dumps as RC are now recompilable.
209 * windres.c: As above. Using bfd for res and provide target
210 specific endianess support.
211 * windres.h: Use windint.h as include. Additionally removed K&R
213 * winduni.c: New printing and unichar support routines.
214 * winduni.h: Prototypes for new unichar helpers.
215 * windint.h: New file.
219 * objdump.c (find_symbol_for_address): Merge section and target
220 specific filtering code.
224 * doc/binutils.texi: Use @copying around the copyright notice.
228 * objdump.c (disassemble_bytes): Ignore disassembler_needs_relocs
229 for executables and shared libraries.
233 * objcopy.c (strip_main): Detect identical input and output file
235 (copy_main): Refactor tempname detection and use.
239 * objdump.c (load_debug_section): Select bias for DWARF debug
240 addresses based on the flavour of the bfd.
245 * objcopy.c (copy_object): Don't copy ELF program headers for
250 * embedspu.sh (find_prog): Prefer prog in same dir as embedspu
251 over one found on the users path.
252 (main): Generate .reloc for each R_SPU_PPU* reloc.
256 * prdbg.c (tg_variable): Adjust for changed demangler.
257 (tg_start_function): Likewise.
261 * bucumm.h: Split off host dependencies to..
263 Many files: Include sysdep.h. Remove duplicate headers and reorder.
264 * Makefile.am: Run "make dep-am".
265 * Makefile.in: Regenerate.
269 * srconv.c (walk_tree_type_1): Initialise dpt.dunno.
274 * objcopy.c (filter_symbols): Explicitly stripping a symbol
275 used in relocations is an error.
276 Retype 'keep' to bfd_boolean.
280 * Makefile.in: Regenerate.
281 * doc/Makefile.in: Regenerate.
287 * objcopy.c (reverse_bytes): New variable.
288 (command_line_switch, copy_main): Add OPTION_REVERSE_ENDIAN.
289 (copy_options, copy_usage): Add "reverse-bytes" entry.
290 (copy_section): Reverse bytes within output sections.
291 * doc/binutils.texi: Document new objcopy option.
295 * rclex.l: Allow underscores at the start of identifiers.
299 * budemang.c: Delete.
300 * budemang.h: Delete.
301 * addr2line.c (translate_addresses): Call bfd_demangle rather than
303 * nm.c (print_symname): Likewise.
304 * objdump.c (objdump_print_symname, dump_symbols): Likewise.
305 (dump_bfd): Likewise.
306 * prdbg.c (struct pr_handle <demangler>): Add int param.
307 (tg_variable, tg_start_function): Adjust demangler calls.
308 * Makefile.am: Remove mention of budemang.[ch]. Run "make dep-am".
309 * Makefile.in: Regenerate.
310 * po/POTFILES.in: Regenerate.
314 * Makefile.am: Add ACLOCAL_AMFLAGS.
315 * configure.in: Change macro call order.
316 * Makefile.in: Regenerate.
317 * configure: Regenerate.
321 * Makefile.am (TOOL_PROGS): Add objcopy.
322 * Makefile.in: Rebuilt.
327 * objcopy.c (copy_object): Don't stop when there are no
328 sections to be copied.
332 * NEWS: Mention disjoint histograms support in
337 * dwarf.c (process_debug_info): Do not require DW_AT_frame_base for
338 DW_TAG_inlined_subroutine.
342 * MAINTAINERS: Add myself as VAX and NetBSD support maintainer.
347 * nm.c (print_value): Cast bfd_vma to unsigned long to suit
353 * nm.c (value_format): Replace with value_format_32bit and
355 (set_radix): Update setting of value_format.
356 (set_print_width): New function. Compute the address size of a
357 given bfd and set the print_width global appropriately.
358 (display_archive): Use set_print_width.
359 (display_file): Likewise,
360 (print_object_filename_sysv): Update use of print_width.
361 (print_archive_member_sysv): Likewise.
362 (print_symbol_filename_posix): Likewise.
363 (print_sumbol_info_bfd, print_symbol_info_sysv): Likewise.
368 * doc/binutils.texi: Put the contents after the title page rather
369 than at the end of the document.
373 * readelf.c (slurp_rela_relocs): Add newline to end of error
375 (slurp_rel_relocs, request_dump, request_dump_byname,
376 process_program_headers, process_dynamic_section,
377 process_symbol_table, process_mips_specific, main): Likewise.
381 * MAINTAINERS: Update mailing list addresses. Add myself
386 * embedspu.sh: Correct toe_addr quoting.
390 * embedspu.sh: Combine "_EAR_" and "_EAR_*" patterns. Tighten
391 .toe section and .toe address checks. Use .reloc for _EAR*
392 symbols defined in non-BSS sections. Build table for _SPUEAR_
398 * readelf.c (debug_apply_rela_addends): Do nothing for SH.
402 * doc/binutils.texi: Include VERSION_PACKAGE when reporting
407 * dlltool.c (make_one_lib_file): Use pc-relative relocation
408 instead of an absolute relocation for x86_64-pc-mingw32 target.
412 * Makefile.am (REPORT_BUGS_TO): Removed.
413 (INCLUDES): Remove -DREPORT_BUGS_TO.
414 * Makefile.in: Regenerated.
416 * bucomm.c: Don't include bfdver.h.
417 * objdump.c: Likewise.
418 * version.c: Likewise.
420 * bucomm.h: Include bfdver.h.
422 * configure.in (--with-bugurl): Removed.
423 * configure: Regenerated.
425 * doc/Makefile.am (binutils_TEXINFOS): Removed.
426 (AM_MAKEINFOFLAGS): Add -I ../../bfd/doc.
427 (TEXI2DVI): Likewise.
428 (config.texi): Removed.
429 (MOSTLYCLEANFILES): Remove config.texi.
430 * doc/Makefile.in: Regenerated.
432 * doc/binutils.texi: Include bfdver.texi instead of
437 * readelf.c (dump_section): Also test for SHT_REL sections when
438 producing the warning about unapplied relocs.
442 * configure.in (REPORT_BUGS_TEXI): Define to Texinfo version of
444 * doc/Makefile.am (config.texi): Define BUGURL.
445 * doc/binutils.texi: Use BUGURL. Remove text about large files
447 * Makefile.in, configure, doc/Makefile.in: Regenerate.
452 * NEWS: Mention addition of --extract-symbol.
453 * doc/binutils.texi: Document it.
454 * objcopy.c (extract_symbol): New variable.
455 (OPTION_EXTRACT_SYMBOLS): New command_line_switch.
456 (copy_options): Add an entry for --extract-symbol.
457 (copy_usage): Mention --extract-symbol.
458 (copy_object): Set the start address to zero for --extract-symbol.
459 Do not copy private BFD data in that case.
460 (setup_section): Set the size, LMA and VMA to zero for
461 --extract-symbol. Do not copy private BFD data in that case.
462 (copy_section): Do not copy section contents if --extract-symbol
464 (copy_main): Set extract_symbol to TRUE if --extract-symbol
469 * MAINTAINERS: Update my entry.
473 * version.c: Update copyright date.
477 * Makefile.am (install-exec-local): Depend on $(noinst_PROGRAMS).
478 Adjust $(EXEEXT) handling for $(RENAMED_PROGS).
479 * Makefile.in, doc/Makefile.in: Regenerate.
483 * embedspu.sh: Set type and size of global program handle symbol.
487 * Makefile.am (PROGS): Delete.
488 (RENAMED_PROGS): Define. Extracted from..
489 (noinst_PROGRAMS): ..here. Add BUILD_MISC.
490 (install-exec-local): Adjust.
491 * Makefile.in: Regenerate.
495 * Makefile.am (PROGS): Add BUILD_INSTALL_MISC.
496 (bin_PROGRAMS): Replace BUILD_MISC with BUILD_INSTALL_MISC.
497 (EXTRA_PROGRAMS): Remove bin2c.
498 (bin2c$(EXEEXT_FOR_BUILD)): New rule.
499 (bin2c_SOURCES): Delete.
500 (DISTCLEANFILES): Remove sysinfo.
501 (MOSTLYCLEANFILES): Add sysinfo$(EXEEXT_FOR_BUILD) and
502 bin2c$(EXEEXT_FOR_BUILD).
503 * configure.in (BUILD_MISC): Add $(EXEEXT_FOR_BUILD) to bin2c.
505 (BUILD_INSTALL_MISC): ..here.
506 * Makefile.in: Regenerate.
507 * configure: Regenerate.
512 * Makefile.am (EXTRA_PROGRAMS): Add bin2c.
513 (CFILES): Add bin2c.c.
514 (bin2c_SOURCES): Define.
515 (bin2c.o): Dependencies from "make dep-am".
516 * configure.in (BUILD_MISC): Add bin2c.
517 * version.c: Update year.
518 * po/POTFILES.in: Regenerate.
519 * Makefile.in: Regenerate.
520 * configure: Regenerate.
527 * configure.in (--with-bugurl): New option.
528 * configure: Regenerate.
529 * Makefile.am (REPORT_BUGS_TO): Define.
530 (INCLUDES): Define REPORT_BUGS_TO.
531 Regenerate dependencies.
532 * Makefile.in: Regenerate.
533 * doc/Makefile.in: Regenerate.
534 * bucomm.h: Remove include of bin-bugs.h.
535 * addr2line.c (usage): Don't print empty REPORT_BUGS_TO.
536 * ar.c (usage): Pass s to list_supported_targets. Don't print
537 empty REPORT_BUGS_TO.
538 * coffdump.c (show_usage): Don't print empty REPORT_BUGS_TO.
539 * cxxfilt.c (usage): Print bug url when giving help.
540 * dlltool.c (usage): Likewise.
541 * dllwrap.c (usage): Likewise.
542 * nlmconv.c (show_usage): Don't print empty REPORT_BUGS_TO.
543 * nm.c (usage): Likewise.
544 * objcopy.c (copy_usage, strip_usage): Likewise.
545 * objdump.c (usage): Likewise.
546 * readelf.c ((usage): Likewise. Add STREAM argument. Adjust
548 * size.c (usage): Don't print empty REPORT_BUGS_TO.
549 * srconv.c (show_usage): Likewise.
550 * strings.c (usage): Likewise.
551 * sysdymp.c (show_usage): Likewise.
552 * windres.c (usage): Likewise.
556 * embedspu.sh: Add -W to readelf invocation.
560 * MAINTAINERS: Add myself as the maintainer of the MeP port.
565 * readelf.c: Include elf/h8.h twice. The first time in order to
566 get the reloc numbers, the second time in order to get the reloc
568 (dump_section): Tell the user if the section being displayed has
569 unprocessed relocs associated with it.
570 (get_reloc_size): New function - returns the size of a reloc.
571 (debug_apply_rela_addends): Use get_reloc_size().
572 * dwarf.c (read_and_display_attr_value): Extend number of
573 languages known for the DW_AT_language attribute.
574 (process_debug_info): Display the attribute offset before decoding
575 the attribute, in case there are problems.
579 * readelf.c (dump_relocations): Don't check for
580 (rtype == NULL && type == R_RELC).
584 * Makefile.am (readelf.o): Depends on $(INCDIR)/elf/mep.h.
585 * Makefile.in: Regenerated.
586 * Contribute the following changes:
589 * configure.in: Define SKIP_ZEROES and SKIP_ZEROES_AT_END for mep.
590 * configure: Regenerated.
594 * readelf.c: Include "elf/mep.h".
595 (guess_is_rela): Handle EM_CYGNUS_MEP.
596 (get_machine_name): Ditto.
597 (dump_relocations): Ditto.
601 * MAINTAINERS: Add a space between H.J. and Lu.
605 * doc/binutils.texi (objdump): Document the new addr64 option
606 for i386 disassembler.
611 * configure.in (DLLTOOL_DEFAULT): New. Defined for the first PE
613 (DLLTOOL_DEFS): Add $DLLTOOL_DEFAULT.
614 * configure: Regenerated.
616 * dlltool.c (mname): Defined with DLLTOOL_DEFAULT_XXX.
620 * doc/binutils.texi (objdump): Document support for disassembling
621 the 440 PowerPC architecture.
625 * dwarf.c (process_debug_info): Protect against bogus length and
630 * ar.c (print_contents, extract_file): Cast the return value
635 * ar.c (open_inarch): Check fwrite return. Use size_t.
636 (extract_file): Likewise. Remove test for "negative" file size.
637 * readelf.c (process_program_headers): Check fscanf return.
641 * bucomm.c (template_in_dir): Fix typo.
645 * embedspu.sh: New file.
646 * Makefile.am (embedspu): Add rule.
647 * configure.in (BUILD_MISC): Add embedspu for powerpc-linux.
648 * Makefile.in: Regenerate.
649 * configure: Regenerate.
653 * bucomm.h (make_tempdir): Declare independently of HAVE_MKDTEMP.
654 * bucomm.c (template_in_dir): New function, split out from..
655 (make_tempname): ..here. Open the file with O_EXCL if !HAVE_MKSTEMP.
656 (make_tempdir): Use template_in_dir. Handle directory creation
658 * objcopy.c (MKDIR): Don't define.
659 (copy_archive): Use make_tempdir when !HAVE_MKDTEMP too. Fix
664 * readelf.c (get_machine_flags): Treat Fido as an architecture
669 * configure.in: Renamed target x86_64-*-mingw64 to
671 * configure: Regenerated.
675 * readelf.c (dump_section): Don't print 32-bit values, which
676 were done incorrectly for little-endian. Instead print bytes.
678 For older changes see ChangeLog-2006
684 version-control: never