aboutsummaryrefslogtreecommitdiff
path: root/binutils
AgeCommit message (Collapse)AuthorFilesLines
2001-12-04 * strings.c: Include config.h before bfd.h.Jakub Jelinek5-15/+174
(file_off): New type. (file_open): Define. (print_strings): Use file_off instead of file_ptr. Print addresses which don't fit into long correctly. (get_char): Use file_off instead of file_ptr. Use getc_unlocked if available. (strings_file): Use file_off instead of file_ptr. Use file_open. * configure.in: Check for getc_unlocked. Check for fopen64 and whether _LARGEFILE64_SOURCE needs to be defined for it. * configure: Rebuilt. * config.h.in: Rebuilt.
2001-11-292001-11-29 H.J. Lu <hjl@gnu.org>H.J. Lu2-5/+7
* bucomm.c (make_tempname): Revert the changes made on 2001-11-14 and 2001-11-12. They won't work with directories.
2001-11-292001-11-29 H.J. Lu <hjl@gnu.org>H.J. Lu2-0/+33
* binutils-all/objcopy.exp (strip_test): Add strip on archive.
2001-11-29Pass CC_FOR_TARGET and CFLAGS_FOR_TARGET to runtest in environment.Nick Clifton4-14/+21
2001-11-29 * objcopy.c (setup_section): Preserve SEC_RELOC whenMike Stump2-1/+6
--set-section-flags is used.
2001-11-28Add .cvsignore files to skip .gmo filesNick Clifton1-0/+1
2001-11-19Add -ws switch to display contents of .debug_str sectionsNick Clifton3-54/+174
2001-11-19 * testsuite/binutils-all/objdump.exp: Add x86-64.Andreas Jaeger2-2/+6
2001-11-15 * readelf.c: Fix warnings without terminating newline.Andreas Schwab2-9/+13
2001-11-15 * binutils-all/objcopy.exp: Allow '? main', to suit powerpc64.Alan Modra2-1/+5
2001-11-15 * binutils-all/readelf.exp: powerpc-*-eabi* is an ELF target.Geoffrey Keating2-0/+5
2001-11-15binutils/ChangeLogAlan Modra2-0/+8
* doc/binutils.texi (objdump): Document ppc -M options. gas/ChangeLog * config/tc-ppc.c (ppc_insert_operand): Pass (ppc_cpu | ppc_size) to operand->insert. (md_assemble): Likewise. gas/testsuite/ChangeLog * gas/ppc/booke.d: Modify reloc and target matches for powerpc64. include/opcode/ChangeLog * ppc.h (struct powerpc_operand <insert, extract>): Add dialect param. opcodes/ChangeLog * ppc-opc.c (PPC64): Revert 2001-10-12. Do include PPC_OPCODE_PPC. (insert_bat, extract_bat, insert_bba, extract_bba, insert_bd, extract_bd, insert_bdm, extract_bdm, insert_bdp, extract_bdp, valid_bo, insert_bo, extract_bo, insert_boe, extract_boe, insert_ds, extract_ds, insert_de, extract_de, insert_des, extract_des, insert_li, extract_li, insert_mbe, extract_mbe, insert_mb6, extract_mb6, insert_nb, extract_nb, insert_nsi, extract_nsi, insert_ral, insert_ram, insert_ras, insert_rbs, extract_rbs, insert_sh6, extract_sh6, insert_spr, extract_spr, insert_tbr, extract_tbr): Add dialect param. (extract_bd, extract_bdm, extract_bdp, extract_ds, extract_des, extract_li, extract_nsi): Implement sign extension without conditional. (insert_bdm, extract_bdm, insert_bdp, extract_bdp, valid_bo): Handle 64 bit branch hints. (extract_bdm, extract_bdp): Correct 32 bit validation. (AT1_MASK, AT2_MASK): Define. (BBOAT_MASK): Define. (BBOATCB_MASK, BBOAT2CB_MASK, BBOATBI_MASK): Define. (BOFM64, BOFP64, BOTM64, BOTP64): Define. (BODNZM64, BODNZP64, BODZM64, BODZP64): Define. (PPCCOM32, PPCCOM64): Define. (powerpc_opcodes): Modify existing 32 bit insns with branch hints and add new patterns to implement 64 bit branches with hints. Move booke instructions so they match before ppc64. * ppc-dis.c (powerpc_dialect): Set PPC_OPCODE_64 in dialect for 64 bit default targets, and parse "32" and "64" in options. Formatting fixes. (print_insn_powerpc): Pass dialect to operand->extract.
2001-11-14 * doc/binutils.texi (objdump): Fix description to use x86-64.Andreas Jaeger2-2/+6
2001-11-14Replace use of mkstemp with mkstemps, provided by libiberty.Nick Clifton2-2/+10
2001-11-14binutils/ChangeLogAlan Modra2-0/+17
* doc/binutils.texi (objdump): Document x86 -M options. include/ChangeLog * dis-asm.h (print_insn_i386): Declare. opcodes/ChangeLog * disassemble.c (disassembler): Call print_insn_i386. * i386-dis.c (SUFFIX_ALWAYS): Define. (struct dis_private): Add orig_sizeflag. (print_insn_i386): Make it a wrapper, calling.. (print_insn): ..The old body of print_insn_i386. Avoid longjmp warning without using volatile by moving orig_sizeflag to priv, and removing inbuf. Parse disassembler_options. (print_insn_i386_att, print_insn_i386_intel): Move initialisation code to print_insn. (putop): Remove #ifdef SUFFIX_ALWAYS.
2001-11-13 * readelf.c (read_and_display_attr_value): New function toRichard Henderson2-4/+30
handle DW_FORM_indirect. (read_and_display_attr): Use it.
2001-11-13Index: bfd/ChangeLogGeoffrey Keating2-12/+47
2001-11-11 Geoffrey Keating <geoffk@redhat.com> * dwarf2.c (decode_line_info): Properly deal with unknown standard opcodes. Index: binutils/ChangeLog 2001-11-11 Geoffrey Keating <geoffk@redhat.com> * readelf.c (display_debug_lines): Deal with unknown standard opcodes. Handle DW_LNS_set_prologue_end, DW_LNS_set_epilogue_begin, DW_LNS_set_isa. Index: include/elf/ChangeLog 2001-11-11 Geoffrey Keating <geoffk@redhat.com> * dwarf2.h (dwarf_line_number_ops): Add DWARF 3 opcodes.
2001-11-13Fix tic54x testsuite failures and Lmem disassembly bugs.Timothy Wall2-3/+8
2001-11-12Use mkstemp in place of mktemp.Nick Clifton2-11/+15
2001-11-10 * unwind-ia64.c (unw_print_brmask): Fix ISO C portability glitch.Jeff Law2-39/+47
(unw_print_grmask, unw_print_frmask, unw_print_abreg): Likewise. (unw_print_xyreg, unw_decode_x1, unw_decode_x2): Likewise. (unw_decode_x3, unw_decode_r1, unw_decode_r2): Likewise. (unw_decode_r3, unw_decode_p1, unw_decode_p2_p5): Likewise. (unw_decode_p6, unw_decode_p7_p10, unw_decode_b1): Likewise. (unw_decode_b2, unw_decode_b3_b4): Likewise.
2001-11-10 * readelf.c (get_elf_class): Fix ISO portability glitch.Jeff Law2-8/+13
(get_data_encoding, get_osabi_name, request_dump): Likewise.
2001-11-07 * readelf.c (debug_str, debug_str_size): New.Jakub Jelinek2-1/+57
(display_debug_abbrev): If no abbrevs were read, skip the CU. Call free_abbrevs. (read_and_display_addr): Handle DW_FORM_strp. (display_debug_info): Read .debug_str section if present, so that DW_FORM_strp can be handled. Fix test for non-existant .debug_abbrev section.
2001-11-05 * arlex.l: Accept `\' in filenames. Patch by <earl_chew@agilent.com>.Jakub Jelinek3-2/+9
* arsup.c (ar_open): Prepend tmp- to basename, not whole path.
2001-11-05Add self as s390/s390x maintainer.Martin Schwidefsky2-0/+5
2001-11-02Add myself as the ppc xcoff maintainerTom Rix2-0/+5
2001-11-02Add translationsNick Clifton5-244/+8494
2001-10-31 * MAINTAINERS: Add self as MMIX port maintainer.Hans-Peter Nilsson2-0/+2
2001-10-30Add MMIX supportNick Clifton2-0/+14
2001-10-13support multiple options to the -w switchNick Clifton2-36/+45
2001-10-12 * readelf.c (get_section_type_name): Don't print SHT_ prefix forJakub Jelinek2-3/+8
LOPROC, LOOS and LOUSER.
2001-10-11 * MAINTAINERS: Update my email address.Joern Rennecke2-1/+5
2001-10-03 * binutils-all/readelf.exp: Exclude mips*-*-elf* from 'readelf -wi'Thiemo Seufer2-1/+6
test.
2001-10-03Regenerate configure to include the gettext.m4 change. UpdateAlan Modra3-229/+245
opcodes/po/POTFILES.in
2001-10-02Add more detection of 64-bit DWARF sectionsNick Clifton2-2/+37
2001-10-02 * coffdump.c (PROGRAM_VERSION): Delete.Alan Modra9-214/+255
(main <'V'>): Call print_version. * srconv.c: Likewise. * sysdump.c: Likewise. * version.c (program_version): Remove. (print_version): Use BFD_VERSION_STRING. Just print the current year in copyright message. * addr2line.c (program_version): Remove unused declaration. * objdump.c (display_target_tables): Use BFD_VERSION_STRING in place of BFD_VERSION. * Makefile.am (Makefile): Depend on bfd/configure.in (cplus-dem.o): Depend on Makefile. Run "make dep-am" * Makefile.in: Regenerate.
2001-10-01Detect and warn about DWARF64 format .debug_arange sectionsNick Clifton2-0/+14
2001-09-30 * Makefile.am: Update dependencies with "make dep-am".Hans-Peter Nilsson3-55/+70
* Makefile.in: Regenerate.
2001-09-28 * objdump.c (dump_section_header): Dump SEC_ARCH_BIT_0.Richard Henderson2-3/+5
2001-09-26 * bucomm.c (fatal): Define using VPARAMS, VA_OPEN, VA_FIXEDARG,Alan Modra4-99/+31
VA_CLOSE. (non_fatal): Likewise. * objdump.c (objdump_sprintf): Likewise. * readelf.c (error): Likewise. (warn): Likewise.
2001-09-25 * readelf.c (do_wide): New.Jakub Jelinek4-2/+128
(options): Add --wide. (usage, parse_args): Likewise. (process_program_headers): Put each segment on a single line if --wide is given. (process_section_headers): Put each section on a single line if --wide is given. * doc/binutils.texi: Document it. * NEWS: Likewise.
2001-09-25 * readelf.c (print_vma): Print 8 digits of low hex value.Alan Modra2-1/+5
2001-09-24 * nlmconv.c: Fix warnings about unused attributes and functionAndreas Jaeger3-10/+19
prototypes. * strings.c: Add prototype for get_char.
2001-09-192000-09-19 H.J. Lu <hjl@gnu.org>H.J. Lu3-3/+21
* doc/Makefile.am ($(DEMANGLER_NAME).1): Try cxxfilt.man and $(srcdir)/cxxfilt.man. * doc/Makefile.in: Rebuild.
2001-09-19 * objcopy.c (copy_main): Correct rename-section string parsing.Alan Modra2-24/+25
Consolidate new_name parsing, and error messages.
2001-09-19Locale changes from Bruno Haible <haible@clisp.cons.org>.H.J. Lu23-103/+191
2001-09-18 * ar.c (print_contents): Cast args of bfd_seek to the right types.Alan Modra4-9/+20
Replace bfd_read call with call to bfd_bread. (extract_file): Likewise. * objdump.c (dump_section_header): Cast section->filepos to unsigned long to suit printf format string. * readelf.c (process_section_headers): Similarly for sh_offset. (process_unwind): Likewise.
2001-09-14Add new command line option '--encoding' to stringsNick Clifton4-40/+146
2001-09-12* readelf.c (guess_is_rela, dump_relocations, get_machine_name,Alexandre Oliva2-9/+43
get_machine_flags): Added EM_M32R, EM_D10V, EM_V850, EM_D30V, EM_MN10200, EM_MN10300, EM_FR30, EM_AVR_OLD and EM_PJ_OLD. Removed EM_CYGNUS_ARC.
2001-09-05 * readelf.c: Include elf/h8 for H8 series definitions.Jeff Law4-1/+22
(guess_is_rela): H8 series if RELA. (dump_relocations): Handle H8 series relocations. * testsuite/binutils/all/readelf.exp: Expect readelf -wi to fail for the H8 series.
2001-08-312001-08-31 Eric Christopher <echristo@redhat.com>Eric Christopher2-6/+9
Jason Eckhardt <jle@redhat.com> * mips-dis.c: Add support for bfd_mach_mipsisa32 and bfd_mach_mipsisa64. Remove bfd_mach_mips32, bfd_mach_mips32_4k, bfd_mach_mips64.