aboutsummaryrefslogtreecommitdiff
path: root/binutils
AgeCommit message (Collapse)AuthorFilesLines
2009-01-16bfd/Alan Modra3-32/+19
* Makefile.am (libbfd_la_LIBADD, libbfd_la_LDFLAGS): Substitute SHARED_LIBADD and SHARED_LDFLAGS rather than WIN32LIBADD, WIN32LDFLAGS. * configure.in (commonbfdlib): Delete. (SHARED_LDFLAGS): Rename from WIN32LDFLAGS/ (SHARED_LIBADD): Rename from WIN32LIBADD. Add pic libiberty if such is available, not just for linux. * po/SRC-POTFILES.in: Regenerate. * Makefile.in: Regenerate. * configure: Regenerate. opcodes/ * configure.in (commonbfdlib): Delete. (SHARED_LIBADD): Add pic libiberty if such is available. * configure: Regenerate. * po/POTFILES.in: Regenerate. binutils/ * configure.in (commonbfdlib): Delete. * configure: Regenerate. gas/ * configure.in (commonbfdlib): Delete. * configure: Regenerate. * po/POTFILES.in: Regenerate.
2009-01-14Cleanup code related to --identify option.Nick Clifton2-66/+180
* binutils/dlltool.c (file scope): Removed globals identify_ms, identify_member_contains_symname_result, identify_dll_name_list_head, and identify_dll_name_list_tail. Renamed existing typedef dll_name_list_type to dll_name_list_node_type. Added new typedefs dll_name_list_type, symname_search_data_type, and identify_data_type. (identify_append_dll_name_to_list): Renamed to... (dll_name_list_append): ...here. Changed signature to accept list argument rather than use global. (identify_count_dll_name_list): Renamed to... (dll_name_list_count): ...here. Changed signature to accept list argument rather than use global. (identify_print_dll_name_list): Renamed to... (dll_name_list_print): ...here. Changed signature to accept list argument rather than use global. (identify_free_dll_name_list): Renamed to... (dll_name_list_free_contents): ...here. (dll_name_list_free): New function. (dll_name_list_create): New function. (identify_process_section_p): Changed signature to accept ms_style_implib argument rather than use global. (identify_member_contains_symname): Expect incoming void * data to be symname_search_data_type. (identify_dll_for_implib): Use new functions dll_name_list_create and dll_name_list_free. Use new types symname_search_data_type and identify_data_type to communicate with search routines. (identify_search_section): Expect incoming void * data to be identify_data_type. Use its contents rather than global variables.
2009-01-14missed commitAlan Modra1-0/+1
2009-01-13Add --identify-strict option. Handle ms-style implibs:Nick Clifton4-96/+322
* dlltool.c (file scope): Added new globals identify_ms and identify_strict. New typedef dll_name_list_type, and globals identify_dll_name_list_head and identify_dll_name_list_tail. Added new global identify_member_contains_symname_result. (identify_append_dll_name_to_list): New function. (identify_count_dll_name_list): New function. (identify_print_dll_name_list): New function. (identify_free_dll_name_list): New function. (identify_search_archive): Changed signature to take function pointer to operation to apply to each member, and data to pass on to that function. (identify_search_member): Changed signature to accept user data from caller. (identify_member_contains_symname): New function. (identify_dll_for_implib): Rewrite. Now determines whether implib is ms- or binutils- style, before searching sections for dllname. Allows multiple dllnames. (identify_process_section_p): Search alternate section for dllname when implib is ms-style. (identify_search_section): Add additional conditions to excludes candidate sections from consideration. (usage): Added --identify-strict. (long_options): Added --identify-strict. (main): Handle --identify-strict option. * doc/binutils.texi: Document --identify-strict option. * NEWS: Document --identify and --identify-strict options.
2009-01-13 PR 7034Alan Modra2-1/+8
* doc/binutils.texi (objdump -R): Note effect of -d or -D.
2009-01-12 * objdump.c (disassemble_section): Don't assume non-instructionAlan Modra1-0/+5
data if object symbol at given address is in different section.
2009-01-122009-01-12 Kai Tietz <kai.tietz@onevision.com>Kai Tietz2-101/+121
* dlltool.c (create_for_pep): New. (flush_page): Use create_for_pep instead of using macro DLLTOOL_MX86_64 clause. (generate_idata_ofile): Likewise. (make_one_lib_file): Likewise. (make_head): Likewise. (make_tail): Likewise. (main): Initialize create_for_pep.
2009-01-082009-01-08 Kai Tietz <kai.tietz@onevision.com>Kai Tietz4-4/+46
* dlltool.c (use_nul_prefixed_import_tables): New. (make_head): Make prefix leading zero prefix element for idata$4 and idata$5 dependent to new flag. (usage): Add new option --use-nul-prefixed-import-tables. (OPTION_USE_NUL_PREFIXED_IMPORT_TABLES): New. (long_options): Add --use-nul-prefixed-import-tables. (main): Likewise. * doc/binutils.texi: Add new option documentation for --use-nul-prefixed-import-tables. * NEWS: Add new option.
2009-01-062009-01-06 Kai Tietz <kai.tietz@onevision.com>Kai Tietz3-876/+916
* windres.c (set_endianess): Get architecture name for internal target names like "pe-arm-wince-little". (find_arch_match): New helper. * ChangeLog: Reset it. * ChangeLog-2008: Moved old ChangeLog.
2008-12-23Add LM32 port.Nick Clifton3-0/+15
2008-12-232008-12-23 Kai Tietz <kai.tietz@onevision.com>Kai Tietz2-0/+8
* rcparse.y (rcdata_data): Allow empty comma elements.
2008-12-23Remove STT_IFUNC support.Nick Clifton4-45/+9
2008-12-21Add missing ChangeLog entries for my last commit.Ralf Wildenhues1-0/+4
2008-12-18 Backport link test fix from upstream Libtool:Ralf Wildenhues1-39/+54
* libltdl.m4 (_LT_SYS_DYNAMIC_LINKER, _LT_LINKER_SHLIBS): Add cache variables to tests that require the linker to work. For shlibpath_overrides_runpath, this also changes the semantics to let the result from the C compiler take precedence. compiler take precedence. binutils/ * configure: Regenerate. opcodes/ * configure: Regenerate. bfd/ * configure: Regenerate. gas/ * configure: Regenerate. gprof/ * configure: Regenerate. ld/ * configure: Regenerate.
2008-12-09bfdTom Tromey2-2/+6
* pef.c (bfd_pef_parse_traceback_table): Add parens to placate gcc 4.4. binutils * srconv.c (wr_hd): Add parens to placate gcc 4.4.
2008-12-092008-12-09 Andrew Stubbs <ams@codesourcery.com>Andrew Stubbs2-9/+67
* readelf.c (arm_attr_tag_CPU_arch): Add "v6-M" and "v6S-M". (arm_attr_tag_WMMX_arch): Add "WMMXv2". (arm_attr_tag_NEON_arch): Rename to ... (arm_attr_tag_Advanced_SIMD_arch): ... official name. (arm_attr_tag_ABI_PCS_config): Rename to ... (arm_attr_tag_PCS_config): ... official name. (arm_attr_tag_ABI_PCS_RO_DATA): Rename to ... (arm_attr_tag_ABI_PCS_RO_data): ... official name. (arm_attr_tag_ABI_FP_denormal): Add "Sign only". (arm_attr_tag_CPU_unaligned_access): New array. (arm_attr_tag_T2EE_use): New array. (arm_attr_tag_Virtualization_use): New array. (arm_attr_tag_MPextension_use): New array. (arm_attr_publ): NEON_arch -> Advanced_SIMD_arch. ABI_PCS_config -> PCS_config. ABI_PCS_RO_DATA -> ABI_PCS_RO_data. Add CPU_unaligned_access, nodefaults, also_compatible_with, T2EE_use, conformance, Virtualization_use and MPextension_use. (display_arm_attribute): Handle Tag_nodefaults and Tag_also_compatible_with.
2008-12-04opcodes/Ben Elliston3-6/+15
* ppc-dis.c (powerpc_init_dialect): Do not set PPC_OPCODE_BOOKE for -Mbooke. (print_ppc_disassembler_options): Update usage. * ppc-opc.c (DE, DES, DEO, DE_MASK): Remove. (BOOKE64): Remove. (PPCCHLK64): Likewise. (powerpc_opcodes): Remove all BOOKE64 instructions. gas/ * config/tc-ppc.c (parse_cpu): Remove booke64 support. Update usage strings. (ppc_setup_opcodes): Likewise, remove booke64 support. * doc/c-ppc.texi (PowerPC-Opts): Remove -mbooke32 and -mbooke64. * doc/as.texinfo (Overview): Likewise. binutils/ * doc/binutils.texi (objdump): Update booke documentation. * NEWS: Document user-visible changes to command line options.
2008-12-04* objdump.c (dump_reloc_set): Append "()" to symbol names whichNick Clifton4-22/+94
have the BSF_INDIRECT_FUNCTION type. * readelf.c (print_symbol): Fix handling of negative widths. (dump_relocations): Append "()" to symbol names which have the STT_IFUNC type. Display negative offsets as a positive number with a "-" prefix. (get_symbol_type): Return "IFUNC" for STT_IFUNC symbols. * doc/binutils.texi: Document 'i' symbol type.
2008-11-26 * strings.c (main): New variable `s'. Have string_min parsingJan Kratochvil2-2/+12
call fatal for invalid input strings.
2008-11-25 PR7044Nick Clifton3-5/+15
* dlltool.c (run): Use formatting string to avoid compile time warning. (gen_exp_file): Check return value from fread. * windmc.c (main): Check return value from fread.
2008-11-212008-11-19 Sterling Augustine <sterling@tensilica.com>Sterling Augustine2-1/+5
* MAINTAINERS: Take over from Bob Wilson as Xtensa maintainer.
2008-11-19Change documentation license to FDL v1.3Nick Clifton3-16/+76
2008-11-18Add support for ARM half-precision conversion instructions.Catherine Moore2-1/+14
2008-11-17Update copyright year in --version messages.Nick Clifton2-2/+6
2008-11-16 * dlltool.c (identify_search_section): Cast argument, not returnDanny Smith2-1/+6
value, of xstrdup to 'char*'.
2008-11-15Added --identify option to dlltool.Charles Wilson3-6/+239
2008-11-142008-11-14 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-95/+12
Remove outdated mach-o specific tests. * objdump.c (load_debug_section): Remove mach-o specific test. (mach_o_uncompressed_dwarf_sections): Removed. (mach_o_compressed_dwarf_sections): Removed. (generic_uncompressed_dwarf_sections): Removed. (generic_compressed_dwarf_sections): Removed. (check_mach_o_dwarf): Removed. (dump_dwarf): Remove call to check_mach_o_dwarf.
2008-11-14bfd/Tristan Gingold3-4/+12
2008-11-14 Tristan Gingold <gingold@adacore.com> * configure.com: Handle bfd_default_target_size, BFD_HOST_LONG_LONG, BFD_HOST_64BIT_LONG_LONG, BFD_HOSTPTR_T, bfd_file_ptr. Generate bfdver.h. * vms-hdr.c (_bfd_vms_write_hdr): Use strdup/free instead of alloca. * hosts/alphavms.h: Defines macros to bypass i18n. * makefile.vms (OBJS): Update file list. (DEFS): Remove VMS_DEBUG, const, add DEBUGDIR. (CFLAGS): Update flags. * bfdio.c (real_fopen): Add code specific to VMS: extract attributes from modes. binutils/ 2008-11-14 Tristan Gingold <gingold@adacore.com> * configure.com: Get version from configure.in of bfd. * makefile.vms-in (DEBUG_OBJS): Add dwarf.obj. (CFLAGS): Update flags. include/ 2008-11-14 Tristan Gingold <gingold@adacore.com> * fopen-vms.h (FOPEN_RB): Use a single string to match the standard prototype. (FOPEN_WB): Ditto. (FOPEN_AB): Ditto. (FOPEN_RUB): Ditto. (FOPEN_WUB): Ditto. (FOPEN_AUB): Ditto. libiberty/ 2008-11-14 Tristan Gingold <gingold@adacore.com> * makefile.vms (OBJS): Update objects list. (CFLAGS): Update. (libiberty.olb): Remove alloca-conf.h dependency. * config.h-vms: Use new macro sets, use builtin alloca. opcodes/ 2008-11-14 Tristan Gingold <gingold@adacore.com> * makefile.vms (OBJS): Update list of objects. (DEFS): Update (CFLAGS): Update.
2008-11-13 * nm.c (filter_symbols): Only call memcpy when from != to.Hans-Peter Nilsson2-1/+7
2008-11-10 * objdump.c (disassemble_bytes): Don't skip leading zeros whenAlan Modra2-13/+18
end of section calculation overflows.
2008-11-07 * MAINTAINERS: Take over from Anil Paranjpe as H8300 maintainer.Nick Clifton2-1/+5
2008-10-31 * configure.in (ALL_LINGUAS): Add id.Alan Modra3-2/+4
* configure: Regenerate.
2008-10-31new fileAlan Modra2-0/+6252
2008-10-21missing changelog entryAlan Modra1-0/+5
2008-10-21Remove unnecessary casts on obstack_alloc invocations.Alan Modra2-3/+3
2008-10-20 * readelf.c: Tidy up code formatting.Nick Clifton2-55/+46
2008-10-10include/elf/Nathan Froyd2-0/+28
* ppc.h: Add Tag_GNU_Power_ABI_Struct_Return. bfd/ * elf32-ppc.c (ppc_elf_merge_obj_attributes): Merge Tag_GNU_Power_ABI_Struct_Return. binutils/ * readelf.c (display_power_gnu_attribute): Decode Tag_GNU_Power_ABI_Struct_Return. ld/testsuite/ * ld-powerpc/gnu-attr-12-1.s: New file. * ld-powerpc/gnu-attr-12-2.s: New file. * ld-powerpc/gnu-attr-12-11.d: New file. * ld-powerpc/gnu-attr-12-21.d: New file. * ld-powerpc/powerpc.exp: Run new dump tests.
2008-10-09 * embedspu.sh: Pass -Wa,-noexecstack to $CC.Alan Modra2-1/+5
2008-10-09binutils/Kai Tietz2-16/+35
2008-10-09 Kai Tietz <kai.tietz@onevision.com> * dlltool.c (PAGE_SIZE): Make sure it has bfd_vma type. (PAGE_MASK): Likewise. (sfunc): Change to address size of bfd_vma for base-file. (flush_page): Likewise. (gen_exp_file): Likewise. bfd/ 2008-10-09 Kai Tietz <kai.tietz@onevision.com> * cofflink.c (_bfd_coff_generic_relocate_section): Dump bfd_vma sized addresses instead of long sized.
2008-10-07 * readelf.c (process_section_headers): Do not cut the section names andNick Clifton2-1/+7
types if running with --wide. * ld-ia64/tlsbin.rd: Update expected output now that --wide does not truncate section names. * ld-ia64/tlspic.rd: Likewise.
2008-10-06 * dwarf.c (display_debug_frames): Change text for uniformity.Nick Clifton4-5/+17
(process_debug_info): Likewise. (display_debug_aranges): Likewise. Indent address output. (display_debug_pubnames): Print offset in hex. * binutils-all/objdump.W: Update. * gas/cfi/cfi-alpha-1.d, gas/cfi/cfi-alpha-3.d, gas/cfi/cfi-arm-1.d, gas/cfi/cfi-common-1.d, gas/cfi/cfi-common-2.d, gas/cfi/cfi-common-3.d, gas/cfi/cfi-common-4.d, gas/cfi/cfi-common-5.d, gas/cfi/cfi-common-6.d, gas/cfi/cfi-hppa-1.d, gas/cfi/cfi-i386-2.d, gas/cfi/cfi-i386.d, gas/cfi/cfi-m68k.d, gas/cfi/cfi-mips-1.d, gas/cfi/cfi-ppc-1.d, gas/cfi/cfi-s390-1.d, gas/cfi/cfi-s390x-1.d, gas/cfi/cfi-sh-1.d, gas/cfi/cfi-sparc-1.d, gas/cfi/cfi-sparc64-1.d, gas/cfi/cfi-x86_64.d: Update for readelf change. * ld-elf/eh1.d, ld-elf/eh2.d, ld-elf/eh3.d, ld-elf/eh4.d, ld-elf/eh5.d, ld-elf/eh6.d, ld-mips-elf/eh-frame1-n32.d, ld-mips-elf/eh-frame1-n64.d, ld-mips-elf/eh-frame2-n32.d, ld-mips-elf/eh-frame2-n64.d, ld-mips-elf/eh-frame3.d, ld-mips-elf/eh-frame4.d: Update for readelf change.
2008-10-03binutils/testsuite/H.J. Lu7-18/+27
2008-10-03 H.J. Lu <hongjiu.lu@intel.com> * binutils-all/group.s: Updated. * binutils-all/group-2.s: Likewise. * binutils-all/group-3.s: Likewise. * binutils-all/group-4.s: Likewise. * binutils-all/strip-7.d: Likewise. * binutils-all/strip-9.d: Likewise. ld/testsuite/ 2008-10-03 H.J. Lu <hongjiu.lu@intel.com> * ld-elf/group5.d: Updated. * ld-elf/group6.d: Likewise.
2008-10-02 PR 6934Nick Clifton2-0/+26
* stabs.c (parse_stab_string): Parse and ignore =Y<name> strings generated by the SUNPro C++ compiler.
2008-10-022008-10-01 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu5-0/+47
* binutils-all/group-4.s: New. * binutils-all/strip-8.d: Likewise. * binutils-all/strip-9.d: Likewise. * binutils-all/objcopy.exp: Test objcopy on group-4.s. Run strip-8 and strip-9.
2008-10-012008-10-01 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu5-0/+49
* binutils-all/group-3.s: New. * binutils-all/strip-6.d: Likewise. * binutils-all/strip-7.d: Likewise. * binutils-all/objcopy.exp: Test objcopy on group-3.s. Run strip-6 and strip-7.
2008-10-012008-10-01 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu5-0/+49
* binutils-all/group-2.s: New. * binutils-all/strip-4.d: Likewise. * binutils-all/strip-5.d: Likewise. * binutils-all/objcopy.exp: Test objcopy on group-2.s. Run strip-4 and strip-5.
2008-09-30 PR 6922Nick Clifton2-6/+14
* stabs.c (parse_stab_sun_builtin_type): Parse, but ignore SUN's 'b' and 'v' extensions.
2008-09-29 * configure: Regenerate for new libtool.Steve Ellcey5-347/+1170
* aclocal.m4: Ditto. * Makefile.in: Ditto. * doc/Makefile.in: Ditto.
2008-09-28 * objcopy.c (setup_section): Set elf_group_id.Alan Modra2-7/+16
2008-09-24include/Richard Henderson2-30/+56
* elf/dwarf2.h (DW_OP_GNU_encoded_addr): New. binutils/ * dwarf.c (size_of_encoded_value, get_encoded_value): Move up. (decode_location_expression): Add section parameter. Handle DW_OP_GNU_encoded_addr. (read_and_display_attr_value): Update decode_location_expression call. (display_debug_loc, display_debug_frames): Likewise. gas/ * dw2gencfi.c (DWARF2_ADDR_SIZE): Provide default. (struct cfi_insn_data): Add ea member. (CFI_val_encoded_addr, dot_cfi_val_encoded_addr): New. (output_cfi_insn): Handle CFI_val_encoded_addr. (select_cie_for_fde): Don't match CFI_val_encoded_addr. * doc/as.texinfo (.cfi_val_encoded_addr): Document.