summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2015-03-20 19:45:16 -0400
committermidipix <writeonce@midipix.org>2015-03-20 19:45:16 -0400
commitab96186ff16391924bbbd26b4f58c1e64ee5e659 (patch)
tree0b0fba0c3b293f44e894aa1d8fc3523c5304fb4e
parent08cf2898d65d3cb768683609e6e4b6730cf2f678 (diff)
downloadcbb-gcc-4.6.4-ab96186ff16391924bbbd26b4f58c1e64ee5e659.tar.bz2
cbb-gcc-4.6.4-ab96186ff16391924bbbd26b4f58c1e64ee5e659.tar.xz
libgcc: disable symbol versioning for the midipix targets.
signed-off by Z. Gilboa; see copying.midipix (9cd0746c) for additional information.
-rw-r--r--libgcc/config/i386/64/_divtc3.c6
-rw-r--r--libgcc/config/i386/64/_multc3.c6
-rw-r--r--libgcc/config/i386/64/_powitf2.c6
-rw-r--r--libgcc/config/i386/64/eqtf2.c6
-rw-r--r--libgcc/config/i386/64/getf2.c6
-rw-r--r--libgcc/config/i386/64/letf2.c6
6 files changed, 30 insertions, 6 deletions
diff --git a/libgcc/config/i386/64/_divtc3.c b/libgcc/config/i386/64/_divtc3.c
index 0095d245e..9c5e19b1f 100644
--- a/libgcc/config/i386/64/_divtc3.c
+++ b/libgcc/config/i386/64/_divtc3.c
@@ -1,15 +1,19 @@
#ifdef SHARED
+#ifndef __MIDIPIX
#define __divtc3 __divtc3_shared
#endif
+#endif
#define L_divtc3
#include "libgcc2.c"
#ifdef SHARED
+#ifndef __MIDIPIX
#undef __divtc3
extern __typeof__ (__divtc3_shared) __divtc3_compat __attribute__((alias ("__divtc3_shared")));
+#endif
-#ifndef _WIN32
+#if !defined(_WIN32) && !defined(__MIDIPIX)
asm (".symver __divtc3_compat,__divtc3@GCC_4.0.0");
asm (".symver __divtc3_shared,__divtc3@@GCC_4.3.0");
#endif
diff --git a/libgcc/config/i386/64/_multc3.c b/libgcc/config/i386/64/_multc3.c
index 08b5ee451..63f218060 100644
--- a/libgcc/config/i386/64/_multc3.c
+++ b/libgcc/config/i386/64/_multc3.c
@@ -1,15 +1,19 @@
#ifdef SHARED
+#ifndef __MIDIPIX
#define __multc3 __multc3_shared
#endif
+#endif
#define L_multc3
#include "libgcc2.c"
#ifdef SHARED
+#ifndef __MIDIPIX
#undef __multc3
extern __typeof__ (__multc3_shared) __multc3_compat __attribute__((alias ("__multc3_shared")));
+#endif
-#ifndef _WIN32
+#if !defined(_WIN32) && !defined(__MIDIPIX)
asm (".symver __multc3_compat,__multc3@GCC_4.0.0");
asm (".symver __multc3_shared,__multc3@@GCC_4.3.0");
#endif
diff --git a/libgcc/config/i386/64/_powitf2.c b/libgcc/config/i386/64/_powitf2.c
index e8360156b..4da3a18f0 100644
--- a/libgcc/config/i386/64/_powitf2.c
+++ b/libgcc/config/i386/64/_powitf2.c
@@ -1,15 +1,19 @@
#ifdef SHARED
+#ifndef __MIDIPIX
#define __powitf2 __powitf2_shared
#endif
+#endif
#define L_powitf2
#include "libgcc2.c"
#ifdef SHARED
+#ifndef __MIDIPIX
#undef __powitf2
extern __typeof__ (__powitf2_shared) __powitf2_compat __attribute__((alias ("__powitf2_shared")));
+#endif
-#ifndef _WIN32
+#if !defined(_WIN32) && !defined(__MIDIPIX)
asm (".symver __powitf2_compat,__powitf2@GCC_4.0.0");
asm (".symver __powitf2_shared,__powitf2@@GCC_4.3.0");
#endif
diff --git a/libgcc/config/i386/64/eqtf2.c b/libgcc/config/i386/64/eqtf2.c
index 785c42ad5..e257e834c 100644
--- a/libgcc/config/i386/64/eqtf2.c
+++ b/libgcc/config/i386/64/eqtf2.c
@@ -1,14 +1,18 @@
#ifdef SHARED
+#ifndef __MIDIPIX
#define __netf2 __netf2_shared
#endif
+#endif
#include "config/soft-fp/eqtf2.c"
#ifdef SHARED
+#ifndef __MIDIPIX
#undef __netf2
strong_alias (__netf2_shared, __netf2_compat);
+#endif
-#ifndef _WIN32
+#if !defined(_WIN32) && !defined(__MIDIPIX)
asm (".symver __netf2_compat,__netf2@GCC_3.0");
asm (".symver __netf2_shared,__netf2@@GCC_4.3.0");
#endif
diff --git a/libgcc/config/i386/64/getf2.c b/libgcc/config/i386/64/getf2.c
index 280447c1e..19cce1408 100644
--- a/libgcc/config/i386/64/getf2.c
+++ b/libgcc/config/i386/64/getf2.c
@@ -1,14 +1,18 @@
#ifdef SHARED
+#ifndef __MIDIPIX
#define __gttf2 __gttf2_shared
#endif
+#endif
#include "config/soft-fp/getf2.c"
#ifdef SHARED
+#ifndef __MIDIPIX
#undef __gttf2
strong_alias (__gttf2_shared, __gttf2_compat);
+#endif
-#ifndef _WIN32
+#if !defined(_WIN32) && !defined(__MIDIPIX)
asm (".symver __gttf2_compat,__gttf2@GCC_3.0");
asm (".symver __gttf2_shared,__gttf2@@GCC_4.3.0");
#endif
diff --git a/libgcc/config/i386/64/letf2.c b/libgcc/config/i386/64/letf2.c
index 81e0881c8..32b763d74 100644
--- a/libgcc/config/i386/64/letf2.c
+++ b/libgcc/config/i386/64/letf2.c
@@ -1,14 +1,18 @@
#ifdef SHARED
+#ifndef __MIDIPIX
#define __lttf2 __lttf2_shared
#endif
+#endif
#include "config/soft-fp/letf2.c"
#ifdef SHARED
+#ifndef __MIDIPIX
#undef __lttf2
strong_alias (__lttf2_shared, __lttf2_compat);
+#endif
-#ifndef _WIN32
+#if !defined(_WIN32) && !defined(__MIDIPIX)
asm (".symver __lttf2_compat,__lttf2@GCC_3.0");
asm (".symver __lttf2_shared,__lttf2@@GCC_4.3.0");
#endif