diff options
author | Khem Raj <raj.khem@gmail.com> | 2010-05-14 20:38:40 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2010-05-14 20:38:40 -0700 |
commit | 5203790c015a01b4ea3a1c0a75726773fb31a639 (patch) | |
tree | 1ecc5bcb348cc21cc26a4bb42445f45d2293329c /recipes/gcc/gcc-4.4.4.inc | |
parent | 20287a5b1ebb8b8d5ca047df8891bbab2e0f1ae6 (diff) |
gcc-4.4.4.inc: Fix ppc issues of requiring libgcc at link time when using -Os
* This change converts libgcc_s.so to a linker script so when -lgcc_s is
used then it actually links to a group of libraries and one of those
libraries is libgcc. This fixes the problem of requiring to link with
libgcc _always_ on ppc to get the out-of-line epilogue/prologue
functions.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'recipes/gcc/gcc-4.4.4.inc')
-rw-r--r-- | recipes/gcc/gcc-4.4.4.inc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/recipes/gcc/gcc-4.4.4.inc b/recipes/gcc/gcc-4.4.4.inc index da8e27e66b..de916112b8 100644 --- a/recipes/gcc/gcc-4.4.4.inc +++ b/recipes/gcc/gcc-4.4.4.inc @@ -8,7 +8,7 @@ LICENSE = "GPLv3" DEPENDS = "mpfr gmp" NATIVEDEPS = "mpfr-native gmp-native" -INC_PR = "r0" +INC_PR = "r1" FILESPATHPKG .= ":gcc-$PV" @@ -25,6 +25,7 @@ SRC_URI = "${GNU_MIRROR}/gcc/gcc-${PV}/gcc-${PV}.tar.bz2;name=gcc444tarbz2 \ file://gcc-ppc_add_d_constraint.patch;patch=1 \ file://gcc-pr41175.patch;patch=1 \ file://gcc-armv4-pass-fix-v4bx-to-ld.patch;patch=1 \ + file://gcc-add-t-slibgcc-libgcc.patch;patch=1 \ " SRC_URI[gcc444tarbz2.md5sum] = "7ff5ce9e5f0b088ab48720bbd7203530" SRC_URI[gcc444tarbz2.sha256sum] = "e1c13696b45752ad3f652304fab5120a43a8a5c0f438d3bda78cf16b620c0c58" |