aboutsummaryrefslogtreecommitdiff
path: root/binutils
AgeCommit message (Collapse)AuthorFilesLines
2007-06-11 * dwarf.c (decode_location_expression): Add DW_OP_form_tls_address.Nathan Sidwell2-0/+7
2007-06-07Cleanup white spaces and fix an entry.H.J. Lu1-20/+20
2007-06-06PR binutils/4356 binutils/591Nick Clifton2-6/+45
* resrc.c (filename_need_quotes): New function. (look_for_default): If filename_need_quotes is true then quote the filename in the command line being created. (read_rc_file): Likewise.
2007-06-06 * doc/binutils.texi (objdump): Fix capitalisation of "PowerPC".Ben Elliston2-1/+5
2007-06-05* Makefile.am: Add LIBICONV to windres.Nick Clifton11-6499/+1612
* acinclude.m4: Added missing "lib-*.m4" and "lt*.m4" files. * configure.in: Add AC_CHECK_HEADER for iconv.h and use AM_ICONV. * config.in: Add ICONV defines. * aclocal: Regenerate. * confugure: Regenerate. * winduni.c: (local_iconv_map codepages, wind_language_t, languages, unicode_is$ (ascii_from_unicode): Use codepage_from_unicode. (ascii_from_unicode): Use unicode_from_codepage. Use for cygwin windows API for unicode transformation. * winduni.h: (CP_ACP, CP_UTF7, CP_UTF8, CP_OEM, CP_UTF16): New macros. (wind_language_t, local_iconv_map): New types. (wind_find_language_by_id, wind_find_language_by_codepage, (unicode_is_valid_codepage, wind_find_codepage_info, unicode_from_codepage, c$
2007-06-05 * embedspu.sh: Handle R_SPU_PPU* relocs with no symbol.Alan Modra2-4/+8
2007-05-30bfd/Alan Modra3-19/+18
* elf.c (elf_fake_sections): Adjust test for SHT_NOBITS sections created by objcopy --only-keep-debug. (_bfd_elf_init_private_section_data): Only change elf_section_type if it is SHT_NULL. binutils/ * objcopy.c (copy_object): Revert 2007-05-11 change. Don't avoid calling bfd_copy_private_bfd_data for ELF STRIP_NONDEBUG. (setup_section): Don't modify flags, and don't avoid calling bfd_copy_private_section_data for ELF STRIP_NONDEBUG. * readelf.c (process_program_headers): Ignore .dynamic of type SHT_NOBITS.
2007-05-29binutils/Alan Modra2-5/+16
* embedspu.sh: Emit SPU ELF image to .data.rel.ro.speelf if pic or pie and image needs relocs. ld/ * emultempl/spuelf.em (base_name): New function, split out from.. (embedded_spu_file) ..here. Pass -fPIC or -fpie to embedspu invocation if we deduce a shared lib or position independent executable build by looking at ctrbegin* linker input files.
2007-05-24 * regenerated files from updating libtool.Steve Ellcey4-1059/+13141
2007-05-24 * ltmain.sh: Update from GCC.Steve Ellcey1-0/+7
* libtool.m4: Update from GCC. * ltsugar.m4: New. Update from GCC. * ltversion.m4: New. Update from GCC. * ltoptions.m4: New. Update from GCC. * ltconfig: Remove. * ltcf-c.sh: Remove. * ltcf-cxx.sh: Remove. * ltcf-gcj.sh: Remove. * src-release: Update with new libtool file list. * newlib/*/configure.in: invoke _LD_DECL_SED. * newlib/*/Makefile.am: Ensure toplevel is included in ACLOCAL_AMFLAGS. * Regenerate subdirectories
2007-05-24* rcparse.y: Join strings for elements having no side-effects in "rc"-grammar.Nick Clifton5-21/+139
* testsuite/binutils-all/windres/version_cat.rc: New. * testsuite/binutils-all/windres/version_cat.rsd: New.
2007-05-23Updated windres toolNick Clifton28-3559/+5785
2007-05-222007-05-22 Paul Brook <paul@codesourcery.com>Paul Brook2-31/+37
bunutils/ * objdump.c (find_symbol_for_address): Merge section and target specific filtering code. ld/testsuite/ * ld-arm-mixed-lib.d: Update expected output. * ld-arm/arm-app.d: Ditto. * ld-arm/mixed-app.d: Ditto. * ld-arm/arm-lib-plt32.d: Ditto. * ld-arm/arm-app-abs32.d: Ditto. * ld-arm/mixed-app-v5.d: Ditto. * ld-arm/armthumb-lib.d: Ditto. * ld-arm/arm-lib.d: Ditto. gas/testsuite/ * gas/arm/backslash-at.d: Update expected output.
2007-05-22Use @copying around copyright noticesNick Clifton2-9/+6
2007-05-21binutils/Richard Sandiford2-0/+7
* objdump.c (disassemble_bytes): Ignore disassembler_needs_relocs for executables and shared libraries. ld/testsuite/ * ld-arm/emit-relocs1.d, ld-arm/emit-relocs1.s, * ld-arm/emit-relocs1-vxworks.d: New tests. * ld-arm/arm-elf.exp: Run them. * ld-arm/vxworks1.dd: Expect proper branch targets.
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.