Commit Graph

14620 Commits

Author SHA1 Message Date
Michael Meissner 97a002e72a Switch to using new fangled monitor.o routines for ppcbug, rather than remote 1995-11-15 00:11:14 +00:00
Stu Grossman 9999417ef6 * gencode.c: jsr actually saves pc+4, and rts actually uses pr+0. 1995-11-14 23:42:22 +00:00
Stu Grossman 7c0fe2ebbd * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
* config/monitor.exp:  Add support for setting baud rate.
1995-11-14 23:41:36 +00:00
Stu Grossman ee824ca663 * monitor.c (monitor_load_srec monitor_make_srec): Move all
S-record download code into srec.c.
	* srec.c srec.h:  New files.  Contain S-record loading routines
	formerly in monitor.c.
	* serial.c serial.h:  New routine just like fprintf, but uses
	serial_t instead of FILE *.
	* sh-tdep.c (frame_find_saved_regs init_extra_frame_info):
	Don't add four to saved pc (makes things match manual).  Also, fix
	bug where we didn't get pc from stack frame correctly.
	* config/sh/tm-sh.h (SAVED_PC_AFTER_CALL):  Don't add four to
	saved pc.  Real hardware does this for you.
	* sh3-rom.c (sh3_load):  New routine.  Sets up for download then
	calls generic S-record loader.
	* config/h8300/h8300.mt, config/h8500/h8500.mt,
	config/m68k/monitor.mt, config/pa/hppapro.mt, config/sh/sh.mt:
	Add srec.o to TDEPFILES.
1995-11-14 23:40:18 +00:00
Stu Grossman 5c8ba01776 * monitor.c (monitor_load_srec monitor_make_srec): Move all
S-record download code into srec.c.
	* srec.c srec.h:  New files.  Contain S-record loading routines
	formerly in monitor.c.
	* serial.c serial.h:  New routine just like fprintf, but uses
	serial_t instead of FILE *.
	* sh-tdep.c (frame_find_saved_regs init_extra_frame_info):
	Don't add four to saved pc (makes things match manual).  Also, fix
	bug where we didn't get pc from stack frame correctly.
	* config/sh/tm-sh.h (SAVED_PC_AFTER_CALL):  Don't add four to
	saved pc.  Real hardware does this for you.
	* sh3-rom.c (sh3_load):  New routine.  Sets up for download then
	calls generic S-record loader.
	* config/h8300/h8300.mt, config/h8500/h8500.mt,
	config/m68k/monitor.mt, config/pa/hppapro.mt, config/sh/sh.mt:
	Add srec.o to TDEPFILES.
1995-11-14 23:24:10 +00:00
Jason Molenda 1c1a4269dd * config/mh-i386win32: add LD_FOR_TARGET. 1995-11-14 23:04:29 +00:00
Ian Lance Taylor 6922e654db * dlltool.c: Use FOPEN_* macros rather than "r" or "w". 1995-11-14 23:03:25 +00:00
Jason Molenda 600b2f21c9 * configure.in (target_libs): add target-winsup.
(target==i386-win32): add patch diff flex make to $noconfigdirs.
        (target==ppcle-pe): remove ld from $noconfigdirs.
1995-11-14 22:58:14 +00:00
Ian Lance Taylor 6d93c36004 * dlltool.c (fill_ordinals): Correct memset call. 1995-11-14 22:20:12 +00:00
Ian Lance Taylor 204066750f * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Use the
environment variable LD_RUN_PATH if neither -rpath nor -rpath-link
	were used.
	(gld${EMULATION_NAME}_before_allocation): Use the environment
	variable LD_RUN_PATH if -rpath was not used.
	* ld.texinfo, ld.1: Document LD_RUN_PATH.
PR 8428.
1995-11-14 22:10:14 +00:00
Michael Meissner 3ae5193668 Add preliminary ppcbug support. 1995-11-14 21:25:11 +00:00
Michael Meissner 855bfb535f Add preliminary ppcbug support. 1995-11-14 21:17:20 +00:00
Jeff Law 5a014755c0 Zap partial-stab.h:GDB_TARGET_IS_HPPA item. 1995-11-14 18:31:28 +00:00
Ian Lance Taylor bebcd3db3b * coff-sh.c (shlcoff_vec): Use _bfd_generic_archive_p, not
_bfd_dummy_target, matching the recent change to archive
	recognition.
1995-11-14 16:55:23 +00:00
Michael Meissner 39c324612d make inline model use static when inlining. 1995-11-14 11:34:01 +00:00
Michael Meissner f35df46cc3 make inline model use static when inlining. 1995-11-14 11:25:34 +00:00
Michael Meissner fe439e0f18 fix more warnings 1995-11-14 10:52:24 +00:00
David Edelsohn a6cb89ff68 Update. cfg-ml-com.in replaced with config-ml.in. 1995-11-14 10:40:55 +00:00
Michael Meissner ac79ccd41d Fix warnings and dependency 1995-11-14 09:52:29 +00:00
David Edelsohn f3d4003ea3 Delete debugging -x's. 1995-11-14 09:36:54 +00:00
David Edelsohn d747cac4c2 * Makefile.in (CONFIGURE_TARGET_MODULES): Pass --with-target-subdir.
Preserve relative path names in $srcdir.  Build symlink tree if
	configuring cross target dir and srcdir=. (= no VPATH support).
	(configure-target-libg++): Depend on configure-target-librx.
	* cfg-ml-com.in, cfg-ml-pos.in: Deleted.
	* config-ml.in: New file.
	* symlink-tree: New file.
	* configure: Ensure srcdir="." if that's what it is.
1995-11-14 09:32:50 +00:00
Stan Shebs 75d1d87aa1 Keep te-macos.h. 1995-11-14 04:46:32 +00:00
Stan Shebs 51bc513e4e * configure.in (ppc-*-macos*, ppc-*-mpw*): New configurations.
* configure: Update.
	* mpw-make.sed: Reorder commands to make sed happier.
	* config/te-macos.h: New file.
	* config/tc-ppc.h (TARGET_FORMAT): Set correctly for PowerMac.
1995-11-14 04:45:54 +00:00
Stan Shebs 13a0f5955f * mpw-README: Clarify some phrasing, add notes about CodeWarrior
includes and FLEX_SKELETON setting.
	* mpw-configure (--with-gnu-ld): New option, controls whether
	to use PPCLink or ld with PowerMac GCC.
	* mpw-build.in (all-grez, do-grez, install-grez): New targets.
	* mpw-config.in: Configure grez if targeting Mac.
1995-11-14 03:31:22 +00:00
Stan Shebs 19b1d034dc * config.sub: Accept pmac and pmac-mpw as names for PowerMacs,
accept mpw and mac-mpw as names for m68k Macs, change macos7 to
 	just macos.
	* configure.in: Configure grez resource compiler if targeting Mac.
	* Makefile.in (all-grez, install-grez): New targets.
1995-11-13 20:47:41 +00:00
Ian Lance Taylor afa67334cb * libbfd.c (bfd_get_file_window): Use casts to avoid doing
arithmetic on PTR types.
1995-11-13 20:25:21 +00:00
Jeff Law 3306c363e3 * partial-stab.h: Remove GDB_TARGET_IS_HPPA kludge.
gcc-2.7.0 and gdb-4.15 have been released, so some old crud can
disappear.  Yippie!
1995-11-13 20:15:42 +00:00
Ian Lance Taylor f2bd89150f * aout-target.h (MY(callback)): Set the lma of the sections. 1995-11-13 18:31:50 +00:00
Ian Lance Taylor 7ad4ba8143 * ecoff.c (ecoff_reloc_link_order): Turn a reloc against a defined
symbol into a reloc against the section.
1995-11-13 18:27:49 +00:00
Michael Meissner 1dc7c0ed84 checkpoint 1995-11-13 16:07:30 +00:00
Kim Knuttila 125d37c471 Missed a debug macro (duh) 1995-11-13 15:21:12 +00:00
Kim Knuttila 93b6a3f8e2 Implemented IMGLUE reloc + dumping 1995-11-13 12:54:05 +00:00
Jeff Law 863fe9d059 * gas/hppa/unsorted/brlenbug.s: New test.
* gas/hppa/unsorted/unsorted.exp: Run it.
1995-11-13 04:31:25 +00:00
Jeff Law 8b39c5df0e * config/tc-hppa.c (pa_ip): Fix off-by-2 bug in length check for
conditional branches.
        (md_apply_fix): Likewise.
1995-11-13 04:17:57 +00:00
Stan Shebs 0cf78faa25 Add "grez" to keep_these_too. 1995-11-13 02:12:19 +00:00
Michael Meissner eb4ef19775 Add model-functions support 1995-11-13 01:27:21 +00:00
Stan Shebs d101d7bf06 * mpw-make.sed (DEMANGLER_PROG): Edit out attempts to do anything
with the man page.
1995-11-12 21:03:38 +00:00
Stan Shebs c769947b4a * Makefile.in (bfd_libs_here, etc): Provide empty definitions.
* coff-rs6000.c (rs6000coff_vec): Add conditional defines
	TARGET_SYM and TARGET_NAME for vector and BFD name.
	* coff-pmac.c (pmac_xcoff_vec): Remove.
	(TARGET_SYM, TARGET_NAME): Define.
	* coffcode.h (coff_set_arch_mach_hook) [POWERMAC]: Set the
	machine to 0, not all PowerMacs are 601s.
1995-11-12 20:39:38 +00:00
Michael Meissner 28816f45f5 Add support for setting model name and other things 1995-11-12 14:20:39 +00:00
Michael Meissner c05c182dd6 Various changes 1995-11-12 02:06:11 +00:00
Michael Meissner d587782c78 fix typo 1995-11-11 12:30:17 +00:00
Michael Meissner 813ad010f6 Check for files in the source directory, not the build directory 1995-11-11 01:11:31 +00:00
Michael Meissner a31140524a Tons of changes to allow model specific information in the instruction file. 1995-11-10 22:49:05 +00:00
Victoria Mixon aa917e719d modified from 95q4 1995-11-10 19:59:40 +00:00
Victoria Mixon e0d3ace23a modified from 95q4 1995-11-10 19:44:30 +00:00
Victoria Mixon 0e68864241 references to pesch@cygnus.com changed to doc@cygnus.com 1995-11-10 19:28:36 +00:00
Victoria Mixon b94ff92428 binutils.texi: modified from 95q4 1995-11-10 19:09:41 +00:00
Michael Meissner b51e5b4f6e If --enable-sim-inline is not specified, default to DEFAULT_INLINE=1, not 2. 1995-11-10 11:41:58 +00:00
Michael Meissner e218c1be05 Add comment about enabing PowerPC simulator 1995-11-10 11:38:13 +00:00
Michael Meissner f7c22f27af fix typo 1995-11-10 11:27:14 +00:00