diff options
author | Jay Freeman <saurik@saurik.com> | 2008-03-08 11:57:15 +0000 |
---|---|---|
committer | Jay Freeman <saurik@saurik.com> | 2008-03-08 11:57:15 +0000 |
commit | e3809be6988c3a469617e21abb0cdd1a446cc10c (patch) | |
tree | 2c4976a3454e0e013fc76e2ffdf4eac2e6c6241a /data | |
parent | 9873dd912f535df7403f52f225d2f61af52b6abc (diff) |
Committing the initial (broken) version of llvm-gcc.
git-svn-id: http://svn.telesphoreo.org/trunk@168 514c082c-b64e-11dc-b46d-3d985efe055d
Diffstat (limited to 'data')
-rw-r--r-- | data/llvm-gcc/_metadata/description | 1 | ||||
l--------- | data/llvm-gcc/_metadata/license | 1 | ||||
l--------- | data/llvm-gcc/_metadata/maintainer | 1 | ||||
-rw-r--r-- | data/llvm-gcc/_metadata/name | 1 | ||||
-rwxr-xr-x | data/llvm-gcc/_metadata/preinst | 4 | ||||
-rw-r--r-- | data/llvm-gcc/_metadata/priority | 1 | ||||
-rw-r--r-- | data/llvm-gcc/_metadata/section | 1 | ||||
-rw-r--r-- | data/llvm-gcc/_metadata/version | 1 | ||||
-rw-r--r-- | data/llvm-gcc/libstdc++.diff | 12 | ||||
-rw-r--r-- | data/llvm-gcc/llvm-gcc-4.2-47984.tgz | bin | 0 -> 54950805 bytes | |||
-rw-r--r-- | data/llvm-gcc/macros.diff | 115 | ||||
-rw-r--r-- | data/llvm-gcc/typo.diff | 12 | ||||
-rw-r--r-- | data/llvm-gcc/warning.diff | 11 |
13 files changed, 161 insertions, 0 deletions
diff --git a/data/llvm-gcc/_metadata/description b/data/llvm-gcc/_metadata/description new file mode 100644 index 000000000..df2526d16 --- /dev/null +++ b/data/llvm-gcc/_metadata/description @@ -0,0 +1 @@ +seriously. really. but it's beta ;P. diff --git a/data/llvm-gcc/_metadata/license b/data/llvm-gcc/_metadata/license new file mode 120000 index 000000000..9c13a9a0f --- /dev/null +++ b/data/llvm-gcc/_metadata/license @@ -0,0 +1 @@ +../../../licenses/gpl-2
\ No newline at end of file diff --git a/data/llvm-gcc/_metadata/maintainer b/data/llvm-gcc/_metadata/maintainer new file mode 120000 index 000000000..0fa66e077 --- /dev/null +++ b/data/llvm-gcc/_metadata/maintainer @@ -0,0 +1 @@ +../../../people/saurik
\ No newline at end of file diff --git a/data/llvm-gcc/_metadata/name b/data/llvm-gcc/_metadata/name new file mode 100644 index 000000000..e564be509 --- /dev/null +++ b/data/llvm-gcc/_metadata/name @@ -0,0 +1 @@ +GNU C Compiler diff --git a/data/llvm-gcc/_metadata/preinst b/data/llvm-gcc/_metadata/preinst new file mode 100755 index 000000000..9a18a8c21 --- /dev/null +++ b/data/llvm-gcc/_metadata/preinst @@ -0,0 +1,4 @@ +#!/bin/bash +mkdir -p /var/libexec/gcc +ln -sf /var/libexec/gcc /usr/libexec +exit 0 diff --git a/data/llvm-gcc/_metadata/priority b/data/llvm-gcc/_metadata/priority new file mode 100644 index 000000000..134d9bc32 --- /dev/null +++ b/data/llvm-gcc/_metadata/priority @@ -0,0 +1 @@ +optional diff --git a/data/llvm-gcc/_metadata/section b/data/llvm-gcc/_metadata/section new file mode 100644 index 000000000..e0eb96881 --- /dev/null +++ b/data/llvm-gcc/_metadata/section @@ -0,0 +1 @@ +Development diff --git a/data/llvm-gcc/_metadata/version b/data/llvm-gcc/_metadata/version new file mode 100644 index 000000000..2f4327f07 --- /dev/null +++ b/data/llvm-gcc/_metadata/version @@ -0,0 +1 @@ +4.2-47984 diff --git a/data/llvm-gcc/libstdc++.diff b/data/llvm-gcc/libstdc++.diff new file mode 100644 index 000000000..e327b8d00 --- /dev/null +++ b/data/llvm-gcc/libstdc++.diff @@ -0,0 +1,12 @@ +diff -ru llvm-gcc-4.2-47984/configure llvm-gcc-4.2-47984+iPhone/configure +--- llvm-gcc-4.2-47984/configure 2008-01-22 01:38:56.000000000 +0000 ++++ llvm-gcc-4.2-47984+iPhone/configure 2008-03-06 12:37:33.000000000 +0000 +@@ -1211,7 +1211,7 @@ + # APPLE LOCAL begin ARM darwin target + arm-*-darwin*) + noconfigdirs="$noconfigdirs target-libgomp target-libobjc" +- noconfigdirs="$noconfigdirs target-libstdc++-v3 target-libssp" ++ noconfigdirs="$noconfigdirs target-libssp" + # LLVM LOCAL begin + noconfigdirs="$noconfigdirs target-boehm-gc target-libffi" + noconfigdirs="$noconfigdirs target-libjava" diff --git a/data/llvm-gcc/llvm-gcc-4.2-47984.tgz b/data/llvm-gcc/llvm-gcc-4.2-47984.tgz Binary files differnew file mode 100644 index 000000000..766f31734 --- /dev/null +++ b/data/llvm-gcc/llvm-gcc-4.2-47984.tgz diff --git a/data/llvm-gcc/macros.diff b/data/llvm-gcc/macros.diff new file mode 100644 index 000000000..938485df0 --- /dev/null +++ b/data/llvm-gcc/macros.diff @@ -0,0 +1,115 @@ +diff -ru llvm-gcc-4.2-47984/gcc/config/arm/lib1funcs.asm llvm-gcc-4.2-47984+iPhone/gcc/config/arm/lib1funcs.asm +--- llvm-gcc-4.2-47984/gcc/config/arm/lib1funcs.asm 2007-11-09 02:30:15.000000000 +0000 ++++ llvm-gcc-4.2-47984+iPhone/gcc/config/arm/lib1funcs.asm 2008-03-06 10:32:22.000000000 +0000 +@@ -232,11 +232,7 @@ + .endm + + .macro FUNC_END name +-#if defined(__MACH__) +- SIZE (__$0) +-#else + SIZE (__\name) +-#endif + .endm + + .macro DIV_FUNC_END name +@@ -249,26 +245,15 @@ + #else + ARM_LDIV0 \name + #endif +-#if defined(__MACH__) +- FUNC_END $0 +-#else + cfi_end LSYM(Lend_div0) + FUNC_END \name +-#endif + .endm + + .macro THUMB_FUNC_START name +-#if defined(__MACH__) +- .globl SYM ($0) +- TYPE ($0) +- .thumb_func +-SYM ($0): +-#else + .globl SYM (\name) + TYPE (\name) + .thumb_func + SYM (\name): +-#endif + .endm + /* APPLE LOCAL end ARM MACH assembler */ + +@@ -288,15 +273,6 @@ + + /* APPLE LOCAL begin ARM MACH assembler */ + .macro FUNC_START name +-#if defined(__MACH__) +- .text +- .globl SYM (__$0) +- TYPE (__$0) +- FUNC_ALIGN +- THUMB_CODE +- THUMB_FUNC +-SYM (__$0): +-#else + .text + .globl SYM (__\name) + TYPE (__\name) +@@ -304,7 +280,6 @@ + THUMB_CODE + THUMB_FUNC + SYM (__\name): +-#endif + .endm + + /* Special function that will always be coded in ARM assembly, even if +@@ -323,47 +298,26 @@ + .arm + /* A hook to tell gdb that we've switched to ARM mode. Also used to call + directly from other local arm routines. */ +-#if defined(__MACH__) +-_L__$0: +-#else + _L__\name: +-#endif + .endm + #define EQUIV .thumb_set + /* Branch directly to a function declared with ARM_FUNC_START. + Must be called in arm mode. */ + .macro ARM_CALL name +-#if defined(__MACH__) +- bl _L__$0 +-#else + bl _L__\name +-#endif + .endm + #else + .macro ARM_FUNC_START name +-#if defined(__MACH__) +- .text +- .globl SYM (__$0) +- TYPE (__$0) +- .align 0 +- .arm +-SYM (__$0): +-#else + .text + .globl SYM (__\name) + TYPE (__\name) + .align 0 + .arm + SYM (__\name): +-#endif + .endm + #define EQUIV .set + .macro ARM_CALL name +-#if defined(__MACH__) +- bl SYM (__$0) +-#else +- bl __\name +-#endif ++ bl SYM (__\name) + .endm + #endif + diff --git a/data/llvm-gcc/typo.diff b/data/llvm-gcc/typo.diff new file mode 100644 index 000000000..4bf4daf82 --- /dev/null +++ b/data/llvm-gcc/typo.diff @@ -0,0 +1,12 @@ +diff -ru llvm-gcc-4.2-47984/gcc/llvm-abi.h llvm-gcc-4.2-47984+iPhone/gcc/llvm-abi.h +--- llvm-gcc-4.2-47984/gcc/llvm-abi.h 2008-03-06 02:50:05.000000000 +0000 ++++ llvm-gcc-4.2-47984+iPhone/gcc/llvm-abi.h 2008-03-06 12:37:55.000000000 +0000 +@@ -206,7 +206,7 @@ + // should be returned using the aggregate shadow (sret) convention, 0 otherwise. + // X may be evaluated more than once. + #ifndef LLVM_SHOULD_RETURN_VECTOR_AS_SHADOW +-#define LLVM_SHOULD_RETURN_VECTOR_AS_SHADOW(X) 0 ++#define LLVM_SHOULD_RETURN_VECTOR_AS_SHADOW(X,Y) 0 + #endif + + /// DefaultABI - This class implements the default LLVM ABI where structures are diff --git a/data/llvm-gcc/warning.diff b/data/llvm-gcc/warning.diff new file mode 100644 index 000000000..a3134e0ef --- /dev/null +++ b/data/llvm-gcc/warning.diff @@ -0,0 +1,11 @@ +diff -ru llvm-gcc-4.2-47984/gcc/config/darwin.h llvm-gcc-4.2-47984+iPhone/gcc/config/darwin.h +--- llvm-gcc-4.2-47984/gcc/config/darwin.h 2008-02-08 18:58:15.000000000 +0000 ++++ llvm-gcc-4.2-47984+iPhone/gcc/config/darwin.h 2008-03-06 12:38:16.000000000 +0000 +@@ -1038,6 +1038,7 @@ + /* Macros defining the various PIC cases. */ + + /* APPLE LOCAL mdynamic-no-pic */ ++#undef MACHO_DYNAMIC_NO_PIC_P + #define MACHO_DYNAMIC_NO_PIC_P (TARGET_MACHO_DYNAMIC_NO_PIC) + /* APPLE LOCAL begin mach-o cleanup */ + #undef MACHOPIC_INDIRECT |