external/binutils.git
21 years ago2002-12-27 Chris Demetriou <cgd@broadcom.com>
Chris Demetriou [Fri, 27 Dec 2002 23:51:49 +0000 (23:51 +0000)]
2002-12-27  Chris Demetriou  <cgd@broadcom.com>

        * gas/mips/mips.exp: Define the notion of an "architecture data
        array," add comments indicating how to add a new architecture and
        suggestions for adding new tests.  Populate the architecture data
        array with many known architectures and convert many tests to
        be run for multiple architectures.
        (mips_arches): New global array.
        (mips_arch_create, mips_arch_list_all, mips_arch_data)
        (mips_arch_displayname, mips_arch_properties)
        (mips_arch_as_flags, mips_arch_objdump_flags, mips_arch_matches)
        (mips_arch_list_matching): New functions to operate on mips_arches.
        (run_dump_test_arch, run_dump_test_arches, run_list_test_arch)
        (run_list_test_arches): New functions.
        (run_list_test): Document and add an optional "test name" argument.
        * gas/mips/abs.d: Remove CPU-specific assembler and objdump flags,
        and CPU names from test names.
        * gas/mips/add.d: Likewise.
        * gas/mips/and.d: Likewise.
        * gas/mips/dli.d: Likewise.
        * gas/mips/jal-empic-elf-2.d: Likewise.
        * gas/mips/jal-empic-elf-3.d: Likewise.
        * gas/mips/jal-empic-elf.d: Likewise.
        * gas/mips/lb-svr4pic.d: Likewise.
        * gas/mips/lb.d: Likewise.
        * gas/mips/mips32.d: Likewise.
        * gas/mips/mips4.d: Likewise.
        * gas/mips/mips64.d: Likewise.
        * gas/mips/rol-hw.d: Likewise.
        * gas/mips/rol.d: Likewise.
        * gas/mips/rol64-hw.d: Likewise.
        * gas/mips/rol64.d: Likewise.
        * gas/mips/elf-jal.d: Likewise.  Also, indicate ELF in test name.
        * gas/mips/mips64-mdmx.d: Tweak printed name to indicate that this
        test uses the -mdmx flag.
        * gas/mips/mips64-mips3d.d: Tweak printed name to indicate that
        this test uses the -mips3d flag.
        * gas/mips/mips64-mips3d-incl.d: New file.

21 years ago * configure: Remove unneeded 'export's. Make CC_FOR_TARGET,
Nathanael Nerode [Fri, 27 Dec 2002 23:28:25 +0000 (23:28 +0000)]
* configure: Remove unneeded 'export's.  Make CC_FOR_TARGET,
CXX_FOR_TARGET, GCJ_FOR_TARGET substituted in configure.in only.

* ChangeLog: Move a couple of entries from here to winsup/cygwin,
where they belong.

21 years agodaily update
Alan Modra [Fri, 27 Dec 2002 23:00:33 +0000 (23:00 +0000)]
daily update

21 years agoFix ChangeLog for previous: mips-dis.c now includes libiberty.h
Chris Demetriou [Fri, 27 Dec 2002 18:18:58 +0000 (18:18 +0000)]
Fix ChangeLog for previous: mips-dis.c now includes libiberty.h

21 years ago[ binutils/ChangeLog ]
Chris Demetriou [Fri, 27 Dec 2002 08:00:31 +0000 (08:00 +0000)]
[ binutils/ChangeLog ]
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.

21 years ago* fhandler.h (fhandler_tty_master::set_winsize): Declare new function.
Christopher Faylor [Fri, 27 Dec 2002 05:31:29 +0000 (05:31 +0000)]
* fhandler.h (fhandler_tty_master::set_winsize): Declare new function.
* fhandler_console.cc (fhandler_console::send_winch_maybe): If appropriate,
call tty master function to handle screen size change.
* fhandler_tty.cc (fhandler_tty_master::set_winsize): New function.
(fhandler_tty_master::init): Call set_winsize to set initial screen size.

21 years ago* fhandler_tty.cc (fhandler_tty_master::init): Set initial size of tty to that
Christopher Faylor [Fri, 27 Dec 2002 03:54:59 +0000 (03:54 +0000)]
* fhandler_tty.cc (fhandler_tty_master::init): Set initial size of tty to that
of console in which tty is operating.
(process_input): Semi-revert previous change.  Need to just use current
terminfo settings since this function is running in a thread, blocked when the
terminfo changes.

21 years ago*** empty log message ***
gdbadmin [Fri, 27 Dec 2002 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

21 years agodaily update
Alan Modra [Thu, 26 Dec 2002 23:00:04 +0000 (23:00 +0000)]
daily update

21 years ago Continuing work to convert the hppa targets to multiarch partil.
Joel Brobecker [Thu, 26 Dec 2002 20:10:13 +0000 (20:10 +0000)]
    Continuing work to convert the hppa targets to multiarch partil.

        * hppa-tdep.c: Add some missing forward declarations.
        (frameless_function_invocation): Prefix the function name
        by "hppa_" to avoid polluting the namespace.  Update all calls
        to use the new function name.
        (saved_pc_after_call): Ditto.
        (init_extra_frame_info): Ditto.
        (frame_chain): Ditto.
        (push_dummy_frame): Ditto.
        (target_read_pc): Ditto.
        (target_write_pc): Ditto.
        (in_solib_call_trampoline): Ditto.
        (in_solib_return_trampoline): Ditto.
        (skip_trampoline_code): Ditto.
        (hppa_read_fp): New function, renamed from target_read_fp.
        (hppa_target_read_fp): New function, using hppa_read_fp.
        This function conforms to the function profile for the
        READ_FP gdbarch method.
        (hppa_extract_struct_value_address): New function, extracted
        from the definition of the DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS
        macro.
        (hppa_frame_num_args): New function.
        (hppa_gdbarch_init): Setup the gdbarch vector for the hppa target.

        * config/pa/tm-hppa.h: Wrap around all gdbarch-eligible macros
        inside "#if !GDB_MULTI_ARCH ... #endif" conditional, in preparation
        for the switch to multiarch partial.
        Update some of the macros definitions to match some changes
        described above in the name of the function they are calling.
        (PUSH_DUMMY_FRAME): Add a FIXME explaining why this macro will
        not be straightforward to convert. Do now wrap it inside
        "#if !... #endif" to remember that this macro has still not
        been taken care of.
        (FIX_CALL_DUMMY): Likewise.

21 years ago Continuing work to convert the hppa targets to multiarch partial.
Joel Brobecker [Thu, 26 Dec 2002 09:36:43 +0000 (09:36 +0000)]
   Continuing work to convert the hppa targets to multiarch partial.

       * hppa-tdep.c: (hppa_register_raw_size): New function replacing
       the body of macro REGISTER_RAW_SIZE.
       * hppa-hpux-tdep.c: Add new functions replacing macro bodies from
       config/pa/tm-hppah.h. These functions will be used to initialize
       the gdbarch structure.
       (hppa_hpux_pc_in_sigtramp): New function.
       (hppa_hpux_frame_saved_pc_in_sigtramp): New function.
       (hppa_hpux_frame_base_before_sigtramp): New function.
       (hppa_hpux_frame_find_saved_regs_in_sigtramp): New function.
       Add gdbcore.h #include.
       * config/pa/tm-hppa.h (REGISTER_RAW_SIZE): Change the definition
       of this gdbarch-eligible macro to a call to the new associated
       function.
       * config/pa/tm-hppah.h (PC_IN_SIGTRAMP): Likewise.
       (FRAME_SAVED_PC_IN_SIGTRAMP): Change the definition of this macro
       into a call to the new associated function.
       (FRAME_BASE_BEFORE_SIGTRAMP): Likewise.
       (FRAME_FIND_SAVED_REGS_IN_SIGTRAMP): Likewise.
       * Makefile.in (hppa-hpux-tdep.o): Add dependency on gdbcore.h.

21 years ago * sim-h8300.h: Remove ^M.
Kazu Hirata [Thu, 26 Dec 2002 06:14:43 +0000 (06:14 +0000)]
* sim-h8300.h: Remove ^M.

21 years ago * compile.c: Fix formatting.
Kazu Hirata [Thu, 26 Dec 2002 05:44:46 +0000 (05:44 +0000)]
* compile.c: Fix formatting.
* inst.h: Likewise.

21 years ago*** empty log message ***
gdbadmin [Thu, 26 Dec 2002 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

21 years agodaily update
Alan Modra [Wed, 25 Dec 2002 23:00:04 +0000 (23:00 +0000)]
daily update

21 years ago* dwarf2dbg.c (DWARF2_ADDR_SIZE): New macro.
Alexandre Oliva [Wed, 25 Dec 2002 21:20:31 +0000 (21:20 +0000)]
* dwarf2dbg.c (DWARF2_ADDR_SIZE): New macro.
(dwarf2_finish): Use it.
* doc/internals.texi (DWARF2_ADDR_SIZE): Document it.
* config/tc-mips.h (DWARF2_ADDR_SIZE): Override.

21 years ago*** empty log message ***
gdbadmin [Wed, 25 Dec 2002 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***

21 years agodaily update
Alan Modra [Tue, 24 Dec 2002 23:00:04 +0000 (23:00 +0000)]
daily update

21 years ago2002-12-24 David Carlton <carlton@math.stanford.edu>
David Carlton [Tue, 24 Dec 2002 20:14:30 +0000 (20:14 +0000)]
2002-12-24  David Carlton  <carlton@math.stanford.edu>

* config/sparc/tm-sparc.h: Delete duplicate definition of
DEPRECATED_PC_IN_CALL_DUMMY.

21 years agoAdd GNU/Linux specific support for the n32 and n64 MIPS ABIs.
Kevin Buettner [Tue, 24 Dec 2002 19:21:10 +0000 (19:21 +0000)]
Add GNU/Linux specific support for the n32 and n64 MIPS ABIs.

21 years ago * Makefile.tpl (multilib.out): Fix missing space.
Andreas Schwab [Tue, 24 Dec 2002 17:23:30 +0000 (17:23 +0000)]
* Makefile.tpl (multilib.out): Fix missing space.
* Makefile.in: Regenerate.

21 years agogdb.base/maint.exp: Update expect output to include 'ObjC'.
Adam Fedor [Tue, 24 Dec 2002 04:03:46 +0000 (04:03 +0000)]
gdb.base/maint.exp: Update expect output to include 'ObjC'.

21 years agomaint.c (maintenance_demangle): Add switch to demangle
Adam Fedor [Tue, 24 Dec 2002 03:57:58 +0000 (03:57 +0000)]
maint.c (maintenance_demangle): Add switch to demangle
ObjC language symbols as well.

21 years ago* coff64-rs6000.c (xcoff64_ppc_relocate_section): Fix logic reversal.
DJ Delorie [Tue, 24 Dec 2002 03:43:44 +0000 (03:43 +0000)]
* coff64-rs6000.c (xcoff64_ppc_relocate_section): Fix logic reversal.

21 years ago(lookup_objc_class, lookup_child_selector): Remove
Adam Fedor [Tue, 24 Dec 2002 03:42:36 +0000 (03:42 +0000)]
(lookup_objc_class, lookup_child_selector): Remove
last argument from complaint function call.

21 years ago*** empty log message ***
gdbadmin [Tue, 24 Dec 2002 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago * exec.c (print_section_info): Add FIXME comments regarding format
Kevin Buettner [Mon, 23 Dec 2002 23:36:39 +0000 (23:36 +0000)]
* exec.c (print_section_info): Add FIXME comments regarding format
string choices.

21 years agodaily update
Alan Modra [Mon, 23 Dec 2002 23:00:03 +0000 (23:00 +0000)]
daily update

21 years ago* gdbint.texinfo (Target Architecture Definition): Update
Mark Kettenis [Mon, 23 Dec 2002 18:53:16 +0000 (18:53 +0000)]
* gdbint.texinfo (Target Architecture Definition): Update
description of gdbarch_register_osabi.

21 years ago2002-12-23 Nathanael Nerode <neroden@gcc.gnu.org>
Nathanael Nerode [Mon, 23 Dec 2002 17:53:41 +0000 (17:53 +0000)]
2002-12-23  Nathanael Nerode  <neroden@gcc.gnu.org>

* Makefile.tpl: Use shared multilib.out.  Use move-if-change for it.
Convert (cd foo; make) to (cd foo && make).  Clean up multilib.out.
* Makefile.in: Regenerate.
* configure.in: Remove unnecessary leftovers.

2002-12-22  Geoffrey Keating  <geoffk@apple.com>

* config/mt-aix43: Delete.

2002-12-21  Geoffrey Keating  <geoffk@apple.com>

* configure.in (extra_ranlibflags_for_target): New variable.
(*-*-darwin): Add -c to ranlib commands.
* configure (tooldir): Handle extra_ranlibflags_for_target.

21 years ago * config/pa/nm-hppab.h: Delete duplicate CANNOT_STORE_REGISTER decl.
Daniel Jacobowitz [Mon, 23 Dec 2002 17:07:28 +0000 (17:07 +0000)]
* config/pa/nm-hppab.h: Delete duplicate CANNOT_STORE_REGISTER decl.
* config/pa/nm-hppao.h: Delete duplicate CANNOT_STORE_REGISTER decl.

* config/pa/nm-hppah.h: Delete duplicate CANNOT_STORE_REGISTER decl.

21 years ago2002-12-23 David Carlton <carlton@math.stanford.edu>
David Carlton [Mon, 23 Dec 2002 16:56:25 +0000 (16:56 +0000)]
2002-12-23  David Carlton  <carlton@math.stanford.edu>

* gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
and current_directory initialization.

21 years ago2002-12-23 David Carlton <carlton@math.stanford.edu>
David Carlton [Mon, 23 Dec 2002 16:43:18 +0000 (16:43 +0000)]
2002-12-23  David Carlton  <carlton@math.stanford.edu>

* symtab.c (lookup_symbol_aux): Delete 'force_return' variable.
(lookup_symbol_aux_minsyms): Delete 'force_return' argument.
(search_symbols): Call lookup_symbol_aux_minsyms to find debugging
information associated to a minsym, not lookup_symbol.

21 years ago * readelf.c (main): Reset dump request after each file.
Andreas Schwab [Mon, 23 Dec 2002 13:18:02 +0000 (13:18 +0000)]
* readelf.c (main): Reset dump request after each file.

21 years ago * ldmain.c (main): Init "strip_discarded".
Alan Modra [Mon, 23 Dec 2002 12:05:38 +0000 (12:05 +0000)]
* ldmain.c (main): Init "strip_discarded".
* lexsup.c (OPTION_STRIP_DISCARDED): Define.
(OPTION_NO_STRIP_DISCARDED): Define.
(ld_options): Add "strip-discarded" and "no-strip-discarded".
(parse_args): Handle them.

21 years ago * elflink.h (elf_link_output_extsym): Heed strip_discarded.
Alan Modra [Mon, 23 Dec 2002 11:53:59 +0000 (11:53 +0000)]
* elflink.h (elf_link_output_extsym): Heed strip_discarded.

21 years ago * bfdlink.h (struct bfd_link_info): Add "strip_discarded".
Alan Modra [Mon, 23 Dec 2002 11:53:12 +0000 (11:53 +0000)]
* bfdlink.h (struct bfd_link_info): Add "strip_discarded".

21 years agoChange linker's default behaviour - it will now reject binary files whoes
Nick Clifton [Mon, 23 Dec 2002 10:45:03 +0000 (10:45 +0000)]
Change linker's default behaviour - it will now reject binary files whoes
architecture it does not recognise, unless it has explicitly told to accept
them.

21 years agoAdd support for 'S' encoding to strings - display 8-bit characters.
Nick Clifton [Mon, 23 Dec 2002 10:37:38 +0000 (10:37 +0000)]
Add support for 'S' encoding to strings - display 8-bit characters.

21 years ago* gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
Jim Blandy [Mon, 23 Dec 2002 00:02:02 +0000 (00:02 +0000)]
* gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
rather than as part of the output file name.

21 years ago*** empty log message ***
gdbadmin [Mon, 23 Dec 2002 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago* gdb.base/attach.exp: There's no need to copy the test program to
Jim Blandy [Sun, 22 Dec 2002 23:53:48 +0000 (23:53 +0000)]
* gdb.base/attach.exp: There's no need to copy the test program to
/tmp; that was only ever necessary on HP/UX, and this test is
entirely disabled there anyway.

21 years ago * Makefile.in: Regenerate.
Alan Modra [Sun, 22 Dec 2002 23:24:29 +0000 (23:24 +0000)]
* Makefile.in: Regenerate.

21 years agodaily update
Alan Modra [Sun, 22 Dec 2002 23:00:04 +0000 (23:00 +0000)]
daily update

21 years ago* gdb.c++/psmang.exp: Doc fix.
Jim Blandy [Sun, 22 Dec 2002 02:58:43 +0000 (02:58 +0000)]
* gdb.c++/psmang.exp: Doc fix.

21 years ago*** empty log message ***
gdbadmin [Sun, 22 Dec 2002 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

21 years agodaily update
Alan Modra [Sat, 21 Dec 2002 23:00:03 +0000 (23:00 +0000)]
daily update

21 years ago* gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
Jim Blandy [Sat, 21 Dec 2002 22:56:56 +0000 (22:56 +0000)]
* gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
test.

21 years ago* x86-64-tdep.h (x86_64_init_abi): New prototype.
Mark Kettenis [Sat, 21 Dec 2002 21:09:58 +0000 (21:09 +0000)]
* x86-64-tdep.h (x86_64_init_abi): New prototype.
* x86-64-tdep.c (i386_fp_regnum_p): Remove function.
(x86_64_init_abi): Make non-static.  Set number of pseudo
registers to 0.
(x86_64_gdbarch_init): Remove function.
(_initialize_x86_64_tdep): Renove register_gdbarch_init call.
Remove code dealing with dissambly.
* x86-64-linux-tdep.c (x86_64_linux_init_abi): New function.
(_initialize_x86_64_linux_tdep): New function.
* config/i386/x86-64linux.mt (TDEPFILES): Add i386-tdep.o and
i386-tdep.o.

21 years ago* osabi.c: Include "gdb_assert.h" and "gdb_string.h".
Mark Kettenis [Sat, 21 Dec 2002 19:58:07 +0000 (19:58 +0000)]
* osabi.c: Include "gdb_assert.h" and "gdb_string.h".
(struct gdb_osabi_handler): Remove member `arch'.  Add member
`arch_info'.
(gdbarch_register_osabi): Add new argument `machine'.  Use ot to
construct a `struct bfd_arch_info' and store it in the `struct
gdb_osabi_handler' that is created.
(gdbarch_init_osabi): Check for compatibility based on machine
type and architecture.
* osabi.h (gdbarch_register_osabi): Adjust prototype and update
comment.
* alpha-linux-tdep.c (_initialize_alpha_linux_tdep): Add 0 as
second argument in call to gdbarch_register_osabi.
* alpha-osf1-tdep.c (_initialize_alpha_osf1_tdep): Likewise.
* alphafbsd-tdep.c (_initialize_alphafbsd_tdep): Likewise.
* alphanbsd-tdep.c (_initialize_alphanbsd_tdep): Likewise.
* arm-linux-tdep.c (_initialize_arm_linux_tdep): Likewise.
* arm-tdep.c (_initialize_arm_tdep): Likewise.
* armnbsd-tdep.c (_initialize_armnbsd_tdep): Likewise.
* hppa-hpux-tdep.c (_initialize_hppa_hpux_tdep): Likewise.
* i386-interix-tdep.c (_initialize_i386_interix_tdep): Likewise.
* i386-linux-tdep.c (_initialize_i386_linux_tdep): Likewise.
* i386-sol2-tdep.c (_initialize_i386_sol2_tdep): Likewise.
* i386-tdep.c (_initialize_i386_tdep): Likewise.
* i386bsd-tdep.c (_initialize_i386bsd_tdep): Likewise.
* i386gnu-tdep.c (_initialize_i386gnu_tdep): Likewise.
* i386ly-tdep.c (_initialize_i386lynx_tdep): Renamed from
_initialize_i386bsd_tdep and updated likewise.
* i386nbsd-tdep.c (_initialize_i386nbsd_tdep): Likewise.
* i386obsd-tdep.c (_initialize_i386obsd_tdep): Likewise.
* mips-irix-tdep.c (_initialize_mips_irix_tdep): Likewise.
* mips-linux-tdep.c (_initialize_mips_linux_tdep): Likewise.
* mipsnbsd-tdep.c (_initialize_mipsnbsd__tdep): Likewise.
* ns32knbsd-tdep.c (_initialize_ns32kmnsd_tdep): Likewise.
* ppc-linux-tdep.c (_initialize_ppc_linux_tdep): Likewise.
* ppcnbsd-tdep.c (_initialize_ppcnbsd_tdep): Likewise.
* shnbsd-tdep.c (_initialize_shnbsd_tdep): Likewise.
* sparcnbsd-tdep.c (_initialize_sparcnbsd_tdep): Likewise.

21 years agoAdd DT_MIPS_RLD_MAP case for 64-bit targets.
Kevin Buettner [Sat, 21 Dec 2002 06:43:25 +0000 (06:43 +0000)]
Add DT_MIPS_RLD_MAP case for 64-bit targets.

21 years agoFix bug introduced when multiarching NUM_REGS.
Kevin Buettner [Sat, 21 Dec 2002 06:36:02 +0000 (06:36 +0000)]
Fix bug introduced when multiarching NUM_REGS.

21 years agoMultiarch SVR4_FETCH_LINK_MAP_OFFSETS and GET_LONGJMP_TARGET for GNU/Linux/MIPS.
Kevin Buettner [Sat, 21 Dec 2002 05:07:36 +0000 (05:07 +0000)]
Multiarch SVR4_FETCH_LINK_MAP_OFFSETS and GET_LONGJMP_TARGET for GNU/Linux/MIPS.

21 years ago2002-12-20 Chris Demetriou <cgd@broadcom.com>
Chris Demetriou [Sat, 21 Dec 2002 02:50:46 +0000 (02:50 +0000)]
2002-12-20  Chris Demetriou  <cgd@broadcom.com>

        * lib/gas-defs.exp (run_dump_test): Add a new optional argument,
        "extra_options".

21 years agoDisable WINCE workaround that subtracted 8 from pc relative relocations.
Nick Clifton [Sat, 21 Dec 2002 02:21:00 +0000 (02:21 +0000)]
Disable WINCE workaround that subtracted 8 from pc relative relocations.

21 years ago*** empty log message ***
gdbadmin [Sat, 21 Dec 2002 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

21 years agodaily update
Alan Modra [Fri, 20 Dec 2002 23:00:05 +0000 (23:00 +0000)]
daily update

21 years ago * coff-h8300.c: Fix comment typos.
Kazu Hirata [Fri, 20 Dec 2002 22:41:13 +0000 (22:41 +0000)]
* coff-h8300.c: Fix comment typos.
* coffcode.h: Likewise.
* cpu-cris.c: Likewise.
* elf32-vax.c: Likewise.
* genlink.h: Likewise.
* linker.c: Likewise.
* som.c: Likewise.
* tekhex.c: Likewise.
* vms-misc.c: Likewise.

21 years ago2002-12-20 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Fri, 20 Dec 2002 21:36:01 +0000 (21:36 +0000)]
2002-12-20  Jeff Johnston  <jjohnstn@redhat.com>

        * COPYING.NEWLIB: Updated.
        * COPYING.LIBGLOSS: Ditto.

21 years ago* config/tc-xstormy16.c (md_cgen_lookup_reloc): Support
DJ Delorie [Fri, 20 Dec 2002 21:14:20 +0000 (21:14 +0000)]
* config/tc-xstormy16.c (md_cgen_lookup_reloc): Support
BFD_RELOC_XSTORMY16_12.

21 years ago* gas/xstormy16/allinsn.sh: Add tests for 12-bit reloc.
DJ Delorie [Fri, 20 Dec 2002 21:14:04 +0000 (21:14 +0000)]
* gas/xstormy16/allinsn.sh: Add tests for 12-bit reloc.
* gas/xstormy16/allinsn.s: Likewise.
* gas/xstormy16/allinsn.d: Likewise.

21 years ago* xstormy16.h: Add XSTORMY16_12.
DJ Delorie [Fri, 20 Dec 2002 21:13:42 +0000 (21:13 +0000)]
* xstormy16.h: Add XSTORMY16_12.

21 years ago* reloc.c: Add BFD_RELOC_XSTORMY16_12.
DJ Delorie [Fri, 20 Dec 2002 21:13:19 +0000 (21:13 +0000)]
* reloc.c: Add BFD_RELOC_XSTORMY16_12.
* libbfd.h: Regenerate.
* bfd-in2.h: Regenerate.
* elf32-xstormy16.c (xstormy16_elf_howto): Add R_XSTORMY16_12.
(xstormy16_reloc_map): Add R_XSTORMY16_12.

21 years ago2002-12-20 David Carlton <carlton@math.stanford.edu>
David Carlton [Fri, 20 Dec 2002 18:37:15 +0000 (18:37 +0000)]
2002-12-20  David Carlton  <carlton@math.stanford.edu>

* gdb.c++/annota2.exp: KFAIL annotate-quit.

21 years ago * agentexpr.texi: Fix typos.
Kazu Hirata [Fri, 20 Dec 2002 09:35:03 +0000 (09:35 +0000)]
* agentexpr.texi: Fix typos.
* annotate.texi: Likewise.
* fdl.texi: Likewise.

21 years ago * cgen-asm.c (cgen_parse_keyword): Added underscore to symbol character
Doug Evans [Fri, 20 Dec 2002 04:54:30 +0000 (04:54 +0000)]
* cgen-asm.c (cgen_parse_keyword): Added underscore to symbol character
check to fix false keyword trigger with names such as <keyword>_foo.

21 years ago2002-12-19 Keith Seitz <keiths@redhat.com>
Elena Zannoni [Fri, 20 Dec 2002 03:37:33 +0000 (03:37 +0000)]
2002-12-19  Keith Seitz  <keiths@redhat.com>

patch committed by Elena Zannoni  <ezannoni@redhat.com>
* thread.c (do_captured_list_thread_ids): Call prune_threads and
target_find_new_threads. Fix for PR mi/669.

21 years ago * arch.c,arch.h,cpuall.h: Regenerate.
Doug Evans [Fri, 20 Dec 2002 02:26:35 +0000 (02:26 +0000)]
* arch.c,arch.h,cpuall.h: Regenerate.
* cpu.c,cpu.h,decode.c,decode.h,model.c,sem-switch.c,sem.c: Regenerate.
* cpux.c,cpux.h,decodex.c,decodex.h,modelx.c,semx-switch.c: Regenerate.

21 years ago * Makefile.am (CGEN_CPUS): New variable.
Doug Evans [Fri, 20 Dec 2002 01:40:08 +0000 (01:40 +0000)]
* Makefile.am (CGEN_CPUS): New variable.
(run-cgen-all): New rule.
* Makefile.in: Regenerate.

21 years ago * doc/bfdint.texi: Fix typos.
Kazu Hirata [Fri, 20 Dec 2002 00:35:03 +0000 (00:35 +0000)]
* doc/bfdint.texi: Fix typos.

21 years ago * acinclude.m4 (AM_INSTALL_LIBBFD): Do not rely on "test -o".
Alan Modra [Fri, 20 Dec 2002 00:09:54 +0000 (00:09 +0000)]
* acinclude.m4 (AM_INSTALL_LIBBFD): Do not rely on "test -o".
* configure.in (build-warnings): Likewise.
(Horrible hacks to build DLLs on Windows): Do not rely on "tail -1".
* aclocal.m4: Regenerate.
* config.in: Regenerate.
* configure: Regenerate.

21 years ago*** empty log message ***
gdbadmin [Fri, 20 Dec 2002 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago * ldmain.c (main): Re-order link_info initialization. Init all
Alan Modra [Thu, 19 Dec 2002 23:11:19 +0000 (23:11 +0000)]
* ldmain.c (main): Re-order link_info initialization.  Init all
fields.

21 years ago * bfdlink.h (struct bfd_link_info): Replace bfd_boolean fields with
Alan Modra [Thu, 19 Dec 2002 23:05:39 +0000 (23:05 +0000)]
* bfdlink.h (struct bfd_link_info): Replace bfd_boolean fields with
bit-fields.  Rearrange to put all like types together.

21 years agodaily update
Alan Modra [Thu, 19 Dec 2002 23:00:04 +0000 (23:00 +0000)]
daily update

21 years ago * README <building ar>: Don't use libibery's needed_list or
Alan Modra [Thu, 19 Dec 2002 22:42:38 +0000 (22:42 +0000)]
* README <building ar>: Don't use libibery's needed_list or
required_list, instead link libiberty/*.o.

21 years ago * Makefile.tpl: Revert HJL's change.
Nathanael Nerode [Thu, 19 Dec 2002 20:27:11 +0000 (20:27 +0000)]
* Makefile.tpl: Revert HJL's change.
* Makefile.in: Regenerated.
* configure.in: Put build_prefix before $(BUILD_SUBDIR) here, and
always.

21 years agoRemove outdated FIXME comment.
Kevin Buettner [Thu, 19 Dec 2002 19:02:57 +0000 (19:02 +0000)]
Remove outdated FIXME comment.

21 years ago2002-12-19 David Carlton <carlton@math.stanford.edu>
David Carlton [Thu, 19 Dec 2002 18:56:14 +0000 (18:56 +0000)]
2002-12-19  David Carlton  <carlton@math.stanford.edu>

* linespec.c (decode_line_1): Move code into decode_all_digits.
(decode_all_digits): New function.

21 years ago * exec.c (print_section_info): Select a format string to use with
Kevin Buettner [Thu, 19 Dec 2002 18:49:27 +0000 (18:49 +0000)]
* exec.c (print_section_info): Select a format string to use with
local_hex_string_custom() based upon the value of TARGET_ADDR_BIT.

21 years agoClarify and extend the documentation in the Machine Dependent, WIN32 section.
Nick Clifton [Thu, 19 Dec 2002 17:25:02 +0000 (17:25 +0000)]
Clarify and extend the documentation in the Machine Dependent, WIN32 section.

21 years ago * doc/binutils.texi: Fix typos.
Kazu Hirata [Thu, 19 Dec 2002 14:39:30 +0000 (14:39 +0000)]
* doc/binutils.texi: Fix typos.

21 years ago * Makefile.tpl, configure.in: Substitute libstdcxx_incdir.
Andreas Schwab [Thu, 19 Dec 2002 11:05:14 +0000 (11:05 +0000)]
* Makefile.tpl, configure.in: Substitute libstdcxx_incdir.
* Makefile.in: Regenerate.

21 years ago * doc/as.texinfo (Invoking): Typo fix.
Alan Modra [Thu, 19 Dec 2002 05:47:45 +0000 (05:47 +0000)]
* doc/as.texinfo (Invoking): Typo fix.
* config/tc-tic54x.c (encode_operand): Comment typo fix.

21 years ago2002-12-18 Michael Chastain <mec@shout.net>
Michael Chastain [Thu, 19 Dec 2002 05:10:45 +0000 (05:10 +0000)]
2002-12-18  Michael Chastain  <mec@shout.net>

* gdb.c++/annota2.exp: Add copyright year 2002.

21 years ago * coff-h8300.c: Include libiberty.h.
Alan Modra [Thu, 19 Dec 2002 01:58:53 +0000 (01:58 +0000)]
* coff-h8300.c: Include libiberty.h.
(h8300_reloc16_extra_cases): Check the hash table creator before
referencing h8300 specific fields.  Stash the hash table pointer
in a local var.  Comment typo fixes.
(h8300_bfd_link_add_symbols): Likewise.

21 years ago * doc/c-alpha.texi: Fix typos.
Kazu Hirata [Thu, 19 Dec 2002 01:11:31 +0000 (01:11 +0000)]
* doc/c-alpha.texi: Fix typos.
* doc/c-arm.texi: Likewise.
* doc/c-d10v.texi: Likewise.
* doc/c-i370.texi: Likewise.
* doc/c-i960.texi: Likewise.
* doc/c-ia64.texi: Likewise.
* doc/c-mmix.texi: Likewise.
* doc/c-ns32k.texi: Likewise.
* doc/c-pdp11.texi: Likewise.
* doc/c-pj.texi: Likewise.
* doc/c-sh64.texi: Likewise.
* doc/c-sparc.texi: Likewise.
* doc/c-tic54x.texi: Likewise.
* doc/c-v850.texi: Likewise.
* doc/c-vax.texi: Likewise.
* doc/internals.texi: Likewise.

21 years ago2002-12-18 H.J. Lu <hjl@gnu.org>
H.J. Lu [Thu, 19 Dec 2002 00:50:33 +0000 (00:50 +0000)]
2002-12-18  H.J. Lu <hjl@gnu.org>

* Makefile.tpl: Add @build_prefix@ before $(BUILD_SUBDIR).
* Makefile.in: Regenerated.

* configure.in (build_prefix): New. Substitute.

21 years ago*** empty log message ***
gdbadmin [Thu, 19 Dec 2002 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

21 years agodaily update
Alan Modra [Wed, 18 Dec 2002 23:04:35 +0000 (23:04 +0000)]
daily update

21 years ago[ opcodes/ChangeLog ]
Chris Demetriou [Wed, 18 Dec 2002 22:52:48 +0000 (22:52 +0000)]
[ opcodes/ChangeLog ]
2002-12-18  Chris Demetriou  <cgd@broadcom.com>

* mips-opc.c (mips_builtin_opcodes): Remove one "ror" and two
"dror" entries, and reorder the remaining "dror" and "ror" entries.

[ gas/ChangeLog ]
2002-12-18  Chris Demetriou  <cgd@broadcom.com>

* config/tc-mips.c (macro): In M_DROL, M_DROR, M_ROL, and M_ROR,
use hardware rotate ops as appropriate.  In M_DROL_I, M_DROR_I,
M_ROL_I, and M_ROR_I, simplify code, clean up warnings, and
arrange not to issue warnings about use of AT when AT is not
actually used.

[ gas/testsuite/ChangeLog ]
2002-12-18  Chris Demetriou  <cgd@broadcom.com>

* gas/mips/rol.s: Add ".set noat" and some new instructions to test.
* gas/mips/rol64.s: Likewise.
* gas/mips/rol.l: New file.
* gas/mips/rol.d: Adjust to use rol.l and for rol.s changes.
* gas/mips/rol64.l: New file.
* gas/mips/rol64.d: Adjust to use rol64.l and for rol64.s changes.
* gas/mips/rol-hw.d: New file.
* gas/mips/rol-hw.l: New file.
* gas/mips/rol64-hw.d: New file.
* gas/mips/rol64-hw.l: New file.
* gas/mips/mips.exp: Run rol-hw and rol64-hw tests.

21 years agokill bogus line between the last 2 entries
Chris Demetriou [Wed, 18 Dec 2002 21:11:30 +0000 (21:11 +0000)]
kill bogus line between the last 2 entries

21 years ago * Makefile.tpl: Don't let real targets depend on phony targets.
Nathanael Nerode [Wed, 18 Dec 2002 18:35:31 +0000 (18:35 +0000)]
* Makefile.tpl: Don't let real targets depend on phony targets.
* Makefile.in: Regenerate.

21 years ago2002-12-18 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Wed, 18 Dec 2002 18:03:42 +0000 (18:03 +0000)]
2002-12-18  Andrew Cagney  <ac131313@redhat.com>

* frame.c (deprecated_update_current_frame_pc_hack): Replace
deprecated_update_current_frame_pc_hack.
(deprecated_update_frame_base_hack): New function.
* frame.h (deprecated_update_frame_pc_hack): Replace
(deprecated_update_frame_base_hack): Declare.
* infrun.c (normal_stop): Update.

21 years agoAdd win32 library search path.
Nick Clifton [Wed, 18 Dec 2002 16:56:19 +0000 (16:56 +0000)]
Add win32 library search path.

21 years agoAdd win32 machine depending section.
Nick Clifton [Wed, 18 Dec 2002 16:25:02 +0000 (16:25 +0000)]
Add win32 machine depending section.

21 years agoTest the auto importing direct from a dll functionality.
Nick Clifton [Wed, 18 Dec 2002 16:05:10 +0000 (16:05 +0000)]
Test the auto importing direct from a dll functionality.

21 years ago2002-12-18 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Wed, 18 Dec 2002 15:23:22 +0000 (15:23 +0000)]
2002-12-18  Andrew Cagney  <ac131313@redhat.com>

* rs6000-tdep.c (rs6000_init_extra_frame_info): Use
frame_extra_info_zalloc.
(rs6000_frame_args_address): Use get_frame_extra_info.
(frame_get_saved_regs): Use get_frame_saved_regs.
(frame_initial_stack_address): Use get_frame_saved_regs and
get_frame_extra_info.
(frame_initial_stack_address): Use get_frame_extra_info.

21 years ago * bfd/reloc.c (struct reloc_howto_struct): Revise src_mask and
Alan Modra [Wed, 18 Dec 2002 13:47:03 +0000 (13:47 +0000)]
* bfd/reloc.c (struct reloc_howto_struct): Revise src_mask and
dst_mask comments.
* bfd-in2.h: Regenerate.

21 years ago * elf32-ppc.c (ppc_elf_relocate_section): Reorganize dynamic reloc
Alan Modra [Wed, 18 Dec 2002 13:16:35 +0000 (13:16 +0000)]
* elf32-ppc.c (ppc_elf_relocate_section): Reorganize dynamic reloc
code a little.  Comment on dynamic relocs against section symbols.