David Edelsohn
0ab92fe79f
* Makefile.in (SIM_OBJS): Add sim-load.o.
...
* wrapper.c (sim_kind,myname): New static locals.
(sim_open): Set sim_kind, myname.
(sim_load): Call sim_load_file to do work. Set start address from bfd.
(sim_create_inferior): Return SIM_RC. Delete start_address arg.
1997-04-17 09:41:11 +00:00
David Edelsohn
35c384f6bb
* sim-load.c: New file.
...
[forgot this]
1997-04-17 09:38:01 +00:00
David Edelsohn
3b609fd511
Add sim-load.c, sim-trace.h.
1997-04-17 09:37:42 +00:00
David Edelsohn
0f2811d1c5
* Make-common.in (sim-options.o, sim-load.o): Add rules for.
...
(sim_main_headers): Add sim-trace.h.
* run.c (exec_bfd, target_byte_order): Delete.
(main): Pass -E <endian> to sim_open. Delete code to load sections,
call sim_load instead. Check return code of sim_create_inferior.
* sim-base.h (CURRENT_STATE): Define.
(sim_state_base): Make typedef. New members options, prog_argv,
prog_bfd, text_{section,start,end}, start_addr, simcache_size,
mem_size, memory [+ corresponding access macros].
(sim_cpu_base): New typedef.
* sim-trace.h: New file.
* sim-basics.h: #include it.
* sim-load.c: New file.
1997-04-17 09:37:02 +00:00
David Edelsohn
22003c917e
(gdbsim_open): Pass endian indicator as arg.
...
[forgot this]
1997-04-17 09:23:55 +00:00
David Edelsohn
44cd79e4b1
* remote-sim.c (gdbsim_load): Update call to sim_load.
...
(gdbsim_create_inferior): No longer pass start_address to
sim_create_inferior.
(gdbsim_open): Pass endian indicator as arg.
1997-04-17 09:23:28 +00:00
David Edelsohn
a1cb1f4b9c
* remote-sim.h (struct _bfd): Declare.
...
(sim_load): Return SIM_RC. New arg `abfd'.
(sim_create_inferior): Return SIM_RC. Delete arg `start_address'.
1997-04-17 09:19:45 +00:00
Andrew Cagney
87e43259f1
Cleanups to compile under FreeBSD
1997-04-17 06:05:19 +00:00
Ian Lance Taylor
a895901a15
From Gordon W. Ross <gwr@mc.com>:
...
* netbsd.h (N_SHARED_LIB): Define.
(SEGMENT_SIZE): Don't define.
* m68knetbsd.c (SEGMENT_SIZE): Don't define (revert change of
April 11).
* sparcnetbsd.c (TARGET_PAGE_SIZE): Define as 0x2000.
(SEGMENT_SIZE): Don't define.
1997-04-16 22:02:56 +00:00
Martin Hunt
ebec2a6a21
Wed Apr 16 12:43:32 1997 Martin Hunt <hunt@cygnus.com>
...
* elf32-d30v.c (elf_d30v_howto_table): Changed size of
R_D30V_32_NORMAL to 2 (4 bytes).
1997-04-16 19:50:24 +00:00
Martin Hunt
4bdb83fcb9
Wed Apr 16 12:31:24 1997 Martin Hunt <hunt@cygnus.com>
...
* config/tc-d30v.c (parallel_ok): Fix parallel checking
for instructions using conditional execution.
1997-04-16 19:35:54 +00:00
Martin Hunt
0a09e92add
Wed Apr 16 12:20:24 1997 Martin Hunt <hunt@cygnus.com>
...
* gas/d30v/d30.exp: Add optimizer test case.
* gas/d30v/opt.s: Add conditional compilation tests.
* gas/d30v/opt.d: Rebuild.
1997-04-16 19:28:31 +00:00
Ian Lance Taylor
10888f106a
* elf32-ppc.c (ppc_elf_adjust_dynamic_symbol): Set .rela.bss size
...
to sizeof Rela structure, not sizeof Rel structure. From Gary
Thomas <g.thomas@opengroup.org>.
1997-04-16 18:03:42 +00:00
Gavin Romig-Koch
ff55d0fb84
Correct test for fpr pairs.
1997-04-16 13:22:25 +00:00
Stan Shebs
1654a68d5b
* remote.c (get_offsets): Don't use scanf for interpreting
...
response to qOffsets.
1997-04-16 01:55:47 +00:00
Gavin Romig-Koch
68952421e6
Correct test for fpr pairs.
1997-04-15 22:46:58 +00:00
Ian Lance Taylor
ded64db806
this file was removed a long time ago
1997-04-15 22:36:26 +00:00
Ian Lance Taylor
ec2f730d86
sanitize out references to v850
1997-04-15 22:34:57 +00:00
Ian Lance Taylor
55aba3335b
* aout-target.h (MY(callback)): If entry_is_text_address, adjust
...
whenever entry is larger than text address, but only by whole
pages. From Gordon W. Ross <gwr@mc.com>.
1997-04-15 19:47:45 +00:00
Ian Lance Taylor
08499fc27d
* Makefile.in (DEVO_SUPPORT): Add mkinstalldirs.
1997-04-15 19:37:39 +00:00
Ian Lance Taylor
14b31001d8
* Makefile.in (INSTALL_XFORM): Remove.
...
(BASE_FLAGS_TO_PASS): Remove INSTALL_XFORM.
1997-04-15 19:32:01 +00:00
Ian Lance Taylor
c42d511971
* Makefile.in (INSTALL): Set to @INSTALL@.
...
(INSTALL_XFORM, INSTALL_XFORM1): Remove.
1997-04-15 19:20:58 +00:00
Ian Lance Taylor
61473a55c5
* Makefile.in (install-sis): Depend upon installdirs. Use
...
$(program_transform_name) directly, rather than using
$(INSTALL_XFORM).
1997-04-15 19:19:43 +00:00
Ian Lance Taylor
6808fd61d2
* Make-common.in (INSTALL): Set to @INSTALL@.
...
(INSTALL_XFORM, INSTALL_XFORM1): Remove.
(install-common): Depend upon installdirs. Use
$(program_transform_name) directly, rather than using
$(INSTALL_XFORM).
(installdirs): New target.
* Makefile.in (INSTALL): Set to @INSTALL@.
(INSTALL_XFORM, INSTALL_XFORM1): Remove.
(install-man): Depend upon installdirs. Use
$(program_transform_name) directly, rather than using
$(INSTALL_XFORM).
(installdirs): New target.
1997-04-15 19:13:56 +00:00
Ian Lance Taylor
04184003f6
* Makefile.in (INSTALL): Set to @INSTALL@.
...
(INSTALL_XFORM, INSTALL_XFORM1): Remove.
(install): Depend upon installdirs. Use $(program_transform_name)
directly, rather than using $(INSTALL_XFORM).
(installdirs): New target.
1997-04-15 19:06:20 +00:00
Ian Lance Taylor
d60002f692
* Makefile.in (INSTALL): Set to @INSTALL@.
...
(INSTALL_XFORM, INSTALL_XFORM1): Remove.
(install): Depend upon installdirs. Use $(program_transform_name)
directly, rather than using $(INSTALL_XFORM) and
$(INSTALL_XFORM1).
(installdirs): New target.
1997-04-15 18:55:38 +00:00
Ian Lance Taylor
591042f3e7
* gdbserver/Makefile.in (INSTALL_XFORM): Remove.
...
(INSTALL_XFORM1): Remove.
(install-only): Use $(program_transform_name) directly, rather
than using $(INSTALL_XFORM) and $(INSTALL_XFORM1).
(uninstall): Transform name.
1997-04-15 18:52:33 +00:00
Ian Lance Taylor
2f1fec47ae
Change to use automake:
...
* Makefile.am: New file.
* configure.in: Run AM_INIT_AUTOMAKE, AM_MAINTAINER_MODE, and
AM_CYGWIN32.
* aclocal.m4: New file, created by aclocal.
* Makefile.in: Replace with file created by automake --cygnus.
* configure: Rebuild.
1997-04-15 18:35:39 +00:00
Ian Lance Taylor
4066f85fd5
* Makefile.in (INSTALL): Set to @INSTALL@.
...
(INSTALL_XFORM, INSTALL_XFORM1): Remove.
(install): Depend upon installdirs. Use $(program_transform_name)
directly, rather than using $(INSTALL_XFORM) and
$(INSTALL_XFORM1).
(installdirs): New target.
(install-info): Run mkinstalldirs.
1997-04-15 17:45:20 +00:00
Ian Lance Taylor
ba69384dc8
* Makefile.in (INSTALL): Set to @INSTALL@.
...
(INSTALL_XFORM, INSTALL_XFORM1): Remove.
(install): Depend upon ld.new and installdirs. Use
$(program_transform_name) directly, rather than using
$(INSTALL_XFORM) and $(INSTALL_XFORM1).
(installdirs): New target.
(install-info): Run mkinstalldirs.
1997-04-15 17:21:15 +00:00
Ian Lance Taylor
e366a2d6e8
* Makefile.in (srcroot): Remove.
...
(INSTALL): Set to @INSTALL@.
(INSTALL_XFORM, INSTALL_XFORM1): Remove.
(all, dvi): Don't set srcroot.
(install): Depend upon as.new, gasp.new, and installdirs. Use
$(program_transform_name) directly, rather than using
$(INSTALL_XFORM) and $(INSTALL_XFORM1).
(installdirs): New target.
* doc/Makefile.in (INSTALL_XFORM1): Remove.
(install): Depend upon installdirs. Use $(program_transform_name)
directly, rather than using $(INSTALL_XFORM) and
$(INSTALL_XFORM1).
(installdirs): New target.
(install-info-as): Run mkinstalldirs.
(install-info-gasp): Likewise.
1997-04-15 17:11:08 +00:00
Ian Lance Taylor
9b31e6f533
* Makefile.in (install): Depend upon installdirs. Use
...
mkinstalldirs to build $(oldincludedir).
(installdirs): New target.
1997-04-15 16:38:24 +00:00
Ian Lance Taylor
fab3dd2d3a
tweak last patch
1997-04-15 16:30:35 +00:00
Ian Lance Taylor
ff290bafa5
* mkinstalldirs: New file, copied from automake.
...
* Makefile.in (installdirs): Rename from install-dirs. Use
mkinstalldirs. Change all users.
1997-04-15 16:26:43 +00:00
Ian Lance Taylor
a0c807260c
* elflink.h (elf_link_add_object_symbols): Don't call check_relocs
...
if this is a debugging section which we are stripping.
1997-04-15 15:54:24 +00:00
Andrew Cagney
21a2898b49
From Jim Wilson <wilson@cygnus.com>
...
* Makefile.in (tmp-hw, tmp-pk): Use for loop to eliminate duplicates
rather than the non-portable cat -n.
1997-04-15 10:48:28 +00:00
Andrew Cagney
7ec396d270
Get the BIT/MASK/ROT/... macros to work with any 32/64/MSB0/MSBn target.
1997-04-15 08:54:01 +00:00
Mark Alexander
8e7c36868b
* remote-mips.c (mips_load): Ensure that PC gets updated
...
after a load on LSI target.
1997-04-15 00:09:24 +00:00
Geoffrey Noer
234c409626
Mon Apr 14 15:54:51 1997 Geoffrey Noer <noer@pizza.cygnus.com>
...
* procfs.c (notice_signals): fix typo
1997-04-14 23:06:49 +00:00
Ian Lance Taylor
f2906ccc4c
rename install.sh to install-sh
1997-04-14 20:31:04 +00:00
Ian Lance Taylor
3ea58ef861
* gdbserver/Makefile.in (INSTALL): Change install.sh to
...
install-sh.
1997-04-14 20:25:38 +00:00
Ian Lance Taylor
e8255dfe37
* install-sh: Rename from install.sh.
...
* Makefile.in (INSTALL): Change install.sh to install-sh.
(DEVO_SUPPORT): Likewise.
1997-04-14 20:22:49 +00:00
Ian Lance Taylor
4c62d7407d
revert last patch
1997-04-14 20:04:38 +00:00
Ian Lance Taylor
7f92ace993
* Makefile.in (INSTALL): Set to @INSTALL@.
1997-04-14 20:01:10 +00:00
Geoffrey Noer
5e127f7693
Mon Apr 14 11:55:27 1997 Geoffrey Noer <noer@pizza.cygnus.com>
...
* config/i386/cygwin32.mh: remove -lkernel32 from XM_CLIBS
since gcc automatically includes it
1997-04-14 18:57:47 +00:00
Ian Lance Taylor
49163945f7
* binutils-all/ar.exp (long_filenames): Check for a file system
...
with a 14 character file name length limit.
1997-04-14 16:37:29 +00:00
Ian Lance Taylor
21d83d1cf9
From Thomas Graichen <graichen@rzpd.de>:
...
* configure.in: Use ${CONFIG_SHELL} when running $ac_config_sub.
* configure: Rebuild.
1997-04-14 16:10:39 +00:00
Ian Lance Taylor
dca6429fad
From Thomas Graichen <graichen@rzpd.de>:
...
* Makefile.in: Always use $(SHELL) when running move-if-change.
* configure.in: Use ${CONFIG_SHELL} when running $ac_config_sub.
* configure: Rebuild.
1997-04-14 16:05:50 +00:00
Ian Lance Taylor
575653d37d
From Thomas Graichen <graichen@rzpd.de>:
...
* Makefile.in: Always use $(SHELL) when running move-if-change.
* configure.in: Use ${CONFIG_SHELL} when running $ac_config_sub.
* configure: Rebuild.
1997-04-14 15:57:21 +00:00
Ian Lance Taylor
e5d7e3df0d
From Thomas Graichen <graichen@rzpd.de>:
...
* Makefile.in: Always use $(SHELL) when running move-if-change.
* configure.in: Use ${CONFIG_SHELL} when running $ac_config_sub.
* configure: Rebuild.
1997-04-14 15:47:24 +00:00