aboutsummaryrefslogtreecommitdiff
path: root/binutils
AgeCommit message (Collapse)AuthorFilesLines
2001-12-13 * elf-bfd.h (enum elf_link_info_type): New.Jakub Jelinek2-0/+7
(struct bfd_elf_section_data): Remove stab_info and merge_info fields, add sec_info and sec_info_type. (struct elf_obj_tdata): Add eh_frame_hdr field. (_bfd_elf_discard_section_eh_frame): New prototype. (_bfd_elf_discard_section_eh_frame_hdr): Likewise. (_bfd_elf_eh_frame_section_offset): Likewise. (_bfd_elf_write_section_eh_frame): Likewise. (_bfd_elf_write_section_eh_frame_hdr): Likewise. * Makefile.am (BFD32_BACKENDS): Add elf-eh-frame.lo. (BFD32_BACKENDS_CFILES): Add elf-eh-frame.c. (elf-eh-frame.lo): New. * Makefile.in: Rebuilt. * configure.in (elf): Add elf-eh-frame.lo. * configure: Rebuilt. * elf.c (_bfd_elf_print_private_bfd_data): Support PT_GNU_EH_FRAME. (map_sections_to_segments): Create PT_GNU_EH_FRAME if requested. (get_program_header_size): Take into account PT_GNU_EH_FRAME segment. (_bfd_elf_rela_local_sym): Use sec_info_type and sec_info. (_bfd_elf_rel_local_sym): Likewise. (_bfd_elf_section_offset): Likewise. Call _bfd_elf_eh_frame_section_offset too. * elfxx-ia64.c (elfNN_ia64_relocate_section): Use sec_info_type and sec_info. * elf64-alpha.c (elf64_alpha_relocate_section): Likewise. * elf-eh-frame.c: New file. * elflink.h (elf_link_add_object_symbols): Don't optimize SHF_MERGE .stab sections. Set sec_info_type, use sec_info instead of merge_info and stab_info. (elf_link_create_dynamic_sections): Create .eh_frame_hdr section if --eh-frame-hdr. (elf_bfd_final_link): Write .eh_frame_hdr section. (elf_link_sec_merge_syms): Use sec_info_type and sec_info. (elf_link_input_bfd): Likewise. Call _bfd_elf_write_section_eh_frame to write .eh_frame sections. (elf_bfd_discard_info): Add output_bfd argument. Call _bfd_elf_discard_section_eh_frame and _bfd_elf_discard_section_eh_frame_hdr. (elf_section_ignore_discarded_relocs): Use sec_info_type, not section names. * bfd-in.h (bfd_elf32_discard_info, bfd_elf64_discard_info): Adjust prototypes. * bfd-in2.h (bfd_elf32_discard_info, bfd_elf64_discard_info): Likewise. * elf/common.h (PT_GNU_EH_FRAME): Define. * bfdlink.h (struct bfd_link_info): Add eh_frame_hdr field. * emultempl/elf32.em (finish): Supply output_bfd to bfd_elf*_discard_info. (OPTION_EH_FRAME_HDR): Define. (longopts): Add --eh-frame-hdr. (parse_args): Handle it. (list_options): Add --eh-frame-hdr to help. * emultempl/hppaelf.em (finish): Supply output_bfd to bfd_elf*_discard_info. * scripttempl/elf.sc (.eh_frame_hdr): Add. * readelf.c (get_segment_type): Support PT_GNU_EH_FRAME.
2001-12-11 * readelf.c (process_file_header): Print extended e_shnum andAlan Modra2-16/+50
e_shdtrndx values. Set elf_header values for same. (get_32bit_section_headers): Add "num" arg to read "num" headers. (get_64bit_section_headers): Likewise. (process_section_headers): Update calls. (get_file_header): Call get_32bit_section_headers or 64bit variant.
2001-12-10 * objcopy.c (setup_section): Copy entsize.Jakub Jelinek2-0/+7
2001-12-08Index: bfd/ChangeLogGeoffrey Keating2-0/+13
2001-12-07 Geoffrey Keating <geoffk@redhat.com> Richard Henderson <rth@redhat.com> Corinna Vinschen <vinschen@redhat.com> * Makefile.am: Add support for xstormy16. * archures.c: Add support for xstormy16. * config.bfd: Add support for xstormy16. * configure.in: Add support for xstormy16. * reloc.c: Add support for xstormy16. * targets.c: Add support for xstormy16. * cpu-xstormy16.c: New file. * elf32-xstormy16.c: New file. * Makefile.in: Regenerated. * bfd-in2.h: Regenerated. * configure: Regenerated. * libbfd.h: Regenerated. Index: binutils/ChangeLog 2001-12-07 Geoffrey Keating <geoffk@redhat.com> * readelf.c (guess_is_rela): Add support for stormy16. (dump_relocations): Likewise. (get_machine_name): Likewise. Index: gas/ChangeLog 2001-12-07 Geoffrey Keating <geoffk@redhat.com> Richard Henderson <rth@redhat.com> * configure.in: Add support for xstormy16. * configure: Regenerated. * Makefile.am: Add support for xstormy16. * Makefile.in: Regenerated. * config/tc-xstormy16.c: New file. * config/tc-xstormy16.h: New file. Index: gas/testsuite/ChangeLog 2001-12-07 Geoffrey Keating <geoffk@redhat.com> matthew green <mrg@redhat.com> * gas/xstormy16/allinsn.d: New file. * gas/xstormy16/allinsn.exp: New file. * gas/xstormy16/allinsn.s: New file. * gas/xstormy16/allinsn.sh: New file. * gas/xstormy16/gcc.d: New file. * gas/xstormy16/gcc.s: New file. * gas/xstormy16/gcc.sh: New file. * gas/xstormy16/reloc-1.d: New file. * gas/xstormy16/reloc-1.s: New file. * gas/xstormy16/reloc-2.d: New file. * gas/xstormy16/reloc-2.s: New file. Index: ld/ChangeLog 2001-12-07 Geoffrey Keating <geoffk@redhat.com> Richard Henderson <rth@redhat.com> * Makefile.am: Add support for xstormy16. * configure.tgt: Add support for xstormy16. * Makefile.in: Regenerate. * emulparams/elf32xstormy16.sh: New file. * scripttempl/xstormy16.sc: New file. Index: opcodes/ChangeLog 2001-12-07 Geoffrey Keating <geoffk@redhat.com> * Makefile.am: Add support for xstormy16. * Makefile.in: Regenerate. * configure.in: Add support for xstormy16. * configure: Regenerate. * disassemble.c: Add support for xstormy16. * xstormy16-asm.c: New generated file. * xstormy16-desc.c: New generated file. * xstormy16-desc.h: New generated file. * xstormy16-dis.c: New generated file. * xstormy16-ibld.c: New generated file. * xstormy16-opc.c: New generated file. * xstormy16-opc.h: New generated file. Index: include/ChangeLog 2001-12-07 Geoffrey Keating <geoffk@redhat.com> * dis-asm.h (print_insn_xstormy16): Declare. Index: include/elf/ChangeLog 2001-12-07 Geoffrey Keating <geoffk@redhat.com> Richard Henderson <rth@redhat.com> * common.h (EM_XSTORMY16): Define. * xstormy16.h: New file.
2001-12-06Fixes to improve the ability to translate messages in the binutils toolsNick Clifton3-32/+41
2001-12-04 * config.bfd: Remove trailing blanks.Thiemo Seufer2-1/+5
* elf32-mips.c (gprel16_with_gp): Remove superfluous casts. * strings.c (get_char): Initialize value. * config/tc-mips.c (mips_cpreturn_offset): Better comment. (load_register): Better error message. Cast away signedness mismatches. Add casts needed for varargs. (load_address): Replace checks of HAVE_64BIT_ADDRESS with dbl. Remove superfluous casts. (macro): Cast away signedness mismatches. Remove superfluous casts. (s_cpload): Fix wrong comment. (s_mips_weakext): Standardize output message. (get_number): Likewise.
2001-12-04 * arlex.l: Silence compile warnings.Thiemo Seufer3-32/+27
* arsup.h: Likewise. Fix formatting.
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.