summaryrefslogtreecommitdiff
path: root/lang/gcc-ooo/files
diff options
context:
space:
mode:
Diffstat (limited to 'lang/gcc-ooo/files')
-rw-r--r--lang/gcc-ooo/files/patch-aa12
-rw-r--r--lang/gcc-ooo/files/patch-ab11
-rw-r--r--lang/gcc-ooo/files/patch-ac13
-rw-r--r--lang/gcc-ooo/files/patch-ad66
-rw-r--r--lang/gcc-ooo/files/patch-af66
-rw-r--r--lang/gcc-ooo/files/patch-ai54
-rw-r--r--lang/gcc-ooo/files/patch-ak30
-rw-r--r--lang/gcc-ooo/files/patch-al29
8 files changed, 0 insertions, 281 deletions
diff --git a/lang/gcc-ooo/files/patch-aa b/lang/gcc-ooo/files/patch-aa
deleted file mode 100644
index 9dc2e19279bb..000000000000
--- a/lang/gcc-ooo/files/patch-aa
+++ /dev/null
@@ -1,12 +0,0 @@
---- gcc/cpp.texi.orig Mon Aug 11 08:57:05 1997
-+++ gcc/cpp.texi Sat Jan 10 11:59:15 1998
-@@ -1,5 +1,9 @@
- \input texinfo
- @setfilename cpp.info
-+@dircategory The egcs enhanced GNU compiler suite
-+@direntry
-+* cpp: (cpp). The egcs C/C++ preprocessor.
-+@end direntry
- @settitle The C Preprocessor
-
- @ignore
diff --git a/lang/gcc-ooo/files/patch-ab b/lang/gcc-ooo/files/patch-ab
deleted file mode 100644
index f298fd056742..000000000000
--- a/lang/gcc-ooo/files/patch-ab
+++ /dev/null
@@ -1,11 +0,0 @@
---- gcc/f/g77.texi.orig Thu Jun 4 03:41:18 1998
-+++ gcc/f/g77.texi Tue Jun 9 17:52:16 1998
-@@ -150,7 +150,7 @@
-
- @dircategory Programming
- @direntry
--* g77: (g77). The GNU Fortran compiler.
-+* g77: (g77). The EGCS GNU Fortran compiler.
- @end direntry
- @node Top, Copying,, (DIR)
- @top Introduction
diff --git a/lang/gcc-ooo/files/patch-ac b/lang/gcc-ooo/files/patch-ac
deleted file mode 100644
index 961874c5c315..000000000000
--- a/lang/gcc-ooo/files/patch-ac
+++ /dev/null
@@ -1,13 +0,0 @@
---- gcc/gcc.texi.orig Fri Jan 2 15:38:11 1998
-+++ gcc/gcc.texi Sat Jan 10 11:56:49 1998
-@@ -1,6 +1,10 @@
- >\input texinfo @c -*-texinfo-*-
- @c %**start of header
- @setfilename gcc.info
-+@dircategory The egcs enhanced GNU compiler suite
-+@direntry
-+* gcc: (gcc). The egcs C/C++ compiler.
-+@end direntry
- @c @setfilename usegcc.info
- @c @setfilename portgcc.info
- @c To produce the full manual, use the "gcc.info" setfilename, and
diff --git a/lang/gcc-ooo/files/patch-ad b/lang/gcc-ooo/files/patch-ad
deleted file mode 100644
index 3fa37c95418b..000000000000
--- a/lang/gcc-ooo/files/patch-ad
+++ /dev/null
@@ -1,66 +0,0 @@
---- gcc/config/i386/freebsd-aout.h.orig Tue Jun 30 15:52:18 1998
-+++ gcc/config/i386/freebsd-aout.h Fri Jan 22 04:08:44 1999
-@@ -89,6 +89,10 @@
- /* Don't default to pcc-struct-return, because gcc is the only compiler, and
- we want to retain compatibility with older gcc versions. */
- #define DEFAULT_PCC_STRUCT_RETURN 0
-+
-+/* Ensure we the configuration knows our system correctly so we can link with
-+ libraries compiled with the native cc. */
-+#undef NO_DOLLAR_IN_LABEL
-
- /* i386 freebsd still uses old binutils that don't insert nops by default
- when the .align directive demands to insert extra space in the text
-@@ -99,19 +103,18 @@
-
- /* Profiling routines, partially copied from i386/osfrose.h. */
-
--/* Redefine this to use %eax instead of %edx. */
-+/* Tell final.c that we don't need a label passed to mcount. */
-+#define NO_PROFILE_DATA
-+
- #undef FUNCTION_PROFILER
- #define FUNCTION_PROFILER(FILE, LABELNO) \
- { \
- if (flag_pic) \
- { \
-- fprintf (FILE, "\tleal %sP%d@GOTOFF(%%ebx),%%eax\n", \
-- LPREFIX, (LABELNO)); \
- fprintf (FILE, "\tcall *mcount@GOT(%%ebx)\n"); \
- } \
- else \
- { \
-- fprintf (FILE, "\tmovl $%sP%d,%%eax\n", LPREFIX, (LABELNO)); \
- fprintf (FILE, "\tcall mcount\n"); \
- } \
- }
-@@ -129,6 +132,7 @@
-
- #define TYPE_ASM_OP ".type"
- #define SIZE_ASM_OP ".size"
-+#define SET_ASM_OP ".set"
-
- /* The following macro defines the format used to output the second
- operand of the .type assembler directive. Different svr4 assemblers
-@@ -138,6 +142,12 @@
-
- #define TYPE_OPERAND_FMT "@%s"
-
-+#define HANDLE_SYSV_PRAGMA 1
-+
-+#define ASM_WEAKEN_LABEL(FILE,NAME) \
-+ do { fputs ("\t.weak\t", FILE); assemble_name (FILE, NAME); \
-+ fputc ('\n', FILE); } while (0)
-+
- /* Write the extra assembler code needed to declare a function's result.
- Most svr4 assemblers don't require any special declaration of the
- result value, but there are exceptions. */
-@@ -239,6 +249,8 @@
- #define STARTFILE_SPEC \
- "%{shared:c++rt0.o%s} \
- %{!shared:%{pg:gcrt0.o%s}%{!pg:%{static:scrt0.o%s}%{!static:crt0.o%s}}}"
-+
-+#define MD_STARTFILE_PREFIX "/usr/lib/aout/"
-
- /* This is defined when gcc is compiled in the BSD-directory-tree, and must
- * make up for the gap to all the stuff done in the GNU-makefiles.
diff --git a/lang/gcc-ooo/files/patch-af b/lang/gcc-ooo/files/patch-af
deleted file mode 100644
index e9d23249070c..000000000000
--- a/lang/gcc-ooo/files/patch-af
+++ /dev/null
@@ -1,66 +0,0 @@
---- gcc/config/i386/freebsd.h.orig Mon Jul 13 15:38:36 1998
-+++ gcc/config/i386/freebsd.h Fri Jan 22 04:11:03 1999
-@@ -26,8 +26,13 @@
-
- /* The svr4 ABI for the i386 says that records and unions are returned
- in memory. */
-+/* On FreeBSD, we do not. */
- #undef DEFAULT_PCC_STRUCT_RETURN
--#define DEFAULT_PCC_STRUCT_RETURN 1
-+#define DEFAULT_PCC_STRUCT_RETURN 0
-+
-+/* This gets defined in tm.h->linux.h->svr4.h, and keeps us from using
-+ libraries compiled with the native cc, so undef it. */
-+#undef NO_DOLLAR_IN_LABEL
-
- /* This is how to output an element of a case-vector that is relative.
- This is only used for PIC code. See comments by the `casesi' insn in
-@@ -108,22 +113,19 @@
- : ((n) >= FIRST_STACK_REG && (n) <= LAST_STACK_REG) ? (n)+3 \
- : (-1))
-
--/* Output assembler code to FILE to increment profiler label # LABELNO
-- for profiling a function entry. */
-+/* Tell final.c that we don't need a label passed to mcount. */
-+#define NO_PROFILE_DATA
-
- #undef FUNCTION_PROFILER
- #define FUNCTION_PROFILER(FILE, LABELNO) \
- { \
- if (flag_pic) \
- { \
-- fprintf (FILE, "\tleal %sP%d@GOTOFF(%%ebx),%%edx\n", \
-- LPREFIX, (LABELNO)); \
-- fprintf (FILE, "\tcall *mcount@GOT(%%ebx)\n"); \
-+ fprintf (FILE, "\tcall *.mcount@GOT(%%ebx)\n"); \
- } \
- else \
- { \
-- fprintf (FILE, "\tmovl $%sP%d,%%edx\n", LPREFIX, (LABELNO)); \
-- fprintf (FILE, "\tcall mcount\n"); \
-+ fprintf (FILE, "\tcall .mcount\n"); \
- } \
- }
-
-@@ -146,20 +148,8 @@
- #define CPP_SPEC "%(cpp_cpu) %{fPIC:-D__PIC__ -D__pic__} %{fpic:-D__PIC__ -D__pic__} %{posix:-D_POSIX_SOURCE}"
-
- #undef LIB_SPEC
--#if 1
--/* We no longer link with libc_p.a or libg.a by default. If you
-- * want to profile or debug the C library, please add
-- * -lc_p or -ggdb to LDFLAGS at the link time, respectively.
-- */
--#define LIB_SPEC \
-- "%{!shared: %{mieee-fp:-lieee} %{p:-lgmon} %{pg:-lgmon} \
-- %{!ggdb:-lc} %{ggdb:-lg}}"
--#else
- #define LIB_SPEC \
-- "%{!shared: \
-- %{mieee-fp:-lieee} %{p:-lgmon -lc_p} %{pg:-lgmon -lc_p} \
-- %{!p:%{!pg:%{!g*:-lc} %{g*:-lg}}}}"
--#endif
-+ "%{!shared: %{p:-lc_p} %{pg:-lc_p} %{!p:%{!pg:-lc}}}"
-
- /* Provide a LINK_SPEC appropriate for FreeBSD. Here we provide support
- for the special GCC options -static and -shared, which allow us to
diff --git a/lang/gcc-ooo/files/patch-ai b/lang/gcc-ooo/files/patch-ai
deleted file mode 100644
index 4395574d635a..000000000000
--- a/lang/gcc-ooo/files/patch-ai
+++ /dev/null
@@ -1,54 +0,0 @@
---- gcc/final.c.orig Sat Sep 5 22:52:01 1998
-+++ gcc/final.c Wed Oct 7 17:06:58 1998
-@@ -383,6 +383,8 @@
- /* zero word */
- assemble_integer (const0_rtx, long_bytes, 1);
-
-+ fprintf(asm_out_file,".stabs \"bbset\", 25, 0, 0, LPBX0\n");
-+
- /* address of filename */
- ASM_GENERATE_INTERNAL_LABEL (name, "LPBX", 1);
- assemble_integer (gen_rtx_SYMBOL_REF (Pmode, name), pointer_bytes, 1);
-@@ -1635,6 +1637,9 @@
- leaf_renumber_regs (first);
- #endif
-
-+ if (profile_block_flag)
-+ add_bb (file);
-+
- /* The Sun386i and perhaps other machines don't work right
- if the profiling code comes after the prologue. */
- #ifdef PROFILE_BEFORE_PROLOGUE
-@@ -1696,7 +1701,9 @@
- profile_function (file)
- FILE *file;
- {
-+#ifndef NO_PROFILE_DATA
- int align = MIN (BIGGEST_ALIGNMENT, LONG_TYPE_SIZE);
-+#endif /* not NO_PROFILE_DATA */
- #if defined(ASM_OUTPUT_REG_PUSH)
- #if defined(STRUCT_VALUE_INCOMING_REGNUM) || defined(STRUCT_VALUE_REGNUM)
- int sval = current_function_returns_struct;
-@@ -1706,10 +1713,12 @@
- #endif
- #endif /* ASM_OUTPUT_REG_PUSH */
-
-+#ifndef NO_PROFILE_DATA
- data_section ();
- ASM_OUTPUT_ALIGN (file, floor_log2 (align / BITS_PER_UNIT));
- ASM_OUTPUT_INTERNAL_LABEL (file, "LP", profile_label_no);
- assemble_integer (const0_rtx, LONG_TYPE_SIZE / BITS_PER_UNIT, 1);
-+#endif /* not NO_PROFILE_DATA */
-
- function_section (current_function_decl);
-
-@@ -1800,6 +1809,9 @@
- code to restore the stack frame and return to the caller. */
- FUNCTION_EPILOGUE (file, get_frame_size ());
- #endif
-+
-+ if (profile_block_flag)
-+ add_bb (file);
-
- #ifdef SDB_DEBUGGING_INFO
- if (write_symbols == SDB_DEBUG)
diff --git a/lang/gcc-ooo/files/patch-ak b/lang/gcc-ooo/files/patch-ak
deleted file mode 100644
index 817e789e8f53..000000000000
--- a/lang/gcc-ooo/files/patch-ak
+++ /dev/null
@@ -1,30 +0,0 @@
---- gcc/configure.orig Wed Dec 2 11:22:52 1998
-+++ gcc/configure Tue Feb 9 02:21:19 1999
-@@ -2748,20 +2748,21 @@
- # Next line turned off because both 386BSD and BSD/386 use GNU ld.
- # use_collect2=yes
- ;;
-- i[34567]86-*-freebsdelf*)
-- tm_file="i386/i386.h i386/att.h linux.h i386/freebsd-elf.h i386/perform.h"
-+ i[34567]86-*-freebsdaout*)
-+ tm_file=i386/freebsd.h
- # On FreeBSD, the headers are already ok, except for math.h.
- fixincludes=fixinc.wrap
- tmake_file=i386/t-freebsd
-- gas=yes
-- gnu_ld=yes
-- stabs=yes
- ;;
- i[34567]86-*-freebsd*)
-- tm_file=i386/freebsd.h
-+ tm_file="i386/i386.h i386/att.h linux.h i386/freebsd.h i386/perform.h"
- # On FreeBSD, the headers are already ok, except for math.h.
- fixincludes=fixinc.wrap
-+ extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
- tmake_file=i386/t-freebsd
-+ gas=yes
-+ gnu_ld=yes
-+ stabs=yes
- ;;
- i[34567]86-*-netbsd*)
- tm_file=i386/netbsd.h
diff --git a/lang/gcc-ooo/files/patch-al b/lang/gcc-ooo/files/patch-al
deleted file mode 100644
index 5630ff63f6d5..000000000000
--- a/lang/gcc-ooo/files/patch-al
+++ /dev/null
@@ -1,29 +0,0 @@
---- gcc/configure.in.orig Thu Aug 27 17:19:04 1998
-+++ gcc/configure.in Tue Feb 9 02:22:10 1999
-@@ -846,20 +846,20 @@
- # Next line turned off because both 386BSD and BSD/386 use GNU ld.
- # use_collect2=yes
- ;;
-- i[[34567]]86-*-freebsdelf*)
-- tm_file="i386/i386.h i386/att.h linux.h i386/freebsd-elf.h i386/perform.h"
-+ i[[34567]]86-*-freebsdaout*)
-+ tm_file=i386/freebsd.h
- # On FreeBSD, the headers are already ok, except for math.h.
- fixincludes=fixinc.wrap
- tmake_file=i386/t-freebsd
-- gas=yes
-- gnu_ld=yes
-- stabs=yes
- ;;
- i[[34567]]86-*-freebsd*)
-- tm_file=i386/freebsd.h
-+ tm_file="i386/i386.h i386/att.h linux.h i386/freebsd.h i386/perform.h"
- # On FreeBSD, the headers are already ok, except for math.h.
- fixincludes=fixinc.wrap
- tmake_file=i386/t-freebsd
-+ gas=yes
-+ gnu_ld=yes
-+ stabs=yes
- ;;
- i[[34567]]86-*-netbsd*)
- tm_file=i386/netbsd.h