aboutsummaryrefslogtreecommitdiff
path: root/binutils
AgeCommit message (Collapse)AuthorFilesLines
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.
2007-10-16Support the use of the STT_COMMON type. (In source and object files only at ↵Nick Clifton5-4/+11
the moment)
2007-10-15 * objdump.c (print_line): Check fwrite return value.Alan Modra4-9/+34
* srconv.c (checksum, wr_tr, wr_cs): Likewise. * sysdump.c (fillup): Return zero on getc or fread EOF. Return count read.
2007-10-10* dwarf.c (process_debug_info): Line up section offsets ofJim Blandy2-2/+6
attribute values with those of dies. (read_and_display_attr): Reduce spacing here.
2007-10-10* dwarf.c (display_debug_lines): Print the offset of each lineJim Blandy2-0/+8
number program header.
2007-10-09binutils/H.J. Lu2-134/+182
2007-10-09 H.J. Lu <hongjiu.lu@intel.com> PR binutils/4476 * readelf.c (print_dynamic_symbol): New. (process_symbol_table): Handle DT_GNU_HASH for dynamic symbols. ld/testsuite/ 2007-10-09 H.J. Lu <hongjiu.lu@intel.com> PR binutils/4476 * ld-elf/hash.d: Check "-s -D" for readelf.
2007-10-09*** empty log message ***Carlos O'Donell1-0/+9
2007-10-082007-10-08 Carlos O'Donell <carlos@codesourcery.com>Carlos O'Donell2-14/+39
* resrc.c (read_rc_file): Rename e to edit, and c to dir. Pass dir to windres_add_include_dir. Add comments. (close_input_stream): Check pclose error, and call fatal if the preprocessor failed. * windres.c (windres_add_include_dir): Assert that p is non-NULL, and not an empty string.
2007-10-04Fix spelling typos.Nick Clifton2-2/+7
2007-10-03 * readelf.c (dump_section_as_strings): Use %6tx instead of %6zx.Alan Modra2-1/+5
2007-09-25Fix spelling typoNick Clifton2-1/+5
2007-09-17* readelf.c (do_archive_index): New.Nick Clifton4-26/+246
(options): Add -c and --archive-index option. (usage): Add -c option. (parse_args): Add c option parsing. (process_archive): Dump archive index. * NEWS: Mention the new feature. * doc/binutils.texi: Document the new feature.
2007-09-17Updated Spanish translationNick Clifton2-1158/+1420
2007-09-17* doc/binutils.texi (objdump): Describe the output of the --syms option in ↵Nick Clifton2-5/+14
more detail.
2007-09-17PR binutils/4987Nick Clifton3-6/+94
* resrc.c: (read_rc_file): Move 'filename' default initialization to start of function.
2007-09-14Add AMD SSE5 supportMichael Meissner2-0/+7
2007-09-13 * nm.c (value_format_64bit, set_print_radix, print_value): HandleAlan Modra3-28/+50
BFD_HOST_64BIT_LONG_LONG. * readelf.c (print_dec_vma): Don't define if BFD_HOST_64BIT_LONG_LONG. (print_vma): Handle BFD_HOST_64BIT_LONG_LONG. (dump_relocations): Likewise. Expand _bfd_int64_low in a number of places.
2007-09-11PR/5020: STRINGTABLE doesn't work in 2.18 windres.Kai Tietz2-4/+9
2007-09-10 PR 5011Alan Modra2-2/+34
* readelf.c (process_version_sections): Don't read past end of various section buffers.