--- gcc/config/m68k/plexus.h 2018/04/24 18:10:24 1.1 +++ gcc/config/m68k/plexus.h 2018/04/24 18:28:16 1.1.1.4 @@ -1,20 +1,23 @@ /* Definitions of target machine for GNU compiler. - Copyright (C) 1990 Free Software Foundation, Inc. + Copyright (C) 1990, 1994 Free Software Foundation, Inc. Written by Randy Welch Send bug reports, questions and improvements to any of the following addresses: - randy@kcin.alphacdc.com - rwelch@isis.cs.du.eu - rwelch@csn.org - - For Plexus P/60 and assumably P/35 P/75 P/95's running System V.2 - - This file outputs assembler source for gas-1.38.1 with the COFF patches - The patches for gas-1.38.1 to support COFF is on ftp.cs.umb.edu in pub/gnu - No debugging is supported, due to the fact that the only debugger Plexus - had was adb *sigh*. + randy@kcin.uucp + randy@tss.com + rwelch@netcom.com + plx-info@wpg.com Plexus users mailing list + + For 680X0 based Plexus Computers running SYSVR2 + + The Plexus port of gcc requires you to use gas ( either 1.3X with COFF + patches or 2.X ), If you use gas 2.X you have to use binutils-2.X. + + With using gas-2.X the Plexus gcc port is now capable of generating + output suitable for use by gdb-4.X ( send mail to above address for + info on getting gdb patches or other GNU items for the Plexus ) This is configured for label output default by gas as LXXX instead of plexus cc/as combination requires .LXXX @@ -33,7 +36,8 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with GNU CC; see the file COPYING. If not, write to -the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ +the Free Software Foundation, 59 Temple Place - Suite 330, +Boston, MA 02111-1307, USA. */ #include "m68k/m68k.h" @@ -48,7 +52,7 @@ the Free Software Foundation, 675 Mass A #define LONG_DOUBLE_TYPE_SIZE 64 #define CPP_SPEC "%{m68881:-D__HAVE_68881__}" -#define CPP_PREDEFINES "-Dm68 -Dunix -Dplexus" +#define CPP_PREDEFINES "-Dm68 -Dunix -Dplexus -Asystem(unix) -Acpu(m68k) -Amachine(m68k)" #if TARGET_DEFAULT & 01 #define ASM_SPEC\ @@ -78,9 +82,28 @@ the Free Software Foundation, 675 Mass A #undef NEED_PROBE #define NEED_PROBE -132 /* plexus needs a stack probe */ +/***********************************************************************/ +/* if you have binutils-2.X and gas-2.X running you can generate code */ +/* that gdb can understand ( gdb support available for 4.11 ) */ +/* */ +/* If you use gas-1.3X don't define this as the version of the coff */ +/* patches for gas-1.3x ( stabs in coff ) does not generate coff debug */ +/* syms */ +/***********************************************************************/ +#define HAVE_GAS_2_X + +#ifdef HAVE_GAS_2_X +#undef DBX_DEBUGGING_INFO +#define SDB_DEBUGGING_INFO + +#undef ASM_FILE_START +#define ASM_FILE_START(FILE) \ + output_file_directive((FILE), main_input_filename) + +#else #undef DBX_DEBUGGING_INFO /* no real debugger */ #undef SDB_DEBUGGING_INFO - +#endif #define TARGET_MEM_FUNCTIONS /***********************************************************************/