bump version
[buildroot.git] / toolchain / gcc / 3.3.5 / 810-arm-bigendian-uclibc.patch
blob7e14f341fc068053c31c65b4cb982c17be4069cb
1 --- gcc-3.3.5-dist/gcc/config/arm/linux-elf.h
2 +++ gcc-3.3.5/gcc/config/arm/linux-elf.h
3 @@ -106,7 +106,7 @@
4 %{rdynamic:-export-dynamic} \
5 %{!dynamic-linker:-dynamic-linker /lib/ld-uClibc.so.0} \
6 -X \
7 - %{mbig-endian:-EB}" \
8 + %{mbig-endian:-EB} %{mlittle-endian:-EL}" \
9 SUBTARGET_EXTRA_LINK_SPEC
10 #else
11 #define LINK_SPEC "%{h*} %{version:-v} \
12 --- gcc-3.3.5-dist/gcc/config.gcc
13 +++ gcc-3.3.5/gcc/config.gcc
14 @@ -699,6 +699,11 @@
16 arm*-*-linux-uclibc*) # ARM GNU/Linux with ELF - uClibc
17 tm_file="dbxelf.h elfos.h arm/unknown-elf.h arm/elf.h arm/aout.h arm/arm.h arm/linux-gas.h arm/linux-elf.h"
18 + case $target in
19 + arm*b-*)
20 + tm_defines="TARGET_BIG_ENDIAN_DEFAULT=1 $tm_defines"
21 + ;;
22 + esac
23 tmake_file="t-slibgcc-elf-ver t-linux-uclibc arm/t-linux"
24 extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
25 gnu_ld=yes