summaryrefslogtreecommitdiff
path: root/binutils
Commit message (Collapse)AuthorAgeFilesLines
* Add Finnish translationNick Clifton2005-11-304-2/+5778
|
* add self as maintainer for target Z80Arnold Metselaar2005-11-212-1/+6
|
* 2005-11-17 Andrew Haley <aph@redhat.com>Andrew Haley2005-11-172-0/+6
| | | | * cxxfilt.c (main): Flush ouput at newline.
* * doc/binutils.texi: Include config.texi and @file documentationMark Mitchell2005-11-172-0/+11
| | | | | | | | | | | | | for manual pages. * Makefile.am (gprof.info, gprof.1): Depend on config.texi. (config.texi): New file. * Makefile.in: Regenerated. * Makefile.am (configdoc.texi): Set top_srcdir in configdoc.texi.. * Makefile.in: Regenerated. * ld.texinfo: Include configdoc.texi and ldver.texi in man pages. Add @file documentation.
* binutils/Jan Beulich2005-11-153-1/+44
| | | | | | | | | | | | | | | | 2005-11-15 Jan Beulich <jbeulich@novell.com> * objcopy.c (keep_file_symbols): New. (enum command_line_switch): Add OPTION_KEEP_FILE_SYMBOLS. (strip_options): Add --keep-file-symbols. (copy_options): Likewise. (copy_usage): Likewise. (strip_usage): Likewise. (filter_symbols): Act upon keep_file_symbols. (strip_main): Handle OPTION_KEEP_FILE_SYMBOLS. (copy_main): Likewise. * doc/binutils.texi: Document --keep-file-symbols for objcopy and strip.
* binutils/testsuite/Jan Beulich2005-11-152-15/+25
| | | | | | | | | | | | | | | | 2005-11-15 Jan Beulich <jbeulich@novell.com> * config/default.exp (link_or_copy): New. Use it for setting up assembler and linker for the compiler to use. ld/testsuite/ 2005-11-15 Jan Beulich <jbeulich@novell.com> * ld-bootstrap/bootstrap.exp: Delete ld-partial.o and ld[123]* after test. * ld-elf/elf.exp: Delete preinit, init, and fini after test. * ld-elf/sec64k.exp: Use macro and repeat in generated source files. Delete object files after test.
* * readelf.c (struct dump_list_entry, request_dump_byname)Daniel Jacobowitz2005-11-144-10/+84
| | | | | | | | (initialise_dumps_byname): New. (parse_args): Call request_dump_byname. (process_section_contents): Call initialise_dumps_byname. * doc/binutils.texi (readelf): Mention -x NAME. * NEWS: Likewise.
* PR 1150Nick Clifton2005-11-112-0/+54
| | | | | | | | | | | | | | | * readelf.c (get_mips_symbol_other): New function. (get_symbol_other): New function. (process_symbol_table): Call get_symbol_other() to get a description of the st_other field if it contains more information than just the visibility. * elfxx-mips.c (mips_elf_calculate_relocation): Ignore an undefined symbol if it is optional. (_bfd_mips_elf_merge_symbol_attribute): Make sure that the optional flag is merged as well as the visibility. * elfxx-mips.h (_bfd_mips_elf_merge_symbol_attribute): Prototype. (elf_backend_merge_symbol_attribute): Define. * mips.h (STO_OPTIONAL): Define. (ELF_MIPS_IS_OPTIONAL): Define.
* * configure: Regenerate after modifying bfd/warning.m4.Steve Ellcey2005-11-072-6/+16
|
* ld/H.J. Lu2005-10-304-98/+106
| | | | | | | | | | | | binutils/ opcodes/ 2005-10-30 H.J. Lu <hongjiu.lu@intel.com> * Makefile.am: Run "make dep-am". * Makefile.in: Regenerated. * dep-in.sed: Replace " ./" with " ".
* oops - omitted from previous deltaNick Clifton2005-10-251-0/+3
|
* RegenerateAlan Modra2005-10-253-1290/+1305
|
* Add self as Blackfin maintainer.Bernd Schmidt2005-10-242-0/+5
|
* binutils/testsuite/H.J. Lu2005-10-203-1/+65
| | | | | | | | | | | | | | | | | | 2005-10-20 H.J. Lu <hongjiu.lu@intel.com> PR ld/251 * binutils-all/group.s: New file. * binutils-all/objcopy.exp (objcopy_test_readelf): New procedure. Use it to test ELF group. ld/testsuite/ 2005-10-20 H.J. Lu <hongjiu.lu@intel.com> PR ld/251 * ld-elf/group.2d: New file.
* binutils/testsuite/H.J. Lu2005-10-193-84/+81
| | | | | | | | | | | | | | | | | | 2005-10-19 H.J. Lu <hongjiu.lu@intel.com> PR binutils/1487 * binutils-all/objcopy.exp (objcopy_test): New procedure. Use it to test simple copy, ia64 link order and ELF unknown section type. * binutils-all/unknown.s: New file. ld/testsuite/ 2005-10-19 H.J. Lu <hongjiu.lu@intel.com> PR binutils/1487 * ld-elf/unknown.d: New file.
* 2005-10-19 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2005-10-193-0/+59
| | | | | | | PR binutils/1321 * binutils-all/link-order.s: New. * binutils-all/objcopy.exp: Check ia64 link order.
* * MAINTAINERS: Add self as BFIN maintainer.Jie Zhang2005-10-182-0/+5
|
* Remove spurious checking of a potential, but untested patch.Nick Clifton2005-10-121-7/+0
|
* 2005-10-11 Danny Smith <dannysmith@users.sourceforge.net>Danny Smith2005-10-123-0/+18
| | | | | * binutils-all/windres/escapex-2.rc: New file. * binutils-all/windres/escapex-2.rsd: Generate.
* 2005-10-11 Danny Smith <dannysmith@users.sourceforge.net>Danny Smith2005-10-122-1/+11
| | | | | * rclex.l (handle quotes): Stop parsing hex notation escaped chars after the first two digits,
* PR binutils/1437Nick Clifton2005-10-114-24/+98
| | | | | | | | | | | | | | | * cxxfilt.c (flags): Remove DMGL_TYPES; (long_options): Rename --no-types to --types. (usage): Likewise. (demangle_it): Add a comment describing why _ and $ prefixes are skipped. Use printf rather than puts to emit the demangled output in order to avoid emitting a new line character. (main): Have the -t flag enable type demangling. Emit a newline after every demangled command line argument. Copy whitespace from stdin to stdout. * doc/binutils.texi (c++filt): Document the change to the -t switch. Document why demangling names on the command line is slightly different to demangling names read from the standard input.
* * doc/Makefile.am (config.texi): Set top_srcdir.Mark Mitchell2005-10-114-13/+9
| | | | | * doc/Makefile.in: Regenerated. * doc/binutils.texi: Use at-file.texi from libiberty.
* 2005-10-10 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2005-10-102-1/+12
| | | | | | PR binutils/1436 * readelf.c (ABSADDR): New. (dump_ia64_unwind): Use ABSADDR to get the unwind info address.
* * resbin.c (res_to_bin_accelerator): Place the terminating NUL at the correctNick Clifton2005-10-102-1/+6
| | | | location in the bindata structure.
* * doc/binutils.texi (objdump): Fix typo: -reg-name-std should be -reg-names-std.Nick Clifton2005-10-102-1/+6
|
* 2005-10-08 Paul Brook <paul@codesourcery.com>Paul Brook2005-10-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bfd/ * elf32-arm.c: Move #include "elf/arm.h" after libbfd.h. (NUM_KNOWN_ATTRIBUTES): Define. (aeabi_attribute, aeabi_attribute_list): Define. (elf32_arm_obj_tdata): Add known_eabi_attributes and other_eabi_attributes. (uleb128_size, is_default_attr, eabi_attr_size, elf32_arm_eabi_attr_size, write_uleb128, write_eabi_attribute, elf32_arm_set_eabi_attr_contents, elf32_arm_bfd_final_link, elf32_arm_new_eabi_attr, attr_strdup, elf32_arm_add_eabi_attr_int, elf32_arm_add_eabi_attr_compat, copy_eabi_attributes, elf32_arm_merge_eabi_attributes): New functions. (elf32_arm_copy_private_bfd_data): Copy EABI object attributes. (elf32_arm_fake_sections): Handle .ARM.attributes. (elf32_arm_parse_attributes): New function. (elf32_arm_section_from_shdr): Use it. (bfd_elf32_bfd_final_link): Define. gas/ * config/tc-arm.c: Don't provide fallback default for CPU_DEFAULT. (arm_arch_used, thumb_arch_used, selected_cpu, selected_cpu_name): New variables. (arm_cpu_option_table): Add canonical_name. (arm_cpus): Populate canonical_name field. (s_arm_eabi_attribute, s_arm_arch, s_arm_cpu, s_arm_fpu, aeabi_set_public_attributes, arm_md_end): New functions. (md_pseudo_table): Add "cpu", "arch", "fpu" and "eabi_attribute". (md_assemble): Set thumb_arch_used and arm_arch_used. (md_begin): Set defaut cpu if CPU_DEFAULT not defined. * config/tc-arm.h (md_end): Define. * doc/c-arm.texi: Document .cpu, .arch, .fpu and .eabi_attribute. gas/testsuite/ * gas/arm/eabi_attr_1.s: New test. * gas/arm/eabi_attr_1.d: New test. * gas/arm/arm7t.d: Only disassemble code sections. * gas/arm/bignum1.d: Ignore Arm object attribute sections. * gas/arm/mapping.d: Ditto. * gas/arm/unwind.d: Ditto. * gas/elf/section0.d: Ditto. * gas/elf/section1.d: Ditto. * gas/elf/elf.exp: Set target_machine for Arm EABI based targets. * gas/elf/section2.e-armeabi: New file. include/elf/ * arm.h: Add prototypes for BFD object attribute routines. ld/testsuite/ * ld-arm/arm-rel31.d: Ignore Arm object attribute sections. * ld-arm/arm-target1-abs.d: Ditto. * ld-arm/arm-target1-rel.d: Ditto. * ld-arm/arm-target2-abs.d: Ditto. * ld-arm/arm-target2-got-rel.d: Ditto. * ld-arm/arm-target2-rel.d: Ditto.
* * cxxfilt.c: Treat mangled names specified on the command line in the same wayNick Clifton2005-10-044-140/+149
| | | | | | | | as mangled names read from stdin. Add -i switch to disable the display of implementation details. Add -t switch to disable the demangling of types. * NEWS: Mention the new switches. * doc/binutils.texi (cxxfilt): Document the -i and -t switches.
* * addr2line.c (usage): Document @file.Mark Mitchell2005-10-0317-2/+66
| | | | | | | | | | | | | | | | | | * ar.c (usage): Likewise. * coffdump (usage): Likewise. * cxxfilt.c (usage): Likewise. * dlltool.c (usage): Likewise. * dllwrap.c (usage): Likewise. * nlmconv.c (usage): Likewise. * nm.c (usage): Likewise. * objcopy.c (usage): Likewise. * objdump.c (usage): Likewise. * readelf.c (usage): Likewise. * size.c (usage): Likeise. * srconv.c (usage): Likewise. * strings.c (usage): Likewise. * windres.c (usage): Likewise. * doc/binutils.texi: Add section on common options.
* 2005-10-03 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2005-10-033-0/+17
| | | | | | * NEWS: Mention -W/--dwarf. * doc/binutils.texi: Document -W/--dwarf for objdump.
* 2005-10-01 Paul Brook <paul@codesourcery.com>Paul Brook2005-10-012-0/+351
| | | | | | | | | | | | | | | | | | * readelf.c (arm_attr_tag_CPU_arch, arm_attr_tag_ARM_ISA_use, arm_attr_tag_THUMB_ISA_use, arm_attr_tag_VFP_arch, arm_attr_tag_WMMX_arch, arm_attr_tag_NEON_arch, arm_attr_tag_ABI_PCS_config, arm_attr_tag_ABI_PCS_R9_use, arm_attr_tag_ABI_PCS_RW_data, arm_attr_tag_ABI_PCS_RO_DATA, arm_attr_tag_ABI_PCS_GOT_use, arm_attr_tag_ABI_PCS_wchar_t, arm_attr_tag_ABI_FP_rounding, arm_attr_tag_ABI_FP_denormal, arm_attr_tag_ABI_FP_exceptions, arm_attr_tag_ABI_FP_user_exceptions, arm_attr_tag_ABI_FP_number_model, arm_attr_tag_ABI_align8_needed, arm_attr_tag_ABI_align8_preserved, arm_attr_tag_ABI_enum_size, arm_attr_tag_ABI_HardFP_use, arm_attr_tag_ABI_VFP_args, arm_attr_tag_ABI_WMMX_args, arm_attr_tag_ABI_optimization_goals, arm_attr_tag_ABI_FP_optimization_goals, arm_attr_public_tags): New. (display_arm_attribute, process_arm_specific): New functions. (process_arch_specific): Add EM_ARM.
* * dlltool.c (main): Fix typo.Mark Mitchell2005-09-303-2/+7
| | | | * windres.c (main): Likewise.
* 2005-09-30 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2005-09-302-0/+7
| | | | * Makefile.in: Regenerated.
* 2005-09-30 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2005-09-302-4/+6
| | | | * sysinfo.y (main): Undo last change.
* * addr2line.c (main): Likewise.Mark Mitchell2005-09-3018-0/+55
| | | | | | | | | | | | | | | | | | | | | | | | | * ar.c (main): Likewise. * coffdump.c (main): Likewise. * cxxfilt.c (main): Likewise. * dlltool.c (main): Likewise. * dllwrap.c (main): Likewise. * nlmconv.c (main): Likewise. * nm.c (main): Likewise. * objcopy.c (main): Likewise. * objdump.c (main): Likewise. * readelf.c (main): Likewise. * size.c (main): Likeiwse. * srcconv.c (main): Likewise. * strings.c (main): Likewise. * sysdump.c (main): Likewise. * sysinfo.c (main): Likewise. * windres.c (main): Likewise. * ldmain.c (main): Use expandargv. * gprof.c (main): Use expandargv. * as.c (main): Use expandargv.
* 2005-09-30 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2005-09-304-610/+475
| | | | | | * Makefile.am: Run "make dep-am". * Makefile.in: Regenerated. * aclocal.m4: Likewise.
* * Makefile.am: Bfin support.Catherine Moore2005-09-305-158/+369
| | | | | | | | * Makefile.in: Regenerated. * aclocal.m4: Regenerated. * readelf.c (elf/bfin.h): Include. (guess_is_rela): EM_BLACKFIN support. (dump_relocations): Likewise.
* 2005-09-30 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2005-09-303-6/+72
| | | | | | | | | | | | * dwarf.c (fetch_indirect_string): Adjust for section address. (process_debug_info): Likewise. (display_debug_loc): Likewise. (display_debug_ranges): Likewise. * objdump.c (mach_o_dwarf_sections): New. (generic_dwarf_sections): Likewise. (check_mach_o_dwarf): Likewise. (dump_dwarf): Call check_mach_o_dwarf.
* 2005-09-30 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2005-09-304-6/+158
| | | | | | | | | | | | | | | | | * Makefile.am (objdump_SOURCES): Add dwarf.c. * Makefile.in: Regenerated. * objdump.c: Include "dwarf.h". (usage): Add -W/--dwarf. (long_options): Likewise. (dump_dwarf_section_info): New. (load_debug_section): Likewise. (free_debug_section): Likewise. (dump_dwarf_section): Likewise. (dump_dwarf): Likewise. (dump_bfd): Load symbol table and call dump_dwarf if dump_dwarf_section_info isn't zero. (main): Handle -W/--dwarf.
* 2005-09-30 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2005-09-305-3804/+3915
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Makefile.am (CFILES): Add dwarf.c. (readelf_SOURCES): Likewise. * Makefile.in: Regenerated. * dwarf.c: New file. * dwarf.h. Likewise. * readelf.c: Include "dwarf.h" instead of "bfd.h". (do_debug_info): Remove the static definition. (do_debug_abbrevs): Likewise. (do_debug_lines): Likewise. (do_debug_pubnames): Likewise. (do_debug_aranges): Likewise. (do_debug_ranges): Likewise. (do_debug_frames): Likewise. (do_debug_frames_interp): Likewise. (do_debug_macinfo): Likewise. (do_debug_str): Likewise. (do_debug_loc): Likewise. (is_relocatable): Likewise. (have_frame_base): Likewise. (need_base_address): Likewise. (eh_addr_size): Likewise. (error): Likewise. (warn): Likewise. (cmalloc): Likewise. (xcmalloc): Likewise. (xcrealloc): Likewise. (dwarf_section): Removed. (byte_get_little_endian): Likewise. (byte_get_signed): Likewise. (byte_get_big_endian): Likewise. (read_leb128): Likewise. (State_Machine_Registers): Likewise. (state_machine_regs): Likewise. (reset_state_machine): Likewise. (process_extended_line_op): Likewise. (debug_str_section): Likewise. (fetch_indirect_string): Likewise. (debug_abbrev_section): Likewise. (abbrev_attr): Likewise. (first_abbrev): Likewise. (last_abbrev): Likewise. (free_abbrevs): Likewise. (add_abbrev_attr): Likewise. (process_abbrev_section): Likewise. (get_TAG_name): Likewise. (get_FORM_name): Likewise. (display_block): Likewise. (decode_location_expression): Likewise. (debug_info): Likewise. (debug_information): Likewise. (num_debug_info_entries): Likewise. (last_pointer_size): Likewise. (warned_about_missing_comp_units): Likewise. (read_and_display_attr_value): Likewise. (get_AT_name): Likewise. (read_and_display_attr): Likewise. (process_debug_info): Likewise. (get_pointer_size_and_offset_of_comp_unit): Likewise. (get_debug_info): Likewise. (display_debug_lines): Likewise. (display_debug_pubnames): Likewise. (display_debug_macinfo): Likewise. (display_debug_abbrev): Likewise. (display_debug_loc): Likewise. (display_debug_str): Likewise. (display_debug_aranges): Likewise. (display_debug_ranges): Likewise. (Frame_Chunk): Likewise. (DW_CFA_unreferenced): Likewise. (frame_need_space): Likewise. (frame_display_row): Likewise. (size_of_encoded_value): Likewise. (get_encoded_value): Likewise. (GET): Likewise. (LEB): Likewise. (SLEB): Likewise. (display_debug_frames): Likewise. (display_debug_not_supported): Likewise. (debug_displays): Likewise. (load_debug_section): Updated. (free_debug_section): Likewise. (display_debug_section): Likewise. (process_object): Call free_debug_memory to free debug memory.
* 2005-09-30 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2005-09-302-463/+431
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * readelf.c: Reordered. (is_relocatable): New. (dwarf_section): New structure for DWARF section. (load_debug_section): New. (free_debug_section): Likewise. (debug_str_section): Likewise. (debug_abbrev_section): Likewise. (debug_str_contents): Removed. (debug_str_size): Likewise. (debug_loc_contents): Likewise. (debug_loc_size): Likewise. (debug_range_contents): Likewise. (debug_range_size): Likewise. (load_debug_str): Likewise. (free_debug_str): Likewise. (load_debug_loc): Likewise. (free_debug_loc): Likewise. (load_debug_arange): Likewise. (free_debug_arange): Likewise. (load_debug_abbrev): Likewise. (free_debug_abbrev): Likewise. (fetch_indirect_string): Updated. (debug_apply_rela_addends): Likewise. (process_debug_info): Likewise. (get_debug_info): Likewise. (display_debug_lines): Likewise. (display_debug_pubnames): Likewise. (display_debug_macinfo): Likewise. (display_debug_abbrev): Likewise. (display_debug_loc): Likewise. (display_debug_str): Likewise. (display_debug_info): Likewise. (display_debug_aranges): Likewise. (display_debug_ranges): Likewise. (display_debug_frames): Likewise. (display_debug_not_supported): Likewise. (debug_displays): Likewise. (display_debug_section): Likewise. (get_file_header): Set is_relocatable.
* 2005-09-30 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2005-09-302-38/+51
| | | | | | | | | | | * readelf.c (debug_apply_rela_addends): Relocate the whole section. (process_debug_info): Don't call debug_apply_rela_addends. (display_debug_frames): Likewise. (get_debug_info): Call debug_apply_rela_addends. (debug_displays): Add the "relocate" field. (display_debug_section): Call debug_apply_rela_addends if needed.
* asintl.h/bucomm.h/ld.h: Prevent the inclusion of <libintl.h> from the SolarisNick Clifton2005-09-302-1/+16
| | | | | | version of <locale.h> when ENABLE_NLS is not defined. gprof.c (main):Only invoke bindtextdomain() and textdomain() if ENABLE_NLS is defined.
* * BRANCHES: Mention binutils-csl-gxxpro-3_4-branch.Mark Mitchell2005-09-262-0/+9
|
* * readelf.c (display_debug_lines): Use unsigned long for addressRichard Henderson2005-09-202-20/+27
| | | | increments. Use 0x prefix for all hex numbers.
* * readelf.c (get_arm_section_type_name): Add SHT_ARM_PREEMPTMAP andRichard Earnshaw2005-09-092-0/+9
| | | | SHT_ARM_ATTRIBUTES.
* 2005-09-07 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2005-09-072-27/+73
| | | | * readelf.c (get_elf_section_flags): Handle 64bit sh_flags.
* 2005-09-02 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2005-09-022-23/+56
| | | | | | | | * readelf.c (debug_abbrev_contents): New. (debug_abbrev_size): Likewise. (load_debug_abbrev): Likewise. (free_debug_abbrev): Likewise. (process_debug_info): Use them.
* Re-enable GAS for z8k-coffNick Clifton2005-08-262-1/+5
|
* Remove a29k support.Alan Modra2005-08-183-2/+6
|
* bfd/H.J. Lu2005-08-172-8/+22
| | | | | | | | | | | | | | | | | | | | 2005-08-17 H.J. Lu <hongjiu.lu@intel.com> PR binutils/1179 * dwarf2.c (_bfd_dwarf2_find_nearest_line): Use section lma instead of vma. (_bfd_dwarf2_find_line): Likewise. binutils/ 2005-08-17 H.J. Lu <hongjiu.lu@intel.com> PR binutils/1179 * objdump.c (disassemble_bytes): Don't adjust adjust_section_vma. (adjust_addresses): Don't adjust vma for debugging section. Adjust lma only for relocatable files. (dump_bfd): Tell adjust_addresses if it is a relocatable file.