diff options
author | Gerald Pfeifer <gerald@FreeBSD.org> | 2003-04-24 10:37:23 +0000 |
---|---|---|
committer | Gerald Pfeifer <gerald@FreeBSD.org> | 2003-04-24 10:37:23 +0000 |
commit | e5cd9dacdfae42cad746d33895c6ef8b62db17a5 (patch) | |
tree | 7d2daa629834d54f882847c28a9d0b83316ae9c0 /lang/gcc46 | |
parent | 63728fc86908cd7b17df0eccf5b5fde4b0e0a7bc (diff) | |
download | ports-e5cd9dacdfae42cad746d33895c6ef8b62db17a5.tar.gz ports-e5cd9dacdfae42cad746d33895c6ef8b62db17a5.zip |
Notes
Diffstat (limited to 'lang/gcc46')
-rw-r--r-- | lang/gcc46/Makefile | 4 | ||||
-rw-r--r-- | lang/gcc46/files/patch-ad | 42 | ||||
-rw-r--r-- | lang/gcc46/files/patch-af | 50 |
3 files changed, 0 insertions, 96 deletions
diff --git a/lang/gcc46/Makefile b/lang/gcc46/Makefile index ab6e961bb930..c1bfd63a760d 100644 --- a/lang/gcc46/Makefile +++ b/lang/gcc46/Makefile @@ -40,11 +40,7 @@ NOMANCOMPRESS= yes # too hard to deal with differences on 5-cur and releng4 .include <bsd.port.pre.mk> -.if ${PORTOBJFORMAT} == "aout" -CONFIGURE_TARGET= ${ARCH}-portbld-freebsdaout${OSREL} -.else CONFIGURE_TARGET= ${ARCH}-portbld-freebsd${OSREL} -.endif GCC_REV= ${PORTVERSION:C/\.0$//} #SRCDIR= ${WRKDIR}/gcc-${GCC_REV} diff --git a/lang/gcc46/files/patch-ad b/lang/gcc46/files/patch-ad deleted file mode 100644 index a5a58354932e..000000000000 --- a/lang/gcc46/files/patch-ad +++ /dev/null @@ -1,42 +0,0 @@ ---- gcc/config/i386/freebsd-aout.h.orig Fri Nov 15 06:57:11 2002 -+++ gcc/config/i386/freebsd-aout.h Sat Apr 19 21:16:26 2003 -@@ -94,6 +94,9 @@ - - /* Profiling routines, partially copied from i386/osfrose.h. */ - -+/* Tell final.c that we don't need a label passed to mcount. */ -+#define NO_PROFILE_COUNTERS 1 -+ - #undef MCOUNT_NAME - #define MCOUNT_NAME "mcount" - #undef PROFILE_COUNT_REGISTER -@@ -112,6 +115,7 @@ - - #define TYPE_ASM_OP "\t.type\t" - #define SIZE_ASM_OP "\t.size\t" -+#define SET_ASM_OP "\t.set\t" - - /* The following macro defines the format used to output the second - operand of the .type assembler directive. Different svr4 assemblers -@@ -121,6 +125,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. */ -@@ -209,6 +219,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/" - - /* Define this so we can compile MS code for use with WINE. */ - #define HANDLE_PRAGMA_PACK_PUSH_POP diff --git a/lang/gcc46/files/patch-af b/lang/gcc46/files/patch-af deleted file mode 100644 index 9da4d3279d7c..000000000000 --- a/lang/gcc46/files/patch-af +++ /dev/null @@ -1,50 +0,0 @@ ---- gcc/config/i386/freebsd.h.orig Wed May 30 16:05:31 2001 -+++ gcc/config/i386/freebsd.h Mon Jun 18 17:47:30 2001 -@@ -76,6 +76,14 @@ - - #undef WCHAR_TYPE_SIZE - #define WCHAR_TYPE_SIZE BITS_PER_WORD -+ -+#undef CC1_SPEC -+#define CC1_SPEC "\ -+ %{gline:%{!g:%{!g0:%{!g1:%{!g2: -g1}}}}} \ -+ %{maout: %{!mno-underscores: %{!munderscores: -munderscores }}}" -+ -+#undef ASM_SPEC -+#define ASM_SPEC "%{v*: -v} %{maout: %{fpic:-k} %{fPIC:-k}}" - - /* Provide a STARTFILE_SPEC appropriate for FreeBSD. Here we add - the magical crtbegin.o file (see crtstuff.c) which provides part -@@ -84,11 +92,18 @@ - - #undef STARTFILE_SPEC - #define STARTFILE_SPEC \ -- "%{!shared: \ -- %{pg:gcrt1.o%s} %{!pg:%{p:gcrt1.o%s} \ -- %{!p:%{profile:gcrt1.o%s} \ -- %{!profile:crt1.o%s}}}} \ -- crti.o%s %{!shared:crtbegin.o%s} %{shared:crtbeginS.o%s}" -+ "%{maout: %{shared:c++rt0.o%s} \ -+ %{!shared:%{pg:gcrt0.o%s}%{!pg:%{static:scrt0.o%s}%{!static:crt0.o%s}}}} \ -+ %{!maout: \ -+ %{!shared: \ -+ %{pg:gcrt1.o%s} \ -+ %{!pg:%{p:gcrt1.o%s} \ -+ %{!p:%{profile:gcrt1.o%s} \ -+ %{!profile:crt1.o%s}}}} \ -+ crti.o%s \ -+ %{!shared:crtbegin.o%s} \ -+ %{shared:crtbeginS.o%s} \ -+ }" - - /* Provide a ENDFILE_SPEC appropriate for FreeBSD. Here we tack on - the magical crtend.o file (see crtstuff.c) which provides part of -@@ -98,7 +113,7 @@ - - #undef ENDFILE_SPEC - #define ENDFILE_SPEC \ -- "%{!shared:crtend.o%s} %{shared:crtendS.o%s} crtn.o%s" -+ "%{!maout: %{!shared:crtend.o%s} %{shared:crtendS.o%s} crtn.o%s}" - - /* Provide a LINK_SPEC appropriate for FreeBSD. Here we provide support - for the special GCC options -static and -shared, which allow us to |