aboutsummaryrefslogtreecommitdiff
path: root/binutils
AgeCommit message (Collapse)AuthorFilesLines
2008-02-04bfd/H.J. Lu2-0/+15
2008-02-04 Kai Tietz <kai.tietz@onevision.com> H.J. Lu <hongjiu.lu@intel.com> PR 5715 * warning.m4: Enable -Wno-format by default when using gcc on mingw. * configure: Regenerated. binutils/ 2008-02-04 H.J. Lu <hongjiu.lu@intel.com> PR 5715 * configure: Regenerated. gas/ 2008-02-04 H.J. Lu <hongjiu.lu@intel.com> PR 5715 * configure: Regenerated. ld/ 2008-02-04 H.J. Lu <hongjiu.lu@intel.com> PR 5715 * configure: Regenerated. opcodes/ 2008-02-04 H.J. Lu <hongjiu.lu@intel.com> PR 5715 * configure: Regenerated.
2008-02-04 * readelf.c (get_machine_flags): Handle Octeon.Adam Nemet2-0/+5
2008-01-30 Add OpenVMS extensions.Nick Clifton2-7/+110
* ia64.h (SHF_IA_64_VMS_GLOBAL, SHF_IA_64_VMS_OVERLAID) (SHF_IA_64_VMS_SHARED, SHF_IA_64_VMS_VECTOR) (SHF_IA_64_VMS_ALLOC_64BIT, SHF_IA_64_VMS_PROTECTED) (SHT_IA_64_VMS_TRACE, SHT_IA_64_VMS_TIE_SIGNATURES) (SHT_IA_64_VMS_DEBUG, SHT_IA_64_VMS_DEBUG_STR) (SHT_IA_64_VMS_LINKAGES, SHT_IA_64_VMS_SYMBOL_VECTOR) (SHT_IA_64_VMS_FIXUP, DT_IA_64_VMS_SUBTYPE) (DT_IA_64_VMS_IMGIOCNT, DT_IA_64_VMS_LNKFLAGS) (DT_IA_64_VMS_VIR_MEM_BLK_SIZ, DT_IA_64_VMS_IDENT) (DT_IA_64_VMS_NEEDED_IDENT, DT_IA_64_VMS_IMG_RELA_CNT) (DT_IA_64_VMS_SEG_RELA_CNT, DT_IA_64_VMS_FIXUP_RELA_CNT) (DT_IA_64_VMS_FIXUP_NEEDED, DT_IA_64_VMS_SYMVEC_CNT) (DT_IA_64_VMS_XLATED, DT_IA_64_VMS_STACKSIZE) (DT_IA_64_VMS_UNWINDSZ, DT_IA_64_VMS_UNWIND_CODSEG) (DT_IA_64_VMS_UNWIND_INFOSEG, DT_IA_64_VMS_LINKTIME) (DT_IA_64_VMS_SEG_NO, DT_IA_64_VMS_SYMVEC_OFFSET) (DT_IA_64_VMS_SYMVEC_SEG, DT_IA_64_VMS_UNWIND_OFFSET) (DT_IA_64_VMS_UNWIND_SEG, DT_IA_64_VMS_STRTAB_OFFSET) (DT_IA_64_VMS_SYSVER_OFFSET, DT_IA_64_VMS_IMG_RELA_OFF) (DT_IA_64_VMS_SEG_RELA_OFF, DT_IA_64_VMS_FIXUP_RELA_OFF) (DT_IA_64_VMS_PLTGOT_OFFSET, DT_IA_64_VMS_PLTGOT_SEG) (DT_IA_64_VMS_FPMODE, SHN_IA_64_VMS_SYMVEC): Define * readelf.c (dump_relocations): Decode OpenVMS-specific sections. (get_ia64_dynamic_type): Decode OpenVMS-specific tags. (get_dynamic_type): Handle IA64-specific tags. (get_ia64_section_type_name): Handle OpenVMS-specific sections. (get_section_type_name): Handle OS-specific sections (and particularly IA64 OpenVMS one). (get_elf_section_flags): Makes flags static. Add entries for IA64 and decode them.
2008-01-29Fix spelling typo in previous deltaNick Clifton1-1/+1
2008-01-29* dwarf.c (print_dwarf_vma): Use mingw field type specified if necessary.Nick Clifton2-1/+6
2008-01-29* dwarf.c (print_dwarf_vma): New function. Display the value of aNick Clifton2-34/+76
dwarf_vma type at a specified precision. (display_debug_loc): Use dwarf_vma type for begin and end values. Use print_dwarf_vma to display their values. Use byte_get_signed in order to correctly detect the -1 escape value. (display_debug_aranges): Likewise. (display_debug_ranges): Likewise.
2008-01-29update copyright dateAlan Modra1-1/+1
2008-01-29 * dwarf.c (display_debug_loc): Correct test for base addressAlan Modra2-1/+10
entry when 64-bit host dumping 32-bit object.
2008-01-29 * MAINTAINERS: Remove myself as ix86 maintainer. Add for SPU.Alan Modra2-2/+6
2008-01-28PR binutils/5529Nick Clifton2-2/+8
* rclex.c (yylex): Also allow the hypen character.
2008-01-28Fix the last ChangeLog.H.J. Lu1-2/+1
2008-01-28binutils/H.J. Lu5-42/+166
2008-01-28 H.J. Lu <hongjiu.lu@intel.com> * dwarf.c: Include "elf/common.h". (eh_addr_size): Changed to int. (dwarf_regnames_i386): New. (dwarf_regnames_x86_64): Likewise. (dwarf_regnames): Likewise. (dwarf_regnames_count): Likewise. (init_dwarf_regnames): Likewise. (regname): Likewise. (frame_display_row): Properly support different address size. Call regname to get register name. (display_debug_frames): Call regname to get register name. Display DW_CFA_def_cfa_register as DW_CFA_def_cfa_register instead of DW_CFA_def_cfa_reg. * dwarf.h (init_dwarf_regnames): New. * objdump.c: Include "elf-bfd.h". (dump_dwarf): Call init_dwarf_regnames on ELF input. * readelf.c (guess_is_rela): Change argument to int. (parse_args): Remove the undocumented upper case options for -wX. (process_file_header): Call init_dwarf_regnames if do_dwarf_register is true. gas/testsuite/ 2008-01-28 H.J. Lu <hongjiu.lu@intel.com> * gas/cfi/cfi-alpha-1.d: Replace DW_CFA_def_cfa_reg with DW_CFA_def_cfa_register. * gas/cfi/cfi-alpha-3.d: Likewise. * gas/cfi/cfi-hppa-1.d: Likewise. * gas/cfi/cfi-i386.d: Likewise. * gas/cfi/cfi-m68k.d: Likewise. * gas/cfi/cfi-mips-1.d: Likewise. * gas/cfi/cfi-sh-1.d: Likewise. * gas/cfi/cfi-sparc-1.d: Likewise. * gas/cfi/cfi-sparc64-1.d: Likewise. * gas/cfi/cfi-x86_64.d: Likewise. * gas/cfi/cfi-common-1.d: Updated for i386/x86-64 register names. * gas/cfi/cfi-common-2.d: Likewise. * gas/cfi/cfi-common-5.d: Likewise. * gas/cfi/cfi-i386.d: Likewise. * gas/cfi/cfi-x86_64.d: Likewise. ld/testsuite/ 2008-01-28 H.J. Lu <hongjiu.lu@intel.com> * ld-elf/eh1.d: Replace DW_CFA_def_cfa_reg with DW_CFA_def_cfa_register. Updated for i386/x86-64 register names. * ld-elf/eh2.d: Likewise. * ld-elf/eh3.d: Likewise. * ld-elf/eh4.d: Likewise. * ld-elf/eh5.d: Likewise.
2008-01-25* readelf.c (process_section_headers): Add m16c handler.DJ Delorie2-0/+17
(is_16bit_abs_reloc): Recognize R_M32C_16.
2008-01-25Add mingw I64 support for printing long and long long valuesNick Clifton5-43/+149
2008-01-25* po/ru.po: Updated Russian translation.Nick Clifton2-16/+20
2008-01-17binutils/H.J. Lu2-2/+6
2008-01-17 H.J. Lu <hjl.tools@gmail.com> * MAINTAINERS: Update my email address. gdb/ 2008-01-17 H.J. Lu <hjl.tools@gmail.com> * MAINTAINERS: Update my email address.
2008-01-14 (DEBUG_INFO_UNAVAILABLE): Value stored in num_debug_info_entriesNick Clifton2-16/+33
when the .debug_info section could not be loaded/parsed. (process_debug_info): Display the length of the compilation unit in hex, so that it corresponds with the offsets that will follow. Tell the user if the length was 32-bit or 64-bit. If a DIE abbreviation could not be found, tell the user the offset of the DIE. (free_debug_memory): Do not attempt to free any entries in the debug_information array if num_debug_info_entries is set to DEBUG_INFO_UNAVAILABLE.
2008-01-14 * dwarf.c (process_debug_info): Include the CU offset and corruptNick Clifton2-6/+39
version value when reporting unrecognised DWARF version numbers. (load_debug_info): Remember a failed attempt to load and parse the .debug_info section and do not repeat such attempts. (display_debug_lines): Check the return value from load_debug_info and return whilst displaying a warning message if the load failed. (display_debug_loc): Likewise. (display_debug_ranges): Likewise.
2008-01-10* readelf.c (is_64bit_abs_reloc): Handle R_S390_64.Andreas Schwab2-0/+7
2008-01-09PR binutils/55326Nick Clifton4-13/+40
* bucomm.c (list_supported_architectures): Free architecture list after use. * windres.c (set_endianess): Likewise. * windmc.c (set_endianess): Likewise.
2008-01-08binutils/rclex.c: (yylex): Add ':', '_', '\\', and '/' to post charactersKai Tietz2-1/+10
for name tokens. PR/5529.
2008-01-07 * prdbg.c (print_vma): Print as long long, if host supports it.Greg McGary2-1/+16
2008-01-04 * dwarf.c (read_and_display_attr_value): Prefix values that areNick Clifton2-37/+92
displayed in hexadecimal with 0x. For the DW_AT_import attribute display the abbreviation number and tag of the imported DIE. (process_debug_info): Warn about lengths that reserved by the DWARF3 specification. Provide more information when corrupted DIEs are detected. Warn if DIE corruption makes the sibling level negative.
2008-01-02Move 2007 ChangeLog entries to ChangeLog-2007.H.J. Lu2-1158/+1166
2007-12-24Updated Russian translation.Nick Clifton2-2298/+2581
2007-12-22binutils/H.J. Lu2-1/+10
2007-12-22 H.J. Lu <hongjiu.lu@intel.com> * doc/binutils.texi: Document the new intel-mnemonic and intel-mnemonic options for i386 disassembler. gas/testsuite/ 2007-12-22 H.J. Lu <hongjiu.lu@intel.com> * gas/i386/compat-intel.d: New file. * gas/i386/compat.d: Likewise. * gas/i386/compat.s: Likewise. * gas/i386/i386.exp: Run compat. opcodes/ 2007-12-22 H.J. Lu <hongjiu.lu@intel.com> * i386-dis.c (intel_mnemonic): New. (print_i386_disassembler_options): Display att-mnemonic and intel-mnemonic options. (print_insn): Handle att-mnemonic and intel-mnemonic. (float_reg): Replace SYSV386_COMPAT with "!M" and "M". (putop): Handle "!M" and "M".
2007-12-08 * readelf.c (is_32bit_pcrel_reloc): Add Xtensa.Bob Wilson2-0/+7
2007-12-03 * readelf.c (is_32bit_abs_reloc, is_32bit_pcrel_reloc): Add SPU.Alan Modra2-0/+8
2007-11-29 bfd/Mark Shinwell2-0/+7
* archures.c (bfd_mach_mips_loongson_2e): New. (bfd_mach_mips_loongson_2f): New. * bfd-in2.h (bfd_mach_mips_loongson_2e): New. (bfd_mach_mips_loongson_2f): New. * cpu-mips.c: Add I_loongson_2e and I_loongson_2f to anonymous enum. (arch_info_struct): Add Loongson-2E and Loongson-2F entries. * elfxx-mips.c (_bfd_elf_mips_mach): Handle Loongson-2E and Loongson-2F flags. (mips_set_isa_flags): Likewise. (mips_mach_extensions): Add Loongson-2E and Loongson-2F entries. binutils/ * readelf.c (get_machine_flags): Handle Loongson-2E and -2F flags. gas/ * config/tc-mips.c (mips_cpu_info_table): Add loongson2e and loongson2f entries. * doc/c-mips.texi: Document -march=loongson{2e,2f} options. gas/testsuite/ * gas/mips/mips.exp: Add loongson-2e and -2f tests. * gas/mips/loongson-2e.d: New. * gas/mips/loongson-2e.s: New. * gas/mips/loongson-2f.d: New. * gas/mips/loongson-2f.s: New. include/elf/ * mips.h (E_MIPS_MACH_LS2E): New. (E_MIPS_MACH_LS2F): New. include/opcode/ * mips.h (INSN_LOONGSON_2E): New. (INSN_LOONGSON_2F): New. (CPU_LOONGSON_2E): New. (CPU_LOONGSON_2F): New. (OPCODE_IS_MEMBER): Update for Loongson-2E and -2F flags. opcodes/ * mips-dis.c (mips_arch_choices): Add Loongson-2E and -2F entries. * mips-opc.c (IL2E): New. (IL2F): New. (mips_builtin_opcodes): Add Loongson-2E and -2F instructions. Allow movz and movn for Loongson-2E and -2F. Add movnz entry. Move coprocessor encodings to the end of the table. Allow certain MIPS V .ps instructions on the Loongson-2E and -2F.
2007-11-26 * cxxfilt.c (demangle_it): Don't call printf without format string.Alan Modra2-2/+6
2007-11-21 * dwarf.c (display_debug_loc): Cast section_end - start to longHans-Peter Nilsson2-1/+6
for output format.
2007-11-21* dwarf.c (display_debug_loc): Issue a warning if there are bytes at the endNick Clifton2-0/+10
of the .debug_loc section which are not referenced by any attribute in the .debug_info section.
2007-11-19* readelf.c (is_32bit_abs_reloc): Add support for NIOS relocs.Nick Clifton2-13/+23
(is_64bit_abs_reloc): Add support for HPPA relocs. (is_16bit_abs_reloc): Add support for NIOS relocs.
2007-11-17 [ld/testsuite/ChangeLog]Thiemo Seufer2-0/+8
* ld-mips-elf/attr-gnu-4-14.d, ld-mips-elf/attr-gnu-4-41.d: Adjust warning message for -mfp64 flag. * ld-mips-elf/attr-gnu-4-5.s, ld-mips-elf/attr-gnu-4-04.d, ld-mips-elf/attr-gnu-4-51.d, ld-mips-elf/attr-gnu-4-05.d, ld-mips-elf/attr-gnu-4-15.d, ld-mips-elf/attr-gnu-4-24.d, ld-mips-elf/attr-gnu-4-25.d, ld-mips-elf/attr-gnu-4-34.d, ld-mips-elf/attr-gnu-4-35.d, ld-mips-elf/attr-gnu-4-42.d, ld-mips-elf/attr-gnu-4-43.d, ld-mips-elf/attr-gnu-4-44.d, ld-mips-elf/attr-gnu-4-45.d, ld-mips-elf/attr-gnu-4-40.d, ld-mips-elf/attr-gnu-4-14.d: New testcases files. * ld-mips-elf/mips-elf.exp: Run new testcases. [binutils/ChangeLog] * readelf.c (display_mips_gnu_attribute): Recognize -mips32r2 -mfp64 objects. [include/ChangeLog] * elf/mips.h (Tag_GNU_MIPS_ABI_FP): Mention -mips32r2 -mfp64 variant in comment. [bfd/ChangeLog] * elfxx-mips.c (mips_elf_merge_obj_attributes): Handle -mips32r2 -mfp64 attribute. [gas/ChangeLog] * doc/as.texinfo: Document the new attribute value.
2007-11-16* dwarf2.h: Mention the location of the DWARF3 spec on the web.Nick Clifton2-29/+186
(DW_AT_stride_size): Rename to DW_AT_bit_stride. (DW_AT_stride): Rename to DW_AT_byte_stride. * dwarf.c (process_extended_line_op): Add cases for HP extensions to the line ops. Mention if an unknown op code is in the user defined range. (decode_location_expression): Add cases for HP extensions, the DW_OP_GNU_uninit extension and the DW_OP_call_frame_cfa and DW_OP_bit_piece DWARF3 operators. (read_and_display_attr): Correct list of attributes which can reference a location list. (read_and_display_attr_value): Add cases for DWARF3 values and HP extensions. Correct list of attributes which can reference a location list. (get_AT_name): Add cases for DWARF3 values and HP and PGI extensions.
2007-11-07* doc/binutils.texi: Update to FDL 1.2.Nick Clifton3-152/+245
(Top): consistent punctuation in menu entries. (Index): Rename from Binutils Index. * doc/fdl.texi: Update from http://www.gnu.org/licenses/fdl.texi.
2007-10-31Add cast to avoid compile time warningNick Clifton1-1/+1
2007-10-31* dwarf.c (is_relocatable): Remove definition.Nick Clifton5-56/+104
(display_debug_frames): Remove check in is_relocatable. * dwarf.h (is_relocatable): Remove declaration. * objdump.c (is_relocatable): New static definition. * readelf.c (dump_relocations): Make the function void. (is_32bit_abs_reloc): Add support for x86, Arc, Arm, D10V, Dlx, OR32 and Score. (is_32bit_pcrel_reloc): Add support for x86 and Arm. (is_16bit_abs_reloc): Add support for D10V. (debug_apply_rela_addends): Rename to debug_apply_relocations. Add code to support rel relocations. (load_debug_section): Fix call to debug_apply_relocations. (get_file_header): Remove setting of is_relocatable. * gas/cfi/cfi-common-6.d: Allow for possible relocation of the .debug.eh_frame section.
2007-10-31 * readelf.c (debug_apply_rela_addends): Clarify FIXME.Alan Modra2-8/+11
2007-10-29* readelf.c (is_32bit_abs_reloc): Add knowledge of reloc used by IA64.Nick Clifton2-1/+10
(is_64bit_abs_reloc): Likewise.
2007-10-28* dwarf.c (process_debug_info): Check for corrupt lengths.Nick Clifton3-140/+337
* readelf.c (get_reloc_type): New function. Returns the reloc number extracted from the info field of a reloc. (get_reloc_symindex): New function. Returns the symbol index (extracted from the info field of a reloc. (dump_relocations): Use the new functions. (slurp_ia64_unwind_table): Use the new functions. (slurp_hppa_unwind_table): Use the new functions. (dump_section_as_bytes): Use the new functions. (get_reloc_size): Delete function. (is_32bit_abs_reloc): New function. Determines if a given reloc type is a 32-bit absolute relocation. (is_32bit_pcrel_reloc): New function. Like is_32bit_abs_reloc but for pc-relative relocations. (is_64bit_abs_reloc): New function. Like is_32bit_abs_reloc but for 64-bit absolute relocations. (is_16bit_abs_reloc): New function. Like is_32bit_abs_reloc but for 32-bit absolute relocations. (debug_apply_rela_addends): Use the new functions. Skip and warn about any unrecognised relocations.
2007-10-26* doc/binutils.texi: Move top stuff to the top.Nick Clifton2-53/+39
Use @direntry/@dircategory, format entries to play nicely with others. Avoid duplicate copying strings. Don't misspell "Texinfo".
2007-10-26 * binutils-all/windres/windres.exp: Don't xfail.Alan Modra2-18/+4
2007-10-25 * elf32-ppc.c (ppc_elf_merge_obj_attributes): Add support forDaniel Jacobowitz2-0/+31
Tag_GNU_Power_ABI_Vector. * readelf.c (display_power_gnu_attribute): Add support for Tag_GNU_Power_ABI_Vector. * ppc.h (Tag_GNU_Power_ABI_Vector): New. * ld-powerpc/attr-gnu-8-1.s, ld-powerpc/attr-gnu-8-11.d, ld-powerpc/attr-gnu-8-2.s, ld-powerpc/attr-gnu-8-23.d, ld-powerpc/attr-gnu-8-3.s, ld-powerpc/attr-gnu-8-31.d: New. * ld-powerpc/powerpc.exp: Run new tests.
2007-10-25 * readelf.c (get_note_type): Handle NT_PPC_VMX.Alan Modra2-0/+6
2007-10-24 * Makefile.am: Run "make dep-am".Alan Modra4-321/+344
* Makefile.in: Regenerate. * po/POTFILES.in: Regenerate.
2007-10-24 * strings.c (print_strings): Don't use %L, use %ll in printfAlan Modra2-12/+11
format strings.
2007-10-24 * readelf.c (process_program_headers): Use dynamic segment unlessAlan Modra2-10/+19
dynamic section is found.
2007-10-16 * doc/binutils.texi (objcopy, strip): Replace hyphens with em-dashes.Bob Wilson2-10/+16
(objdump, strip, c++filt): Correct punctuation for "e.g." and "i.e." and change to spell out "for example" in two places.
2007-10-16* configure.in: Build windows tools for --enable-targets=all.Nick Clifton3-0/+21
* configure: Regenerate.