gcc: fix arm libgcc issues with 4.8.0 and 4.8-linaro
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 36864
This commit is contained in:
parent
1beaf031d1
commit
2befaa2f0d
2 changed files with 22 additions and 0 deletions
|
@ -12,3 +12,14 @@
|
||||||
|
|
||||||
# Just for these, we omit the frame pointer since it makes such a big
|
# Just for these, we omit the frame pointer since it makes such a big
|
||||||
# difference.
|
# difference.
|
||||||
|
--- a/gcc/config/arm/linux-elf.h
|
||||||
|
+++ b/gcc/config/arm/linux-elf.h
|
||||||
|
@@ -55,8 +55,6 @@
|
||||||
|
%{shared:-lc} \
|
||||||
|
%{!shared:%{profile:-lc_p}%{!profile:-lc}}"
|
||||||
|
|
||||||
|
-#define LIBGCC_SPEC "%{mfloat-abi=soft*:-lfloat} -lgcc"
|
||||||
|
-
|
||||||
|
#define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.2"
|
||||||
|
|
||||||
|
#define LINUX_TARGET_LINK_SPEC "%{h*} \
|
||||||
|
|
|
@ -12,3 +12,14 @@
|
||||||
|
|
||||||
# Just for these, we omit the frame pointer since it makes such a big
|
# Just for these, we omit the frame pointer since it makes such a big
|
||||||
# difference.
|
# difference.
|
||||||
|
--- a/gcc/config/arm/linux-elf.h
|
||||||
|
+++ b/gcc/config/arm/linux-elf.h
|
||||||
|
@@ -55,8 +55,6 @@
|
||||||
|
%{shared:-lc} \
|
||||||
|
%{!shared:%{profile:-lc_p}%{!profile:-lc}}"
|
||||||
|
|
||||||
|
-#define LIBGCC_SPEC "%{mfloat-abi=soft*:-lfloat} -lgcc"
|
||||||
|
-
|
||||||
|
#define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.2"
|
||||||
|
|
||||||
|
#define LINUX_TARGET_LINK_SPEC "%{h*} \
|
||||||
|
|
Loading…
Reference in a new issue