aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2003-01-022003-01-02 Chris Demetriou <cgd@broadcom.com>Chris Demetriou2-9/+15
* mips-dis.c (print_insn_args): Use position extracted by "+A" to calculate size for "+B". Redo code for "+C" so it shares the same style as "+A" and "+B" now do.
2003-01-02bfd/Richard Sandiford5-110/+319
* elfxx-mips.c: Include libiberty.h. (elf_mips_isa, _bfd_mips_elf_mach_extends_p): Remove. (mips_set_isa_flags): New function, split out from... (_bfd_mips_elf_final_write_processing): ...here. Only call mips_set_isa_flags if the EF_MIPS_MACH bits are clear. (mips_mach_extensions): New array. (mips_32bit_flags_p): New function. (_bfd_mips_elf_merge_private_bfd_data): Rework architecture checks. Use mips_32bit_flags_p to check if one binary is 32-bit and the other is 64-bit. When adopting IBFD's architecture, adopt the bfd_mach as well as the flags. ld/testsuite/ * ld-mips-elf/jr.s: New file. * ld-mips-elf/mips-elf-flags.exp: New test.
2003-01-02 * readelf.c (get_machine_flags): Handle E_MIPS_ARCH_32R2.Richard Sandiford2-1/+6
2003-01-022003-01-02 Chris Demetriou <cgd@broadcom.com>Chris Demetriou2-290/+292
* mips-dis.c: Update copyright years. (print_insn_arg): Rename to... (print_insn_args): This, returning void. Process the whole string of args rather than a single one. Reindent. (print_insn_mips): Update to match the above.
2003-01-022003-01-02 H.J. Lu <hjl@gnu.org>H.J. Lu2-3/+10
* Makefile.in (DESTDIR): New. (install-info): Use it.
2003-01-02* configure.in: Remove UI_OUT configuration code.Mark Kettenis6-562/+503
* ada-lang.c: Update assuming UI_OUT is always true. * Makefile.in (UIOUT_CFLAGS): Remove. * configure: Regenerated. * TODO: Remove blurb about elimination of -DUI_OUT.
2003-01-02* configure.in: Move code that provides the --enable-gdbcli,Mark Kettenis3-519/+505
--enable-gdbmi options right before the code that handles the --enable-tui option. Polish a bit. * configure: Regenerated.
2003-01-02[ gas/ChangeLog ]Chris Demetriou7-62/+103
2003-01-02 Chris Demetriou <cgd@broadcom.com> * config/tc-mips.c: Update copyright years to include 2003. (mips_ip): Fix indentation of "+A", "+B", and "+C" handling. Additionally, clean up their code slightly and clean up their comments some more. * doc/c-mips.texi: Add MIPS32r2 to ".set mipsN" documentation. [ gas/testsuite/ChangeLog ] 2003-01-02 Chris Demetriou <cgd@broadcom.com> * gas/mips/elf_arch_mips32r2.d: Fix file description comment. [ include/opcode/ChangeLog ] 2003-01-02 Chris Demetriou <cgd@broadcom.com> * mips.h: Update copyright years to include 2002 (which had been missed previously) and 2003. Make comments about "+A", "+B", and "+C" operand types more descriptive.
2003-01-02* configure.in: Rewrite check for GNU regex and theMark Kettenis6-873/+839
--without-included regex option, and move it into the "Checks for library functions" section. This makes us use the system regex again by default on systems with version 2 of the GNU C library. This was apparently broken. * gdb_regex.h [!USE_INCLUDED_REGEX] (_REGEX_RE_COMP): Define. * acconfig.h (USE_INCLUDED_REGEX): Remove. * config.in, configure: Regenerated.
2003-01-02* configure.in: Move code that provides the --enable-tui optionMark Kettenis4-59/+80
before the "Checks for libraries" section. Polish the code somewhat and set need_curses to yes if we build the TUI. Rewrite code that looks for a library providing termcap functionality to match more closely what's done in the Readline library, and move it into to the "Checks for libraries" section. * configure: Regenerated. * Makefile.in (TERMCAP): Remove variable. * config/i386/go32.mh (TERMCAP): Remove variable.
2003-01-022003-01-02 Andrew Cagney <ac131313@redhat.com>Andrew Cagney3-134/+250
* MAINTAINERS: Mention gdb_mbuild.sh. * gdb_mbuild.sh: Rewrite.
2003-01-02* configure.in: Fix typo in last change.Mark Kettenis4-9/+8
* config.in, configure: Regenerated.
2003-01-022003-01-02 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2-5/+4
* Makefile.in: Remove obsolete code.
2003-01-022003-01-02 Andrew Cagney <ac131313@redhat.com>Andrew Cagney4-534/+11
* stabs.texinfo: Remove obsolete text. * gdbint.texinfo: Ditto. * gdb.texinfo: Ditto.
2003-01-022003-01-02 Andrew Cagney <ac131313@redhat.com>Andrew Cagney28-496/+123
* valarith.c (value_binop): Delete obsolete code and comments. * configure.host: Ditto. * buildsym.h (make_blockvector): Ditto. * buildsym.c (make_blockvector): Ditto. * defs.h (enum language): Ditto. (chill_demangle): Ditto. * elfread.c (elf_symtab_read): Ditto. * dwarfread.c (CHILL_PRODUCER): Ditto. (set_cu_language): Ditto. (handle_producer): Ditto. * expprint.c (print_subexp): Ditto. * gdbtypes.c (chill_varying_type): Ditto. * gdbtypes.h (builtin_type_chill_bool): Ditto. (builtin_type_chill_char, builtin_type_chill_long): Ditto. (builtin_type_chill_ulong, builtin_type_chill_real): Ditto. (chill_varying_type): Ditto. * language.h (_LANG_chill): Ditto. * language.c (binop_result_type, integral_type): Ditto. (character_type, string_type, structured_type): Ditto. (lang_bool_type, binop_type_check): Ditto. * stabsread.h (os9k_stabs): Ditto. * stabsread.c (os9k_type_vector, dbx_lookup_type): Ditto. (define_symbol, read_type, read_struct_fields): Ditto. (read_array_type, read_enum_type, read_huge_number): Ditto. (read_range_type, start_stabs): Ditto. * symfile.c (init_filename_language_table): Ditto. (add_psymbol_with_dem_name_to_list): Ditto. * symtab.c (symbol_init_language_specific): Ditto. (symbol_init_demangled_name, symbol_demangled_name): Ditto. * symtab.h (struct general_symbol_info): Ditto. (SYMBOL_CHILL_DEMANGLED_NAME): Ditto. * typeprint.c (typedef_print): Ditto. * utils.c (fprintf_symbol_filtered): Ditto. * valops.c (value_cast, search_struct_field, value_slice): Delete obsolete code. (varying_to_slice): Delete function. * value.h (COERCE_VARYING_ARRAY): Delete obsolete macro contents. (varying_to_slice): Delete declaration. * MAINTAINERS: Update.
2003-01-02* configure.in: Reorganize "Checks for library functions section"Mark Kettenis3-622/+844
a bit. Remove check for `btowc' and `isascii' functions. * configure: Regenerated.
2003-01-02Rework IP2k linker relxation.Nick Clifton1-0/+8
2003-01-02* acconfig.h (_MSE_INT_H): Remove.Mark Kettenis5-403/+1411
* configure.in: Create "Checks for header files" section, and move appropriate tests there. Don't check for objlist.h, wchar.h, wctype.h and asm/debugreg.h. Rewrite Solaris 2.[78] <curses.h> misdetection fix. Also add "Checks for types", "Checks for compiler characteristics" and "Checks for library functions" sections. * config.in, configure: Regenerated.
2003-01-02Add do_pseudo_reloc and _pei386_runtime_relocator to the exclude list.Nick Clifton2-1/+8
2003-01-02 * ldfile.c: Fix comment typos.Kazu Hirata5-14/+21
* ldlang.c: Likewise. * mri.c: Likewise. * pe-dll.c: Likewise.
2003-01-02 * doc/Makefile.am (as.1): Depend on "asconfig.texi gasver.texiDaniel Jacobowitz3-2/+8
$(CPU_DOCS)". * doc/Makefile.in: Regenerate.
2003-01-02* configure.in: Create "Checks for programs" section, and moveMark Kettenis3-512/+571
appropriate tests there.
2003-01-02 * src-release (ETC_SUPPORT): Add fdl.texi and texi2pod.pl.Daniel Jacobowitz2-2/+6
2003-01-02 Suggested by Manfred Hollstein <manfred.h@gmx.net>:Daniel Jacobowitz3-2/+9
* Makefile.am (ld.1): Depend on configdoc.texi and ldver.texi. * Makefile.in: Regenerated.
2003-01-02*** empty log message ***gdbadmin1-1/+1
2003-01-01* configure.in: Create "Checks for libraries" section, and moveMark Kettenis3-472/+519
appropriate tests there. Cleanup check for wctype in libw. Use AC_SEARCH_LIBS to see whether we need libsocket. * configure: Regenerated.
2003-01-01daily updateAlan Modra1-1/+1
2003-01-01 * config/obj-elf.c (special_sections): Work around HP's incorrect usageDave Anglin2-0/+10
of .init and .fini sections for array initializers and finalizers.
2003-01-012002-12-31 Chris Demetriou <cgd@broadcom.com>Chris Demetriou2-5/+11
* mips-opc.c (mips_builtin_opcodes): Move "di" into the right order alphabetically, and make all hex constants use lower-case letters.
2003-01-01*** empty log message ***gdbadmin1-1/+1
2002-12-31daily updateAlan Modra1-1/+1
2002-12-31 * Makefile.in: Rebuilt.Tom Tromey3-3/+12
* Makefile.def (target_modules) [libffi]: Allow installation.
2002-12-312002-12-31 Chris Demetriou <cgd@broadcom.com>Chris Demetriou3-40/+6
* sim-main.h (check_branch_bug, mark_branch_bug): Remove. * mips.igen: Remove all invocations of check_branch_bug and mark_branch_bug.
2002-12-31 * configure.in: Fix use of $program_transform_name.Andreas Schwab3-6/+11
* configure: Regenerated.
2002-12-31* configure.in: Remove bzero and bcopy from call to AC_CHECK_FUNCS.Mark Kettenis4-8/+7
* config.in, configure: Regenerated.
2002-12-31* gdb_dirent.h: Cleanup and update code to match the example inMark Kettenis4-291/+427
the Autoconf manual. * configure.in: Call AC_HEADER_DIRENT. Remove dirent.h, sys/ndir.h, sys/dir.h and ndir.h from call to AC_CHECK_HEADERS. * configure: Regenerated.
2002-12-31[ gas/ChangeLog ]Chris Demetriou15-44/+1688
2002-12-31 Chris Demetriou <cgd@broadcom.com> * config/tc-mips.c (validate_mips_insn, mips_ip): Recognize the "+D" operand, which will be used only by the disassembler. [ gas/testsuite/ChangeLog ] 2002-12-31 Chris Demetriou <cgd@broadcom.com> * gas/mips/cp0sel-names-mips32.d: New test. * gas/mips/cp0sel-names-mips32r2.d: New test. * gas/mips/cp0sel-names-mips64.d: New test. * gas/mips/cp0sel-names-numeric.d: New test. * gas/mips/cp0sel-names-sb1.d: New test. * gas/mips/cp0sel-names.s: New test source file. * gas/mips/mips.exp: Run new tests. [ include/opcode/ChangeLog ] 2002-12-31 Chris Demetriou <cgd@broadcom.com> * mips.h: Note that the "+D" operand type name is now used. [ opcodes/ChangeLog ] 2002-12-31 Chris Demetriou <cgd@broadcom.com> * mips-dis.c (mips_cp0sel_name): New structure. (mips_cp0sel_names_mips3264, mips_cp0sel_names_mips3264r2) (mips_cp0sel_names_sb1): New arrays. (mips_arch_choice): New structure members "cp0sel_names" and "cp0sel_names_len". (mips_arch_choices): Add references to new cp0sel_names arrays as appropriate, and make all existing entries reference appropriate mips_XXX_names_numeric arrays rather than simply using NULL. (mips_cp0sel_names, mips_cp0sel_names_len): New variables. (lookup_mips_cp0sel_name): New function. (set_default_mips_dis_options): Set mips_cp0sel_names and mips_cp0sel_names_len as appropriate. Remove now-unnecessary checks for NULL register name arrays. (parse_mips_dis_option): Likewise. (print_insn_arg): Handle "+D" operand type. * mips-opc.c (mips_builtin_opcodes): Add new "+D" variants of mfc0, mtc0, dmfc0, and dmtc0 to print CP0+sel register names symbolically.
2002-12-31[ gas/testsuite/ChangeLog ]Chris Demetriou13-4/+96
2002-12-30 Chris Demetriou <cgd@broadcom.com> * gas/mips/elf_arch_mips1.d: New test. * gas/mips/elf_arch_mips2.d: New test. * gas/mips/elf_arch_mips3.d: New test. * gas/mips/elf_arch_mips4.d: New test. * gas/mips/elf_arch_mips5.d: New test. * gas/mips/elf_arch_mips32.d: New test. * gas/mips/elf_arch_mips32r2.d: New test. * gas/mips/elf_arch_mips64.d: New test. * gas/mips/empty.s: New test source file. * gas/mips/mips.exp: Run new tests. * gas/mips/elf_ase_mips16.d: Change to use empty.s * gas/mips/elf_ase_mips16.s: Remove.
2002-12-31oops - omitted from previous deltaNick Clifton3-0/+119
2002-12-31fix date on last entry. *sigh*Chris Demetriou1-1/+1
2002-12-31[ bfd/ChangeLog ]Chris Demetriou31-267/+1053
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-31objc-exp.y (parse_number): Cast sscanf arguments to proper type.Adam Fedor2-2/+8
(yylex): Initialize c to avoid uninitialized warning.
2002-12-31 * configure.in (baseargs): Don't remove first configure argument.Daniel Jacobowitz3-2/+7
* configure: Regenerated.
2002-12-31*** empty log message ***gdbadmin1-1/+1
2002-12-30daily updateAlan Modra1-1/+1
2002-12-30Add support for msp430.Nick Clifton92-610/+5836
2002-12-30(HAVE_REALPATH): New entry.Nick Clifton2-6/+9
(HAVE_SYS_STAT_H, HAVE_SYS_TYPES_H): Removed: obsolete.
2002-12-30New win32 topics: 'symbol aliasing' and 'export dll symbols'.Nick Clifton2-13/+113
2002-12-30Added some more pseudo opcodes for system call processing.Nick Clifton2-0/+15
2002-12-30 * doc/fdl.texi: Revert the last change.Kazu Hirata2-3/+7