--- /dev/null
+/* Tektronix XD88 UTekV 3.2e (svr3 derived from UniSoft System V/88)
+
+ Copyright (C) 1993 Free Software Foundation, Inc.
+ Contributed by Kaveh R. Ghazi (ghazi@caip.rutgers.edu) 2/22/93.
+
+ This file is part of GNU CC.
+
+ GNU CC is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2, or (at your option)
+ any later version.
+
+ GNU CC is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ 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.
+ */
+
+#include "m88k/sysv3.h"
+
+/* Don't output structure tag names when it causes a forward reference.
+ Symptom:
+ Error messages like
+ as: "/usr/tmp/cca22733.s": cannot reduce symbol table, unused symbols remain
+ when compiling some programs.
+ example program (C++): struct bad { bad(); }; bad::bad() {}
+
+ This problem seems to have gone away, perhaps with release 3.6 of the O/S
+ from Dolphin. */
+/* #undef SDB_ALLOW_FORWARD_REFERENCES */
+/* I don't know if this SDB thing is needed or not --KRG */
+
+
+/* Use T_ARG as T_VOID. T_VOID is not defined in <syms.h> as it should be. */
+#define T_VOID T_ARG
+
+
+/* The bundled ld program needs link editor directives which normally
+ reside in /lib/default.ld. We'll pass our own copy during the link
+ phase because additioal information about extra sections must be added
+ so that gcc generated files will link properly.
+ --KRG.
+ */
+#undef LINK_SPEC
+#define LINK_SPEC "gcc.ld%s"
--- /dev/null
+/* gcc.ld - COFF linker directives for the Tektronix XD88.
+
+ This file is part of GNU CC.
+
+ GNU CC is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2, or (at your option)
+ any later version.
+
+ GNU CC is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ 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.
+
+
+ This file does the following:
+ - Sets VIRTUAL addr of .text to 0x10200
+ Sets FILE addr of .text to 0x200 (BLOCK directive)
+ - Depending on size of .text section rounds up to next
+ 4 MG boundary, adds (size of .text and vaddr of .text) mod 64K
+ This is to handle sections larger than 4 MG.
+*/
+
+SECTIONS {
+ .text 0x10200 BLOCK (0x200):
+ { *(.init) *(.text) *(.rodata) *(.tdesc) *(.fini)}
+
+ GROUP BIND( ((SIZEOF(.text) / 0x400000 * 0x400000) + 0x400000) +
+ ((SIZEOF(.text) + ADDR(.text)) % 0x10000) ) :
+ {
+ .data : { }
+ .bss : { }
+ }
+}