external/binutils.git
22 years agomerge from gcc
DJ Delorie [Mon, 11 Mar 2002 15:16:08 +0000 (15:16 +0000)]
merge from gcc

22 years ago* MAINTAINERS: Fix typo in name of gdb warnings option.
Richard Earnshaw [Mon, 11 Mar 2002 10:37:52 +0000 (10:37 +0000)]
* MAINTAINERS: Fix typo in name of gdb warnings option.
(x86-64): Fix formating so that this can be parsed by awk.

22 years ago * ld-elfweak/strongdata.sym: Allow bss section for GCC 3.2 that
Andreas Jaeger [Mon, 11 Mar 2002 09:26:20 +0000 (09:26 +0000)]
* ld-elfweak/strongdata.sym: Allow bss section for GCC 3.2 that
places zero initialized data in the bss.
* ld-elfweak/dsodata.dsym: Likewise.

22 years agogdb/:
Daniel Jacobowitz [Mon, 11 Mar 2002 00:01:11 +0000 (00:01 +0000)]
gdb/:
2002-03-10  Daniel Jacobowitz  <drow@mvista.com>

        * Makefile.in (defs_h): Add $(INCLUDE_DIR)/gdb/signals.h.
        * defs.h: Include "gdb/signals.h".
        (enum target_signal): Move to $(INCLUDE_DIR)/gdb/signals.h.

include/gdb:
2002-03-10  Daniel Jacobowitz  <drow@mvista.com>

        * signals.h: New file, split from gdb/defs.h.

22 years ago*** empty log message ***
gdbadmin [Mon, 11 Mar 2002 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

22 years agodaily update
Alan Modra [Sun, 10 Mar 2002 23:00:06 +0000 (23:00 +0000)]
daily update

22 years ago * x86-64-tdep.h (sys/reg.h, x86_64_regmap): Moved to x86-64-linux-nat.c
Michal Ludvig [Sun, 10 Mar 2002 18:16:26 +0000 (18:16 +0000)]
    * x86-64-tdep.h (sys/reg.h, x86_64_regmap): Moved to x86-64-linux-nat.c
        * x86-64-linux-nat.c (sys/reg.h, x86_64_regmap): Moved here
        from x86-64-tdep.h

22 years ago2002-03-10 Daniel Jacobowitz <drow@mvista.com>
Daniel Jacobowitz [Sun, 10 Mar 2002 17:00:27 +0000 (17:00 +0000)]
2002-03-10  Daniel Jacobowitz  <drow@mvista.com>
            Don Howard <dhoward@redhat.com>

        * mips-tdep.c (ST0_FR): Define.
        (mips2_fp_compat): New function, temporarily disabled.
        (mips_read_fp_register_single): New function.
        (mips_read_fp_register_double): New function.
        (mips_print_register): Use them.
        (do_fp_register_row): Likewise.

22 years agoThis is a duplicate of an entry I made in testsuite/ChangeLog.
Michael Chastain [Sun, 10 Mar 2002 06:06:16 +0000 (06:06 +0000)]
This is a duplicate of an entry I made in testsuite/ChangeLog.
I overlooked that testsuite/gdb.mi/ChangeLog has its own ChangeLog.
I'm leaving the testsuite/ChangeLog entry in place (ChangeLogs are permanent),
  and adding this one where it belongs.

2002-03-04  Michael Chastain  <mec@shout.net>

* mi-var-cmd.exp: In test "create local variable func",
accommodate gcc v3 function signature.
* mi0-var-cmd-exp: Ditto.

22 years ago* MAINTAINERS: Add Jim Ingham and Klee Dienes to ``write after
Andrew Cagney [Sun, 10 Mar 2002 03:09:52 +0000 (03:09 +0000)]
* MAINTAINERS: Add Jim Ingham and Klee Dienes to ``write after
approval''.

22 years ago*** empty log message ***
gdbadmin [Sun, 10 Mar 2002 00:00:06 +0000 (00:00 +0000)]
*** empty log message ***

22 years agodaily update
Alan Modra [Sat, 9 Mar 2002 23:00:04 +0000 (23:00 +0000)]
daily update

22 years ago * config/tc-i386.h (REX_OPCODE): Define.
Alan Modra [Sat, 9 Mar 2002 05:36:51 +0000 (05:36 +0000)]
* config/tc-i386.h (REX_OPCODE): Define.
(REX_MODE64, REX_EXTX, REX_EXTY, REX_EXTZ): Define.
(rex_byte): typedef to int.
* config/tc-i386.c: Group prototypes and vars together.
Formatting fixes.  Remove occurrences of "register" keyword.
(true): Delete.
(false): Delete.
(mode_from_disp_size): Add INLINE keyword to prototype.
(fits_in_signed_byte): Likewise.
(fits_in_unsigned_byte): Likewise.
(fits_in_unsigned_word): Likewise.
(fits_in_signed_word): Likewise.
(fits_in_unsigned_long): Likewise.
(fits_in_signed_long): Likewise.
(type_names): Constify.
(intel_float_operand): Constify param.
(add_prefix): Use REX_OPCODE.
(md_assemble): Likewise.  Modify for changed rex_byte.
(parse_insn): Split out of md_assemble.
(parse_operands): Likewise.
(swap_operands): Likewise.
(optimize_imm): Likewise.
(optimize_disp): Likewise.
(match_template): Likewise.
(check_string): Likewise.
(process_suffix): Likewise.
(check_byte_reg): Likewise.
(check_long_reg): Likewise.
(check_qword_reg): Likewise.
(check_word_reg): Likewise.
(finalize_imm): Likewise.
(process_operands): Likewise.
(build_modrm_byte): Likewise.
(output_insn): Likewise.
(output_branch): Likewise.
(output_jump): Likewise.
(output_interseg_jump): Likewise.
(output_disp): Likewise.
(output_imm): Likewise.

22 years ago*** empty log message ***
gdbadmin [Sat, 9 Mar 2002 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

22 years agodaily update
Alan Modra [Fri, 8 Mar 2002 23:00:10 +0000 (23:00 +0000)]
daily update

22 years ago * stabsread.c (read_member_functions): Fix is_stub test for
Peter Schauer [Fri, 8 Mar 2002 17:19:39 +0000 (17:19 +0000)]
* stabsread.c (read_member_functions): Fix is_stub test for
static member functions, improve comment.

22 years ago2002-03-07 Daniel Jacobowitz <drow@mvista.com>
Daniel Jacobowitz [Fri, 8 Mar 2002 06:05:18 +0000 (06:05 +0000)]
2002-03-07  Daniel Jacobowitz  <drow@mvista.com>

        * README: Update some version numbers.

22 years ago2002-03-07 Daniel Jacobowitz <drow@mvista.com>
Daniel Jacobowitz [Fri, 8 Mar 2002 05:42:15 +0000 (05:42 +0000)]
2002-03-07  Daniel Jacobowitz  <drow@mvista.com>

        * doc/binutils.texi (Target Selection): Fix LD crossreferences.
        (Architecture Selection): Likewise.

22 years ago2002-03-07 Daniel Jacobowitz <drow@mvista.com>
Daniel Jacobowitz [Fri, 8 Mar 2002 04:24:19 +0000 (04:24 +0000)]
2002-03-07  Daniel Jacobowitz  <drow@mvista.com>

        * gprof.texi: Wrap @menu in @ifnottex, not @ifinfo.

22 years ago2002-03-07 Daniel Jacobowitz <drow@mvista.com>
Daniel Jacobowitz [Fri, 8 Mar 2002 04:21:51 +0000 (04:21 +0000)]
2002-03-07  Daniel Jacobowitz  <drow@mvista.com>

        * doc/as.texinfo: Wrap @menu in @ifnottex, not @ifinfo.

22 years ago2002-03-07 Daniel Jacobowitz <drow@mvista.com>
Daniel Jacobowitz [Fri, 8 Mar 2002 04:07:21 +0000 (04:07 +0000)]
2002-03-07  Daniel Jacobowitz  <drow@mvista.com>

        * ld.texinfo: Wrap @menu in @ifnottex, not @ifinfo.

22 years ago2002-03-07 Chris Demetriou <cgd@broadcom.com>
Chris Demetriou [Fri, 8 Mar 2002 00:37:14 +0000 (00:37 +0000)]
2002-03-07  Chris Demetriou  <cgd@broadcom.com>

        * mips.igen (BREAK, LUI, ORI, SYSCALL, XORI): Print
        immediate or code as a hex value with the "%#lx" format.
        (ANDI): Likewise, and fix printed instruction name.

22 years ago2002-03-07 Chris Demetriou <cgd@broadcom.com>
Chris Demetriou [Fri, 8 Mar 2002 00:36:32 +0000 (00:36 +0000)]
2002-03-07  Chris Demetriou  <cgd@broadcom.com>

        * igen.c (print_itrace_format): Add support for a new "%#lx" format.

22 years ago*** empty log message ***
gdbadmin [Fri, 8 Mar 2002 00:03:34 +0000 (00:03 +0000)]
*** empty log message ***

22 years agodaily update
Alan Modra [Thu, 7 Mar 2002 23:00:05 +0000 (23:00 +0000)]
daily update

22 years ago * m68hc11_sim.c (cpu_move8): Call sim_engine_abort in default case.
Stephane Carrez [Thu, 7 Mar 2002 19:17:04 +0000 (19:17 +0000)]
* m68hc11_sim.c (cpu_move8): Call sim_engine_abort in default case.
(cpu_move16): Likewise.
(sim_memory_error): Use sim_io_printf.
(cpu_option_handler): Fix compilation warning.
* interp.c (sim_hw_configure): Fix compilation warning;
remove m68hc12sio@2 device.
(sim_open): Likewise.
* dv-m68hc11tim.c (m68hc11tim_port_event): Fix clear of TFLG2
flags when reset.
(cycle_to_string): Improve convertion of cpu cycle number.
(m68hc11tim_info): Print info about PACNT.
(m68hc11tim_io_write_buffer): Fix clearing of TFLG2; handle
TCTL1 and TCTL2 registers.
* dv-m68hc11.c (m68hc11_info): Print 6811 current running mode.

22 years ago * interp.c (sim_hw_configure): Save the HW cpu pointer in the
Stephane Carrez [Thu, 7 Mar 2002 19:12:44 +0000 (19:12 +0000)]
* interp.c (sim_hw_configure): Save the HW cpu pointer in the
cpu struct.
(sim_hw_configure): Connect the capture input/output events.
* sim-main.h (_sim_cpu): New member hw_cpu.
(m68hc11cpu_set_oscillator): Declare.
(m68hc11cpu_clear_oscillator): Declare.
(m68hc11cpu_set_port): Declare.
* dv-m68hc11.c (m68hc11_options): New for oscillator commands.
(m68hc11cpu_ports): New input ports and output ports to reflect
the HC11 IOs.
(m68hc11_delete): Cleanup any running oscillator.
(attach_m68hc11_regs): Create the input oscillators.
(make_oscillator): New function.
(find_oscillator): New function.
(oscillator_handler): New function.
(reset_oscillators): New function.
(m68hc11cpu_port_event): Handle the new input ports.
(m68hc11cpu_set_oscillator): New function.
(m68hc11cpu_clear_oscillator): New function.
(get_frequency): New function.
(m68hc11_option_handler): New function.
(m68hc11cpu_set_port): New function.
(m68hc11cpu_io_write): Post the port output events.
* dv-m68hc11spi.c (set_bit_port): Use m68hc11cpu_set_port to set
the output port value.
* dv-m68hc11tim.c (m68hc11tim_port_event): Handle CAPTURE event
by latching the TCNT value in the register.

22 years ago * sim-main.h (cpu_frame, cpu_frame_list): Remove.
Stephane Carrez [Thu, 7 Mar 2002 19:06:34 +0000 (19:06 +0000)]
* sim-main.h (cpu_frame, cpu_frame_list): Remove.
(cpu_frame_reg, cpu_print_frame): Remove.
(cpu_m68hc11_push_uint8, cpu_m68hc11_pop_uint8): Cleanup.
(cpu_m68hc11_push_uint16, cpu_m68hc11_pop_uint16): Likewise.
(cpu_m68hc12_push_uint8, cpu_m68hc12_push_uint16): Likewise.
(cpu_m68hc12_pop_uint8, cpu_m68hc12_pop_uint16): Likewise.
* m68hc11_sim.c (cpu_find_frame): Remove.
(cpu_create_frame_list): Remove.
(cpu_remove_frame_list, cpu_create_frame, cpu_free_frame): Remove.
(cpu_frame_reg, cpu_print_frame, cpu_update_frame): Remove.
(cpu_call): Cleanup to remove #if HAVE_FRAME and calls to the above.
(cpu_update_frame): Likewise.
(cpu_return): Likewise.
(cpu_reset): Likewise.
(cpu_initialize): Likewise.
* interp.c (sim_do_command): Remove call to cpu_print_frame.

22 years ago * interrupts.c (interrupts_reset): New function, setup interrupt
Stephane Carrez [Thu, 7 Mar 2002 18:59:38 +0000 (18:59 +0000)]
* interrupts.c (interrupts_reset): New function, setup interrupt
vector address according to cpu mode.
(interrupts_initialize): Move reset portion to the above.
(interrupt_names): New table to give a name to interrupts.
(idefs): Handle pulse accumulator interrupts.
(interrupts_info): Print the interrupt history.
(interrupt_option_handler): New function.
(interrupt_options): New table of options.
(interrupts_update_pending): Keep track of when interrupts are
raised and implement breakpoint-on-raise-interrupt.
(interrupts_process): Keep track of when interrupts are taken
and implement breakpoint-on-interrupt.
* interrupts.h (struct interrupt_history): Define.
(struct interrupt): Keep track of the interrupt history.
(interrupts_reset): Declare.
(interrupts_initialize): Update prototype.
* m68hc11_sim.c (cpu_reset): Reset interrupts.
(cpu_initialize): Cleanup.

22 years ago2002-03-07 H.J. Lu (hjl@gnu.org)
H.J. Lu [Thu, 7 Mar 2002 18:11:20 +0000 (18:11 +0000)]
2002-03-07  H.J. Lu  (hjl@gnu.org)

* coff-sh.c (shcoff_reloc_map): Use bfd_reloc_code_real_type
as the type for bfd_reloc_val.

22 years ago2002-03-07 H.J. Lu (hjl@gnu.org)
H.J. Lu [Thu, 7 Mar 2002 17:47:03 +0000 (17:47 +0000)]
2002-03-07  H.J. Lu  (hjl@gnu.org)

* configure.in: Enable gprof for mips*-*-linux*.

22 years ago* remote-rdi.c (myprint): Replace 'PTR' with 'void *'.
Richard Earnshaw [Thu, 7 Mar 2002 15:29:53 +0000 (15:29 +0000)]
* remote-rdi.c (myprint): Replace 'PTR' with 'void *'.
(mywrite, mywritec, mypause, myreadc, mygets): Likewise.
(_initialize_remote_rdi): Use add_set_boolean_cmd to register
commands that set boolean values.
(arm_rdi_remove_breakpoint): Rewrite to avoid uninitialized warning.
(arm_rdi_resume): Always initialize PC.
(arm_rdi_open): Don't use rslt as a boolean.
(arm_rdi_create_inferior, arm_rdi_close, arm_rdi_resume)
(arm_rdi_fetch_registers, arm_rdi_store_registers)
(arm_rdi_xfer_memory, arm_rdi_files_info, arm_rdi_kill)
(arm_rdi_insert_breakpoint, arm_rdi_remove_breakpoint): Likewise.

22 years ago * ld-cris/expdyn1.d: Tweak for change in elf.sc.
Hans-Peter Nilsson [Thu, 7 Mar 2002 14:03:05 +0000 (14:03 +0000)]
* ld-cris/expdyn1.d: Tweak for change in elf.sc.

22 years agoChecked in under the "obvious fix/typo rule".
Fred Fish [Thu, 7 Mar 2002 04:18:55 +0000 (04:18 +0000)]
Checked in under the "obvious fix/typo rule".

2002-03-06  Fred Fish  <fnf@redhat.com>
* gdb.base/funcargs.c:  Remove extraneous ';' character.
* gdb.trace/gdb_c_test.c: Remove extraneous ';' character.

22 years ago* splay-tree.c (splay_tree_xmalloc_allocate,
Jim Blandy [Thu, 7 Mar 2002 00:16:50 +0000 (00:16 +0000)]
* splay-tree.c (splay_tree_xmalloc_allocate,
splay_tree_xmalloc_deallocate): Use K&R-style definitions, not
prototyped definitions.  Mark `data' arguments as unused.

22 years ago*** empty log message ***
gdbadmin [Thu, 7 Mar 2002 00:00:37 +0000 (00:00 +0000)]
*** empty log message ***

22 years agodaily update
Alan Modra [Wed, 6 Mar 2002 23:00:03 +0000 (23:00 +0000)]
daily update

22 years ago* configure.in (gdb_cv_bigtoc): Check for -bbigtoc on AIX.
Alexandre Oliva [Wed, 6 Mar 2002 21:16:00 +0000 (21:16 +0000)]
* configure.in (gdb_cv_bigtoc): Check for -bbigtoc on AIX.
* configure: Rebuilt.

22 years ago2002-03-06 Chris Demetriou <cgd@broadcom.com>
Chris Demetriou [Wed, 6 Mar 2002 20:31:14 +0000 (20:31 +0000)]
2002-03-06  Chris Demetriou  <cgd@broadcom.com>

        * mips-opc.c (mips_builtin_opcodes): Mark "pref" as being
        present on I4.

        * mips-opc.c (mips_builtin_opcodes): Add "movn.ps" and "movz.ps".

22 years ago * MAINTAINERS: Record self as maintainer of m68hc11 simulator.
Stephane Carrez [Wed, 6 Mar 2002 20:15:53 +0000 (20:15 +0000)]
* MAINTAINERS: Record self as maintainer of m68hc11 simulator.

22 years ago * m68hc11-tdep.c (_initialize_m68hc11_tdep): Don't set tm_print_insn.
Stephane Carrez [Wed, 6 Mar 2002 20:07:47 +0000 (20:07 +0000)]
* m68hc11-tdep.c (_initialize_m68hc11_tdep): Don't set tm_print_insn.
(m68hc11_gdbarch_init): But use set_gdbarch_print_insn instead.

22 years ago* MAINTAINERS: Reverted misunderstood change of x86-64 maintainer.
Michal Ludvig [Wed, 6 Mar 2002 09:12:51 +0000 (09:12 +0000)]
* MAINTAINERS: Reverted misunderstood change of x86-64 maintainer.

22 years ago2002-03-05 Chris Demetriou <cgd@broadcom.com>
Chris Demetriou [Wed, 6 Mar 2002 06:46:29 +0000 (06:46 +0000)]
2002-03-05  Chris Demetriou  <cgd@broadcom.com>

        * sim-main.h (UndefinedResult, Unpredictable): New macros
        which currently do nothing.

22 years agoRemove floatformat_arm_ext.
Andrew Cagney [Wed, 6 Mar 2002 06:29:42 +0000 (06:29 +0000)]
Remove floatformat_arm_ext.

22 years ago* cli/cli-decode.c (set_cmd_completer): New function.
Andrew Cagney [Wed, 6 Mar 2002 06:28:35 +0000 (06:28 +0000)]
* cli/cli-decode.c (set_cmd_completer): New function.
* command.h (set_cmd_completer): Declare.
* cli/cli-decode.h (set_cmd_completer): Ditto.

* breakpoint.c (_initialize_breakpoint): Use set_cmd_completer.
* cli/cli-cmds.c (init_cli_cmds): Ditto.
* win32-nat.c (_initialize_inftarg): Ditto.
* remote-rdi.c (_initialize_remote_rdi): Ditto.
* proc-api.c (_initialize_proc_api): Ditto.
* hppa-tdep.c (_initialize_hppa_tdep): Ditto.
* source.c (_initialize_source): Ditto.
* exec.c (_initialize_exec): Ditto.
* solib.c (_initialize_solib): Ditto.
* top.c (init_main): Ditto.
* tracepoint.c (_initialize_tracepoint): Ditto.
* symfile.c (_initialize_symfile): Ditto.
* printcmd.c (_initialize_printcmd): Ditto.
* infcmd.c (_initialize_infcmd): Ditto.
* corefile.c (_initialize_core): Ditto.

22 years ago2002-03-05 Chris Demetriou <cgd@broadcom.com>
Chris Demetriou [Wed, 6 Mar 2002 06:21:17 +0000 (06:21 +0000)]
2002-03-05  Chris Demetriou  <cgd@broadcom.com>

        * sim-main.h (status_UX, status_SX, status_KX, status_TS)
        (status_PX, status_MX, status_CU0, status_CU1, status_CU2)
        (status_CU3): New definitions.

        * sim-main.h (ExceptionCause): Add new values for MIPS32
        and MIPS64: MDMX, MCheck, CacheErr.  Update comments
        for DebugBreakPoint and NMIReset to note their status in
        MIPS32 and MIPS64.
        (SignalExceptionMDMX, SignalExceptionWatch, SignalExceptionMCheck)
        (SignalExceptionCacheErr): New exception macros.

22 years ago2002-03-05 Chris Demetriou <cgd@broadcom.com>
Chris Demetriou [Wed, 6 Mar 2002 05:41:40 +0000 (05:41 +0000)]
2002-03-05  Chris Demetriou  <cgd@broadcom.com>

        * mips.igen (check_fpu): Enable check for coprocessor 1 usability.
        * sim-main.h (COP_Usable): Define, but for now coprocessor 1
        is always enabled.
        (SignalExceptionCoProcessorUnusable): Take as argument the
        unusable coprocessor number.

22 years ago * config/tc-i386.c (tc_gen_reloc): Don't attempt to handle 8 byte
Alan Modra [Wed, 6 Mar 2002 04:59:36 +0000 (04:59 +0000)]
* config/tc-i386.c (tc_gen_reloc): Don't attempt to handle 8 byte
relocs except when BFD64.

* write.c (number_to_chars_bigendian): Don't abort when N is
larger than sizeof (VAL).
(number_to_chars_littleendian): Likewise.

22 years ago* MAINTAINERS (Past Maintainers): Add Frank Ch. Eigler.
Andrew Cagney [Wed, 6 Mar 2002 04:46:44 +0000 (04:46 +0000)]
* MAINTAINERS (Past Maintainers): Add Frank Ch. Eigler.

22 years ago* MAINTAINERS: Fix Mac OS X and Objective-C/C++.
Andrew Cagney [Wed, 6 Mar 2002 03:50:12 +0000 (03:50 +0000)]
* MAINTAINERS: Fix Mac OS X and Objective-C/C++.

22 years ago*** empty log message ***
gdbadmin [Wed, 6 Mar 2002 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

22 years agodaily update
Alan Modra [Tue, 5 Mar 2002 23:00:06 +0000 (23:00 +0000)]
daily update

22 years ago* NEWS: Update headings, 5.2 has branched.
Andrew Cagney [Tue, 5 Mar 2002 22:57:57 +0000 (22:57 +0000)]
* NEWS: Update headings, 5.2 has branched.

22 years agofix month on 4 of my recent entries (*sigh*)
Chris Demetriou [Tue, 5 Mar 2002 22:25:06 +0000 (22:25 +0000)]
fix month on 4 of my recent entries (*sigh*)

22 years ago2002-03-05 Chris Demetriou <cgd@broadcom.com>
Chris Demetriou [Tue, 5 Mar 2002 22:24:24 +0000 (22:24 +0000)]
2002-03-05  Chris Demetriou  <cgd@broadcom.com>

        * mips.igen: Fix formatting of all SignalException calls.

22 years ago2002-03-04 Michael Chastain <mec@shout.net>
Michael Chastain [Tue, 5 Mar 2002 19:48:18 +0000 (19:48 +0000)]
2002-03-04  Michael Chastain  <mec@shout.net>

* gdb.mi/mi-var-cmd.exp: In test "create local variable func",
accommodate gcc v3 function signature.
* gdb.mi/mi0-var-cmd-exp: Ditto.

22 years ago2002-02-05 Chris Demetriou <cgd@broadcom.com>
Chris Demetriou [Tue, 5 Mar 2002 19:22:13 +0000 (19:22 +0000)]
2002-02-05  Chris Demetriou  <cgd@broadcom.com>

        * sim-main.h (SIGNEXTEND): Remove.

22 years ago2002-03-05 John David Anglin <dave@hiauly1.hia.nrc.ca>
Jeff Law [Tue, 5 Mar 2002 17:57:17 +0000 (17:57 +0000)]
2002-03-05  John David Anglin  <dave@hiauly1.hia.nrc.ca>

        * config/tc-hppa.c (md_apply_fix3): Add cast.
        (hppa_fix_adjustable): Adjust list of selectors using e_lrsel and
        e_rrsel.

22 years ago2002-02-26 John David Anglin <dave@hiauly1.hia.nrc.ca>
Jeff Law [Tue, 5 Mar 2002 17:55:55 +0000 (17:55 +0000)]
2002-02-26  John David Anglin  <dave@hiauly1.hia.nrc.ca>

* bfd/elf-hppa.h (elf_hppa_is_dynamic_loader_symbol): New function.
(elf_hppa_relocate_section): Ignore undefined dynamic loader symbols.
(elf_hppa_final_link_relocate): Correct relocations for indirect
references to local data through the DLT.  Fix .opd creation for
local symbols using R_PARISC_LTOFF_FPTR32 and R_PARISC_FPTR64
relocations.  Use e_lsel selector for R_PARISC_DLTIND21L,
R_PARISC_LTOFF_FPTR21L and R_PARISC_LTOFF_TP21L as per
"Processor-Specific ELF for PA_RISC, Version 1.43" document.
Similarly, use e_rsel for DLT and LTOFF 'R' relocations.
* bfd/elf32-hppa.c (final_link_relocate): Revise relocation selectors
as per "Processor-Specific ELF for PA_RISC, Version 1.43" document.

22 years ago * merge.c (_bfd_merge_sections): Don't segfault if there
Jakub Jelinek [Tue, 5 Mar 2002 12:19:08 +0000 (12:19 +0000)]
* merge.c (_bfd_merge_sections): Don't segfault if there
is nothing to merge due to GC.

22 years ago * scripttempl/elf.sc: Only use DATA_SEGMENT_END() together with
Jakub Jelinek [Tue, 5 Mar 2002 11:56:23 +0000 (11:56 +0000)]
* scripttempl/elf.sc: Only use DATA_SEGMENT_END() together with
DATA_SEGMENT_ALIGN.

22 years ago2002-02-04 Chris Demetriou <cgd@broadcom.com>
Chris Demetriou [Tue, 5 Mar 2002 07:34:01 +0000 (07:34 +0000)]
2002-02-04  Chris Demetriou  <cgd@broadcom.com>

        * mips.igen: Remove gencode comment from top of file, fix
        spelling in another comment.

22 years agotypo fix
Alan Modra [Tue, 5 Mar 2002 05:26:02 +0000 (05:26 +0000)]
typo fix

22 years ago * elf32-hppa.c (clobber_millicode_symbols): Remove hack to keep
Alan Modra [Tue, 5 Mar 2002 05:25:13 +0000 (05:25 +0000)]
* elf32-hppa.c (clobber_millicode_symbols): Remove hack to keep
symbols that have been forced local.

22 years ago * elflink.h (elf_bfd_final_link): Call elf_link_output_extsym
Alan Modra [Tue, 5 Mar 2002 05:18:41 +0000 (05:18 +0000)]
* elflink.h (elf_bfd_final_link): Call elf_link_output_extsym
to output forced local syms for non-shared link.
(elf_link_output_extsym): Tweak condition for calling backend
adjust_dynamic_symbol so that previous behaviour is kept.

22 years ago2002-02-04 Chris Demetriou <cgd@broadcom.com>
Chris Demetriou [Tue, 5 Mar 2002 03:14:56 +0000 (03:14 +0000)]
2002-02-04  Chris Demetriou  <cgd@broadcom.com>

        * mips.igen (check_fmt, check_fmt_p): New functions to check
        whether specific floating point formats are usable.
        (ABS.fmt, ADD.fmt, CEIL.L.fmt, CEIL.W, DIV.fmt, FLOOR.L.fmt)
        (FLOOR.W.fmt, MOV.fmt, MUL.fmt, NEG.fmt, RECIP.fmt, ROUND.L.fmt)
        (ROUND.W.fmt, RSQRT.fmt, SQRT.fmt, SUB.fmt, TRUNC.L.fmt, TRUNC.W):
        Use the new functions.
        (do_c_cond_fmt): Remove format checks...
        (C.cond.fmta, C.cond.fmtb): And move them into all callers.

22 years ago * gas/pdp11/pdp11.exp: New file.
Alan Modra [Tue, 5 Mar 2002 03:12:18 +0000 (03:12 +0000)]
* gas/pdp11/pdp11.exp: New file.
* gas/pdp11/opcode.s: Ditto.
* gas/pdp11/opcode.d: Ditto.

22 years ago * tc-pdp11.c: Use VAX float format support for PDP-11 target.
Alan Modra [Tue, 5 Mar 2002 03:10:34 +0000 (03:10 +0000)]
* tc-pdp11.c: Use VAX float format support for PDP-11 target.
(parse_ac5): New function for parsing float regs in float operand.
(parse_expression): Remove attempt to make literals be octal.
(parse_op_no_deferred): Support float literals.
(parse_op): Reject attempts to refer to float regs.
(parse_fop): New function, like parse_op but for float operand.
(md_assemble): Add cases to parse float operands.  Also fix
IMM3, IMM6, IMM8 cases to pick up the operand from the right spot.

22 years ago * pdp11-opc.c: Fix "mark" operand type. Fix operand types
Alan Modra [Tue, 5 Mar 2002 03:09:53 +0000 (03:09 +0000)]
* pdp11-opc.c: Fix "mark" operand type.  Fix operand types
for float opcodes that take float operands.  Add alternate
names (xxxD vs. xxxF) for float opcodes.
* pdp11-dis.c (print_operand): Clean up formatting for mode 67.
(print_foperand): New function to handle float opcode operands.
(print_insn_pdp11): Use print_foperand to disassemble float ops.

22 years ago * pdp11.h: Add format codes for float instruction formats.
Alan Modra [Tue, 5 Mar 2002 03:09:01 +0000 (03:09 +0000)]
* pdp11.h: Add format codes for float instruction formats.

22 years ago*** empty log message ***
gdbadmin [Tue, 5 Mar 2002 00:00:07 +0000 (00:00 +0000)]
*** empty log message ***

22 years agodaily update
Alan Modra [Mon, 4 Mar 2002 23:00:05 +0000 (23:00 +0000)]
daily update

22 years agomerge from gcc
DJ Delorie [Mon, 4 Mar 2002 22:01:27 +0000 (22:01 +0000)]
merge from gcc

22 years ago2002-03-04 H.J. Lu <hjl@gnu.org>
H.J. Lu [Mon, 4 Mar 2002 20:41:55 +0000 (20:41 +0000)]
2002-03-04  H.J. Lu <hjl@gnu.org>

* elf.c (bfd_section_from_shdr): Handle special sections,
.init_array, .fini_array and .preinit_array.
(elf_fake_sections): Likewise.

* elflink.h (NAME(bfd_elf,size_dynamic_sections)): Create the
DT entry only if the section is in output for .init_array,
.fini_array and .preinit_array. Complain about .preinit_array
section in DSO.
(elf_bfd_final_link): Warn zero size for .init_array,
.fini_array and .preinit_array sections.

* elfxx-ia64.c (elfNN_ia64_section_from_shdr): Remove
SHT_INIT_ARRAY, SHT_FINI_ARRAY and SHT_PREINIT_ARRAY.
(elfNN_ia64_fake_sections): Remove .init_array, .fini_array and
.preinit_array.

22 years ago2002-03-04 H.J. Lu <hjl@gnu.org>
H.J. Lu [Mon, 4 Mar 2002 20:40:48 +0000 (20:40 +0000)]
2002-03-04  H.J. Lu <hjl@gnu.org>

* config/obj-elf.c (special_section): Add .init_array,
.fini_array and .preinit_array.

* config/tc-ia64.h (ELF_TC_SPECIAL_SECTIONS): Remove
.init_array and .fini_array.

22 years ago2002-03-04 H.J. Lu <hjl@gnu.org>
H.J. Lu [Mon, 4 Mar 2002 20:40:14 +0000 (20:40 +0000)]
2002-03-04  H.J. Lu <hjl@gnu.org>

* scripttempl/elf.sc: Put .preinit_array, .init_array and
.fini_array in the data segment.

22 years ago 2002-03-04 Fred Fish <fnf@redhat.com>
Fred Fish [Mon, 4 Mar 2002 20:38:10 +0000 (20:38 +0000)]
2002-03-04  Fred Fish  <fnf@redhat.com>
* gdbint.texinfo: Fix a bunch of typos (alsways, mirrorred,
expresson, suports, dependant, trhe, perhaphs, situtations,
explictily, taged, oportunity, unfortunatly).

22 years ago2002-03-04 Daniel Jacobowitz <drow@mvista.com>
Daniel Jacobowitz [Mon, 4 Mar 2002 16:28:35 +0000 (16:28 +0000)]
2002-03-04  Daniel Jacobowitz  <drow@mvista.com>

        * gdbserver/linux-low.c (PTRACE_XFER_TYPE): Change to long.
        (num_regs, regmap): Move inside HAVE_LINUX_USRREGS.
        (register_addr, REGISTER_RAW_SIZE): Likewise.
        (usr_store_inferior_registers): Use PTRACE_XFER_TYPE.
        * gdbserver/linux-x86-64-low.c: Remove extra #endif.

22 years ago* MAINTAINERS (x86-64): tagret is not broken anymore.
Michal Ludvig [Mon, 4 Mar 2002 12:25:39 +0000 (12:25 +0000)]
* MAINTAINERS (x86-64): tagret is not broken anymore.

22 years ago* MAINTAINERS (x86-64): Add myself
Michal Ludvig [Mon, 4 Mar 2002 11:08:28 +0000 (11:08 +0000)]
* MAINTAINERS (x86-64): Add myself
* x86-64-tdep.c (x86_64_push_arguments): Fixed typo naregs->nregs,
changed value_ptr -> struct value *

22 years ago2002-02-03 Chris Demetriou <cgd@broadcom.com>
Chris Demetriou [Mon, 4 Mar 2002 04:14:51 +0000 (04:14 +0000)]
2002-02-03  Chris Demetriou  <cgd@broadcom.com>

        * mips.igen: Fix formatting of check_fpu calls.

22 years ago2002-03-03 Chris Demetriou <cgd@broadcom.com>
Chris Demetriou [Mon, 4 Mar 2002 04:06:47 +0000 (04:06 +0000)]
2002-03-03  Chris Demetriou  <cgd@broadcom.com>

        * mips.igen (FLOOR.L.fmt): Store correct destination register.

22 years ago2002-03-03 Chris Demetriou <cgd@broadcom.com>
Chris Demetriou [Mon, 4 Mar 2002 03:19:49 +0000 (03:19 +0000)]
2002-03-03  Chris Demetriou  <cgd@broadcom.com>

        * mips.igen: Remove whitespace at end of lines.

22 years ago * scripttempl/elf.sc: Correct syntax errors in 2002-03-01 commit.
Alan Modra [Mon, 4 Mar 2002 01:37:52 +0000 (01:37 +0000)]
* scripttempl/elf.sc: Correct syntax errors in 2002-03-01 commit.

22 years ago * configure.in (WIN32LIBADD): Don't eval PICFLAG assignment.
Alan Modra [Mon, 4 Mar 2002 01:16:53 +0000 (01:16 +0000)]
* configure.in (WIN32LIBADD): Don't eval PICFLAG assignment.
* configure: Regenerate.

22 years agomerge from gcc
DJ Delorie [Mon, 4 Mar 2002 00:55:25 +0000 (00:55 +0000)]
merge from gcc

22 years ago*** empty log message ***
gdbadmin [Mon, 4 Mar 2002 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

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

22 years ago2002-03-02 Chris Demetriou <cgd@broadcom.com>
Chris Demetriou [Sun, 3 Mar 2002 07:36:42 +0000 (07:36 +0000)]
2002-03-02  Chris Demetriou  <cgd@broadcom.com>

* mips.igen (loadstore_ea): New function to do effective
address calculations.
(do_load, do_load_left, do_load_right, LL, LDD, PREF, do_store,
do_store_left, do_store_right, SC, SCD, PREFX, SWC1, SWXC1,
CACHE): Use loadstore_ea to do effective address computations.

22 years ago2002-03-02 Chris Demetriou <cgd@broadcom.com>
Chris Demetriou [Sun, 3 Mar 2002 06:49:43 +0000 (06:49 +0000)]
2002-03-02  Chris Demetriou  <cgd@broadcom.com>

* interp.c (load_word): Use EXTEND32 rather than SIGNEXTEND.
* mips.igen (LL, CxC1, MxC1): Likewise.

22 years ago2002-03-02 Chris Demetriou <cgd@broadcom.com>
Chris Demetriou [Sun, 3 Mar 2002 02:11:23 +0000 (02:11 +0000)]
2002-03-02  Chris Demetriou  <cgd@broadcom.com>

        * mips.igen (LL, LLD, PREF, SC, SCD, ABS.fmt, ADD.fmt, CEIL.L.fmt,
        CEIL.W, CVT.D.fmt, CVT.L.fmt, CVT.S.fmt, CVT.W.fmt, DIV.fmt,
        FLOOR.L.fmt, FLOOR.W.fmt, MADD.D, MADD.S, MOV.fmt, MOVtf.fmt,
        MSUB.D, MSUB.S, MUL.fmt, NEG.fmt, NMADD.D, NMADD.S, NMSUB.D,
        NMSUB.S, PREFX, RECIP.fmt, ROUND.L.fmt, ROUND.W.fmt, RSQRT.fmt,
        SQRT.fmt, SUB.fmt, SWC1, SWXC1, TRUNC.L.fmt, TRUNC.W, CACHE):
        Don't split opcode fields by hand, use the opcode field values
        provided by igen.

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

22 years agodaily update
Alan Modra [Sat, 2 Mar 2002 23:00:04 +0000 (23:00 +0000)]
daily update

22 years agoReplace immediate howto type initializers with symbolic.
Tom Rix [Sat, 2 Mar 2002 13:23:57 +0000 (13:23 +0000)]
Replace immediate howto type initializers with symbolic.

22 years ago * scripttempl/elf.sc (SECTIONS): Add entries for .preinit_array,
Richard Henderson [Sat, 2 Mar 2002 01:25:26 +0000 (01:25 +0000)]
    * scripttempl/elf.sc (SECTIONS): Add entries for .preinit_array,
        .init_array, and .fini_array.

22 years ago * elflink.h (size_dynamic_sections): If section named
Richard Henderson [Sat, 2 Mar 2002 01:24:50 +0000 (01:24 +0000)]
    * elflink.h (size_dynamic_sections): If section named
        ".preinit_array" exists, create DT_PREINIT_ARRAY and
        DT_PREINIT_ARRAYSZ entries in dynamic table.  Analogously for
        ".init_array" and ".fini_array".
        (elf_bfd_final_link): Handle DT_PREINIT_ARRAYSZ, DT_INIT_ARRAYSZ,
        DT_FINI_ARRAYSZ, DT_PREINIT_ARRAY, DT_INIT_ARRAY, and
        DT_FINI_ARRAY.

22 years ago*** empty log message ***
gdbadmin [Sat, 2 Mar 2002 00:00:06 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago2002-03-01 Chris Demetriou <cgd@broadcom.com>
Chris Demetriou [Fri, 1 Mar 2002 23:51:18 +0000 (23:51 +0000)]
2002-03-01  Chris Demetriou  <cgd@broadcom.com>

        * mips.igen (do_divu): Fix spacing.

        * mips.igen (do_dsllv): Move to be right before DSLLV,
        to match the rest of the do_<shift> functions.

22 years ago2002-03-01 Chris Demetriou <cgd@broadcom.com>
Chris Demetriou [Fri, 1 Mar 2002 23:40:51 +0000 (23:40 +0000)]
2002-03-01  Chris Demetriou  <cgd@broadcom.com>

        * mips.igen (do_dsll, do_dsllv, DSLL32, do_dsra, DSRA32, do_dsrl,
        DSRL32, do_dsrlv): Trace inputs and results.

22 years agoAdd FreeBSD/sparc64 to the list of "New native configurations"
David O'Brien [Fri, 1 Mar 2002 23:27:42 +0000 (23:27 +0000)]
Add FreeBSD/sparc64 to the list of "New native configurations"