binutils-gdb.git
26 years agoFix --enable-build-warnings=-Werror failures.
Andrew Cagney [Wed, 25 Nov 1998 09:58:04 +0000 (09:58 +0000)]
Fix --enable-build-warnings=-Werror failures.
v850/simops.c, d10v/simops.c, v850/Makefile.in, d10v/Makefile.in:
Include targ-vals.h instead of syscall.h. Replace SYS_* with
TARGET_SYS_*.  Add dependency.
z8k/support.c: Include <errno.h>
v850/simops.c: Replace long with portable signed32.
mips/interp.c: Make sim_monitor global - needed by sky.

26 years agomem-break.c (memory_insert_breakpoint, memory_remove_breakpoint): Pass
Andrew Cagney [Wed, 25 Nov 1998 09:44:57 +0000 (09:44 +0000)]
mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint): Pass
address of bplen.

26 years agoExplicitly tag vr41/mips16 instructions.
Andrew Cagney [Wed, 25 Nov 1998 06:50:48 +0000 (06:50 +0000)]
Explicitly tag vr41/mips16 instructions.
Update configure.in/configure.

26 years agoremove some accidentally committed (harmless) code.
Felix Lee [Wed, 25 Nov 1998 04:22:28 +0000 (04:22 +0000)]
remove some accidentally committed (harmless) code.

26 years agoFix calculation of address for pc rel operations.
Nick Clifton [Wed, 25 Nov 1998 01:22:54 +0000 (01:22 +0000)]
Fix calculation of address for pc rel operations.

26 years agoAdd support for 9_PCREL and 12_PCREL relocs.
Nick Clifton [Wed, 25 Nov 1998 01:21:53 +0000 (01:21 +0000)]
Add support for 9_PCREL and 12_PCREL relocs.

26 years agoFor top level:
Gavin Romig-Koch [Wed, 25 Nov 1998 01:10:52 +0000 (01:10 +0000)]
For top level:
* config.sub (mips64vr4xxx,mips64vr4xxxel): New.

For gcc:
* config.sub (mips64vr4xxx,mips64vr4xxxel): New.
* configure.in (mips64vr4xxx,mips64vr4xxxel): New.
* config/mips/t-vr4xxx: New.
* config/mips/elfb4xxx.h: New.
* config/mips/elfl4xxx.h: New.
* configure: Rebuilt.

For gas:
* config/tc-mips.c (md_begin): Added mip64vr4xxx as a
possible CPU_TARGET.

For gdb:
* configure.tgt: Handle mips64*vr4xxx.

For ld:
* configure.tgt: Handle mips64*vr4xxx.

26 years agoFix handling of I32 and I20 relocs.
Nick Clifton [Wed, 25 Nov 1998 00:54:31 +0000 (00:54 +0000)]
Fix handling of I32 and I20 relocs.

26 years agoTue Nov 24 15:46:33 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
Michael Snyder [Tue, 24 Nov 1998 23:50:20 +0000 (23:50 +0000)]
Tue Nov 24 15:46:33 1998  Michael Snyder  <msnyder@cleaver.cygnus.com>

        * config/mn10300/tm-mn10300.h (TARGET_VIRTUAL_FRAME_POINTER):
        new target macro.
        * mn10300-tdep.c (mn10300_virtual_frame_pointer): new function.
        * tracepoint.c (encode_actions): Use the new target macro to
        determine the virtual frame pointer, for collecting locals/args.
        (add_local_symbols, collect_symbol): add a register/offset pair of
        arguments so that the virtual frame pointer can be passed in.

26 years ago * procfs.c (procfs_wait): handle syscall events first.
Felix Lee [Tue, 24 Nov 1998 14:51:13 +0000 (14:51 +0000)]
    * procfs.c (procfs_wait): handle syscall events first.
        * procfs.c (GDB_GREGSET_TYPE, GDB_FPREGSET_TYPE): new macros.
        * config/sparc/xm-sun4sol2.h: use them.
        * core-sol2.c: don't #undef gregset_t and fpregset_t.
        * sol-thread.c: ditto.
        * sparc-tdep.c: ditto.

26 years agoCARP: *BREAKPOINT*
Andrew Cagney [Tue, 24 Nov 1998 13:49:00 +0000 (13:49 +0000)]
CARP: *BREAKPOINT*
Convert mn10300, MIPS and powerpc/rs6000 targets to use
BREAKPOINT_FROM_PC
Delete global variable memory_breakpoint_size.  Use BREAKPOINT_FROM_PC
instead.

26 years agoAdd d10v and v850 to gennltvals.sh and regenerate.
Andrew Cagney [Tue, 24 Nov 1998 07:59:01 +0000 (07:59 +0000)]
Add d10v and v850 to gennltvals.sh and regenerate.
Add a howto.

26 years ago * pe-dll.c (make_head): name object files sequentially to ensure
DJ Delorie [Tue, 24 Nov 1998 04:33:33 +0000 (04:33 +0000)]
* pe-dll.c (make_head): name object files sequentially to ensure
they link in the right order.
(make_tail): same here
(pe_process_import_defs): use sequential names for bfds to ensure
proper link order.
(pe_implied_import_dll): new function; handles linking directly
against DLLs by simulating IMPORTS directives.  * emultempl/pe.em
(gld_i386pe_before_parse): hack bfd to not recognize .dll files
via bfd_pe_dll_not_recognized_hack

26 years ago * coff-i386.c (bfd_pe_dll_not_recognized_hack): the linker wants
DJ Delorie [Tue, 24 Nov 1998 04:25:41 +0000 (04:25 +0000)]
* coff-i386.c (bfd_pe_dll_not_recognized_hack): the linker wants
to see .DLL files as unrecognized.
(i3coff_object_p): Sorry, had to hack it to not recognize these
files (pei-i386) on request.

26 years ago* emultempl/pe.em (gld_i386pe_parse_args): Conditionalize call to
DJ Delorie [Tue, 24 Nov 1998 00:24:06 +0000 (00:24 +0000)]
* emultempl/pe.em (gld_i386pe_parse_args): Conditionalize call to
pe_dll_add_excludes

26 years agoMon Nov 23 18:28:48 1998 Dave Brolley <brolley@cygnus.com>
Dave Brolley [Mon, 23 Nov 1998 23:30:08 +0000 (23:30 +0000)]
Mon Nov 23 18:28:48 1998  Dave Brolley  <brolley@cygnus.com>

* fr30-asm.c,fr30-dis.c,fr30-opc.c,fr30-opc.h: Regenerated.

26 years agoMon Nov 23 17:02:47 1998 Dave Brolley <brolley@cygnus.com>
Dave Brolley [Mon, 23 Nov 1998 23:25:28 +0000 (23:25 +0000)]
Mon Nov 23 17:02:47 1998  Dave Brolley  <brolley@cygnus.com>

* Directory created.

26 years agofix for arm-pe linker testsuite failures - only define an entry symbol if one has...
Nick Clifton [Mon, 23 Nov 1998 22:38:48 +0000 (22:38 +0000)]
fix for arm-pe linker testsuite failures - only define an entry symbol if one has been specified.

26 years ago * emultempl/pe.em (gld_i386pe_after_open): call
DJ Delorie [Mon, 23 Nov 1998 19:47:31 +0000 (19:47 +0000)]
* emultempl/pe.em (gld_i386pe_after_open): call
pe_process_import_defs
* pe-dll.c (pe_dll_generate_def_file): calculate BASE from
pe_data, only print if actually set.  Print version only if
set.
(save_relocs): save relocs for both input and output.
(make_one): support internal/external different names.
(pe_dll_generate_implib): support new make_one
(pe_process_import_defs): new function; handles IMPORT
directives in .def files.

26 years ago* opncls.c (bfd_make_readable): need more cleanup for symbols and
DJ Delorie [Mon, 23 Nov 1998 19:45:45 +0000 (19:45 +0000)]
* opncls.c (bfd_make_readable): need more cleanup for symbols and
relents.  Call bfd_check_format to reinitialize.

26 years agoMon Nov 23 11:38:40 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
Michael Snyder [Mon, 23 Nov 1998 19:44:42 +0000 (19:44 +0000)]
Mon Nov 23 11:38:40 1998  Michael Snyder  <msnyder@cleaver.cygnus.com>

        * symfile.c (deduce_language_from_filename): rewrite so as to
        work from a table of filename extensions, modifiable by the user.
        (filename_language_table): new data structure.
        (set_ext_lang_command): new function for new command, "set
        extension-language".  (info_extension_language_command): new
        function for new command "info extension-languages".
        (add_filename_language, init_filename_language_table): new
        support functions for the above.
        * language.c (language_enum): new function.  Support for above.

26 years agoCARP: Convert macro definitions of USE_STRUCT_CONVENTION into target
Andrew Cagney [Mon, 23 Nov 1998 12:35:23 +0000 (12:35 +0000)]
CARP: Convert macro definitions of USE_STRUCT_CONVENTION into target
specific functions.

26 years agogencode.c: Kill, Kill, Kill....
Andrew Cagney [Mon, 23 Nov 1998 11:37:56 +0000 (11:37 +0000)]
gencode.c: Kill, Kill, Kill....
Remove last remenats of old gencode simulator.

26 years agoConfigure mips64vr4100-elf nee mips64vr41* as a 64 bit mips16 igen simulator.
Andrew Cagney [Mon, 23 Nov 1998 07:16:03 +0000 (07:16 +0000)]
Configure mips64vr4100-elf nee mips64vr41* as a 64 bit mips16 igen simulator.
Fix problems: All vr.igen instructions are 64 bit.

26 years agoMerge egcs-19981109
Jeff Law [Mon, 23 Nov 1998 06:33:33 +0000 (06:33 +0000)]
Merge egcs-19981109

26 years agoPacify GCC.
Andrew Cagney [Mon, 23 Nov 1998 06:18:32 +0000 (06:18 +0000)]
Pacify GCC.

26 years agoPacify GCC.
Andrew Cagney [Mon, 23 Nov 1998 06:10:01 +0000 (06:10 +0000)]
Pacify GCC.

26 years agoReconize target mips-tx19-elf
Andrew Cagney [Mon, 23 Nov 1998 06:06:12 +0000 (06:06 +0000)]
Reconize target mips-tx19-elf

26 years agoSwitch mips-lsi-elf mips16 simulator to igen (from gencode).
Andrew Cagney [Mon, 23 Nov 1998 05:50:21 +0000 (05:50 +0000)]
Switch mips-lsi-elf mips16 simulator to igen (from gencode).

26 years ago * genmloop.sh (${cpu}_pbb_chain): Watch for Ctrl-C's.
Doug Evans [Sun, 22 Nov 1998 19:21:51 +0000 (19:21 +0000)]
* genmloop.sh (${cpu}_pbb_chain): Watch for Ctrl-C's.
(${cpu}_pbb_cti_chain): Ditto.

26 years ago* fix for minor sanitization lossage
Frank Ch. Eigler [Sun, 22 Nov 1998 11:50:48 +0000 (11:50 +0000)]
* fix for minor sanitization lossage

26 years agoSat Nov 21 17:15:40 1998 Philippe De Muyter <phdm@macqel.be>
Stan Shebs [Sat, 21 Nov 1998 20:16:49 +0000 (20:16 +0000)]
Sat Nov 21 17:15:40 1998  Philippe De Muyter  <phdm@macqel.be>

* breakpoint.c (bpstat_stop_status): Do not increment hit_count
of breakpoint if condition is not true.

26 years agoSat Nov 21 17:15:40 1998 Philippe De Muyter <phdm@macqel.be>
Stan Shebs [Sat, 21 Nov 1998 19:59:37 +0000 (19:59 +0000)]
Sat Nov 21 17:15:40 1998  Philippe De Muyter  <phdm@macqel.be>

* coffread.c (coff_symtab_read): Discard C_LABEL's that are not
function entry points, to avoid getting them in the stack dump
instead of the actual function.

26 years agokeep restored file
Stan Shebs [Sat, 21 Nov 1998 19:29:32 +0000 (19:29 +0000)]
keep restored file

26 years ago * config/m68k/delta68.mh (NAT_FILE): Undo 1998-08-18 change;
Stan Shebs [Sat, 21 Nov 1998 19:28:44 +0000 (19:28 +0000)]
* config/m68k/delta68.mh (NAT_FILE): Undo 1998-08-18 change;
  without NAT_FILE definition, configure will assume that GDB cannot
  run native.
* config/m68k/nm-delta68.h (KERNEL_U_SIZE): New macro.
* delta68-nat.c (kernel_u_size): New function.

26 years ago* mild gx prototype tweak
Frank Ch. Eigler [Sat, 21 Nov 1998 19:05:09 +0000 (19:05 +0000)]
* mild gx prototype tweak
start-sanitize-gxsim
1998-11-21  Frank Ch. Eigler  <fche@elastic.org>
* sim-gx.c (sim_gx_block_translate): Generate computed
goto for __GNUC__ instead of plain switch() for gx block
entry.  Lose "-g" compile option for gx block.
end-sanitize-gxsim

26 years ago* r5900.igen (CVT.W.S): Always round towards zero.
Andrew Cagney [Sat, 21 Nov 1998 03:31:30 +0000 (03:31 +0000)]
* r5900.igen (CVT.W.S): Always round towards zero.
Update testsuite.

26 years agoRemove spurous warnings.
Nick Clifton [Fri, 20 Nov 1998 22:22:15 +0000 (22:22 +0000)]
Remove spurous warnings.

26 years agoCoper with empty symbol names.
Nick Clifton [Fri, 20 Nov 1998 21:08:14 +0000 (21:08 +0000)]
Coper with empty symbol names.

26 years agoregenerate
Doug Evans [Fri, 20 Nov 1998 20:59:50 +0000 (20:59 +0000)]
regenerate

26 years agoregenerate fr30-opc.c
Doug Evans [Fri, 20 Nov 1998 19:47:09 +0000 (19:47 +0000)]
regenerate fr30-opc.c

26 years agoAdd support for FR30_OPERAND_I32
Nick Clifton [Fri, 20 Nov 1998 19:42:45 +0000 (19:42 +0000)]
Add support for FR30_OPERAND_I32

26 years agoAdded fr30-tdep.c.
Zdenek Radouch [Fri, 20 Nov 1998 06:46:55 +0000 (06:46 +0000)]
Added fr30-tdep.c.

26 years agoFix problem where qnan was treated like an infinity
Michael Meissner [Fri, 20 Nov 1998 00:44:03 +0000 (00:44 +0000)]
Fix problem where qnan was treated like an infinity

26 years agoReplacing a bogus file with a semi-bogus one (sharing through devo).
Zdenek Radouch [Fri, 20 Nov 1998 00:34:30 +0000 (00:34 +0000)]
Replacing a bogus file with a semi-bogus one (sharing through devo).

26 years agoReplacing a bogus file with possibly an initial version of the same.
Zdenek Radouch [Fri, 20 Nov 1998 00:31:29 +0000 (00:31 +0000)]
Replacing a bogus file with possibly an initial version of the same.

26 years agoSemi-bogus version of the file (sharing through devo).
Zdenek Radouch [Fri, 20 Nov 1998 00:25:54 +0000 (00:25 +0000)]
Semi-bogus version of the file (sharing through devo).

26 years agoCARP:
Andrew Cagney [Fri, 20 Nov 1998 00:00:24 +0000 (00:00 +0000)]
CARP:
* buildsym.c (end_symtab): Cleanup PROCESS_LINENUMBER_HOOK.

26 years agoThu Nov 19 15:21:04 1998 Geoffrey Noer <noer@cygnus.com>
Geoffrey Noer [Thu, 19 Nov 1998 23:26:12 +0000 (23:26 +0000)]
Thu Nov 19 15:21:04 1998  Geoffrey Noer  <noer@cygnus.com>

        * rdi-share/host.h: if compiling under Cygwin, make sure new
        preprocessor define is defined.  Define it if not.
        * rdi-share/hostchan.h: ditto
        * rdi-share/aclocal.m4: regenerate
        * rdi-share/configure: regenerate

26 years agoThu Nov 19 15:21:04 1998 Geoffrey Noer <noer@cygnus.com>
Geoffrey Noer [Thu, 19 Nov 1998 23:22:51 +0000 (23:22 +0000)]
Thu Nov 19 15:21:04 1998  Geoffrey Noer  <noer@cygnus.com>

        * rdi-share/host.h: if compiling under Cygwin, make sure new
        preprocessor define is defined.  Define it if not.
        * rdi-share/aclocal.m4: regenerate
        * rdi-share/configure: regenerate

26 years agoAdd support for -marm6xxx and -marm7xxx command line switches
Nick Clifton [Thu, 19 Nov 1998 23:03:04 +0000 (23:03 +0000)]
Add support for -marm6xxx and -marm7xxx command line switches

26 years agoThu Nov 19 14:43:44 1998 Geoffrey Noer <noer@cygnus.com>
Geoffrey Noer [Thu, 19 Nov 1998 22:44:42 +0000 (22:44 +0000)]
Thu Nov 19 14:43:44 1998  Geoffrey Noer  <noer@cygnus.com>

        * configure.in: switch back to checking __CYGWIN32__
        * configure: regenerate

26 years agoThu Nov 19 14:42:15 1998 Geoffrey Noer <noer@cygnus.com>
Geoffrey Noer [Thu, 19 Nov 1998 22:42:35 +0000 (22:42 +0000)]
Thu Nov 19 14:42:15 1998  Geoffrey Noer  <noer@cygnus.com>

        * aclocal.m4: regenerate
        * configure: regenerate

26 years agoCARP:
Andrew Cagney [Thu, 19 Nov 1998 22:04:08 +0000 (22:04 +0000)]
CARP:
* exec.c (exec_file_command): Cleanup. Replace #if
NEED_TEXT_START_END with if().
* config/pa/nm-hppah.h (NEED_TEXT_START_END): Redefine to be 1.
* config/convex/tm-convex.h (NEED_TEXT_START_END): Ditto.
* config/gould/tm-np1.h (NEED_TEXT_START_END): Ditto.
* config/a29k/tm-a29k.h (NEED_TEXT_START_END): Ditto.

26 years agorun sanitize over Makefile.{am,in} for fr30
Doug Evans [Thu, 19 Nov 1998 21:35:59 +0000 (21:35 +0000)]
run sanitize over Makefile.{am,in} for fr30

26 years agoAdd provision of _end symbol.
Nick Clifton [Thu, 19 Nov 1998 21:32:57 +0000 (21:32 +0000)]
Add provision of _end symbol.

26 years agoThu Nov 19 13:06:22 1998 Geoffrey Noer <noer@cygnus.com>
Geoffrey Noer [Thu, 19 Nov 1998 21:21:34 +0000 (21:21 +0000)]
Thu Nov 19 13:06:22 1998  Geoffrey Noer  <noer@cygnus.com>

        * main.c: Wait until more time has passed before calling
        new cygwin_ funcs, revert back to the cygwin32_ ones for now.
        * win32-nat.c: Ditto.

26 years agoThu Nov 19 13:14:57 1998 Geoffrey Noer <noer@cygnus.com>
Geoffrey Noer [Thu, 19 Nov 1998 21:18:29 +0000 (21:18 +0000)]
Thu Nov 19 13:14:57 1998  Geoffrey Noer  <noer@cygnus.com>

        * gdbtk-cmds.c: Can't start using new API names yet.  Switch
          back
        to calling cygwin32_ funcs until some time has passed...
        * gdbtk.c: Ditto.  Also, include sys/cygwin.h for Cygwin,
          instead
        of providing own proto.

26 years agoThu Nov 19 16:02:46 1998 Dave Brolley <brolley@cygnus.com>
Dave Brolley [Thu, 19 Nov 1998 21:04:00 +0000 (21:04 +0000)]
Thu Nov 19 16:02:46 1998  Dave Brolley  <brolley@cygnus.com>

* fr30-opc.c: Regenerated.
* fr30-opc.h: Regenerated.
* fr30-dis.c: Regenerated.
* fr30-asm.c: Regenerated.

26 years agoregenerate fr30-opc.c
Doug Evans [Thu, 19 Nov 1998 18:27:10 +0000 (18:27 +0000)]
regenerate fr30-opc.c

26 years ago * gas/mips/sync.[sd]: New testcase.
Doug Evans [Thu, 19 Nov 1998 16:06:02 +0000 (16:06 +0000)]
* gas/mips/sync.[sd]: New testcase.
* gas/mips/mips.exp: Run it.
pr 18302

26 years ago * mips-opc.c (sync.p,sync.l): Swap insn values.
Doug Evans [Thu, 19 Nov 1998 16:00:43 +0000 (16:00 +0000)]
* mips-opc.c (sync.p,sync.l): Swap insn values.
pr 18302

26 years agoWed Nov 18 20:12:03 1998 Geoffrey Noer <noer@cygnus.com>
Geoffrey Noer [Thu, 19 Nov 1998 04:14:00 +0000 (04:14 +0000)]
Wed Nov 18 20:12:03 1998  Geoffrey Noer  <noer@cygnus.com>

        * aclocal.m4: regenerate
        * configure: regenerate

26 years agoWed Nov 18 21:36:37 1998 Dave Brolley <brolley@cygnus.com>
Dave Brolley [Thu, 19 Nov 1998 02:38:50 +0000 (02:38 +0000)]
Wed Nov 18 21:36:37 1998  Dave Brolley  <brolley@cygnus.com>

* fr30-opc.c: Regenerated.
* fr30-opc.h: Regenerated.

26 years agoWed Nov 18 18:18:43 1998 Geoffrey Noer <noer@cygnus.com>
Geoffrey Noer [Thu, 19 Nov 1998 02:22:42 +0000 (02:22 +0000)]
Wed Nov 18 18:18:43 1998  Geoffrey Noer  <noer@cygnus.com>

        * configure.tgt: change refs from cygwin32* to cygwin*.
        * aclocal.m4: regenerate
        * configure.in: don't need to call AM_CYGWIN32.
        * configure: regenerate

26 years agoWed Nov 18 18:18:43 1998 Geoffrey Noer <noer@cygnus.com>
Geoffrey Noer [Thu, 19 Nov 1998 02:20:06 +0000 (02:20 +0000)]
Wed Nov 18 18:18:43 1998  Geoffrey Noer  <noer@cygnus.com>

        * configure.tgt: change refs from cygwin32* to cygwin*.

26 years agoWed Nov 18 18:09:14 1998 Geoffrey Noer <noer@cygnus.com>
Geoffrey Noer [Thu, 19 Nov 1998 02:10:08 +0000 (02:10 +0000)]
Wed Nov 18 18:09:14 1998  Geoffrey Noer  <noer@cygnus.com>

        * Makefile.in: CC_FOR_TARGET and CXX_FOR_TARGET should also
        include newlib/libc/sys/cygwin and newlib/libc/sys/cygwin32.

26 years agorebuild
Doug Evans [Thu, 19 Nov 1998 01:58:46 +0000 (01:58 +0000)]
rebuild

26 years ago* cygwin.mh: Add extra libtermcap target information.
Christopher Faylor [Thu, 19 Nov 1998 01:32:42 +0000 (01:32 +0000)]
* cygwin.mh: Add extra libtermcap target information.
Make gdb depend on libtermcap for future readline dependency.

26 years agoRemove improper log entry.
Christopher Faylor [Thu, 19 Nov 1998 01:31:41 +0000 (01:31 +0000)]
Remove improper log entry.

26 years ago* configure.in: Add libtermcap to list of cygwin dependencies.
Christopher Faylor [Thu, 19 Nov 1998 01:15:59 +0000 (01:15 +0000)]
* configure.in: Add libtermcap to list of cygwin dependencies.
* config/cygwin.mh: Add extra libtermcap target information.
Make gdb depend on libtermcap for future readline depencency.

26 years ago * Makefile.am (DEP): Use $(srcdir)/../mkdep.
Doug Evans [Thu, 19 Nov 1998 00:23:24 +0000 (00:23 +0000)]
* Makefile.am (DEP): Use $(srcdir)/../mkdep.
(itbl-ops.o): Delete duplicate dependencies.
Rebuild dependencies.
Add fr30 dependencies.
* Makefile.in: Rebuild.

26 years ago * Makefile.in (M32R_OBJS): Delete extract.o.
Doug Evans [Thu, 19 Nov 1998 00:12:00 +0000 (00:12 +0000)]
* Makefile.in (M32R_OBJS): Delete extract.o.
(extract.o): Delete.
(stamp-arch): Depend on $(CGEN_ARCH_SCM).
(stamp-cpu): Don't build extract.c.
* cpu.c,cpu.h,decode.c,decode.h,sem-switch.c,sem.c: Rebuild.
* mloop.in (extract16): Update type of `insn' arg.
Delete call to d->extract.
(extract32): Ditto.

* Makefile.in (M32RX_OBJS): Delete extractx.o.
(extractx.o): Delete.
(stamp-xcpu): Don't build extractx.c.
* cpux.c,cpux.h,decodex.c,decodex.h,semx-switch.c: Rebuild.
* mloopx.in (extractx16): Update type of `insn' arg.
Delete call to d->extract.  Delete arg pbb_p.  All callers updated.
(extract-simple,full-exec-simple,fast-exec-simple): Delete.
(extractx32): Ditto.

26 years ago * Make-common.in (cgen-utils.o): Depend on cgen-engine.h.
Doug Evans [Wed, 18 Nov 1998 23:45:32 +0000 (23:45 +0000)]
* Make-common.in (cgen-utils.o): Depend on cgen-engine.h.
(CGEN_ARCH_SCM): New variable.
* cgen-engine.h (EXTRACT_[ML]SB0_{INT,UINT}): New macros.
(EXTRACT_INT,EXTRACT_UINT): New macros.
(SEM_SEM_ARG): New macro.
(SEM_NEXT_VPC): New arg `pc'.
* cgen-sim.h (EXTRACT_SIGNED,EXTRACT_UNSIGNED): Delete.
(sim_disassemble_insn): Update prototype.
* cgen-trace.c (current_insn,insn_fields): New static locals.
(trace_insn): Set them.
* cgen-utils.scm: #include cgen-engine.h.
(sim_disassemble_insn): New arg insn_fields.
Handle variable length insns.
* genmloop.sh: Only emit pbb decls if -pbb.
(${cpu}_scache_lookup): New arg `vpc'.
(scache support): Fetch pc before entering loop.

26 years ago * cgen-asm.in (insert_1): Replace calls to bfd_getb8/putb8.
Doug Evans [Wed, 18 Nov 1998 23:25:45 +0000 (23:25 +0000)]
* cgen-asm.in (insert_1): Replace calls to bfd_getb8/putb8.
(insert_normal, !CGEN_INT_INSN_P case): Only fetch enough bytes
to hold value.
(insert_insn_normal): Fix typo.
* cgen-dis.c (cgen_dis_lookup_insn): Update type of `value' arg.
* cgen-dis.in (extract_normal): Ditto.  New arg `pc'.
Rewrite ! CGEN_INT_INSN_P case.
(extract_insn_normal): Ditto.
(extract_1): New arg `pc'.  All callers updated.
Replace calls to bfd_getb8.
(fill_cache): New fn.
* cgen-opc.c (cgen_{get,put}_insn_value): Move here ...
* cgen-opc.in: ... from here.
(@arch@_cgen_lookup_insn): Rewrite ! CGEN_INT_INSN_P case.
* m32r-asm.c,m32r-dis.c,m32r-opc.c: Rebuild.
* fr30-asm.c,fr30-dis.c,fr30-opc.c: Rebuild.

26 years ago * gennltvals.sh: Add fr30 support.
Doug Evans [Wed, 18 Nov 1998 22:41:50 +0000 (22:41 +0000)]
* gennltvals.sh: Add fr30 support.
* nltvals.def: Rebuild.

26 years agoWed Nov 18 11:30:04 1998 Dave Brolley <brolley@cygnus.com>
Dave Brolley [Wed, 18 Nov 1998 16:30:49 +0000 (16:30 +0000)]
Wed Nov 18 11:30:04 1998  Dave Brolley  <brolley@cygnus.com>

* fr30-opc.c: Regenerated.

26 years agoWed Nov 18 11:27:56 1998 Dave Brolley <brolley@cygnus.com>
Dave Brolley [Wed, 18 Nov 1998 16:29:08 +0000 (16:29 +0000)]
Wed Nov 18 11:27:56 1998  Dave Brolley  <brolley@cygnus.com>

* gas/fr30/allinsn.s (dmov): Correct hex literals.

26 years ago * elf-bfd.h (struct elf_link_hash_entry): Add vtable_entries_size.
Richard Henderson [Wed, 18 Nov 1998 04:26:39 +0000 (04:26 +0000)]
    * elf-bfd.h (struct elf_link_hash_entry): Add vtable_entries_size.
        * elf.c (_bfd_elf_link_hash_newfunc): Clear it.
        * elflink.h (elf_gc_propagate_vtable_entries_used): Copy it, and
        respect it as an upper bound on what memory to reference.
        (elf_gc_smash_unused_vtentry_relocs): Likewise.
        (elf_gc_record_vtentry): Handle as-yet undefined vtables.  Set and
        update vtable_entries_size appropriately.

26 years agoReplace sys_errlist with strerror().
Andrew Cagney [Wed, 18 Nov 1998 04:19:31 +0000 (04:19 +0000)]
Replace sys_errlist with strerror().

26 years agoTue Nov 17 16:57:51 1998 Geoffrey Noer <noer@cygnus.com>
Geoffrey Noer [Wed, 18 Nov 1998 00:59:53 +0000 (00:59 +0000)]
Tue Nov 17 16:57:51 1998  Geoffrey Noer  <noer@cygnus.com>

        * Makefile.in: modify CC_FOR_TARGET and CXX_FOR_TARGET so that
        they include winsup/include when it's a cygwin target.

26 years agoFixed a typo.
Michael Snyder [Wed, 18 Nov 1998 00:23:30 +0000 (00:23 +0000)]
Fixed a typo.

26 years agoWed Nov 11 15:47:00 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
Michael Snyder [Wed, 18 Nov 1998 00:22:45 +0000 (00:22 +0000)]
Wed Nov 11 15:47:00 1998  Michael Snyder  <msnyder@cleaver.cygnus.com>

* procfs.c (proc_set_exec_trap): don't set PR_ASYNC or PR_FORK
        in the child process for UnixWare (causes processes forked by
        the debuggee to hang).

26 years agoRe-do type system so that GCC's explicit attribute/mode types are used
Andrew Cagney [Tue, 17 Nov 1998 23:59:30 +0000 (23:59 +0000)]
Re-do type system so that GCC's explicit attribute/mode types are used
(when available).
Update sim-bits and sim-alu tests in sim/testsuite/common.

26 years agoFixed simple fr30 reloc handling.
Nick Clifton [Tue, 17 Nov 1998 23:30:56 +0000 (23:30 +0000)]
Fixed simple fr30 reloc handling.

26 years agoFixed reloc generation to match latest opcoide list from cgen.
Nick Clifton [Tue, 17 Nov 1998 23:28:19 +0000 (23:28 +0000)]
Fixed reloc generation to match latest opcoide list from cgen.

26 years agoMoved bad insns to end of test file and added disassembly of good insns.
Nick Clifton [Tue, 17 Nov 1998 23:26:18 +0000 (23:26 +0000)]
Moved bad insns to end of test file and added disassembly of good insns.

26 years agoPR17074 - ignore line terminator characters found inside strings.
Nick Clifton [Tue, 17 Nov 1998 21:44:22 +0000 (21:44 +0000)]
PR17074 - ignore line terminator characters found inside strings.

26 years agoregenerated Makefile.in
Nick Clifton [Tue, 17 Nov 1998 18:27:13 +0000 (18:27 +0000)]
regenerated Makefile.in

26 years agotypo
DJ Delorie [Tue, 17 Nov 1998 03:32:36 +0000 (03:32 +0000)]
typo

26 years agotypo
DJ Delorie [Tue, 17 Nov 1998 03:27:26 +0000 (03:27 +0000)]
typo

26 years ago * archive.c (bfd_ar_hdr_from_filesystem): support BFD_IN_MEMORY
DJ Delorie [Tue, 17 Nov 1998 03:25:29 +0000 (03:25 +0000)]
* archive.c (bfd_ar_hdr_from_filesystem): support BFD_IN_MEMORY
  bfds; they have no "file" so we fake it.
* bfd-in2.h: add bfd_make_writable and bfd_make_readable (regen)
* libbfd.c (bfd_write): Allow writing to BFD_IN_MEMORY bfds by
  resizing the memory buffer.
* opncls.c (bfd_make_writable): New function; lets you write a
  bfd_create'd bfd to an in-memory buffer.
(bfd_make_readable): New function; lets you read back that buffer
  as if it were from bfd_openr.  Used to build generated archive
  members (winsup's ld's dlltool)

26 years ago* emultempl/pe.em (gld_i386_finish): generate import library
DJ Delorie [Tue, 17 Nov 1998 03:18:06 +0000 (03:18 +0000)]
* emultempl/pe.em (gld_i386_finish): generate import library
* deffile.h: add hint member.
* pe-dll.c (pe_dll_generate_implib): New function with helpers;
generates the import library directly from the export table.
(fill_edata): remember the actual hint for the import library.

26 years agoFix syntax errors
Nick Clifton [Tue, 17 Nov 1998 00:53:19 +0000 (00:53 +0000)]
Fix syntax errors

26 years agoMon Nov 16 19:27:52 1998 Dave Brolley <brolley@cygnus.com>
Dave Brolley [Tue, 17 Nov 1998 00:29:18 +0000 (00:29 +0000)]
Mon Nov 16 19:27:52 1998  Dave Brolley  <brolley@cygnus.com>

* gas/fr30/allinsn.s: Fixed more typos.

26 years agoMon Nov 16 19:21:48 1998 Dave Brolley <brolley@cygnus.com>
Dave Brolley [Tue, 17 Nov 1998 00:23:03 +0000 (00:23 +0000)]
Mon Nov 16 19:21:48 1998  Dave Brolley  <brolley@cygnus.com>

* fr30-opc.c: Regenerated.
* fr30-opc.h: Regenerated.
* fr30-dis.c: Regenerated.
* fr30-asm.c: Regenerated.

26 years agoMon Nov 16 19:17:23 1998 Dave Brolley <brolley@cygnus.com>
Dave Brolley [Tue, 17 Nov 1998 00:19:14 +0000 (00:19 +0000)]
Mon Nov 16 19:17:23 1998  Dave Brolley  <brolley@cygnus.com>

* po/binutils.pot: Regenerate.

26 years agoMon Nov 16 19:15:19 1998 Dave Brolley <brolley@cygnus.com>
Dave Brolley [Tue, 17 Nov 1998 00:16:52 +0000 (00:16 +0000)]
Mon Nov 16 19:15:19 1998  Dave Brolley  <brolley@cygnus.com>

* po/bfd.pot: Regenerated.

26 years agoMon Nov 16 14:17:05 1998 Geoffrey Noer <noer@cygnus.com>
Geoffrey Noer [Mon, 16 Nov 1998 22:17:37 +0000 (22:17 +0000)]
Mon Nov 16 14:17:05 1998  Geoffrey Noer  <noer@cygnus.com>

        * defs.h: if compiling under Cygwin, define __CYGWIN__ if
        __CYGWIN32__ is defined and __CYGWIN__ isn't for backwards
        compatibility.

26 years agoReplaced fixed size array for hi16 relocations with a linked list.
Nick Clifton [Mon, 16 Nov 1998 18:58:32 +0000 (18:58 +0000)]
Replaced fixed size array for hi16 relocations with a linked list.