aboutsummaryrefslogtreecommitdiff
path: root/binutils
AgeCommit message (Collapse)AuthorFilesLines
2007-05-18 * objcopy.c (strip_main): Detect identical input and output fileNathan Sidwell2-29/+29
names. (copy_main): Refactor tempname detection and use.
2007-05-17* objdump.c (load_debug_section): Select bias for DWARF debug addresses ↵Nick Clifton2-1/+18
based on the flavour of the bfd.
2007-05-17 * binutils-all/strip-3.d: Strip .pdr section.Joseph Myers2-1/+5
2007-05-15 * binutils-all/objcopy.exp: Only run needed-by-reloc test for ELF.Alan Modra2-16/+21
2007-05-11 PR 4479Alan Modra2-1/+12
* objcopy.c (copy_object): Don't copy ELF program headers for --only-keep-debug.
2007-05-11 * binutils-all/needed-by-reloc.s: Use .long rather than .4byte.Alan Modra2-1/+5
2007-05-11include/elf/Alan Modra2-4/+46
* spu.h (R_SPU_PPU32, R_SPU_PPU64): Define. bfd/ * reloc.c (BFD_RELOC_SPU_PPU32, BFD_RELOC_SPU_PPU64): Define. * elf-bfd.h (struct elf_backend_data): Change return type of elf_backend_relocate_section to int. * elf32-spu.c (elf_howto_table): Add howtos for R_SPU_PPU32 and R_SPU_PPU64. (spu_elf_bfd_to_reloc_type): Convert new relocs. (spu_elf_count_relocs): New function. (elf_backend_count_relocs): Define. (spu_elf_relocate_section): Arrange to emit R_SPU_PPU32 and R_SPU_PPU64 relocs. * elflink.c (elf_link_input_bfd): Emit relocs if relocate_section returns 2. * bfd-in2.h: Regenerate. * libbfd.h: Regenerate. gas/ * config/tc-spu.c (md_pseudo_table): Add int, long, quad. Call spu_cons for word. (md_assemble): Tidy use of insn.flag. (get_imm): Likewise. Handle uppercase input too. (spu_cons): New function. * config/tc-spu.h (tc_fix_adjustable): Don't adjust SPU_PPU relocs. (TC_FORCE_RELOCATION): Don't resolve them either. binutils/ * embedspu.sh (find_prog): Prefer prog in same dir as embedspu over one found on the users path. (main): Generate .reloc for each R_SPU_PPU* reloc.
2007-05-08 binutils/testsuite/Mark Shinwell2-1/+6
* binutils-all/strip-3.d: Strip .ARM.attributes and .reginfo sections.
2007-05-02 * binutils-all/objcopy.exp (copy_setup): Don't perror, use send_log.Alan Modra2-5/+19
(copy_executable): Return early if test2 is blank. Return unsupported rather than unresolved if we can't run executables. Do test1 if we can compile.
2007-04-28 * prdbg.c (tg_variable): Adjust for changed demangler.Alan Modra2-37/+22
(tg_start_function): Likewise.
2007-04-26bfd/Alan Modra1-0/+8
* sysdep.h: Include config.h first. Many files: Include sysdep.h before bfd.h. * Makefile.am: Run "make dep-am". * Makefile.in: Regenerate. binutils/ * bucumm.h: Split off host dependencies to.. * sysdep.h: ..here. Many files: Include sysdep.h. Remove duplicate headers and reorder. * Makefile.am: Run "make dep-am". * Makefile.in: Regenerate. ld/ Many files: Include sysdep.h first. Remove duplicate headers. * Makefile.am: Run "make dep-am". * Makefile.in: Regenerate. opcodes/ * Makefile.am: Run "make dep-am". * Makefile.in: Regenerate. * ns32k-dis.c: Include sysdep.h first.
2007-04-26bfd/Alan Modra47-613/+640
Many files: Include sysdep.h before bfd.h. * Makefile.am: Run "make dep-am". * Makefile.in: Regenerate. binutils/ * bucumm.h: Split off host dependencies to.. * sysdep.h: ..here. Many files: Include sysdep.h. Remove duplicate headers and reorder. * Makefile.am: Run "make dep-am". * Makefile.in: Regenerate. ld/ Many files: Include sysdep.h first. Remove duplicate headers. * Makefile.am: Run "make dep-am". * Makefile.in: Regenerate. opcodes/ * Makefile.am: Run "make dep-am". * Makefile.in: Regenerate. * ns32k-dis.c: Include sysdep.h first.
2007-04-24* srconv.c (walk_tree_type_1): Initialise dpt.dunno.Nick Clifton2-0/+5
2007-04-24* objcopy.c (filter_symbols): Explicitly stripping a symbol used in ↵Nick Clifton5-11/+68
relocations is an error. Retype 'keep' to bfd_boolean. * binutils-all/objcopy.exp: Add test for stripping a symbol used in a relocation. * binutils-all/needed-by-reloc.s: New file.
2007-04-24 * Makefile.in: Regenerate.Alan Modra3-6/+13
* doc/Makefile.in: Regenerate.
2007-04-23* objcopy.c (reverse_bytes): New variable.Nick Clifton5-1/+125
(command_line_switch, copy_main): Add OPTION_REVERSE_ENDIAN. (copy_options, copy_usage): Add "reverse-bytes" entry. (copy_section): Reverse bytes within output sections. * doc/binutils.texi: Document new objcopy option. * testsuite/binutils-all/objcopy.exp: Add test for --reverse-bytes.
2007-04-21 * binutils-all/readelf.exp (regexp_diff): Delete.Richard Earnshaw2-102/+4
2007-04-20* rclex.l: Allow underscores at the start of identifiers.Nick Clifton2-1/+5
2007-04-19 * binutils-all/arm/thumb2-cond.s: Allow for tab expansion by the pty.Richard Earnshaw2-4/+9
Rename the second test.
2007-04-19missed from last commitAlan Modra2-125/+0
2007-04-19 * budemang.c: Delete.Alan Modra8-273/+302
* budemang.h: Delete. * addr2line.c (translate_addresses): Call bfd_demangle rather than demangle. * nm.c (print_symname): Likewise. * objdump.c (objdump_print_symname, dump_symbols): Likewise. (dump_bfd): Likewise. * prdbg.c (struct pr_handle <demangler>): Add int param. (tg_variable, tg_start_function): Adjust demangler calls. * Makefile.am: Remove mention of budemang.[ch]. Run "make dep-am". * Makefile.in: Regenerate. * po/POTFILES.in: Regenerate.
2007-04-14 * Makefile.am: Add ACLOCAL_AMFLAGS.Steve Ellcey5-741/+748
* configure.in: Change macro call order. * Makefile.in: Regenerate. * configure: Regenerate.
2007-04-13 * Makefile.am (TOOL_PROGS): Add objcopy.Nathan Sidwell3-2/+7
* Makefile.in: Rebuilt.
2007-04-122007-04-12 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu6-7/+29
PR binutils/4348 * objcopy.c (copy_object): Don't stop when there are no sections to be copied. testsuite/ 2007-04-12 H.J. Lu <hongjiu.lu@intel.com> PR binutils/4348 * binutils-all/empty.s: New file. * binutils-all/strip-3.d: Likewise. * binutils-all/objcopy.exp: Run strip-3 for ELF target.
2007-04-10 * NEWS: Mention disjoint histograms support inVladimir Prus2-0/+8
gprof.
2007-04-09 * dwarf.c (process_debug_info): Do not require DW_AT_frame_base forDaniel Jacobowitz2-1/+5
DW_TAG_inlined_subroutine.
2007-04-062007-04-06 Matt Thomas <matt@netbsd.org>Matt Thomas2-1/+6
* MAINTAINERS: Add myself as VAX and NetBSD support maintainer.
2007-04-05 PR binutils/4292Alan Modra2-1/+7
* nm.c (print_value): Cast bfd_vma to unsigned long to suit value_format_32bit.
2007-04-02PR binutils/4292Nick Clifton2-55/+78
* bfd.c (bfd_fprintf_vma): Do not print addresses of 32-bit targets as 64-bit values, even if running on a 64-bit host. * coffgen.c (coff_print_symbol): Likewise. * nm.c (value_format): Replace with value_format_32bit and value_format_64bit. (set_radix): Update setting of value_format. (set_print_width): New function. Compute the address size of a given bfd and set the print_width global appropriately. (display_archive): Use set_print_width. (display_file): Likewise, (print_object_filename_sysv): Update use of print_width. (print_archive_member_sysv): Likewise. (print_symbol_filename_posix): Likewise. (print_sumbol_info_bfd, print_symbol_info_sysv): Likewise.
2007-03-28bfd/Richard Sandiford2-1/+7
200x-xx-xx Richard Sandiford <richard@codesourcery.com> Phil Edwards <phil@codesourcery.com> * doc/bfd.texinfo: Put the contents after the title page rather than at the end of the document. binutils/ 200x-xx-xx Richard Sandiford <richard@codesourcery.com> Phil Edwards <phil@codesourcery.com> * doc/binutils.texi: Put the contents after the title page rather than at the end of the document. gas/ 200x-xx-xx Richard Sandiford <richard@codesourcery.com> Phil Edwards <phil@codesourcery.com> * doc/as.texinfo: Put the contents after the title page rather than at the end of the document. gprof/ 200x-xx-xx Richard Sandiford <richard@codesourcery.com> Phil Edwards <phil@codesourcery.com> * gprof.texi: Put the contents after the title page rather than at the end of the document. ld/ 200x-xx-xx Richard Sandiford <richard@codesourcery.com> Phil Edwards <phil@codesourcery.com> * ld.texinfo: Put the contents after the title page rather than at the end of the document.
2007-03-28Add ChangeLog entry for delta 1.361->1.362 to readelf.c accidentally checked ↵Nick Clifton1-0/+8
in with a previous commit.
2007-03-28 * MAINTAINERS: Update mailing list addresses. Add myselfAlan Modra2-11/+17
as PPC maintainer.
2007-03-27 * embedspu.sh: Correct toe_addr quoting.Alan Modra2-1/+5
2007-03-26 * embedspu.sh: Combine "_EAR_" and "_EAR_*" patterns. TightenAlan Modra2-18/+51
.toe section and .toe address checks. Use .reloc for _EAR* symbols defined in non-BSS sections. Build table for _SPUEAR_ symbols.
2007-03-23 PR gas/3811Kaz Kojima2-0/+9
* readelf.c (debug_apply_rela_addends): Do nothing for SH.
2007-03-22bfd:Joseph Myers2-1/+13
* Makefile.am (bfdver.h): Only set VERSION_PACKAGE in bfdver.texi if nonempty. * configure.in (REPORT_BUGS_TO): Do not use "URL:" prefix. * Makefile.in, configure, doc/Makefile.in: Regenerate. binutils: * doc/binutils.texi: Include VERSION_PACKAGE when reporting version. gas: * doc/as.texinfo: Include VERSION_PACKAGE when reporting version. gprof: * Makefile.am (TEXI2POD): Include $(AM_MAKEINFOFLAGS). (AM_MAKEINFOFLAGS, TEXI2DVI): Define with -I ../bfd/doc. * Makefile.in: Regenerate. * gprof.texi: Include bfdver.texi. Report both VERSION_PACKAGE and VERSION. ld: * ld.texinfo: Include VERSION_PACKAGE when reporting version.
2007-03-16Use pc-relative relocation instead of an absolute relocation for ↵Nick Clifton3-26/+37
x86_64-pc-mingw32 target.
2007-03-15bfd/H.J. Lu12-99/+52
2007-03-15 H.J. Lu <hongjiu.lu@intel.com> * Makefile.am (bfdver.h): Substitute report_bugs_to. Also create doc/bfdver.texi. * Makefile.in: Regenerated. * configure.in (--with-bugurl): New option. * configure: Regenerated. * version.h (REPORT_BUGS_TO): New. binutils/ 2007-03-15 H.J. Lu <hongjiu.lu@intel.com> * Makefile.am (REPORT_BUGS_TO): Removed. (INCLUDES): Remove -DREPORT_BUGS_TO. * Makefile.in: Regenerated. * bucomm.c: Don't include bfdver.h. * objdump.c: Likewise. * version.c: Likewise. * bucomm.h: Include bfdver.h. * configure.in (--with-bugurl): Removed. * configure: Regenerated. * doc/Makefile.am (binutils_TEXINFOS): Removed. (AM_MAKEINFOFLAGS): Add -I ../../bfd/doc. (TEXI2DVI): Likewise. (config.texi): Removed. (MOSTLYCLEANFILES): Remove config.texi. * doc/Makefile.in: Regenerated. * doc/binutils.texi: Include bfdver.texi instead of config.texi. gas/ 2007-03-15 H.J. Lu <hongjiu.lu@intel.com> * Makefile.am (REPORT_BUGS_TO): Removed. (INCLUDES): Remove -DREPORT_BUGS_TO. * Makefile.in: Regenerated. * configure.in (--with-bugurl): Removed. * configure: Regenerated. * doc/Makefile.am (as_TEXINFOS): Remove gasver.texi. (AM_MAKEINFOFLAGS): Add -I ../../bfd/doc. (TEXI2DVI): Likewise. (gasver.texi): Removed. (MOSTLYCLEANFILES): Remove gasver.texi. (as.1): Don't depend on gasver.texi. * doc/Makefile.in: Regenerated. * doc/as.texi: Include bfdver.texi instead of gasver.texi. gprof/ 2007-03-15 H.J. Lu <hongjiu.lu@intel.com> * Makefile.am (REPORT_BUGS_TO): Removed. (INCLUDES): Remove -DREPORT_BUGS_TO. * Makefile.in: Regenerated. * configure.in (--with-bugurl): Removed. * configure: Regenerated. ld/ 2007-03-15 H.J. Lu <hongjiu.lu@intel.com> * Makefile.am (ld_TEXINFOS): Remove ldver.texi. (AM_MAKEINFOFLAGS): Add -I ../../bfd/doc. (TEXI2DVI): Likewise. (REPORT_BUGS_TO): Removed. (INCLUDES): Remove -DREPORT_BUGS_TO. (ldver.texi): Likewise. (ld.1): Don't depend on ldver.texi. (MOSTLYCLEANFILES): Remove ldver.texi. * Makefile.in: Regenerated. * configure.in (--with-bugurl): Removed. * configure: Regenerated. * lexsup.c: Include bfdver.h. * ld.texinfo: Include bfdver.texi instead of ldver.texi.
2007-03-13* readelf.c (dump_section): Also test for SHT_REL sections when producingNick Clifton2-2/+7
the warning about unapplied relocs.
2007-03-07binutils:Joseph Myers7-28/+50
* configure.in (REPORT_BUGS_TEXI): Define to Texinfo version of bug-reporting URL. * doc/Makefile.am (config.texi): Define BUGURL. * doc/binutils.texi: Use BUGURL. Remove text about large files and uuencoding. * Makefile.in, configure, doc/Makefile.in: Regenerate. gas: * configure.in (REPORT_BUGS_TEXI): Define to Texinfo version of bug-reporting URL. * doc/Makefile.am (gasver.texi): Define BUGURL. * doc/as.texinfo: Use BUGURL. * Makefile.in, configure, doc/Makefile.in: Regenerate. ld: * configure.in (REPORT_BUGS_TEXI): Define to Texinfo version of bug-reporting URL. * Makefile.am (ldver.texi): Define BUGURL. * ld.texinfo: Use BUGURL. * Makefile.in, configure: Regenerate.
2007-03-01binutils/Richard Sandiford4-8/+77
200x-xx-xx Phil Edwards <phil@codesourcery.com> Richard Sandiford <richard@codesourcery.com> * NEWS: Mention addition of --extract-symbol. * doc/binutils.texi: Document it. * objcopy.c (extract_symbol): New variable. (OPTION_EXTRACT_SYMBOLS): New command_line_switch. (copy_options): Add an entry for --extract-symbol. (copy_usage): Mention --extract-symbol. (copy_object): Set the start address to zero for --extract-symbol. Do not copy private BFD data in that case. (setup_section): Set the size, LMA and VMA to zero for --extract-symbol. Do not copy private BFD data in that case. (copy_section): Do not copy section contents if --extract-symbol is passed. (copy_main): Set extract_symbol to TRUE if --extract-symbol is passed. ld/testsuite/ * ld-elf/extract-symbol-1sym.d, ld-elf/extract-symbol-1sec.d, * ld-elf/extract-symbol-1.s, ld-elf/extract-symbol-1.ld: New tests. * ld-elf/binutils.exp: Run them.
2007-03-012007-03-01 Paul Brook <paul@codesourcery.com>Paul Brook2-1/+5
* MAINTAINERS: Update my entry.
2007-03-01bfd:Joseph Myers2-2/+6
* Makefile.am (bfdver.h): Use "." not " " between version number and date. * Makefile.in: Regenerate. * configure.in (PKGVERSION): Default to "(GNU Binutils) ". * configure: Regenerate. binutils: * version.c (print_version): Update copyright date. gas: * as.c (parse_args): Update copyright date. gprof: * gprof.c: Include bfdver.h (main): Use BFD_VERSION_STRING for version number and package name. * Makefile.am (PKGVERSION): Remove. (INCLUDES): Update. Regenerate dependencies. * Makefile.in: Regenerate. * configure.in (PKGVERSION): Remove. * configure: Regenerate. ld: * ldver.c (ldversion): Remove word "version" from output. Update copyright date.
2007-03-01 * Makefile.am (install-exec-local): Depend on $(noinst_PROGRAMS).Daniel Jacobowitz4-13/+27
Adjust $(EXEEXT) handling for $(RENAMED_PROGS). * Makefile.in, doc/Makefile.in: Regenerate.
2007-03-01 * embedspu.sh: Set type and size of global program handle symbol.Alan Modra2-0/+6
2007-02-28 * Makefile.am (PROGS): Delete.Alan Modra3-9/+17
(RENAMED_PROGS): Define. Extracted from.. (noinst_PROGRAMS): ..here. Add BUILD_MISC. (install-exec-local): Adjust. * Makefile.in: Regenerate.
2007-02-28 * Makefile.am (PROGS): Add BUILD_INSTALL_MISC.Alan Modra5-38/+55
(bin_PROGRAMS): Replace BUILD_MISC with BUILD_INSTALL_MISC. (EXTRA_PROGRAMS): Remove bin2c. (bin2c$(EXEEXT_FOR_BUILD)): New rule. (bin2c_SOURCES): Delete. (DISTCLEANFILES): Remove sysinfo. (MOSTLYCLEANFILES): Add sysinfo$(EXEEXT_FOR_BUILD) and bin2c$(EXEEXT_FOR_BUILD). * configure.in (BUILD_MISC): Add $(EXEEXT_FOR_BUILD) to bin2c. Move embedspu to.. (BUILD_INSTALL_MISC): ..here. * Makefile.in: Regenerate. * configure: Regenerate.
2007-02-27 * binutils-all/objcopy.exp: Skip for uclinux targets.Nathan Sidwell2-0/+8
2007-02-27 * bin2c.c: New file.Alan Modra8-13/+157
* Makefile.am (EXTRA_PROGRAMS): Add bin2c. (CFILES): Add bin2c.c. (bin2c_SOURCES): Define. (bin2c.o): Dependencies from "make dep-am". * configure.in (BUILD_MISC): Add bin2c. * version.c: Update year. * po/POTFILES.in: Regenerate. * Makefile.in: Regenerate. * configure: Regenerate.
2007-02-17top level:Joseph Myers23-308/+357
2007-02-17 Mark Mitchell <mark@codesourcery.com> Nathan Sidwell <nathan@codesourcery.com> Vladimir Prus <vladimir@codesourcery.com Joseph Myers <joseph@codesourcery.com> * configure.ac (TOPLEVEL_CONFIGURE_ARGUMENTS): Fix quoting. * configure: Regenerate. bfd: 2007-02-17 Mark Mitchell <mark@codesourcery.com> Nathan Sidwell <nathan@codesourcery.com> Vladimir Prus <vladimir@codesourcery.com Joseph Myers <joseph@codesourcery.com> * configure.in (--with-pkgversion): New option. * configure: Regenerate. * Makefile.am (bfdver.h): Substitute for @bfd_version_package@. * Makefile.in: Regenerate. * version.h (BFD_VERSION_STRING): Define using @bfd_version_package@. bfd/doc: 2007-02-17 Mark Mitchell <mark@codesourcery.com> Nathan Sidwell <nathan@codesourcery.com> Vladimir Prus <vladimir@codesourcery.com Joseph Myers <joseph@codesourcery.com> * Makefile.in: Regenerate. binutils: 2007-02-17 Mark Mitchell <mark@codesourcery.com> Nathan Sidwell <nathan@codesourcery.com> Vladimir Prus <vladimir@codesourcery.com Joseph Myers <joseph@codesourcery.com> * configure.in (--with-bugurl): New option. * configure: Regenerate. * Makefile.am (REPORT_BUGS_TO): Define. (INCLUDES): Define REPORT_BUGS_TO. Regenerate dependencies. * Makefile.in: Regenerate. * doc/Makefile.in: Regenerate. * bucomm.h: Remove include of bin-bugs.h. * addr2line.c (usage): Don't print empty REPORT_BUGS_TO. * ar.c (usage): Pass s to list_supported_targets. Don't print empty REPORT_BUGS_TO. * coffdump.c (show_usage): Don't print empty REPORT_BUGS_TO. * cxxfilt.c (usage): Print bug url when giving help. * dlltool.c (usage): Likewise. * dllwrap.c (usage): Likewise. * nlmconv.c (show_usage): Don't print empty REPORT_BUGS_TO. * nm.c (usage): Likewise. * objcopy.c (copy_usage, strip_usage): Likewise. * objdump.c (usage): Likewise. * readelf.c ((usage): Likewise. Add STREAM argument. Adjust callers. * size.c (usage): Don't print empty REPORT_BUGS_TO. * srconv.c (show_usage): Likewise. * strings.c (usage): Likewise. * sysdymp.c (show_usage): Likewise. * windres.c (usage): Likewise. gas: 2007-02-17 Mark Mitchell <mark@codesourcery.com> Nathan Sidwell <nathan@codesourcery.com> Vladimir Prus <vladimir@codesourcery.com Joseph Myers <joseph@codesourcery.com> * configure.in (--with-bugurl): New option. * configure: Regenerate. * dep-in.sed: Remove bin-bugs.h. * Makefile.am (REPORT_BUGS_TO): Define. (INCLUDES): Define REPORT_BUGS_TO. (DEP_INCLUDES): Likewise. ($(OBJS)): No longer depend on bin-bugs.h. * Makefile.in: Regenerate. * doc/Makefile.in: Regenerate. * as.c (show_usage): Don't print empty REPORT_BUGS_TO. * as.h: Remove include of bin-bugs.h. gprof: 2007-02-17 Mark Mitchell <mark@codesourcery.com> Nathan Sidwell <nathan@codesourcery.com> Vladimir Prus <vladimir@codesourcery.com Joseph Myers <joseph@codesourcery.com> * configure.in (--with-pkgversion, --with-bugurl): New options. * configure: Regenerate. * Makefile.am (PKGVERSION, REPORT_BUGS_TO): Define. (INCLUDES): Define PKGVERSION and REPORT_BUGS_TO. Regenerate dependencies. * Makefile.in: Regenerate. * gprof.c (usage): Don't print empty REPORT_BUGS_TO. (main): Include PKGVERSION in version output. * gprof.h: Remove include of bin-bugs.h. include: 2007-02-17 Mark Mitchell <mark@codesourcery.com> Nathan Sidwell <nathan@codesourcery.com> Vladimir Prus <vladimir@codesourcery.com Joseph Myers <joseph@codesourcery.com> * bin-bugs.h: Remove. ld: 2007-02-17 Mark Mitchell <mark@codesourcery.com> Nathan Sidwell <nathan@codesourcery.com> Vladimir Prus <vladimir@codesourcery.com Joseph Myers <joseph@codesourcery.com> * configure.in (--with-bugurl): New option. * configure: Regenerate. * Makefile.am (REPORT_BUGS_TO): Define. (INCLUDES): Define REPORT_BUGS_TO. Regenerate dependencies. * Makefile.in: Regenerate. * ld.h: Remove include of bin-bugs.h. * lexsup.c (help): Don't print empty REPORT_BUGS_TO.