Alan Modra [Wed, 13 Mar 2002 04:04:49 +0000 (04:04 +0000)]
* elflink.h (NAME(bfd_elf,size_dynamic_sections)): Use ELF section
types instead of section names to determine whether init/fini array
dynamic tags are needed.
Alan Modra [Wed, 13 Mar 2002 03:42:39 +0000 (03:42 +0000)]
* elflink.h: Formatting fixes.
(elf_link_output_extsym): Merge undefined and undef weak cases.
David O'Brien [Wed, 13 Mar 2002 03:20:24 +0000 (03:20 +0000)]
What was I thinking....
2002-03-12 David O'Brien <obrien@FreeBSD.org>
* config/sparc/fbsd.mh: Fix copyright.
* config/sparc/fbsd.mt: Likewise.
Alan Modra [Wed, 13 Mar 2002 02:56:36 +0000 (02:56 +0000)]
* ldlang.c (lang_check): Do relocatable link checks first, so that
warn_mismatch can't override. Check compatible and word size too.
Alan Modra [Wed, 13 Mar 2002 02:56:08 +0000 (02:56 +0000)]
* elflink.h (elf_bfd_final_link): Only call elf_link_input_bfd
when word size of input matches output word size.
Richard Henderson [Wed, 13 Mar 2002 01:19:29 +0000 (01:19 +0000)]
* Makefile.in (NOTPARALLEL): New. Use it instead of explicit
.NOTPARALLEL tag.
(do-check): Rename from check.
(check): Allow parallel check.
gdbadmin [Wed, 13 Mar 2002 00:00:09 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Tue, 12 Mar 2002 23:00:07 +0000 (23:00 +0000)]
daily update
Chris Demetriou [Tue, 12 Mar 2002 22:53:01 +0000 (22:53 +0000)]
2002-03-12 Chris Demetriou <cgd@broadcom.com>
* configure.in (mipsisa32*-*-*, mipsisa64*-*-*): New targets.
* mips.igen (mips32, mips64): New models, add to all instructions
and functions as appropriate.
(loadstore_ea, check_u64): New variant for model mips64.
(check_fmt_p): New variant for models mipsV and mips64, remove
mipsV model marking fro other variant.
(SLL) Rename to...
(SLLa) this.
(CLO, CLZ, MADD, MADDU, MSUB, MSUBU, MUL, SLLb): New instructions
for mips32 and mips64.
(DCLO, DCLZ): New instructions for mips64.
DJ Delorie [Tue, 12 Mar 2002 21:11:11 +0000 (21:11 +0000)]
merge from gcc
Andreas Jaeger [Tue, 12 Mar 2002 13:16:05 +0000 (13:16 +0000)]
* cpu-i386.c (i386_compatible): New. Use it instead of
bfd_default_compatible.
Andreas Schwab [Tue, 12 Mar 2002 09:30:42 +0000 (09:30 +0000)]
* config/tc-ia64.c (fixup_unw_records): Clear region when seeing a
body record so that an error is given for misplaced .save
pseudo-ops.
Richard Henderson [Tue, 12 Mar 2002 01:07:47 +0000 (01:07 +0000)]
* Makefile.in (.NOTPARALLEL): Add fake tag.
gdbadmin [Tue, 12 Mar 2002 00:00:05 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Mon, 11 Mar 2002 23:00:04 +0000 (23:00 +0000)]
daily update
DJ Delorie [Mon, 11 Mar 2002 15:16:08 +0000 (15:16 +0000)]
merge from gcc
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.
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.
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.
gdbadmin [Mon, 11 Mar 2002 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sun, 10 Mar 2002 23:00:06 +0000 (23:00 +0000)]
daily update
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
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.
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.
Andrew Cagney [Sun, 10 Mar 2002 03:09:52 +0000 (03:09 +0000)]
* MAINTAINERS: Add Jim Ingham and Klee Dienes to ``write after
approval''.
gdbadmin [Sun, 10 Mar 2002 00:00:06 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sat, 9 Mar 2002 23:00:04 +0000 (23:00 +0000)]
daily update
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.
gdbadmin [Sat, 9 Mar 2002 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Fri, 8 Mar 2002 23:00:10 +0000 (23:00 +0000)]
daily update
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.
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.
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.
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.
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.
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.
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.
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.
gdbadmin [Fri, 8 Mar 2002 00:03:34 +0000 (00:03 +0000)]
*** empty log message ***
Alan Modra [Thu, 7 Mar 2002 23:00:05 +0000 (23:00 +0000)]
daily update
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.
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.
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.
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.
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.
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*.
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.
Hans-Peter Nilsson [Thu, 7 Mar 2002 14:03:05 +0000 (14:03 +0000)]
* ld-cris/expdyn1.d: Tweak for change in elf.sc.
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.
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.
gdbadmin [Thu, 7 Mar 2002 00:00:37 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Wed, 6 Mar 2002 23:00:03 +0000 (23:00 +0000)]
daily update
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.
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".
Stephane Carrez [Wed, 6 Mar 2002 20:15:53 +0000 (20:15 +0000)]
* MAINTAINERS: Record self as maintainer of m68hc11 simulator.
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.
Michal Ludvig [Wed, 6 Mar 2002 09:12:51 +0000 (09:12 +0000)]
* MAINTAINERS: Reverted misunderstood change of x86-64 maintainer.
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.
Andrew Cagney [Wed, 6 Mar 2002 06:29:42 +0000 (06:29 +0000)]
Remove floatformat_arm_ext.
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.
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.
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.
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.
Andrew Cagney [Wed, 6 Mar 2002 04:46:44 +0000 (04:46 +0000)]
* MAINTAINERS (Past Maintainers): Add Frank Ch. Eigler.
Andrew Cagney [Wed, 6 Mar 2002 03:50:12 +0000 (03:50 +0000)]
* MAINTAINERS: Fix Mac OS X and Objective-C/C++.
gdbadmin [Wed, 6 Mar 2002 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Tue, 5 Mar 2002 23:00:06 +0000 (23:00 +0000)]
daily update
Andrew Cagney [Tue, 5 Mar 2002 22:57:57 +0000 (22:57 +0000)]
* NEWS: Update headings, 5.2 has branched.
Chris Demetriou [Tue, 5 Mar 2002 22:25:06 +0000 (22:25 +0000)]
fix month on 4 of my recent entries (*sigh*)
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.
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.
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.
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.
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.
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.
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.
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.
Alan Modra [Tue, 5 Mar 2002 05:26:02 +0000 (05:26 +0000)]
typo fix
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.
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.
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.
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.
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.
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.
Alan Modra [Tue, 5 Mar 2002 03:09:01 +0000 (03:09 +0000)]
* pdp11.h: Add format codes for float instruction formats.
gdbadmin [Tue, 5 Mar 2002 00:00:07 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Mon, 4 Mar 2002 23:00:05 +0000 (23:00 +0000)]
daily update
DJ Delorie [Mon, 4 Mar 2002 22:01:27 +0000 (22:01 +0000)]
merge from gcc
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.
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.
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.
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).
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.
Michal Ludvig [Mon, 4 Mar 2002 12:25:39 +0000 (12:25 +0000)]
* MAINTAINERS (x86-64): tagret is not broken anymore.
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 *
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.
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.
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.
Alan Modra [Mon, 4 Mar 2002 01:37:52 +0000 (01:37 +0000)]
* scripttempl/elf.sc: Correct syntax errors in 2002-03-01 commit.
Alan Modra [Mon, 4 Mar 2002 01:16:53 +0000 (01:16 +0000)]
* configure.in (WIN32LIBADD): Don't eval PICFLAG assignment.
* configure: Regenerate.