diff options
author | obrien <obrien@FreeBSD.org> | 1999-01-12 18:15:14 +0800 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 1999-01-12 18:15:14 +0800 |
commit | 2b926e1064df5ad048fd84bb0671aeb50a61e3a5 (patch) | |
tree | fb528f9fd7008068a7e38a1a99e00b5f422e0a9e /lang | |
parent | 640dd9f6c8139760718095f154dff47f0a2485d7 (diff) | |
download | freebsd-ports-gnome-2b926e1064df5ad048fd84bb0671aeb50a61e3a5.tar.gz freebsd-ports-gnome-2b926e1064df5ad048fd84bb0671aeb50a61e3a5.tar.zst freebsd-ports-gnome-2b926e1064df5ad048fd84bb0671aeb50a61e3a5.zip |
DEFAULT_PCC_STRUCT_RETURN should be "0" for the ELF case too.
Diffstat (limited to 'lang')
-rw-r--r-- | lang/gcc28/files/patch-02 | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/lang/gcc28/files/patch-02 b/lang/gcc28/files/patch-02 index 87e61ef828dc..5d424703d8f0 100644 --- a/lang/gcc28/files/patch-02 +++ b/lang/gcc28/files/patch-02 @@ -1,11 +1,22 @@ --- config/i386/freebsd-elf.h.orig Fri Dec 5 04:15:34 1997 -+++ config/i386/freebsd-elf.h Sun Apr 12 06:23:12 1998 -@@ -140,7 +140,7 @@ ++++ config/i386/freebsd-elf.h Tue Jan 12 02:13:15 1999 +@@ -26,8 +26,9 @@ + + /* 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 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 +@@ -140,7 +141,7 @@ #define WCHAR_TYPE_SIZE BITS_PER_WORD #undef CPP_PREDEFINES -#define CPP_PREDEFINES "-Dunix -D__ELF__ -D__FreeBSD__=2 -Asystem(FreeBSD)" -+#define CPP_PREDEFINES "-Di386 -Dunix -D__ELF__ -D__FreeBSD__=2 -Asystem(FreeBSD) -Asystem(FreeBSD) -Acpu(i386) -Amachine(i386)" ++#define CPP_PREDEFINES "-Di386 -Dunix -D__ELF__ -D__FreeBSD__=3 -Asystem(FreeBSD) -Asystem(FreeBSD) -Acpu(i386) -Amachine(i386)" #undef CPP_SPEC #define CPP_SPEC "%(cpp_cpu) %[cpp_cpu] %{fPIC:-D__PIC__ -D__pic__} %{fpic:-D__PIC__ -D__pic__} %{posix:-D_POSIX_SOURCE}" |