changed default kernel to 2.6.28.5, it at least runs on
[openwrt.git] / toolchain / gcc / patches / 3.4.6 / 810-arm-bigendian-uclibc.patch
1 diff -urN gcc-3.4.1-dist/gcc/config/arm/linux-elf.h gcc-3.4.1/gcc/config/arm/linux-elf.h
2 --- gcc-3.4.1-dist/gcc/config/arm/linux-elf.h 2004-08-16 16:08:18.000000000 -0500
3 +++ gcc-3.4.1/gcc/config/arm/linux-elf.h 2004-08-16 16:06:24.000000000 -0500
4 @@ -107,7 +107,7 @@
5 %{rdynamic:-export-dynamic} \
6 %{!dynamic-linker:-dynamic-linker /lib/ld-uClibc.so.0} \
7 -X \
8 - %{mbig-endian:-EB}" \
9 + %{mbig-endian:-EB} %{mlittle-endian:-EL}" \
10 SUBTARGET_EXTRA_LINK_SPEC
11 #else
12 #define LINK_SPEC "%{h*} %{version:-v} \
13 diff -urN gcc-3.4.1-dist/gcc/config.gcc gcc-3.4.1/gcc/config.gcc
14 --- gcc-3.4.1-dist/gcc/config.gcc 2004-08-16 16:08:18.000000000 -0500
15 +++ gcc-3.4.1/gcc/config.gcc 2004-08-16 16:03:25.000000000 -0500
16 @@ -666,6 +666,11 @@
17 ;;
18 arm*-*-linux-uclibc*) # ARM GNU/Linux with ELF - uClibc
19 tm_file="dbxelf.h elfos.h linux.h arm/elf.h arm/linux-gas.h arm/linux-elf.h arm/aout.h arm/arm.h"
20 + case $target in
21 + arm*b-*)
22 + tm_defines="TARGET_BIG_ENDIAN_DEFAULT=1 $tm_defines"
23 + ;;
24 + esac
25 tmake_file="t-slibgcc-elf-ver t-linux-uclibc arm/t-linux"
26 extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
27 gnu_ld=yes
This page took 0.038401 seconds and 5 git commands to generate.