diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2010-11-13 23:26:21 +0100 |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2010-11-13 23:26:21 +0100 |
commit | 25953c386f8a4ca580bbe7c09e95d18492424c1d (patch) | |
tree | 6bcecd273f3df7b38351c8e8859d8ef87fefca79 /patches | |
parent | 0bd44044a8a5030822c78907b9b307e2de3ca91a (diff) | |
download | crosstool-ng-25953c386f8a4ca580bbe7c09e95d18492424c1d.tar.gz crosstool-ng-25953c386f8a4ca580bbe7c09e95d18492424c1d.tar.bz2 crosstool-ng-25953c386f8a4ca580bbe7c09e95d18492424c1d.zip |
cc/gcc: fix pr42289: incorrect alignment on OABI
Fix building libffi on OABI.
Although it has been marked as 4.3-only, it is stil not fixed,
and also applies to 4.4.x
See:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42289
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Diffstat (limited to 'patches')
7 files changed, 77 insertions, 0 deletions
diff --git a/patches/gcc/4.3.5/410-pr42289-fix-libffi-build-on-arm-oabi.patch b/patches/gcc/4.3.5/410-pr42289-fix-libffi-build-on-arm-oabi.patch new file mode 100644 index 00000000..8654879a --- /dev/null +++ b/patches/gcc/4.3.5/410-pr42289-fix-libffi-build-on-arm-oabi.patch @@ -0,0 +1,11 @@ +--- gcc-4.3.4/libffi/src/arm/sysv.S ++++ gcc-4.3.4/libffi/src/arm/sysv.S +@@ -235,7 +235,7 @@ ARM_FUNC_START ffi_closure_SYSV + stmfd sp!, {ip, lr} + UNWIND .save {r0, lr} + add r2, sp, #8 +- .pad #16 ++ UNWIND .pad #16 + sub sp, sp, #16 + str sp, [sp, #8] + add r1, sp, #8 diff --git a/patches/gcc/4.4.0/400-pr42289-fix-libffi-build-on-arm-oabi.patch b/patches/gcc/4.4.0/400-pr42289-fix-libffi-build-on-arm-oabi.patch new file mode 100644 index 00000000..8654879a --- /dev/null +++ b/patches/gcc/4.4.0/400-pr42289-fix-libffi-build-on-arm-oabi.patch @@ -0,0 +1,11 @@ +--- gcc-4.3.4/libffi/src/arm/sysv.S ++++ gcc-4.3.4/libffi/src/arm/sysv.S +@@ -235,7 +235,7 @@ ARM_FUNC_START ffi_closure_SYSV + stmfd sp!, {ip, lr} + UNWIND .save {r0, lr} + add r2, sp, #8 +- .pad #16 ++ UNWIND .pad #16 + sub sp, sp, #16 + str sp, [sp, #8] + add r1, sp, #8 diff --git a/patches/gcc/4.4.1/400-pr42289-fix-libffi-build-on-arm-oabi.patch b/patches/gcc/4.4.1/400-pr42289-fix-libffi-build-on-arm-oabi.patch new file mode 100644 index 00000000..8654879a --- /dev/null +++ b/patches/gcc/4.4.1/400-pr42289-fix-libffi-build-on-arm-oabi.patch @@ -0,0 +1,11 @@ +--- gcc-4.3.4/libffi/src/arm/sysv.S ++++ gcc-4.3.4/libffi/src/arm/sysv.S +@@ -235,7 +235,7 @@ ARM_FUNC_START ffi_closure_SYSV + stmfd sp!, {ip, lr} + UNWIND .save {r0, lr} + add r2, sp, #8 +- .pad #16 ++ UNWIND .pad #16 + sub sp, sp, #16 + str sp, [sp, #8] + add r1, sp, #8 diff --git a/patches/gcc/4.4.2/400-pr42289-fix-libffi-build-on-arm-oabi.patch b/patches/gcc/4.4.2/400-pr42289-fix-libffi-build-on-arm-oabi.patch new file mode 100644 index 00000000..8654879a --- /dev/null +++ b/patches/gcc/4.4.2/400-pr42289-fix-libffi-build-on-arm-oabi.patch @@ -0,0 +1,11 @@ +--- gcc-4.3.4/libffi/src/arm/sysv.S ++++ gcc-4.3.4/libffi/src/arm/sysv.S +@@ -235,7 +235,7 @@ ARM_FUNC_START ffi_closure_SYSV + stmfd sp!, {ip, lr} + UNWIND .save {r0, lr} + add r2, sp, #8 +- .pad #16 ++ UNWIND .pad #16 + sub sp, sp, #16 + str sp, [sp, #8] + add r1, sp, #8 diff --git a/patches/gcc/4.4.3/400-pr42289-fix-libffi-build-on-arm-oabi.patch b/patches/gcc/4.4.3/400-pr42289-fix-libffi-build-on-arm-oabi.patch new file mode 100644 index 00000000..8654879a --- /dev/null +++ b/patches/gcc/4.4.3/400-pr42289-fix-libffi-build-on-arm-oabi.patch @@ -0,0 +1,11 @@ +--- gcc-4.3.4/libffi/src/arm/sysv.S ++++ gcc-4.3.4/libffi/src/arm/sysv.S +@@ -235,7 +235,7 @@ ARM_FUNC_START ffi_closure_SYSV + stmfd sp!, {ip, lr} + UNWIND .save {r0, lr} + add r2, sp, #8 +- .pad #16 ++ UNWIND .pad #16 + sub sp, sp, #16 + str sp, [sp, #8] + add r1, sp, #8 diff --git a/patches/gcc/4.4.4/400-pr42289-fix-libffi-build-on-arm-oabi.patch b/patches/gcc/4.4.4/400-pr42289-fix-libffi-build-on-arm-oabi.patch new file mode 100644 index 00000000..8654879a --- /dev/null +++ b/patches/gcc/4.4.4/400-pr42289-fix-libffi-build-on-arm-oabi.patch @@ -0,0 +1,11 @@ +--- gcc-4.3.4/libffi/src/arm/sysv.S ++++ gcc-4.3.4/libffi/src/arm/sysv.S +@@ -235,7 +235,7 @@ ARM_FUNC_START ffi_closure_SYSV + stmfd sp!, {ip, lr} + UNWIND .save {r0, lr} + add r2, sp, #8 +- .pad #16 ++ UNWIND .pad #16 + sub sp, sp, #16 + str sp, [sp, #8] + add r1, sp, #8 diff --git a/patches/gcc/4.4.5/400-pr42289-fix-libffi-build-on-arm-oabi.patch b/patches/gcc/4.4.5/400-pr42289-fix-libffi-build-on-arm-oabi.patch new file mode 100644 index 00000000..8654879a --- /dev/null +++ b/patches/gcc/4.4.5/400-pr42289-fix-libffi-build-on-arm-oabi.patch @@ -0,0 +1,11 @@ +--- gcc-4.3.4/libffi/src/arm/sysv.S ++++ gcc-4.3.4/libffi/src/arm/sysv.S +@@ -235,7 +235,7 @@ ARM_FUNC_START ffi_closure_SYSV + stmfd sp!, {ip, lr} + UNWIND .save {r0, lr} + add r2, sp, #8 +- .pad #16 ++ UNWIND .pad #16 + sub sp, sp, #16 + str sp, [sp, #8] + add r1, sp, #8 |