aboutsummaryrefslogtreecommitdiff
path: root/binutils
AgeCommit message (Collapse)AuthorFilesLines
2003-01-02 * readelf.c (get_machine_flags): Handle E_MIPS_ARCH_32R2.Richard Sandiford2-1/+6
2002-12-31[ bfd/ChangeLog ]Chris Demetriou2-2/+13
2002-12-30 Chris Demetriou <cgd@broadcom.com> * aoutx.h (NAME(aout,machine_type)): Add bfd_mach_mipsisa32r2 case. * archures.c (bfd_mach_mipsisa32r2): New define. * bfd-in2.h: Regenerate. * cpu-mips.c (I_mipsisa32r2): New enum value. (arch_info_struct): Add entry for I_mipsisa32r2. * elfxx-mips.c (elf_mips_isa, _bfd_elf_mips_mach) (_bfd_mips_elf_print_private_bfd_data): Handle E_MIPS_ARCH_32R2. (_bfd_mips_elf_final_write_processing): Add bfd_mach_mipsisa32r2 case. (_bfd_mips_elf_merge_private_bfd_data): Handle merging of binaries marked as using MIPS32 Release 2. [ binutils/ChangeLog ] 2002-12-30 Chris Demetriou <cgd@broadcom.com> * doc/binutils.texi (objdump): Note MIPS HWR (Hardware Register) changes in MIPS -M options. [ gas/ChangeLog ] 2002-12-30 Chris Demetriou <cgd@broadcom.com> * configure.in: Recognize mipsisa32r2, mipsisa32r2el, and CPU variants. * configure: Regenerate. * config/tc-mips.c (ISA_HAS_DROR, ISA_HAS_ROR): New defines. (macro_build): Handle "K" operand. (macro2): Use ISA_HAS_DROR and ISA_HAS_ROR in the places where CPU_HAS_DROR and CPU_HAS_ROR are currently used. (mips_ip): New variable "lastpos", and implement "+A", "+B", and "+C" operands for MIPS32 Release 2 ins/ext instructions. Implement "K" operand for MIPS32 Release 2 rdhwr instruction. (validate_mips_insn): Implement "+" as a way to extend the allowed operands, and implement "K", "+A", "+B", and "+C" operands. (OPTION_MIPS32R2): New define. (md_longopts): Add entry for OPTION_MIPS32R2. (OPTION_ELF_BASE): Adjust to accomodate OPTIONS_MIPS32R2. (md_parse_option): Handle OPTION_MIPS32R2. (s_mipsset): Reimplement handling of ".set mipsN" options and add support for ".set mips32r2". (mips_cpu_info_table): Add entry for "mips32r2" (MIPS32 Release 2). (md_show_usage): Document "-mips32r2" option. * doc/as.texinfo: Document "-mips32r2" option. * doc/c-mips.texi: Likewise. [ gas/testsuite/ChangeLog ] 2002-12-30 Chris Demetriou <cgd@broadcom.com> * gas/mips/cp0-names-mips32r2.d: New test. * gas/mips/hwr-names-mips32r2.d: New test. * gas/mips/hwr-names-numeric.d: New test. * gas/mips/hwr-names.s: New test source file. * gas/mips/mips32r2.d: New test. * gas/mips/mips32r2.s: New test source file. * gas/mips/mips32r2-ill.l: New test. * gas/mips/mips32r2-ill.s: New test source file. * gas/mips/mips.exp: Add mips32r2 architecture data array entry. Run new tests mentioned above. [ include/elf/ChangeLog ] 2002-12-30 Chris Demetriou <cgd@broadcom.com> * mips.h (E_MIPS_ARCH_32R2): New define. [ include/opcode/ChangeLog ] 2002-12-30 Chris Demetriou <cgd@broadcom.com> * mips.h: Document "+" as the start of two-character operand type names, and add new "K", "+A", "+B", and "+C" operand types. (OP_MASK_INSMSB, OP_SH_INSMSB, OP_MASK_EXTMSB) (OP_SH_EXTMSB, INSN_ISA32R2, ISA_MIPS32R2, CPU_MIPS32R2): New defines. [ opcodes/ChangeLog ] 2002-12-30 Chris Demetriou <cgd@broadcom.com> * mips-dis.c (mips_cp0_names_mips3264r2, mips_hwr_names_numeric) (mips_hwr_names_mips3264r2): New arrays. (mips_arch_choice): New "hwr_names" member. (mips_arch_choices): Adjust for structure change, and add a new entry for "mips32r2" ISA. (mips_hwr_names): New variable. (set_default_mips_dis_options): Set mips_hwr_names. (parse_mips_dis_option): New "hwr-names" option which sets mips_hwr_names, and adjust "reg-names=ARCH" to set mips_hwr_names. (print_insn_arg): Change return type to "int" and use that to indicate number of characters consumed. Add support for "+" operand extension character, "+A", "+B", "+C", and "K" operands. (print_insn_mips): Adjust for changes to print_insn_arg. (print_mips_disassembler_options): Adjust for "hwr-names" addition and "reg-names" change. * mips-opc (I33): New define (shorthand for INSN_ISA32R2). (mips_builtin_opcodes): Note that "nop" and "ssnop" are special forms of "sll". Add new MIPS32 Release 2 instructions: ehb, di, ei, ext, ins, jr.hb, jalr.hb, mfhc1, mfhc2, mthc1, mthc2, rdhwr, rdpgpr, seb, seh, synci, wrpgpr, wsbh. Note that hardware rotate instructions (ror, rorv) can be used on MIPS32 Release 2, and add the official mnemonics for them (rotr, rotrv) and the similar "rotl" mnemonic for left-rotate.
2002-12-30Add support for msp430.Nick Clifton4-12/+26
2002-12-27[ binutils/ChangeLog ]Chris Demetriou2-0/+40
2002-12-27 Chris Demetriou <cgd@broadcom.com> * doc/binutils.texi (objdump): Document MIPS -M options. [ gas/testsuite/ChangeLog ] 2002-12-27 Chris Demetriou <cgd@broadcom.com> * gas/mips/cp0-names-mips32.d: New file. * gas/mips/cp0-names-mips64.d: New file. * gas/mips/cp0-names-numeric.d: New file. * gas/mips/cp0-names-sb1.d: New file. * gas/mips/cp0-names.s: New file. * gas/mips/fpr-names-32.d: New file. * gas/mips/fpr-names-64.d: New file. * gas/mips/fpr-names-n32.d: New file. * gas/mips/fpr-names-numeric.d: New file. * gas/mips/fpr-names.s: New file. * gas/mips/gpr-names-32.d: New file. * gas/mips/gpr-names-64.d: New file. * gas/mips/gpr-names-n32.d: New file. * gas/mips/gpr-names-numeric.d: New file. * gas/mips/gpr-names.s: New file. * gas/mips/mips.exp: Run new tests. [ include/ChangeLog ] 2002-12-27 Chris Demetriou <cgd@broadcom.com> * dis-asm.h (print_mips_disassembler_options): Prototype. [ include/opcode/ChangeLog ] 2002-12-19 Chris Demetriou <cgd@broadcom.com> * mips.h (OP_OP_COP0, OP_OP_COP1, OP_OP_COP2, OP_OP_COP3) (OP_OP_LWC1, OP_OP_LWC2, OP_OP_LWC3, OP_OP_LDC1, OP_OP_LDC2) (OP_OP_LDC3, OP_OP_SWC1, OP_OP_SWC2, OP_OP_SWC3, OP_OP_SDC1) (OP_OP_SDC2, OP_OP_SDC3): Define. [ opcodes/ChangeLog ] 2002-12-27 Chris Demetriou <cgd@broadcom.com> * disassemble.c (disassembler_usage): Add invocation of print_mips_disassembler_options. * mips-dis.c (print_mips_disassembler_options) (set_default_mips_dis_options, parse_mips_dis_option) (parse_mips_dis_options, choose_abi_by_name, choose_arch_by_name) (choose_arch_by_number): New functions. (mips_abi_choice, mips_arch_choice): New structures. (mips32_reg_names, mips64_reg_names, reg_names): Remove. (mips_gpr_names_numeric, mips_gpr_names_oldabi) (mips_gpr_names_newabi, mips_fpr_names_numeric) (mips_fpr_names_32, mips_fpr_names_n32, mips_fpr_names_64) (mips_cp0_names_numeric, mips_cp0_names_mips3264) (mips_cp0_names_sb1, mips_abi_choices, mips_arch_choices) (mips_processor, mips_isa, mips_gpr_names, mips_fpr_names) (mips_cp0_names): New variables. (print_insn_args): Use new variables to print GPR, FPR, and CP0 register names. (mips_isa_type): Remove. (print_insn_mips): Remove ISA and CPU setup since it is now done... (_print_insn_mips): Here. Remove register setup code, and call set_default_mips_dis_options and parse_mips_dis_options instead. (print_mips16_insn_arg): Use mips_gpr_names instead of mips32_names.
2002-12-23 * readelf.c (main): Reset dump request after each file.Andreas Schwab2-1/+33
2002-12-23Change linker's default behaviour - it will now reject binary files whoesNick Clifton2-1/+7
architecture it does not recognise, unless it has explicitly told to accept them.
2002-12-23Add support for 'S' encoding to strings - display 8-bit characters.Nick Clifton4-31/+45
2002-12-19 * README <building ar>: Don't use libibery's needed_list orAlan Modra2-1/+6
required_list, instead link libiberty/*.o.
2002-12-19 * doc/binutils.texi: Fix typos.Kazu Hirata2-2/+6
2002-12-14 * doc/binutils.texi: Add missing parenthesis.Dave Anglin2-4/+8
2002-12-13Added --prefix-symbols <prefix> option to rename all symbols by adding theNick Clifton4-46/+140
given prefix to the begining of the symbol name. This is useful to provide name space seperation regardless of how the object file was created. Added --prefix-sections <prefix> and --prefix-alloc-sections <prefix> options to rename all sections (or all sections with the alloc flag set) by adding the given prefix to the begining of the symbol name.
2002-12-12 * dlltool.c (mcore_elf_gen_out_file): Replace all occurrences ofAlan Modra3-45/+33
dyn_string_append with dyn_string_append_cstr. * emul_aix.c (ar_emul_aix_create): Remove unused function.
2002-12-10fix spelling typoNick Clifton1-1/+1
2002-12-10Add support for displaying extension to DWARF2 used by Unified Parallel CNick Clifton3-0/+18
compiler.
2002-12-08 * NEWS: Mention that bfd no longer declares a "boolean" type.Alan Modra2-3/+11
2002-12-07 * readelf.c (process_program_headers): When setting loadaddr, don'tAlan Modra2-112/+128
assume segment size is 4k. Use p_align instead. (loadaddr): Change from int to long. (dynamic_addr, dynamic_info, version_info): Likewise. (process_dynamic_segment <syminsz>): Likewise. (process_dynamic_segment): Adjust print format string. (rela_addr, rela_size): Delete. (process_relocs): Formatting.
2002-12-05Fix IA-64 opc-d.x gas testsuite failure.Jim Wilson3-0/+11
binutils/ChangeLog * configure.in (OBJDUMP_DEFS): Define SKIP_ZEROES as 16 for IA-64. * configure: Regenerate. gas/testsuite/ChangeLog * gas/ia64/opc-x.d: Regenerate.
2002-12-04 * MAINTAINERS: Change e-mail address back to airs.com.Ian Lance Taylor2-1/+5
2002-12-042002-12-04 Aldy Hernandez <aldyh@redhat.com>Aldy Hernandez2-0/+5
* MAINTAINERS: Add self.
2002-11-30s/boolean/bfd_boolean/ s/true/TRUE/ s/false/FALSE/. SimplifyAlan Modra30-4176/+4637
comparisons of bfd_boolean vars with TRUE/FALSE. Formatting.
2002-11-29 * readelf.c Replace occurrences of Elf32_Internal_* andJakub Jelinek2-91/+90
Elf64_Internal_* with Elf_Internal_*. (slurp_rel_relocs): Change Elf_Internal_Rel to Elf_Internal_Rela. Zero r_addend fields. (dump_relocations): Remove relas variable, change Elf_Internal_Rel to Elf_Internal_Rela.
2002-11-23Fix typo describing switch for hex format.Nick Clifton2-1/+5
2002-11-18TIC4X testcase commitSvein Seldal3-1/+12
* binutils/testsuite/binutils-all/objcopy.exp: Disable tic4x from test * binutils/testsuite/binutils-all/objdump.exp: Setup proper values for tic4x testcase * gas/testsuite/gas/all/gas.exp: Setup for tic4x testcase * gas/testsuite/gas/macros/macros.exp: Ditto * gas/testsuite/gas/all/gas.exp: Setup for tic4x testcase * gas/testsuite/gas/macros/macros.exp: Ditto * gas/testsuite/gas/tic4x: New tic4x gas testsuite directory * ld/testsuite/ld-scripts/script.exp: Setup for tic4x testcase
2002-11-14Handle binaries with corrupt section or segment headersNick Clifton2-4/+21
2002-11-12Add new/updated Danish translationsNick Clifton2-178/+172
2002-11-11 * rddbg.c (read_section_stabs_debugging_info): Also recognizeAlan Modra2-9/+15
LC_SYMTAB.stab/LC_SYMTAB.stabstr as a valid pair of sections.
2002-11-11* MAINTAINERS: Reinstate DJ Delorie as COFF maintainer. Drop COFF from cgfChristopher Faylor2-1/+7
maintainership.
2002-11-11* MAINTAINERS: Replace DJ Delorie as PE/COFF maintainer.Christopher Faylor2-1/+5
2002-11-07Added/Updated Danish translation.Nick Clifton4-2/+4828
2002-11-07Revert part of previous patch: Display unknown symbol types in decimal, not hex.Nick Clifton2-1/+6
2002-11-06Adds support for fastcall symbols as used on Microsoft Windows platformsNick Clifton7-151/+245
(i386)
2002-11-06Added Svein Seldal as maintainer for the TIC4X targetSvein Seldal2-0/+5
2002-11-06oops - omitted fix to display unknown symbol type in hex.Nick Clifton2-2/+3
2002-11-06Add hex number to PROCESSOR-specific, OS-specific, and reserved symbol types.Nick Clifton2-9/+14
2002-11-04 * readelf.c (byte_get_little_endian): Comment typo fix.Alan Modra2-8/+57
(print_symbol): Constify "symbol" arg. Don't pass "symbol" to printf as the format string. (dump_relocations): Correct section sym names. (process_section_headers): Clear symtab_shndx_hdr. (read_and_display_attr_value): Don't pass indirect string to printf as the format string. (display_debug_frames): Indicate when zero terminator found. Decode DW_EH_PE_pcrel addresses.
2002-10-23Define SKIP_ZEROES as 32 for tic4x target in order to ensure properNick Clifton8-1428/+1596
disassembly of the valid 0-value opcode.
2002-10-23 * MAINTAINERS: Add Kaz Kojima as SH maintainer.Kaz Kojima2-0/+5
2002-10-22* use @itemx, not @item, for --disassemble-zeroes.Ben Elliston1-1/+1
2002-10-22 * doc/binutils.texi (objdump): Document -z and move the entry forBen Elliston2-5/+11
--disassemble-zeroes to the end of the options section (for `z').
2002-10-21Discontinue Hans-Peter Nilsson as SH maintainer.Nick Clifton2-1/+4
2002-10-21 * objdump.c (dump_data): Correct addr_offset for opb != 1.Alan Modra2-3/+8
2002-10-15 * bucomm.c (list_supported_targets): Use bfd_target_list.Alan Modra2-4/+8
2002-10-15 * objcopy.c (copy_file): Report ambiguous bfd_object matches, andAlan Modra2-7/+33
other object errors in preference to bfd_core errors.
2002-10-14 * Makefile.am: Run "make dep-am".Alan Modra8-143/+216
* objdump.c: #include "bfdver.h". * version.c: Likewise. * Makefile.in: Regenerate. * config.in: Regenerate. * configure: Regenerate. * po/POTFILES.in: Regenerate.
2002-10-09 * readelf.c (display_debug_info): Ignore empty .rela.debug_infoDaniel Jacobowitz2-4/+14
sections. Allow relocations against the absolute symbol. Don't use the value in compunit.cu_abbrev_offset if we found a RELA relocation.
2002-10-07Read in dynamic symbols if no ordinary ones are available.Nick Clifton2-7/+9
2002-10-012002-09-30 H.J. Lu <hjl@gnu.org>H.J. Lu2-1/+9
* readelf.c (get_machine_flags): Handle E_MIPS_MACH_4120, E_MIPS_MACH_5400 and E_MIPS_MACH_5500.
2002-09-17binutils:Zack Weinberg8-289/+523
* Makefile.am (CFILES): Add cxxfilt.c. (cxxfilt_SOURCES): Now just cxxfilt.c $(BULIBS). (cxxfilt_LDADD): Delete. Remove all references to underscore.c. Regen dependencies. * configure.in: Define TARGET_PREPENDS_UNDERSCORE in config.h from $UNDERSCORE, rather than AC_SUBSTing it. * binutils/cxxfilt.c: Moved here from gcc/cp, minor adjustments to fit into binutils framework. * configure, config.in, Makefile.in, doc/Makefile.in: Regenerate. gcc/cp: * Make-lang.in: Remove all references to the demangler. * cxxfilt.c: Moved to binutils.
2002-09-12Handle DW_OP_GNU_push_tls_address.Nick Clifton2-8/+18
Synch up with the gcc's dwarf2.h
2002-09-11Update translationsNick Clifton2-1974/+2575