From 972f9e63e1591377d33eb767ac6ba42ebac14161 Mon Sep 17 00:00:00 2001 From: Jay Freeman Date: Wed, 9 Apr 2008 19:18:55 +0000 Subject: Renaming llvm-gcc to iphone-gcc. git-svn-id: http://svn.telesphoreo.org/trunk@205 514c082c-b64e-11dc-b46d-3d985efe055d --- data/iphone-gcc/_metadata/description | 1 + data/iphone-gcc/_metadata/license | 1 + data/iphone-gcc/_metadata/maintainer | 1 + data/iphone-gcc/_metadata/name | 1 + data/iphone-gcc/_metadata/preinst | 4 ++ data/iphone-gcc/_metadata/priority | 1 + data/iphone-gcc/_metadata/section | 1 + data/iphone-gcc/_metadata/version | 1 + data/iphone-gcc/libstdc++.diff | 12 ++++ data/iphone-gcc/llvm-gcc-4.2-47984.tgz | Bin 0 -> 54950805 bytes data/iphone-gcc/macros.diff | 115 +++++++++++++++++++++++++++++++++ data/iphone-gcc/typo.diff | 12 ++++ data/iphone-gcc/warning.diff | 11 ++++ data/llvm-gcc/_metadata/description | 1 - data/llvm-gcc/_metadata/license | 1 - data/llvm-gcc/_metadata/maintainer | 1 - data/llvm-gcc/_metadata/name | 1 - data/llvm-gcc/_metadata/preinst | 4 -- data/llvm-gcc/_metadata/priority | 1 - data/llvm-gcc/_metadata/section | 1 - data/llvm-gcc/_metadata/version | 1 - data/llvm-gcc/libstdc++.diff | 12 ---- data/llvm-gcc/llvm-gcc-4.2-47984.tgz | Bin 54950805 -> 0 bytes data/llvm-gcc/macros.diff | 115 --------------------------------- data/llvm-gcc/typo.diff | 12 ---- data/llvm-gcc/warning.diff | 11 ---- 26 files changed, 161 insertions(+), 161 deletions(-) create mode 100644 data/iphone-gcc/_metadata/description create mode 120000 data/iphone-gcc/_metadata/license create mode 120000 data/iphone-gcc/_metadata/maintainer create mode 100644 data/iphone-gcc/_metadata/name create mode 100755 data/iphone-gcc/_metadata/preinst create mode 100644 data/iphone-gcc/_metadata/priority create mode 100644 data/iphone-gcc/_metadata/section create mode 100644 data/iphone-gcc/_metadata/version create mode 100644 data/iphone-gcc/libstdc++.diff create mode 100644 data/iphone-gcc/llvm-gcc-4.2-47984.tgz create mode 100644 data/iphone-gcc/macros.diff create mode 100644 data/iphone-gcc/typo.diff create mode 100644 data/iphone-gcc/warning.diff delete mode 100644 data/llvm-gcc/_metadata/description delete mode 120000 data/llvm-gcc/_metadata/license delete mode 120000 data/llvm-gcc/_metadata/maintainer delete mode 100644 data/llvm-gcc/_metadata/name delete mode 100755 data/llvm-gcc/_metadata/preinst delete mode 100644 data/llvm-gcc/_metadata/priority delete mode 100644 data/llvm-gcc/_metadata/section delete mode 100644 data/llvm-gcc/_metadata/version delete mode 100644 data/llvm-gcc/libstdc++.diff delete mode 100644 data/llvm-gcc/llvm-gcc-4.2-47984.tgz delete mode 100644 data/llvm-gcc/macros.diff delete mode 100644 data/llvm-gcc/typo.diff delete mode 100644 data/llvm-gcc/warning.diff (limited to 'data') diff --git a/data/iphone-gcc/_metadata/description b/data/iphone-gcc/_metadata/description new file mode 100644 index 000000000..df2526d16 --- /dev/null +++ b/data/iphone-gcc/_metadata/description @@ -0,0 +1 @@ +seriously. really. but it's beta ;P. diff --git a/data/iphone-gcc/_metadata/license b/data/iphone-gcc/_metadata/license new file mode 120000 index 000000000..9c13a9a0f --- /dev/null +++ b/data/iphone-gcc/_metadata/license @@ -0,0 +1 @@ +../../../licenses/gpl-2 \ No newline at end of file diff --git a/data/iphone-gcc/_metadata/maintainer b/data/iphone-gcc/_metadata/maintainer new file mode 120000 index 000000000..0fa66e077 --- /dev/null +++ b/data/iphone-gcc/_metadata/maintainer @@ -0,0 +1 @@ +../../../people/saurik \ No newline at end of file diff --git a/data/iphone-gcc/_metadata/name b/data/iphone-gcc/_metadata/name new file mode 100644 index 000000000..e564be509 --- /dev/null +++ b/data/iphone-gcc/_metadata/name @@ -0,0 +1 @@ +GNU C Compiler diff --git a/data/iphone-gcc/_metadata/preinst b/data/iphone-gcc/_metadata/preinst new file mode 100755 index 000000000..9a18a8c21 --- /dev/null +++ b/data/iphone-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/iphone-gcc/_metadata/priority b/data/iphone-gcc/_metadata/priority new file mode 100644 index 000000000..134d9bc32 --- /dev/null +++ b/data/iphone-gcc/_metadata/priority @@ -0,0 +1 @@ +optional diff --git a/data/iphone-gcc/_metadata/section b/data/iphone-gcc/_metadata/section new file mode 100644 index 000000000..e0eb96881 --- /dev/null +++ b/data/iphone-gcc/_metadata/section @@ -0,0 +1 @@ +Development diff --git a/data/iphone-gcc/_metadata/version b/data/iphone-gcc/_metadata/version new file mode 100644 index 000000000..2f4327f07 --- /dev/null +++ b/data/iphone-gcc/_metadata/version @@ -0,0 +1 @@ +4.2-47984 diff --git a/data/iphone-gcc/libstdc++.diff b/data/iphone-gcc/libstdc++.diff new file mode 100644 index 000000000..e327b8d00 --- /dev/null +++ b/data/iphone-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/iphone-gcc/llvm-gcc-4.2-47984.tgz b/data/iphone-gcc/llvm-gcc-4.2-47984.tgz new file mode 100644 index 000000000..766f31734 Binary files /dev/null and b/data/iphone-gcc/llvm-gcc-4.2-47984.tgz differ diff --git a/data/iphone-gcc/macros.diff b/data/iphone-gcc/macros.diff new file mode 100644 index 000000000..938485df0 --- /dev/null +++ b/data/iphone-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/iphone-gcc/typo.diff b/data/iphone-gcc/typo.diff new file mode 100644 index 000000000..4bf4daf82 --- /dev/null +++ b/data/iphone-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/iphone-gcc/warning.diff b/data/iphone-gcc/warning.diff new file mode 100644 index 000000000..a3134e0ef --- /dev/null +++ b/data/iphone-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 diff --git a/data/llvm-gcc/_metadata/description b/data/llvm-gcc/_metadata/description deleted file mode 100644 index df2526d16..000000000 --- a/data/llvm-gcc/_metadata/description +++ /dev/null @@ -1 +0,0 @@ -seriously. really. but it's beta ;P. diff --git a/data/llvm-gcc/_metadata/license b/data/llvm-gcc/_metadata/license deleted file mode 120000 index 9c13a9a0f..000000000 --- a/data/llvm-gcc/_metadata/license +++ /dev/null @@ -1 +0,0 @@ -../../../licenses/gpl-2 \ No newline at end of file diff --git a/data/llvm-gcc/_metadata/maintainer b/data/llvm-gcc/_metadata/maintainer deleted file mode 120000 index 0fa66e077..000000000 --- a/data/llvm-gcc/_metadata/maintainer +++ /dev/null @@ -1 +0,0 @@ -../../../people/saurik \ No newline at end of file diff --git a/data/llvm-gcc/_metadata/name b/data/llvm-gcc/_metadata/name deleted file mode 100644 index e564be509..000000000 --- a/data/llvm-gcc/_metadata/name +++ /dev/null @@ -1 +0,0 @@ -GNU C Compiler diff --git a/data/llvm-gcc/_metadata/preinst b/data/llvm-gcc/_metadata/preinst deleted file mode 100755 index 9a18a8c21..000000000 --- a/data/llvm-gcc/_metadata/preinst +++ /dev/null @@ -1,4 +0,0 @@ -#!/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 deleted file mode 100644 index 134d9bc32..000000000 --- a/data/llvm-gcc/_metadata/priority +++ /dev/null @@ -1 +0,0 @@ -optional diff --git a/data/llvm-gcc/_metadata/section b/data/llvm-gcc/_metadata/section deleted file mode 100644 index e0eb96881..000000000 --- a/data/llvm-gcc/_metadata/section +++ /dev/null @@ -1 +0,0 @@ -Development diff --git a/data/llvm-gcc/_metadata/version b/data/llvm-gcc/_metadata/version deleted file mode 100644 index 2f4327f07..000000000 --- a/data/llvm-gcc/_metadata/version +++ /dev/null @@ -1 +0,0 @@ -4.2-47984 diff --git a/data/llvm-gcc/libstdc++.diff b/data/llvm-gcc/libstdc++.diff deleted file mode 100644 index e327b8d00..000000000 --- a/data/llvm-gcc/libstdc++.diff +++ /dev/null @@ -1,12 +0,0 @@ -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 deleted file mode 100644 index 766f31734..000000000 Binary files a/data/llvm-gcc/llvm-gcc-4.2-47984.tgz and /dev/null differ diff --git a/data/llvm-gcc/macros.diff b/data/llvm-gcc/macros.diff deleted file mode 100644 index 938485df0..000000000 --- a/data/llvm-gcc/macros.diff +++ /dev/null @@ -1,115 +0,0 @@ -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 deleted file mode 100644 index 4bf4daf82..000000000 --- a/data/llvm-gcc/typo.diff +++ /dev/null @@ -1,12 +0,0 @@ -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 deleted file mode 100644 index a3134e0ef..000000000 --- a/data/llvm-gcc/warning.diff +++ /dev/null @@ -1,11 +0,0 @@ -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 -- cgit v1.2.3