Kevin Buettner [Mon, 3 Apr 2000 18:58:48 +0000 (18:58 +0000)]
IA-64 changes
Jim Blandy [Mon, 3 Apr 2000 17:50:12 +0000 (17:50 +0000)]
*** empty log message ***
Jim Blandy [Mon, 3 Apr 2000 17:49:40 +0000 (17:49 +0000)]
*** empty log message ***
Jim Blandy [Mon, 3 Apr 2000 17:45:17 +0000 (17:45 +0000)]
* solib.c (solib_add): Move all the code for loading symbol tables
below the code to sort out additions and removals. That way, we
always catch all loaded shared libraries whose symbols we haven't
grabbed yet.
* solib.c (solib_add): Don't try to free a shared object's objfile
if it doesn't have one. Duh.
* solib.c (solib_add): If a pattern was given, but it doesn't
match any currently loaded shared libraries, print a message;
don't just be silent.
H.J. Lu [Mon, 3 Apr 2000 17:17:36 +0000 (17:17 +0000)]
2000-04-03 H.J. Lu (hjl@gnu.org)
* size.c (usage): Use REPORT_BUGS_TO.
Eli Zaretskii [Mon, 3 Apr 2000 16:11:07 +0000 (16:11 +0000)]
* annotate.texi (Frame Annotations): Fix a cross-reference.
Eli Zaretskii [Mon, 3 Apr 2000 15:27:42 +0000 (15:27 +0000)]
* go32-nat.c (go32_handle_nonaligned_watchpoint): Use a
two-dimensional array instead of faking it with index
arithmetics.
Eli Zaretskii [Mon, 3 Apr 2000 15:24:17 +0000 (15:24 +0000)]
* config/i386/xm-go32.h (HOST_LONG_DOUBLE_FORMAT): Define.
* config/i386/tm-go32.h (TARGET_LONG_DOUBLE_BIT): Remove
definition (and use the common one in tm-i386.h).
(REGISTER_CONVERT_TO_VIRTUAL, REGISTER_CONVERT_TO_RAW): Likewise.
(I386_DJGPP_TARGET): Don't define, it's no longer required.
(LOW_RETURN_REGNUM, HIGH_RETURN_REGNUM): Remove definition,
i386-tdep.c defines it for all x86 targets.
(LD_I387, HEX_LONG_DOUBLE_INPUT): Remove.
* config/djgpp/fnchange.lst: Add i386-linux-tdep.c.
* config/djgpp/djcheck.sh: Edit the copyright year out of the test
results. Fix editing of `main' arguments for non-GNU Sed.
Eli Zaretskii [Mon, 3 Apr 2000 15:17:37 +0000 (15:17 +0000)]
Fix a typo (comtaining -> containing).
Eli Zaretskii [Mon, 3 Apr 2000 15:16:13 +0000 (15:16 +0000)]
* symfile.c (map_overlay_command, unmap_overlay_command): Fix
error message: there's no "overlay on" command.
Eli Zaretskii [Mon, 3 Apr 2000 15:12:59 +0000 (15:12 +0000)]
* Makefile.in (copying.c): Depend on copying.txt, not COPYING.
(copying.txt): New target, a link to COPYING.
Alan Modra [Mon, 3 Apr 2000 14:17:43 +0000 (14:17 +0000)]
Tidy some code. Print pc rel addresses as signed.
Alan Modra [Mon, 3 Apr 2000 14:10:05 +0000 (14:10 +0000)]
Move bug report string to one place.
Daniel Berlin [Mon, 3 Apr 2000 13:24:08 +0000 (13:24 +0000)]
NEWS file update
Alan Modra [Mon, 3 Apr 2000 12:42:18 +0000 (12:42 +0000)]
Don't emit relative relocations for non-loaded sections in shared objects.
Fix for DWARF-2 sections .debug_info and .debug_line.
Alan Modra [Mon, 3 Apr 2000 12:20:55 +0000 (12:20 +0000)]
Add 16-bit immediate tests.
Hans-Peter Nilsson [Mon, 3 Apr 2000 12:05:31 +0000 (12:05 +0000)]
* write.c (write_object_file) [! WORKING_DOT_WORD]: If defined,
call TC_CHECK_ADJUSTED_BROKEN_DOT_WORD for each word after
adjustments.
Hans-Peter Nilsson [Mon, 3 Apr 2000 11:44:45 +0000 (11:44 +0000)]
* aoutx.h (NAME(aout,reloc_type_lookup)): Add BFD_RELOC_8 and
BFD_RELOC_16 to switch for extended relocs.
(MY_swap_ext_reloc_in): New.
(MY_swap_ext_reloc_out): New.
(NAME(aout,slurp_reloc_table)): Use MY_swap_ext_reloc_in rather
than NAME(aout,swap_ext_reloc_in) for extended relocs.
(NAME(aout,squirt_out_relocs)): Similarly use
MY_swap_ext_reloc_out.
(aout_link_reloc_link_order): Use MY_put_ext_reloc if defined.
Hans-Peter Nilsson [Mon, 3 Apr 2000 11:29:28 +0000 (11:29 +0000)]
* aout64.h (RELOC_EXT_BITS_EXTERN_BIG): Wrap definition in #ifndef.
(RELOC_EXT_BITS_EXTERN_LITTLE): Ditto.
(RELOC_EXT_BITS_TYPE_BIG): Ditto.
(RELOC_EXT_BITS_TYPE_SH_BIG): Ditto.
(RELOC_EXT_BITS_TYPE_LITTLE): Ditto.
(RELOC_EXT_BITS_TYPE_SH_LITTLE): Ditto.
Alan Modra [Mon, 3 Apr 2000 11:19:51 +0000 (11:19 +0000)]
Correct 2000-02-26 change.
Andrew Cagney [Mon, 3 Apr 2000 08:47:48 +0000 (08:47 +0000)]
Update removing anything fixed.
Jeff Law [Mon, 3 Apr 2000 06:55:06 +0000 (06:55 +0000)]
* coff-h8300.c (h8300_reloc16_extra_cases): Add bsr:16 -> bsr:8 to
the R_PCRWORD_B case.
Andrew Cagney [Mon, 3 Apr 2000 06:52:38 +0000 (06:52 +0000)]
Revert white space changes. Need way of stopping this happening.
Andrew Cagney [Mon, 3 Apr 2000 05:30:13 +0000 (05:30 +0000)]
Re-indent (almost). Several cases where indent was getting it wrong
were omitted.
Andrew Cagney [Mon, 3 Apr 2000 04:47:27 +0000 (04:47 +0000)]
Delete add_minsym_to_demangled_hash_table from symtabs.h. Static function.
Andrew Cagney [Mon, 3 Apr 2000 04:43:26 +0000 (04:43 +0000)]
Re-indent gdb-events.h, gdb-events.c using gdb-events.sh.
Nicholas Duffek [Mon, 3 Apr 2000 03:39:09 +0000 (03:39 +0000)]
* gdbtypes.c (safe_parse_type): New wrapper function to ignore
error() during parse_and_eval_type().
(check_stub_method): Call safe_parse_type instead of
parse_and_eval_type().
* wrapper.c (gdb_parse_and_eval_type): New wrapper function.
(wrap_parse_and_eval_type): New support function.
* wrapper.h (gdb_parse_and_eval_type): Prototype.
(wrap_parse_and_eval_type): Prototype.
Christopher Faylor [Mon, 3 Apr 2000 01:26:01 +0000 (01:26 +0000)]
Update winsup stuff.
Christopher Faylor [Mon, 3 Apr 2000 01:24:45 +0000 (01:24 +0000)]
* Makefile.in (CC_FOR_TARGET): Add new winsup directory structure stuff to -L
library search.
(CXX_FOR_TARGET): Ditto.
Andrew Cagney [Mon, 3 Apr 2000 01:14:00 +0000 (01:14 +0000)]
For want of something better. List where to go to when wanting to
make a toplevel change.
Andrew Cagney [Mon, 3 Apr 2000 00:04:00 +0000 (00:04 +0000)]
Add Eli to doco maintainers.
Andrew Cagney [Mon, 3 Apr 2000 00:00:32 +0000 (00:00 +0000)]
* gdbarch-utils.h, gdbarch-utils.c: New files.
* Makefile.in (SFILES, COMMON_OBS): Update.
(gdbarch_utils_h) Define.
(gdbarch-utils.o): Add dependencies.
* gdbarch.c, gdbarch.sh: Include "gdbarch-utils.h". Fix code
handling default method values.
(startup_gdbarch): Rename default_gdbarch, name misleading.
(breakpoint_from_pc): Default to legacy_breakpoint_from_pc.
(register_name): Default to legacy_register_name.
(call_dummy_words): Default to legacy_call_dummy_words.
(sizeof_call_dummy_words): Default to
legacy_sizeof_call_dummy_words.
(register_convertible): Default to
generic_register_convertible_not.
(breakpoint_from_pc): Default to legacy_breakpoint_from_pc.
(remote_translate_xfer_address): Default to
generic_remote_translate_xfer_address.
(frameless_function_invocation): Default to
generic_frameless_function_invocation_not.
Mark Kettenis [Sun, 2 Apr 2000 20:16:28 +0000 (20:16 +0000)]
2000-04-02 Mark Kettenis <kettenis@gnu.org>
* i386-linux-nat.c: Add copyright notice.
Mark Kettenis [Sun, 2 Apr 2000 14:41:45 +0000 (14:41 +0000)]
2000-04-02 Mark Kettenis <kettenis@gnu.org>
* config/i386/xm-linux.h (HOST_LONG_DOUBLE_FORMAT): Define as
&floatformat_i387_ext.
* config/i386/xm-i386gnu.h (HOST_LONG_DOUBLE_FORMAT): Likewise.
Richard Henderson [Sun, 2 Apr 2000 08:24:54 +0000 (08:24 +0000)]
* config/tc-d30v.c (check_range): Allow signed or unsigned 32-bit
quantities. Correct right shift sign extension.
(build_insn): Make `number' unsigned long. Mask top 6 bits of
32-bit value when shifting into place.
Ian Lance Taylor [Sun, 2 Apr 2000 06:27:51 +0000 (06:27 +0000)]
* app.c: Add ATTRIBUTE_UNUSED as needed.
* config/tc-ppc.c: Likewise.
(ppc_size): Make unsigned long.
(ppc_insert_operand): Add casts to avoid warnings.
Ian Lance Taylor [Sun, 2 Apr 2000 06:26:09 +0000 (06:26 +0000)]
* disassemble.c (disassembler_usage): Don't use a prototype. Mark
the parameter ATTRIBUTE_UNUSED.
* ppc-opc.c: Add ATTRIBUTE_UNUSED as needed.
Alexandre Oliva [Sat, 1 Apr 2000 23:46:53 +0000 (23:46 +0000)]
* gas/mn10300/am33_5.s: Check that negative SP offsets are encoded
with 32 bits, not with the unsigned shorter opcodes.
* gas/mn10300/basic.exp: Likewise.
Alexandre Oliva [Sat, 1 Apr 2000 22:03:31 +0000 (22:03 +0000)]
* m10300-opc.c: SP-based offsets are always unsigned.
Alexandre Oliva [Sat, 1 Apr 2000 20:58:49 +0000 (20:58 +0000)]
Fix long-standing mis-comments. Words and addresses are 32-bits long.
Nick Clifton [Sat, 1 Apr 2000 00:19:46 +0000 (00:19 +0000)]
Flush any pending instructiuons before emitting data into the instruction stream.
Mark Kettenis [Fri, 31 Mar 2000 22:04:50 +0000 (22:04 +0000)]
2000-03-29 Mark Kettenis <kettenis@gnu.org>
* findvar.c (extract_floating): Remove reference to
TARGET_EXTRACT_FLOATING.
(store_floating): Remove reference to TARGET_STORE_FLOATING.
Alexandre Oliva [Fri, 31 Mar 2000 20:31:05 +0000 (20:31 +0000)]
Reverted the comment about inc/inc4, that was already implied by RN02.
Alexandre Oliva [Fri, 31 Mar 2000 19:28:52 +0000 (19:28 +0000)]
Fix typos. Add FIXME for 2-reg inc and inc4.
Alexandre Oliva [Fri, 31 Mar 2000 18:54:24 +0000 (18:54 +0000)]
* lib/gas-defs.exp (regexp_diff): Don't break on the first
difference, list them all.
Alexandre Oliva [Fri, 31 Mar 2000 18:46:38 +0000 (18:46 +0000)]
Adjust whitespace.
Alan Modra [Fri, 31 Mar 2000 02:57:38 +0000 (02:57 +0000)]
Don't use post-increment on structure copy to work around a ppc gcc bug.
Alan Modra [Thu, 30 Mar 2000 23:49:07 +0000 (23:49 +0000)]
Set CHUNK size to 16 bytes to prevent download failures on lame targets.
Alan Modra [Thu, 30 Mar 2000 23:37:22 +0000 (23:37 +0000)]
Include sys/types.h before sys/stat.h for ultrix.
Philippe De Muyter [Thu, 30 Mar 2000 23:32:30 +0000 (23:32 +0000)]
* gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
values that can be represented exactly.
* gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
above change, and to not check against the directory part of the source
file name.
(step into print_long_arg_list): Likewise.
(print print_small_structs from print_long_arg_list): Likewise.
(print print_long_arg_list): Likewise.
Doug Evans [Thu, 30 Mar 2000 22:16:39 +0000 (22:16 +0000)]
* elf32-m32r.c (m32r_elf_generic_reloc): new function. All
HOWTO references to bfd_elf_generic_reloc, that have
partial_inplace == true, now use the new function. The function
is based on the recent rewrite of m32r_elf_lo16_reloc(), and
extends its fixes to the R_M32R_{16,24,32} relocs.
The new logic in m32r_elf_lo16_reloc() has been removed, and
it instead calls the new routine to obtain that functionality.
Dave Brolley [Thu, 30 Mar 2000 20:51:27 +0000 (20:51 +0000)]
2000-03-30 Dave Brolley <brolley@redhat.com>
* configure: Regenerated.
Dave Brolley [Thu, 30 Mar 2000 20:49:27 +0000 (20:49 +0000)]
2000-03-30 Dave Brolley <brolley@redhat.com>
* aclocal.m4 (cgen): Use guile to run cgen.
Dave Brolley [Thu, 30 Mar 2000 20:21:37 +0000 (20:21 +0000)]
2000-03-23 Dave Brolley <brolley@redhat.com>
* cgen-fpu.h: Rename extsfdf to fextsfdf. Rename truncdfsf to
ftruncdfsf.
* cgen-accfp.c (fextsfdf): New function.
(ftruncdfsf): New function.
(cgen_init_accurate_fpu): Initialize fextsfdf and ftruncdfsf.
Fernando Nasser [Thu, 30 Mar 2000 20:15:35 +0000 (20:15 +0000)]
2000-03-30 Fernando Nasser <fnasser@cygnus.com>
* wrapper.c (gdb_value_subscript, wrap_value_subscript): New functions.
Safe version of value_subscript.
* varobj.c (): Use gdb_value_subscript() to get an array element value.
Michael Snyder [Thu, 30 Mar 2000 19:52:35 +0000 (19:52 +0000)]
2000-03-30 Michael Snyder <msnyder@cleaver.cygnus.com>
* ui-file.c: Include "gdb_string.h"
* cli-out.c: Include gdb_string.h to avoid compiler warnings.
* wrapper.[ch] (struct gdb_wrapper_arguments): Change fields into
unions, since they are all used to hold both pointers and ints
at various times. Casting pointer to int and vice versa gives
warnings (and is not safe) if they are not the same size.
Michael Snyder [Thu, 30 Mar 2000 19:12:08 +0000 (19:12 +0000)]
Capitalize sentences.
Michael Snyder [Thu, 30 Mar 2000 18:54:28 +0000 (18:54 +0000)]
2000-03-30 Michael Snyder <msnyder@cleaver.cygnus.com>
* defs.h (struct continuation_arg): make 'data' a union, to avoid
casting problems when int and pointer are not the same size.
* event-top.c (command_handler): use data as a union.
(command_line_handler_continuation): ditto.
* infcmd.c (step_1_continuation): use data as a union. Re-indent.
(step_once): ditto. (finish_command_continuation): ditto.
(finish_command): ditto.
* breakpoint.c (until_break_command): use data as a union.
(until_break_command_continuation): ditto.
* utils.c (add_intermediate_continuation): fix typo in comment.
Andrew Cagney [Thu, 30 Mar 2000 05:32:23 +0000 (05:32 +0000)]
gdbarch cleanups.
Daniel Berlin [Thu, 30 Mar 2000 03:10:58 +0000 (03:10 +0000)]
Didn't realize this auto-generated gdb-events.c. Since it does, i applied the gdb-events.c fix for deprecation back to here.
Daniel Berlin [Thu, 30 Mar 2000 03:03:23 +0000 (03:03 +0000)]
demangled symbol lookup fixes
Jason Merrill [Thu, 30 Mar 2000 02:19:56 +0000 (02:19 +0000)]
* configure.in: -linux-gnu*, not -linux-gnu.
* configure (gcc_version): When setting, narrow search to
lines containing `version_string'.
Nick Clifton [Wed, 29 Mar 2000 22:57:57 +0000 (22:57 +0000)]
Fix SUB_SEGMENT_ALIGN macor for BFD_ASSEMBLER
Nick Clifton [Wed, 29 Mar 2000 18:25:37 +0000 (18:25 +0000)]
Add "bal" instruction pattern.
Add test of assembling "bal" instruction
Nick Clifton [Wed, 29 Mar 2000 18:23:57 +0000 (18:23 +0000)]
Disassemble 0xde.. to "bal" [branch always] instead of "undefined".
Andrew Cagney [Wed, 29 Mar 2000 08:29:00 +0000 (08:29 +0000)]
Fix thread-extra-info name. qfThreadExtraInfo ->qThreadExtraInfo.
J.T. Conklin [Wed, 29 Mar 2000 04:16:57 +0000 (04:16 +0000)]
2000-03-28 J.T. Conklin <jtc@redback.com>
* gdb.texinfo: Clarify which remote debug protocol commands are
required and which are optional.
J.T. Conklin [Wed, 29 Mar 2000 04:03:56 +0000 (04:03 +0000)]
2000-03-29 J.T. Conklin <jtc@redback.com>
* i386nbsd-nat.c (fetch_core_registers): Make static.
* m68knbsd-nat.c (fetch_core_registers): Make static.
(m68knbsd_core_fns, _initialize_m68knbsd_nat): Added.
Andrew Cagney [Wed, 29 Mar 2000 03:55:18 +0000 (03:55 +0000)]
Revert movement of @chapter and @node tags from separate files to
gdb.texinfo.
Andrew Cagney [Wed, 29 Mar 2000 03:51:18 +0000 (03:51 +0000)]
Update GDB 5 status.
Andrew Cagney [Wed, 29 Mar 2000 00:51:17 +0000 (00:51 +0000)]
Fix various GCC warnings.
Michael Snyder [Tue, 28 Mar 2000 22:30:19 +0000 (22:30 +0000)]
2000-03-28 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
breakpoint.c, breakpoint.h (remove_hw_watchpoints): New function.
infrun.c (resume): Remove hardware watchpoints before stepping
when CANNOT_STEP_HW_WATCHPOINTS is nonzero.
Michael Snyder [Tue, 28 Mar 2000 21:19:04 +0000 (21:19 +0000)]
2000-03-28 Michael Snyder <msnyder@cleaver.cygnus.com>
* Makefile.in: anchor tui-file.h dependency to $srcdir.
Michael Snyder [Tue, 28 Mar 2000 19:29:56 +0000 (19:29 +0000)]
2000-03-28 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
* breakpoint.c (insert_breakpoints, do_enable_breakpoint):
Reselect the saved frame silently after frame selection for
watchpoint evaluation.
(insert_breakpoints): Add missing space in `Hardware watchpoint
deleted' message. Do not reinsert hardware watchpoint if it is
already marked for deletion at next stop.
Michael Snyder [Tue, 28 Mar 2000 19:02:47 +0000 (19:02 +0000)]
2000-03-28 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
* procfs.c (proc_set_watchpoint): Declare addr parameter as
CORE_ADDR, to match call from procfs_set_watchpoint.
Christopher Faylor [Tue, 28 Mar 2000 17:44:53 +0000 (17:44 +0000)]
* partial-stab.h: Add one more check against corrupted or irregular stabs
entry.
Stan Shebs [Tue, 28 Mar 2000 16:46:24 +0000 (16:46 +0000)]
* gdb.texinfo: Update dates, bump to Eighth Edition (note
expectation of additional changes before release), update
ISBN, add copy of top-level menu for @ifhtml, remove explicit
node links, rephrase and/or shorten lines to fix formatting
problem in both regular and @smallbook formats.
* annotate.texi: Shorten lines in example, use smallexample
consistently everywhere.
* Makefile.in: Add comment about texinfo 4.0 html generation.
(SFILES_INCLUDED): Add annotate.texi.
Philippe De Muyter [Tue, 28 Mar 2000 12:13:15 +0000 (12:13 +0000)]
* gnu-regex.c (regerror): Function renamed from `__regerror'.
Andrew Cagney [Tue, 28 Mar 2000 08:24:28 +0000 (08:24 +0000)]
From Jonathan L. Fix ser-unix.c timing out when there was no timeout.
Daniel Berlin [Tue, 28 Mar 2000 02:25:14 +0000 (02:25 +0000)]
The set debug changes
Andrew Cagney [Tue, 28 Mar 2000 02:03:53 +0000 (02:03 +0000)]
Bump copyright to 2000.
Nick Clifton [Tue, 28 Mar 2000 01:11:27 +0000 (01:11 +0000)]
catch out of range string offset in corrupt stab entry
Andrew Cagney [Tue, 28 Mar 2000 00:17:13 +0000 (00:17 +0000)]
Add Glen McCready
Andrew Cagney [Tue, 28 Mar 2000 00:03:57 +0000 (00:03 +0000)]
Fix typo in description of GETREGS.
Alan Modra [Mon, 27 Mar 2000 23:47:09 +0000 (23:47 +0000)]
Default LISTING_LHS_WIDTH to depend on LISTING_WORD_SIZE so that bytes per
line is 4. Fix tests for LISTING_WORD_SIZE==1.
Nick Clifton [Mon, 27 Mar 2000 20:17:02 +0000 (20:17 +0000)]
Fix value of SHORT_A1.
Move SHORT_AR to end of list of short instructions.
Elena Zannoni [Mon, 27 Mar 2000 17:44:32 +0000 (17:44 +0000)]
2000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
fix typo.
Elena Zannoni [Mon, 27 Mar 2000 17:34:48 +0000 (17:34 +0000)]
2000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* gdb.base/printcmds.c: Terminate char array ctable2 with 0.
Ian Lance Taylor [Mon, 27 Mar 2000 16:34:34 +0000 (16:34 +0000)]
* Makefile.am (CFILES): Add avr-dis.c.
(ALL_MACHINES): Add avr-dis.lo.
Ian Lance Taylor [Mon, 27 Mar 2000 16:17:08 +0000 (16:17 +0000)]
* config/tc-sh.c (md_show_usage): Use backslash before newline in
string literal.
Andrew Cagney [Mon, 27 Mar 2000 10:24:58 +0000 (10:24 +0000)]
Add GDB 5.0 release criteria.
Alan Modra [Mon, 27 Mar 2000 08:39:14 +0000 (08:39 +0000)]
ATMEL AVR microcontroller support.
Andrew Cagney [Mon, 27 Mar 2000 07:31:37 +0000 (07:31 +0000)]
Move default definition of HAVE_PTRACE_GETREGS to acconfig.h.
Andrew Cagney [Mon, 27 Mar 2000 06:51:30 +0000 (06:51 +0000)]
Create destdirs before installing GDB (don't assume parent directory
did it for us).
Andrew Cagney [Mon, 27 Mar 2000 06:42:08 +0000 (06:42 +0000)]
Re-fix ln -s gdbtk code. Mark ready for deletion post 5.0.
Andrew Cagney [Mon, 27 Mar 2000 05:29:24 +0000 (05:29 +0000)]
Revert white space changes.
Andrew Cagney [Mon, 27 Mar 2000 00:24:49 +0000 (00:24 +0000)]
Update list of folk that need accounts.
Andrew Cagney [Sun, 26 Mar 2000 23:54:54 +0000 (23:54 +0000)]
Make J.T. NetBSD maintainer.
Mark Kettenis [Sun, 26 Mar 2000 22:10:59 +0000 (22:10 +0000)]
2000-03-27 Mark Kettenis <kettenis@gnu.org>
* config/i386/tm-i386.h: Fix typo. It is TARGET_LONG_DOUBLE_BIT
instead of TARGET_LONG_DOUBLE_BITS.
* config/i386/tm-i386mk.h: Likewise.
Mark Kettenis [Sun, 26 Mar 2000 21:21:50 +0000 (21:21 +0000)]
2000-03-26 Mark Kettenis <kettenis@gnu.org>
Provide `long double' support for most i386 targets.
* config/i386/tm-i386.h (TARGET_LONG_DOUBLE_FORMAT): Define as
&floatformat_i387_ext.
(TARGET_LONG_DOUBLE_BITS): Define as 96.
(REGISTER_VIRTUAL_TYPE): Change type for FPU registers to
`builtin_type_long_double'.
(REGISTER_CONVERT_TO_VIRTUAL): Call
i386_register_convert_to_virtual.
(REGISTER_CONVERT_TO_RAW): Call i386_register_convert_to_raw.
(i387_to_double, double_to_i387): Remove prototypes.
(i386_extract_return_value): Change prototype to match definition
in i386-tdep.c.
* config/i386/tm-i386mk.h (TARGET_LONG_DOUBLE_FORMAT): #undef.
(TARGET_LONG_DOUBLE_BITS): #undef.
* config/i386/tm-linux.h (TARGET_LONG_DOUBLE_BIT): Remove.
[HAVE_LONG_DOUBLE && HOST_I386] (LD_I387): Remove.
(i387_extract_floating, i387_store_floating): Remove prototypes.
(TARGET_EXTRACT_FLOATING, TARGET_STORE_FLOATING): Remove.
(REGISTER_CONVERT_TO_VIRTUAL, REGOISTER_CONVERT_TO_RAW): Remove.
(REGISTER_VIRTUAL_TYPE): Remove.
* i386-tdep.c (i386_register_convert_to_virtual): New function.
(i386_register_convert_to_raw): New function.
* i387-tdep.c [LD_I387] (i387_extract_floating): Remove.
(i387_store_floating): Remove.