diff --git a/arm-ld-12643.diff b/arm-ld-12643.diff new file mode 100644 index 0000000..654a084 --- /dev/null +++ b/arm-ld-12643.diff @@ -0,0 +1,29 @@ +--- ld/configure.tgt ++++ ld/configure.tgt +@@ -71,7 +71,7 @@ + arm*-*-symbianelf*) targ_emul=armsymbian;; + arm-*-kaos*) targ_emul=armelf ;; + arm9e-*-elf) targ_emul=armelf ;; +-arm*b-*-linux-*eabi) targ_emul=armelfb_linux_eabi ++arm*b-*-linux-*eabi*) targ_emul=armelfb_linux_eabi + targ_extra_emuls=armelf_linux_eabi + targ_extra_libpath=$targ_extra_emuls + ;; +@@ -79,7 +79,7 @@ + targ_extra_emuls="armelfb armelf armelf_linux" + targ_extra_libpath="armelf_linux" + ;; +-arm*-*-linux-*eabi) targ_emul=armelf_linux_eabi ++arm*-*-linux-*eabi*) targ_emul=armelf_linux_eabi + targ_extra_emuls=armelfb_linux_eabi + targ_extra_libpath=$targ_extra_emuls + ;; +@@ -87,7 +87,7 @@ + targ_extra_emuls="armelf armelfb armelfb_linux" + targ_extra_libpath="armelfb_linux" + ;; +-arm*-*-uclinux*eabi) targ_emul=armelf_linux_eabi ++arm*-*-uclinux*eabi*) targ_emul=armelf_linux_eabi + targ_extra_emuls=armelfb_linux_eabi + targ_extra_libpath=$targ_extra_emuls + ;; diff --git a/binutils.changes b/binutils.changes index a8ae857..e0ab66f 100644 --- a/binutils.changes +++ b/binutils.changes @@ -1,3 +1,18 @@ +------------------------------------------------------------------- +Thu Sep 22 09:59:07 UTC 2011 - adrian@suse.de + +- use -gnueabi extension to switch to new abi for arm + +------------------------------------------------------------------- +Thu Sep 22 06:54:34 CEST 2011 - dmueller@suse.de + +- Add support for arm-*-gnueabihf targets (PR ld/12643) + +------------------------------------------------------------------- +Wed Sep 21 21:44:12 UTC 2011 - adrian@suse.de + +- add arm targets + ------------------------------------------------------------------- Mon Aug 29 08:09:15 UTC 2011 - rguenther@suse.com diff --git a/binutils.spec b/binutils.spec index 0166b9d..f1138a4 100644 --- a/binutils.spec +++ b/binutils.spec @@ -53,12 +53,12 @@ Release: 10 %define make_check_handling false %endif # handle all binary object formats supported by SuSE (and a few more) -%ifarch %ix86 ia64 ppc ppc64 s390 s390x x86_64 +%ifarch %ix86 %arm ia64 ppc ppc64 s390 s390x x86_64 %define build_multitarget 1 %else %define build_multitarget 0 %endif -%define target_list alpha arm hppa hppa64 i686 ia64 m68k mips powerpc powerpc64 s390 s390x sh4 sparc sparc64 x86_64 +%define target_list alpha armv5l armv7l armv8l hppa hppa64 i686 ia64 m68k mips powerpc powerpc64 s390 s390x sh4 sparc sparc64 x86_64 # # # @@ -99,6 +99,7 @@ Patch20: bso12982.diff # Too much fallout for now #Patch21: binutils-no-copy-dt-needed-default.patch Patch22: bnc713504.diff +Patch23: arm-ld-12643.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -289,7 +290,11 @@ Authors: %if "%{name}" != "binutils" %define TARGET %(echo %{name} | sed -e "s/cross-\\(.*\\)-binutils/\\1/;s/-/_/g;s/parisc/hppa/;s/i.86/i586/;s/ppc/powerpc/") %endif +%ifarch %{arm} armv5l armv7l armv8l +%define HOST %{_target_cpu}-suse-linux-gnueabi +%else %define HOST %(echo %{_target_cpu} | sed -e "s/parisc/hppa/" -e "s/i.86/i586/" -e "s/ppc/powerpc/" -e "s/sparc64v.*/sparc64/" -e "s/sparcv.*/sparc/")-suse-linux +%endif %define DIST %(echo '%distribution' | sed 's/ (.*)//') %prep @@ -316,6 +321,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch20 -p1 #%patch21 %patch22 +%patch23 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 @@ -354,6 +360,15 @@ EXTRA_TARGETS="$EXTRA_TARGETS,x86_64-suse-linux" %ifarch ppc ppc64 EXTRA_TARGETS="$EXTRA_TARGETS,spu-elf" %endif +%ifarch armv5l +EXTRA_TARGETS="$EXTRA_TARGETS,armv5l-suse-linux" +%endif +%ifarch armv7l +EXTRA_TARGETS="$EXTRA_TARGETS,armv7l-suse-linux" +%endif +%ifarch armv8l +EXTRA_TARGETS="$EXTRA_TARGETS,armv8l-suse-linux" +%endif %endif %define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\ --prefix=%{_prefix} --libdir=%{_libdir} \\\ @@ -379,9 +394,7 @@ make %{?_smp_mflags} %check export SUSE_ASNEEDED=0 cd build-dir -%ifnarch %arm make -k check CFLAGS="-O2 -g" CXXFLAGS="-O2 -g" || %{make_check_handling} -%endif # # # @@ -409,6 +422,9 @@ EXTRA_TARGETS="$EXTRA_TARGETS,x86_64-suse-linux" %if "%{TARGET}" == "hppa" EXTRA_TARGETS="$EXTRA_TARGETS,hppa64-suse-linux" %endif +%if "%{TARGET}" == "arm" +EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux" +%endif %if "%{TARGET}" == "avr" || "%{TARGET}" == "spu" TARGET_OS=%{TARGET} %else diff --git a/cross-alpha-binutils.changes b/cross-alpha-binutils.changes index a8ae857..e0ab66f 100644 --- a/cross-alpha-binutils.changes +++ b/cross-alpha-binutils.changes @@ -1,3 +1,18 @@ +------------------------------------------------------------------- +Thu Sep 22 09:59:07 UTC 2011 - adrian@suse.de + +- use -gnueabi extension to switch to new abi for arm + +------------------------------------------------------------------- +Thu Sep 22 06:54:34 CEST 2011 - dmueller@suse.de + +- Add support for arm-*-gnueabihf targets (PR ld/12643) + +------------------------------------------------------------------- +Wed Sep 21 21:44:12 UTC 2011 - adrian@suse.de + +- add arm targets + ------------------------------------------------------------------- Mon Aug 29 08:09:15 UTC 2011 - rguenther@suse.com diff --git a/cross-alpha-binutils.spec b/cross-alpha-binutils.spec index c4a7a89..704a14e 100644 --- a/cross-alpha-binutils.spec +++ b/cross-alpha-binutils.spec @@ -1,5 +1,5 @@ # -# spec file for package binutils +# spec file for package cross-alpha-binutils # # Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -17,7 +17,7 @@ -Name: cross-alpha-binutils +Name: cross-alpha-binutils BuildRequires: bison dejagnu flex gcc-c++ # for the testsuite %if 0%{suse_version} >= 1210 @@ -53,12 +53,12 @@ Release: 10 %define make_check_handling false %endif # handle all binary object formats supported by SuSE (and a few more) -%ifarch %ix86 ia64 ppc ppc64 s390 s390x x86_64 +%ifarch %ix86 %arm ia64 ppc ppc64 s390 s390x x86_64 %define build_multitarget 1 %else %define build_multitarget 0 %endif -%define target_list alpha arm hppa hppa64 i686 ia64 m68k mips powerpc powerpc64 s390 s390x sh4 sparc sparc64 x86_64 +%define target_list alpha armv5l armv7l armv8l hppa hppa64 i686 ia64 m68k mips powerpc powerpc64 s390 s390x sh4 sparc sparc64 x86_64 # # # @@ -99,6 +99,7 @@ Patch20: bso12982.diff # Too much fallout for now #Patch21: binutils-no-copy-dt-needed-default.patch Patch22: bnc713504.diff +Patch23: arm-ld-12643.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -261,7 +262,11 @@ Authors: %if "%{name}" != "binutils" %define TARGET %(echo %{name} | sed -e "s/cross-\\(.*\\)-binutils/\\1/;s/-/_/g;s/parisc/hppa/;s/i.86/i586/;s/ppc/powerpc/") %endif +%ifarch %{arm} armv5l armv7l armv8l +%define HOST %{_target_cpu}-suse-linux-gnueabi +%else %define HOST %(echo %{_target_cpu} | sed -e "s/parisc/hppa/" -e "s/i.86/i586/" -e "s/ppc/powerpc/" -e "s/sparc64v.*/sparc64/" -e "s/sparcv.*/sparc/")-suse-linux +%endif %define DIST %(echo '%distribution' | sed 's/ (.*)//') %prep @@ -288,6 +293,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch20 -p1 #%patch21 %patch22 +%patch23 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 @@ -326,6 +332,15 @@ EXTRA_TARGETS="$EXTRA_TARGETS,x86_64-suse-linux" %ifarch ppc ppc64 EXTRA_TARGETS="$EXTRA_TARGETS,spu-elf" %endif +%ifarch armv5l +EXTRA_TARGETS="$EXTRA_TARGETS,armv5l-suse-linux" +%endif +%ifarch armv7l +EXTRA_TARGETS="$EXTRA_TARGETS,armv7l-suse-linux" +%endif +%ifarch armv8l +EXTRA_TARGETS="$EXTRA_TARGETS,armv8l-suse-linux" +%endif %endif %define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\ --prefix=%{_prefix} --libdir=%{_libdir} \\\ @@ -348,9 +363,7 @@ make %{?_smp_mflags} %check export SUSE_ASNEEDED=0 cd build-dir -%ifnarch %arm make -k check CFLAGS="-O2 -g" CXXFLAGS="-O2 -g" || %{make_check_handling} -%endif # # # @@ -378,6 +391,9 @@ EXTRA_TARGETS="$EXTRA_TARGETS,x86_64-suse-linux" %if "%{TARGET}" == "hppa" EXTRA_TARGETS="$EXTRA_TARGETS,hppa64-suse-linux" %endif +%if "%{TARGET}" == "arm" +EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux" +%endif %if "%{TARGET}" == "avr" || "%{TARGET}" == "spu" TARGET_OS=%{TARGET} %else diff --git a/cross-arm-binutils.changes b/cross-arm-binutils.changes index a8ae857..e0ab66f 100644 --- a/cross-arm-binutils.changes +++ b/cross-arm-binutils.changes @@ -1,3 +1,18 @@ +------------------------------------------------------------------- +Thu Sep 22 09:59:07 UTC 2011 - adrian@suse.de + +- use -gnueabi extension to switch to new abi for arm + +------------------------------------------------------------------- +Thu Sep 22 06:54:34 CEST 2011 - dmueller@suse.de + +- Add support for arm-*-gnueabihf targets (PR ld/12643) + +------------------------------------------------------------------- +Wed Sep 21 21:44:12 UTC 2011 - adrian@suse.de + +- add arm targets + ------------------------------------------------------------------- Mon Aug 29 08:09:15 UTC 2011 - rguenther@suse.com diff --git a/cross-arm-binutils.spec b/cross-arm-binutils.spec index e11f4dd..b29176c 100644 --- a/cross-arm-binutils.spec +++ b/cross-arm-binutils.spec @@ -1,5 +1,5 @@ # -# spec file for package binutils +# spec file for package cross-arm-binutils # # Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -17,7 +17,7 @@ -Name: cross-arm-binutils +Name: cross-arm-binutils BuildRequires: bison dejagnu flex gcc-c++ # for the testsuite %if 0%{suse_version} >= 1210 @@ -53,12 +53,12 @@ Release: 10 %define make_check_handling false %endif # handle all binary object formats supported by SuSE (and a few more) -%ifarch %ix86 ia64 ppc ppc64 s390 s390x x86_64 +%ifarch %ix86 %arm ia64 ppc ppc64 s390 s390x x86_64 %define build_multitarget 1 %else %define build_multitarget 0 %endif -%define target_list alpha arm hppa hppa64 i686 ia64 m68k mips powerpc powerpc64 s390 s390x sh4 sparc sparc64 x86_64 +%define target_list alpha armv5l armv7l armv8l hppa hppa64 i686 ia64 m68k mips powerpc powerpc64 s390 s390x sh4 sparc sparc64 x86_64 # # # @@ -99,6 +99,7 @@ Patch20: bso12982.diff # Too much fallout for now #Patch21: binutils-no-copy-dt-needed-default.patch Patch22: bnc713504.diff +Patch23: arm-ld-12643.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -261,7 +262,11 @@ Authors: %if "%{name}" != "binutils" %define TARGET %(echo %{name} | sed -e "s/cross-\\(.*\\)-binutils/\\1/;s/-/_/g;s/parisc/hppa/;s/i.86/i586/;s/ppc/powerpc/") %endif +%ifarch %{arm} armv5l armv7l armv8l +%define HOST %{_target_cpu}-suse-linux-gnueabi +%else %define HOST %(echo %{_target_cpu} | sed -e "s/parisc/hppa/" -e "s/i.86/i586/" -e "s/ppc/powerpc/" -e "s/sparc64v.*/sparc64/" -e "s/sparcv.*/sparc/")-suse-linux +%endif %define DIST %(echo '%distribution' | sed 's/ (.*)//') %prep @@ -288,6 +293,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch20 -p1 #%patch21 %patch22 +%patch23 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 @@ -326,6 +332,15 @@ EXTRA_TARGETS="$EXTRA_TARGETS,x86_64-suse-linux" %ifarch ppc ppc64 EXTRA_TARGETS="$EXTRA_TARGETS,spu-elf" %endif +%ifarch armv5l +EXTRA_TARGETS="$EXTRA_TARGETS,armv5l-suse-linux" +%endif +%ifarch armv7l +EXTRA_TARGETS="$EXTRA_TARGETS,armv7l-suse-linux" +%endif +%ifarch armv8l +EXTRA_TARGETS="$EXTRA_TARGETS,armv8l-suse-linux" +%endif %endif %define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\ --prefix=%{_prefix} --libdir=%{_libdir} \\\ @@ -348,9 +363,7 @@ make %{?_smp_mflags} %check export SUSE_ASNEEDED=0 cd build-dir -%ifnarch %arm make -k check CFLAGS="-O2 -g" CXXFLAGS="-O2 -g" || %{make_check_handling} -%endif # # # @@ -378,6 +391,9 @@ EXTRA_TARGETS="$EXTRA_TARGETS,x86_64-suse-linux" %if "%{TARGET}" == "hppa" EXTRA_TARGETS="$EXTRA_TARGETS,hppa64-suse-linux" %endif +%if "%{TARGET}" == "arm" +EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux" +%endif %if "%{TARGET}" == "avr" || "%{TARGET}" == "spu" TARGET_OS=%{TARGET} %else diff --git a/cross-hppa-binutils.changes b/cross-hppa-binutils.changes index a8ae857..e0ab66f 100644 --- a/cross-hppa-binutils.changes +++ b/cross-hppa-binutils.changes @@ -1,3 +1,18 @@ +------------------------------------------------------------------- +Thu Sep 22 09:59:07 UTC 2011 - adrian@suse.de + +- use -gnueabi extension to switch to new abi for arm + +------------------------------------------------------------------- +Thu Sep 22 06:54:34 CEST 2011 - dmueller@suse.de + +- Add support for arm-*-gnueabihf targets (PR ld/12643) + +------------------------------------------------------------------- +Wed Sep 21 21:44:12 UTC 2011 - adrian@suse.de + +- add arm targets + ------------------------------------------------------------------- Mon Aug 29 08:09:15 UTC 2011 - rguenther@suse.com diff --git a/cross-hppa-binutils.spec b/cross-hppa-binutils.spec index 1506483..8d2203b 100644 --- a/cross-hppa-binutils.spec +++ b/cross-hppa-binutils.spec @@ -1,5 +1,5 @@ # -# spec file for package binutils +# spec file for package cross-hppa-binutils # # Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -17,7 +17,7 @@ -Name: cross-hppa-binutils +Name: cross-hppa-binutils BuildRequires: bison dejagnu flex gcc-c++ # for the testsuite %if 0%{suse_version} >= 1210 @@ -53,12 +53,12 @@ Release: 10 %define make_check_handling false %endif # handle all binary object formats supported by SuSE (and a few more) -%ifarch %ix86 ia64 ppc ppc64 s390 s390x x86_64 +%ifarch %ix86 %arm ia64 ppc ppc64 s390 s390x x86_64 %define build_multitarget 1 %else %define build_multitarget 0 %endif -%define target_list alpha arm hppa hppa64 i686 ia64 m68k mips powerpc powerpc64 s390 s390x sh4 sparc sparc64 x86_64 +%define target_list alpha armv5l armv7l armv8l hppa hppa64 i686 ia64 m68k mips powerpc powerpc64 s390 s390x sh4 sparc sparc64 x86_64 # # # @@ -99,6 +99,7 @@ Patch20: bso12982.diff # Too much fallout for now #Patch21: binutils-no-copy-dt-needed-default.patch Patch22: bnc713504.diff +Patch23: arm-ld-12643.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -261,7 +262,11 @@ Authors: %if "%{name}" != "binutils" %define TARGET %(echo %{name} | sed -e "s/cross-\\(.*\\)-binutils/\\1/;s/-/_/g;s/parisc/hppa/;s/i.86/i586/;s/ppc/powerpc/") %endif +%ifarch %{arm} armv5l armv7l armv8l +%define HOST %{_target_cpu}-suse-linux-gnueabi +%else %define HOST %(echo %{_target_cpu} | sed -e "s/parisc/hppa/" -e "s/i.86/i586/" -e "s/ppc/powerpc/" -e "s/sparc64v.*/sparc64/" -e "s/sparcv.*/sparc/")-suse-linux +%endif %define DIST %(echo '%distribution' | sed 's/ (.*)//') %prep @@ -288,6 +293,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch20 -p1 #%patch21 %patch22 +%patch23 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 @@ -326,6 +332,15 @@ EXTRA_TARGETS="$EXTRA_TARGETS,x86_64-suse-linux" %ifarch ppc ppc64 EXTRA_TARGETS="$EXTRA_TARGETS,spu-elf" %endif +%ifarch armv5l +EXTRA_TARGETS="$EXTRA_TARGETS,armv5l-suse-linux" +%endif +%ifarch armv7l +EXTRA_TARGETS="$EXTRA_TARGETS,armv7l-suse-linux" +%endif +%ifarch armv8l +EXTRA_TARGETS="$EXTRA_TARGETS,armv8l-suse-linux" +%endif %endif %define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\ --prefix=%{_prefix} --libdir=%{_libdir} \\\ @@ -348,9 +363,7 @@ make %{?_smp_mflags} %check export SUSE_ASNEEDED=0 cd build-dir -%ifnarch %arm make -k check CFLAGS="-O2 -g" CXXFLAGS="-O2 -g" || %{make_check_handling} -%endif # # # @@ -378,6 +391,9 @@ EXTRA_TARGETS="$EXTRA_TARGETS,x86_64-suse-linux" %if "%{TARGET}" == "hppa" EXTRA_TARGETS="$EXTRA_TARGETS,hppa64-suse-linux" %endif +%if "%{TARGET}" == "arm" +EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux" +%endif %if "%{TARGET}" == "avr" || "%{TARGET}" == "spu" TARGET_OS=%{TARGET} %else diff --git a/cross-hppa64-binutils.changes b/cross-hppa64-binutils.changes index a8ae857..e0ab66f 100644 --- a/cross-hppa64-binutils.changes +++ b/cross-hppa64-binutils.changes @@ -1,3 +1,18 @@ +------------------------------------------------------------------- +Thu Sep 22 09:59:07 UTC 2011 - adrian@suse.de + +- use -gnueabi extension to switch to new abi for arm + +------------------------------------------------------------------- +Thu Sep 22 06:54:34 CEST 2011 - dmueller@suse.de + +- Add support for arm-*-gnueabihf targets (PR ld/12643) + +------------------------------------------------------------------- +Wed Sep 21 21:44:12 UTC 2011 - adrian@suse.de + +- add arm targets + ------------------------------------------------------------------- Mon Aug 29 08:09:15 UTC 2011 - rguenther@suse.com diff --git a/cross-hppa64-binutils.spec b/cross-hppa64-binutils.spec index 3717de6..de6f66e 100644 --- a/cross-hppa64-binutils.spec +++ b/cross-hppa64-binutils.spec @@ -1,5 +1,5 @@ # -# spec file for package binutils +# spec file for package cross-hppa64-binutils # # Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -17,7 +17,7 @@ -Name: cross-hppa64-binutils +Name: cross-hppa64-binutils BuildRequires: bison dejagnu flex gcc-c++ # for the testsuite %if 0%{suse_version} >= 1210 @@ -53,12 +53,12 @@ Release: 10 %define make_check_handling false %endif # handle all binary object formats supported by SuSE (and a few more) -%ifarch %ix86 ia64 ppc ppc64 s390 s390x x86_64 +%ifarch %ix86 %arm ia64 ppc ppc64 s390 s390x x86_64 %define build_multitarget 1 %else %define build_multitarget 0 %endif -%define target_list alpha arm hppa hppa64 i686 ia64 m68k mips powerpc powerpc64 s390 s390x sh4 sparc sparc64 x86_64 +%define target_list alpha armv5l armv7l armv8l hppa hppa64 i686 ia64 m68k mips powerpc powerpc64 s390 s390x sh4 sparc sparc64 x86_64 # # # @@ -99,6 +99,7 @@ Patch20: bso12982.diff # Too much fallout for now #Patch21: binutils-no-copy-dt-needed-default.patch Patch22: bnc713504.diff +Patch23: arm-ld-12643.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -261,7 +262,11 @@ Authors: %if "%{name}" != "binutils" %define TARGET %(echo %{name} | sed -e "s/cross-\\(.*\\)-binutils/\\1/;s/-/_/g;s/parisc/hppa/;s/i.86/i586/;s/ppc/powerpc/") %endif +%ifarch %{arm} armv5l armv7l armv8l +%define HOST %{_target_cpu}-suse-linux-gnueabi +%else %define HOST %(echo %{_target_cpu} | sed -e "s/parisc/hppa/" -e "s/i.86/i586/" -e "s/ppc/powerpc/" -e "s/sparc64v.*/sparc64/" -e "s/sparcv.*/sparc/")-suse-linux +%endif %define DIST %(echo '%distribution' | sed 's/ (.*)//') %prep @@ -288,6 +293,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch20 -p1 #%patch21 %patch22 +%patch23 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 @@ -326,6 +332,15 @@ EXTRA_TARGETS="$EXTRA_TARGETS,x86_64-suse-linux" %ifarch ppc ppc64 EXTRA_TARGETS="$EXTRA_TARGETS,spu-elf" %endif +%ifarch armv5l +EXTRA_TARGETS="$EXTRA_TARGETS,armv5l-suse-linux" +%endif +%ifarch armv7l +EXTRA_TARGETS="$EXTRA_TARGETS,armv7l-suse-linux" +%endif +%ifarch armv8l +EXTRA_TARGETS="$EXTRA_TARGETS,armv8l-suse-linux" +%endif %endif %define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\ --prefix=%{_prefix} --libdir=%{_libdir} \\\ @@ -348,9 +363,7 @@ make %{?_smp_mflags} %check export SUSE_ASNEEDED=0 cd build-dir -%ifnarch %arm make -k check CFLAGS="-O2 -g" CXXFLAGS="-O2 -g" || %{make_check_handling} -%endif # # # @@ -378,6 +391,9 @@ EXTRA_TARGETS="$EXTRA_TARGETS,x86_64-suse-linux" %if "%{TARGET}" == "hppa" EXTRA_TARGETS="$EXTRA_TARGETS,hppa64-suse-linux" %endif +%if "%{TARGET}" == "arm" +EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux" +%endif %if "%{TARGET}" == "avr" || "%{TARGET}" == "spu" TARGET_OS=%{TARGET} %else diff --git a/cross-i386-binutils.changes b/cross-i386-binutils.changes index a8ae857..e0ab66f 100644 --- a/cross-i386-binutils.changes +++ b/cross-i386-binutils.changes @@ -1,3 +1,18 @@ +------------------------------------------------------------------- +Thu Sep 22 09:59:07 UTC 2011 - adrian@suse.de + +- use -gnueabi extension to switch to new abi for arm + +------------------------------------------------------------------- +Thu Sep 22 06:54:34 CEST 2011 - dmueller@suse.de + +- Add support for arm-*-gnueabihf targets (PR ld/12643) + +------------------------------------------------------------------- +Wed Sep 21 21:44:12 UTC 2011 - adrian@suse.de + +- add arm targets + ------------------------------------------------------------------- Mon Aug 29 08:09:15 UTC 2011 - rguenther@suse.com diff --git a/cross-i386-binutils.spec b/cross-i386-binutils.spec index 98bf737..65e93b1 100644 --- a/cross-i386-binutils.spec +++ b/cross-i386-binutils.spec @@ -1,5 +1,5 @@ # -# spec file for package binutils +# spec file for package cross-i386-binutils # # Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -17,7 +17,7 @@ -Name: cross-i386-binutils +Name: cross-i386-binutils BuildRequires: bison dejagnu flex gcc-c++ # for the testsuite %if 0%{suse_version} >= 1210 @@ -53,12 +53,12 @@ Release: 10 %define make_check_handling false %endif # handle all binary object formats supported by SuSE (and a few more) -%ifarch %ix86 ia64 ppc ppc64 s390 s390x x86_64 +%ifarch %ix86 %arm ia64 ppc ppc64 s390 s390x x86_64 %define build_multitarget 1 %else %define build_multitarget 0 %endif -%define target_list alpha arm hppa hppa64 i686 ia64 m68k mips powerpc powerpc64 s390 s390x sh4 sparc sparc64 x86_64 +%define target_list alpha armv5l armv7l armv8l hppa hppa64 i686 ia64 m68k mips powerpc powerpc64 s390 s390x sh4 sparc sparc64 x86_64 # # # @@ -99,6 +99,7 @@ Patch20: bso12982.diff # Too much fallout for now #Patch21: binutils-no-copy-dt-needed-default.patch Patch22: bnc713504.diff +Patch23: arm-ld-12643.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -261,7 +262,11 @@ Authors: %if "%{name}" != "binutils" %define TARGET %(echo %{name} | sed -e "s/cross-\\(.*\\)-binutils/\\1/;s/-/_/g;s/parisc/hppa/;s/i.86/i586/;s/ppc/powerpc/") %endif +%ifarch %{arm} armv5l armv7l armv8l +%define HOST %{_target_cpu}-suse-linux-gnueabi +%else %define HOST %(echo %{_target_cpu} | sed -e "s/parisc/hppa/" -e "s/i.86/i586/" -e "s/ppc/powerpc/" -e "s/sparc64v.*/sparc64/" -e "s/sparcv.*/sparc/")-suse-linux +%endif %define DIST %(echo '%distribution' | sed 's/ (.*)//') %prep @@ -288,6 +293,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch20 -p1 #%patch21 %patch22 +%patch23 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 @@ -326,6 +332,15 @@ EXTRA_TARGETS="$EXTRA_TARGETS,x86_64-suse-linux" %ifarch ppc ppc64 EXTRA_TARGETS="$EXTRA_TARGETS,spu-elf" %endif +%ifarch armv5l +EXTRA_TARGETS="$EXTRA_TARGETS,armv5l-suse-linux" +%endif +%ifarch armv7l +EXTRA_TARGETS="$EXTRA_TARGETS,armv7l-suse-linux" +%endif +%ifarch armv8l +EXTRA_TARGETS="$EXTRA_TARGETS,armv8l-suse-linux" +%endif %endif %define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\ --prefix=%{_prefix} --libdir=%{_libdir} \\\ @@ -348,9 +363,7 @@ make %{?_smp_mflags} %check export SUSE_ASNEEDED=0 cd build-dir -%ifnarch %arm make -k check CFLAGS="-O2 -g" CXXFLAGS="-O2 -g" || %{make_check_handling} -%endif # # # @@ -378,6 +391,9 @@ EXTRA_TARGETS="$EXTRA_TARGETS,x86_64-suse-linux" %if "%{TARGET}" == "hppa" EXTRA_TARGETS="$EXTRA_TARGETS,hppa64-suse-linux" %endif +%if "%{TARGET}" == "arm" +EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux" +%endif %if "%{TARGET}" == "avr" || "%{TARGET}" == "spu" TARGET_OS=%{TARGET} %else diff --git a/cross-ia64-binutils.changes b/cross-ia64-binutils.changes index a8ae857..e0ab66f 100644 --- a/cross-ia64-binutils.changes +++ b/cross-ia64-binutils.changes @@ -1,3 +1,18 @@ +------------------------------------------------------------------- +Thu Sep 22 09:59:07 UTC 2011 - adrian@suse.de + +- use -gnueabi extension to switch to new abi for arm + +------------------------------------------------------------------- +Thu Sep 22 06:54:34 CEST 2011 - dmueller@suse.de + +- Add support for arm-*-gnueabihf targets (PR ld/12643) + +------------------------------------------------------------------- +Wed Sep 21 21:44:12 UTC 2011 - adrian@suse.de + +- add arm targets + ------------------------------------------------------------------- Mon Aug 29 08:09:15 UTC 2011 - rguenther@suse.com diff --git a/cross-ia64-binutils.spec b/cross-ia64-binutils.spec index 7ab3366..6049cd6 100644 --- a/cross-ia64-binutils.spec +++ b/cross-ia64-binutils.spec @@ -1,5 +1,5 @@ # -# spec file for package binutils +# spec file for package cross-ia64-binutils # # Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -17,7 +17,7 @@ -Name: cross-ia64-binutils +Name: cross-ia64-binutils BuildRequires: bison dejagnu flex gcc-c++ # for the testsuite %if 0%{suse_version} >= 1210 @@ -53,12 +53,12 @@ Release: 10 %define make_check_handling false %endif # handle all binary object formats supported by SuSE (and a few more) -%ifarch %ix86 ia64 ppc ppc64 s390 s390x x86_64 +%ifarch %ix86 %arm ia64 ppc ppc64 s390 s390x x86_64 %define build_multitarget 1 %else %define build_multitarget 0 %endif -%define target_list alpha arm hppa hppa64 i686 ia64 m68k mips powerpc powerpc64 s390 s390x sh4 sparc sparc64 x86_64 +%define target_list alpha armv5l armv7l armv8l hppa hppa64 i686 ia64 m68k mips powerpc powerpc64 s390 s390x sh4 sparc sparc64 x86_64 # # # @@ -99,6 +99,7 @@ Patch20: bso12982.diff # Too much fallout for now #Patch21: binutils-no-copy-dt-needed-default.patch Patch22: bnc713504.diff +Patch23: arm-ld-12643.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -261,7 +262,11 @@ Authors: %if "%{name}" != "binutils" %define TARGET %(echo %{name} | sed -e "s/cross-\\(.*\\)-binutils/\\1/;s/-/_/g;s/parisc/hppa/;s/i.86/i586/;s/ppc/powerpc/") %endif +%ifarch %{arm} armv5l armv7l armv8l +%define HOST %{_target_cpu}-suse-linux-gnueabi +%else %define HOST %(echo %{_target_cpu} | sed -e "s/parisc/hppa/" -e "s/i.86/i586/" -e "s/ppc/powerpc/" -e "s/sparc64v.*/sparc64/" -e "s/sparcv.*/sparc/")-suse-linux +%endif %define DIST %(echo '%distribution' | sed 's/ (.*)//') %prep @@ -288,6 +293,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch20 -p1 #%patch21 %patch22 +%patch23 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 @@ -326,6 +332,15 @@ EXTRA_TARGETS="$EXTRA_TARGETS,x86_64-suse-linux" %ifarch ppc ppc64 EXTRA_TARGETS="$EXTRA_TARGETS,spu-elf" %endif +%ifarch armv5l +EXTRA_TARGETS="$EXTRA_TARGETS,armv5l-suse-linux" +%endif +%ifarch armv7l +EXTRA_TARGETS="$EXTRA_TARGETS,armv7l-suse-linux" +%endif +%ifarch armv8l +EXTRA_TARGETS="$EXTRA_TARGETS,armv8l-suse-linux" +%endif %endif %define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\ --prefix=%{_prefix} --libdir=%{_libdir} \\\ @@ -348,9 +363,7 @@ make %{?_smp_mflags} %check export SUSE_ASNEEDED=0 cd build-dir -%ifnarch %arm make -k check CFLAGS="-O2 -g" CXXFLAGS="-O2 -g" || %{make_check_handling} -%endif # # # @@ -378,6 +391,9 @@ EXTRA_TARGETS="$EXTRA_TARGETS,x86_64-suse-linux" %if "%{TARGET}" == "hppa" EXTRA_TARGETS="$EXTRA_TARGETS,hppa64-suse-linux" %endif +%if "%{TARGET}" == "arm" +EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux" +%endif %if "%{TARGET}" == "avr" || "%{TARGET}" == "spu" TARGET_OS=%{TARGET} %else diff --git a/cross-mips-binutils.changes b/cross-mips-binutils.changes index a8ae857..e0ab66f 100644 --- a/cross-mips-binutils.changes +++ b/cross-mips-binutils.changes @@ -1,3 +1,18 @@ +------------------------------------------------------------------- +Thu Sep 22 09:59:07 UTC 2011 - adrian@suse.de + +- use -gnueabi extension to switch to new abi for arm + +------------------------------------------------------------------- +Thu Sep 22 06:54:34 CEST 2011 - dmueller@suse.de + +- Add support for arm-*-gnueabihf targets (PR ld/12643) + +------------------------------------------------------------------- +Wed Sep 21 21:44:12 UTC 2011 - adrian@suse.de + +- add arm targets + ------------------------------------------------------------------- Mon Aug 29 08:09:15 UTC 2011 - rguenther@suse.com diff --git a/cross-mips-binutils.spec b/cross-mips-binutils.spec index a94e8ed..dcaa2a5 100644 --- a/cross-mips-binutils.spec +++ b/cross-mips-binutils.spec @@ -1,5 +1,5 @@ # -# spec file for package binutils +# spec file for package cross-mips-binutils # # Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -17,7 +17,7 @@ -Name: cross-mips-binutils +Name: cross-mips-binutils BuildRequires: bison dejagnu flex gcc-c++ # for the testsuite %if 0%{suse_version} >= 1210 @@ -53,12 +53,12 @@ Release: 10 %define make_check_handling false %endif # handle all binary object formats supported by SuSE (and a few more) -%ifarch %ix86 ia64 ppc ppc64 s390 s390x x86_64 +%ifarch %ix86 %arm ia64 ppc ppc64 s390 s390x x86_64 %define build_multitarget 1 %else %define build_multitarget 0 %endif -%define target_list alpha arm hppa hppa64 i686 ia64 m68k mips powerpc powerpc64 s390 s390x sh4 sparc sparc64 x86_64 +%define target_list alpha armv5l armv7l armv8l hppa hppa64 i686 ia64 m68k mips powerpc powerpc64 s390 s390x sh4 sparc sparc64 x86_64 # # # @@ -99,6 +99,7 @@ Patch20: bso12982.diff # Too much fallout for now #Patch21: binutils-no-copy-dt-needed-default.patch Patch22: bnc713504.diff +Patch23: arm-ld-12643.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -261,7 +262,11 @@ Authors: %if "%{name}" != "binutils" %define TARGET %(echo %{name} | sed -e "s/cross-\\(.*\\)-binutils/\\1/;s/-/_/g;s/parisc/hppa/;s/i.86/i586/;s/ppc/powerpc/") %endif +%ifarch %{arm} armv5l armv7l armv8l +%define HOST %{_target_cpu}-suse-linux-gnueabi +%else %define HOST %(echo %{_target_cpu} | sed -e "s/parisc/hppa/" -e "s/i.86/i586/" -e "s/ppc/powerpc/" -e "s/sparc64v.*/sparc64/" -e "s/sparcv.*/sparc/")-suse-linux +%endif %define DIST %(echo '%distribution' | sed 's/ (.*)//') %prep @@ -288,6 +293,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch20 -p1 #%patch21 %patch22 +%patch23 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 @@ -326,6 +332,15 @@ EXTRA_TARGETS="$EXTRA_TARGETS,x86_64-suse-linux" %ifarch ppc ppc64 EXTRA_TARGETS="$EXTRA_TARGETS,spu-elf" %endif +%ifarch armv5l +EXTRA_TARGETS="$EXTRA_TARGETS,armv5l-suse-linux" +%endif +%ifarch armv7l +EXTRA_TARGETS="$EXTRA_TARGETS,armv7l-suse-linux" +%endif +%ifarch armv8l +EXTRA_TARGETS="$EXTRA_TARGETS,armv8l-suse-linux" +%endif %endif %define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\ --prefix=%{_prefix} --libdir=%{_libdir} \\\ @@ -348,9 +363,7 @@ make %{?_smp_mflags} %check export SUSE_ASNEEDED=0 cd build-dir -%ifnarch %arm make -k check CFLAGS="-O2 -g" CXXFLAGS="-O2 -g" || %{make_check_handling} -%endif # # # @@ -378,6 +391,9 @@ EXTRA_TARGETS="$EXTRA_TARGETS,x86_64-suse-linux" %if "%{TARGET}" == "hppa" EXTRA_TARGETS="$EXTRA_TARGETS,hppa64-suse-linux" %endif +%if "%{TARGET}" == "arm" +EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux" +%endif %if "%{TARGET}" == "avr" || "%{TARGET}" == "spu" TARGET_OS=%{TARGET} %else diff --git a/cross-ppc-binutils.changes b/cross-ppc-binutils.changes index a8ae857..e0ab66f 100644 --- a/cross-ppc-binutils.changes +++ b/cross-ppc-binutils.changes @@ -1,3 +1,18 @@ +------------------------------------------------------------------- +Thu Sep 22 09:59:07 UTC 2011 - adrian@suse.de + +- use -gnueabi extension to switch to new abi for arm + +------------------------------------------------------------------- +Thu Sep 22 06:54:34 CEST 2011 - dmueller@suse.de + +- Add support for arm-*-gnueabihf targets (PR ld/12643) + +------------------------------------------------------------------- +Wed Sep 21 21:44:12 UTC 2011 - adrian@suse.de + +- add arm targets + ------------------------------------------------------------------- Mon Aug 29 08:09:15 UTC 2011 - rguenther@suse.com diff --git a/cross-ppc-binutils.spec b/cross-ppc-binutils.spec index 32f75a9..ad3b701 100644 --- a/cross-ppc-binutils.spec +++ b/cross-ppc-binutils.spec @@ -1,5 +1,5 @@ # -# spec file for package binutils +# spec file for package cross-ppc-binutils # # Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -17,7 +17,7 @@ -Name: cross-ppc-binutils +Name: cross-ppc-binutils BuildRequires: bison dejagnu flex gcc-c++ # for the testsuite %if 0%{suse_version} >= 1210 @@ -53,12 +53,12 @@ Release: 10 %define make_check_handling false %endif # handle all binary object formats supported by SuSE (and a few more) -%ifarch %ix86 ia64 ppc ppc64 s390 s390x x86_64 +%ifarch %ix86 %arm ia64 ppc ppc64 s390 s390x x86_64 %define build_multitarget 1 %else %define build_multitarget 0 %endif -%define target_list alpha arm hppa hppa64 i686 ia64 m68k mips powerpc powerpc64 s390 s390x sh4 sparc sparc64 x86_64 +%define target_list alpha armv5l armv7l armv8l hppa hppa64 i686 ia64 m68k mips powerpc powerpc64 s390 s390x sh4 sparc sparc64 x86_64 # # # @@ -99,6 +99,7 @@ Patch20: bso12982.diff # Too much fallout for now #Patch21: binutils-no-copy-dt-needed-default.patch Patch22: bnc713504.diff +Patch23: arm-ld-12643.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -261,7 +262,11 @@ Authors: %if "%{name}" != "binutils" %define TARGET %(echo %{name} | sed -e "s/cross-\\(.*\\)-binutils/\\1/;s/-/_/g;s/parisc/hppa/;s/i.86/i586/;s/ppc/powerpc/") %endif +%ifarch %{arm} armv5l armv7l armv8l +%define HOST %{_target_cpu}-suse-linux-gnueabi +%else %define HOST %(echo %{_target_cpu} | sed -e "s/parisc/hppa/" -e "s/i.86/i586/" -e "s/ppc/powerpc/" -e "s/sparc64v.*/sparc64/" -e "s/sparcv.*/sparc/")-suse-linux +%endif %define DIST %(echo '%distribution' | sed 's/ (.*)//') %prep @@ -288,6 +293,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch20 -p1 #%patch21 %patch22 +%patch23 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 @@ -326,6 +332,15 @@ EXTRA_TARGETS="$EXTRA_TARGETS,x86_64-suse-linux" %ifarch ppc ppc64 EXTRA_TARGETS="$EXTRA_TARGETS,spu-elf" %endif +%ifarch armv5l +EXTRA_TARGETS="$EXTRA_TARGETS,armv5l-suse-linux" +%endif +%ifarch armv7l +EXTRA_TARGETS="$EXTRA_TARGETS,armv7l-suse-linux" +%endif +%ifarch armv8l +EXTRA_TARGETS="$EXTRA_TARGETS,armv8l-suse-linux" +%endif %endif %define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\ --prefix=%{_prefix} --libdir=%{_libdir} \\\ @@ -348,9 +363,7 @@ make %{?_smp_mflags} %check export SUSE_ASNEEDED=0 cd build-dir -%ifnarch %arm make -k check CFLAGS="-O2 -g" CXXFLAGS="-O2 -g" || %{make_check_handling} -%endif # # # @@ -378,6 +391,9 @@ EXTRA_TARGETS="$EXTRA_TARGETS,x86_64-suse-linux" %if "%{TARGET}" == "hppa" EXTRA_TARGETS="$EXTRA_TARGETS,hppa64-suse-linux" %endif +%if "%{TARGET}" == "arm" +EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux" +%endif %if "%{TARGET}" == "avr" || "%{TARGET}" == "spu" TARGET_OS=%{TARGET} %else diff --git a/cross-ppc64-binutils.changes b/cross-ppc64-binutils.changes index a8ae857..e0ab66f 100644 --- a/cross-ppc64-binutils.changes +++ b/cross-ppc64-binutils.changes @@ -1,3 +1,18 @@ +------------------------------------------------------------------- +Thu Sep 22 09:59:07 UTC 2011 - adrian@suse.de + +- use -gnueabi extension to switch to new abi for arm + +------------------------------------------------------------------- +Thu Sep 22 06:54:34 CEST 2011 - dmueller@suse.de + +- Add support for arm-*-gnueabihf targets (PR ld/12643) + +------------------------------------------------------------------- +Wed Sep 21 21:44:12 UTC 2011 - adrian@suse.de + +- add arm targets + ------------------------------------------------------------------- Mon Aug 29 08:09:15 UTC 2011 - rguenther@suse.com diff --git a/cross-ppc64-binutils.spec b/cross-ppc64-binutils.spec index a05c6ff..abab80d 100644 --- a/cross-ppc64-binutils.spec +++ b/cross-ppc64-binutils.spec @@ -1,5 +1,5 @@ # -# spec file for package binutils +# spec file for package cross-ppc64-binutils # # Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -17,7 +17,7 @@ -Name: cross-ppc64-binutils +Name: cross-ppc64-binutils BuildRequires: bison dejagnu flex gcc-c++ # for the testsuite %if 0%{suse_version} >= 1210 @@ -53,12 +53,12 @@ Release: 10 %define make_check_handling false %endif # handle all binary object formats supported by SuSE (and a few more) -%ifarch %ix86 ia64 ppc ppc64 s390 s390x x86_64 +%ifarch %ix86 %arm ia64 ppc ppc64 s390 s390x x86_64 %define build_multitarget 1 %else %define build_multitarget 0 %endif -%define target_list alpha arm hppa hppa64 i686 ia64 m68k mips powerpc powerpc64 s390 s390x sh4 sparc sparc64 x86_64 +%define target_list alpha armv5l armv7l armv8l hppa hppa64 i686 ia64 m68k mips powerpc powerpc64 s390 s390x sh4 sparc sparc64 x86_64 # # # @@ -99,6 +99,7 @@ Patch20: bso12982.diff # Too much fallout for now #Patch21: binutils-no-copy-dt-needed-default.patch Patch22: bnc713504.diff +Patch23: arm-ld-12643.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -261,7 +262,11 @@ Authors: %if "%{name}" != "binutils" %define TARGET %(echo %{name} | sed -e "s/cross-\\(.*\\)-binutils/\\1/;s/-/_/g;s/parisc/hppa/;s/i.86/i586/;s/ppc/powerpc/") %endif +%ifarch %{arm} armv5l armv7l armv8l +%define HOST %{_target_cpu}-suse-linux-gnueabi +%else %define HOST %(echo %{_target_cpu} | sed -e "s/parisc/hppa/" -e "s/i.86/i586/" -e "s/ppc/powerpc/" -e "s/sparc64v.*/sparc64/" -e "s/sparcv.*/sparc/")-suse-linux +%endif %define DIST %(echo '%distribution' | sed 's/ (.*)//') %prep @@ -288,6 +293,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch20 -p1 #%patch21 %patch22 +%patch23 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 @@ -326,6 +332,15 @@ EXTRA_TARGETS="$EXTRA_TARGETS,x86_64-suse-linux" %ifarch ppc ppc64 EXTRA_TARGETS="$EXTRA_TARGETS,spu-elf" %endif +%ifarch armv5l +EXTRA_TARGETS="$EXTRA_TARGETS,armv5l-suse-linux" +%endif +%ifarch armv7l +EXTRA_TARGETS="$EXTRA_TARGETS,armv7l-suse-linux" +%endif +%ifarch armv8l +EXTRA_TARGETS="$EXTRA_TARGETS,armv8l-suse-linux" +%endif %endif %define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\ --prefix=%{_prefix} --libdir=%{_libdir} \\\ @@ -348,9 +363,7 @@ make %{?_smp_mflags} %check export SUSE_ASNEEDED=0 cd build-dir -%ifnarch %arm make -k check CFLAGS="-O2 -g" CXXFLAGS="-O2 -g" || %{make_check_handling} -%endif # # # @@ -378,6 +391,9 @@ EXTRA_TARGETS="$EXTRA_TARGETS,x86_64-suse-linux" %if "%{TARGET}" == "hppa" EXTRA_TARGETS="$EXTRA_TARGETS,hppa64-suse-linux" %endif +%if "%{TARGET}" == "arm" +EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux" +%endif %if "%{TARGET}" == "avr" || "%{TARGET}" == "spu" TARGET_OS=%{TARGET} %else diff --git a/cross-s390-binutils.changes b/cross-s390-binutils.changes index a8ae857..e0ab66f 100644 --- a/cross-s390-binutils.changes +++ b/cross-s390-binutils.changes @@ -1,3 +1,18 @@ +------------------------------------------------------------------- +Thu Sep 22 09:59:07 UTC 2011 - adrian@suse.de + +- use -gnueabi extension to switch to new abi for arm + +------------------------------------------------------------------- +Thu Sep 22 06:54:34 CEST 2011 - dmueller@suse.de + +- Add support for arm-*-gnueabihf targets (PR ld/12643) + +------------------------------------------------------------------- +Wed Sep 21 21:44:12 UTC 2011 - adrian@suse.de + +- add arm targets + ------------------------------------------------------------------- Mon Aug 29 08:09:15 UTC 2011 - rguenther@suse.com diff --git a/cross-s390-binutils.spec b/cross-s390-binutils.spec index 24999fb..12e58db 100644 --- a/cross-s390-binutils.spec +++ b/cross-s390-binutils.spec @@ -1,5 +1,5 @@ # -# spec file for package binutils +# spec file for package cross-s390-binutils # # Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -17,7 +17,7 @@ -Name: cross-s390-binutils +Name: cross-s390-binutils BuildRequires: bison dejagnu flex gcc-c++ # for the testsuite %if 0%{suse_version} >= 1210 @@ -53,12 +53,12 @@ Release: 10 %define make_check_handling false %endif # handle all binary object formats supported by SuSE (and a few more) -%ifarch %ix86 ia64 ppc ppc64 s390 s390x x86_64 +%ifarch %ix86 %arm ia64 ppc ppc64 s390 s390x x86_64 %define build_multitarget 1 %else %define build_multitarget 0 %endif -%define target_list alpha arm hppa hppa64 i686 ia64 m68k mips powerpc powerpc64 s390 s390x sh4 sparc sparc64 x86_64 +%define target_list alpha armv5l armv7l armv8l hppa hppa64 i686 ia64 m68k mips powerpc powerpc64 s390 s390x sh4 sparc sparc64 x86_64 # # # @@ -99,6 +99,7 @@ Patch20: bso12982.diff # Too much fallout for now #Patch21: binutils-no-copy-dt-needed-default.patch Patch22: bnc713504.diff +Patch23: arm-ld-12643.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -261,7 +262,11 @@ Authors: %if "%{name}" != "binutils" %define TARGET %(echo %{name} | sed -e "s/cross-\\(.*\\)-binutils/\\1/;s/-/_/g;s/parisc/hppa/;s/i.86/i586/;s/ppc/powerpc/") %endif +%ifarch %{arm} armv5l armv7l armv8l +%define HOST %{_target_cpu}-suse-linux-gnueabi +%else %define HOST %(echo %{_target_cpu} | sed -e "s/parisc/hppa/" -e "s/i.86/i586/" -e "s/ppc/powerpc/" -e "s/sparc64v.*/sparc64/" -e "s/sparcv.*/sparc/")-suse-linux +%endif %define DIST %(echo '%distribution' | sed 's/ (.*)//') %prep @@ -288,6 +293,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch20 -p1 #%patch21 %patch22 +%patch23 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 @@ -326,6 +332,15 @@ EXTRA_TARGETS="$EXTRA_TARGETS,x86_64-suse-linux" %ifarch ppc ppc64 EXTRA_TARGETS="$EXTRA_TARGETS,spu-elf" %endif +%ifarch armv5l +EXTRA_TARGETS="$EXTRA_TARGETS,armv5l-suse-linux" +%endif +%ifarch armv7l +EXTRA_TARGETS="$EXTRA_TARGETS,armv7l-suse-linux" +%endif +%ifarch armv8l +EXTRA_TARGETS="$EXTRA_TARGETS,armv8l-suse-linux" +%endif %endif %define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\ --prefix=%{_prefix} --libdir=%{_libdir} \\\ @@ -348,9 +363,7 @@ make %{?_smp_mflags} %check export SUSE_ASNEEDED=0 cd build-dir -%ifnarch %arm make -k check CFLAGS="-O2 -g" CXXFLAGS="-O2 -g" || %{make_check_handling} -%endif # # # @@ -378,6 +391,9 @@ EXTRA_TARGETS="$EXTRA_TARGETS,x86_64-suse-linux" %if "%{TARGET}" == "hppa" EXTRA_TARGETS="$EXTRA_TARGETS,hppa64-suse-linux" %endif +%if "%{TARGET}" == "arm" +EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux" +%endif %if "%{TARGET}" == "avr" || "%{TARGET}" == "spu" TARGET_OS=%{TARGET} %else diff --git a/cross-s390x-binutils.changes b/cross-s390x-binutils.changes index a8ae857..e0ab66f 100644 --- a/cross-s390x-binutils.changes +++ b/cross-s390x-binutils.changes @@ -1,3 +1,18 @@ +------------------------------------------------------------------- +Thu Sep 22 09:59:07 UTC 2011 - adrian@suse.de + +- use -gnueabi extension to switch to new abi for arm + +------------------------------------------------------------------- +Thu Sep 22 06:54:34 CEST 2011 - dmueller@suse.de + +- Add support for arm-*-gnueabihf targets (PR ld/12643) + +------------------------------------------------------------------- +Wed Sep 21 21:44:12 UTC 2011 - adrian@suse.de + +- add arm targets + ------------------------------------------------------------------- Mon Aug 29 08:09:15 UTC 2011 - rguenther@suse.com diff --git a/cross-s390x-binutils.spec b/cross-s390x-binutils.spec index ac88efe..be3c5cc 100644 --- a/cross-s390x-binutils.spec +++ b/cross-s390x-binutils.spec @@ -1,5 +1,5 @@ # -# spec file for package binutils +# spec file for package cross-s390x-binutils # # Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -17,7 +17,7 @@ -Name: cross-s390x-binutils +Name: cross-s390x-binutils BuildRequires: bison dejagnu flex gcc-c++ # for the testsuite %if 0%{suse_version} >= 1210 @@ -53,12 +53,12 @@ Release: 10 %define make_check_handling false %endif # handle all binary object formats supported by SuSE (and a few more) -%ifarch %ix86 ia64 ppc ppc64 s390 s390x x86_64 +%ifarch %ix86 %arm ia64 ppc ppc64 s390 s390x x86_64 %define build_multitarget 1 %else %define build_multitarget 0 %endif -%define target_list alpha arm hppa hppa64 i686 ia64 m68k mips powerpc powerpc64 s390 s390x sh4 sparc sparc64 x86_64 +%define target_list alpha armv5l armv7l armv8l hppa hppa64 i686 ia64 m68k mips powerpc powerpc64 s390 s390x sh4 sparc sparc64 x86_64 # # # @@ -99,6 +99,7 @@ Patch20: bso12982.diff # Too much fallout for now #Patch21: binutils-no-copy-dt-needed-default.patch Patch22: bnc713504.diff +Patch23: arm-ld-12643.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -261,7 +262,11 @@ Authors: %if "%{name}" != "binutils" %define TARGET %(echo %{name} | sed -e "s/cross-\\(.*\\)-binutils/\\1/;s/-/_/g;s/parisc/hppa/;s/i.86/i586/;s/ppc/powerpc/") %endif +%ifarch %{arm} armv5l armv7l armv8l +%define HOST %{_target_cpu}-suse-linux-gnueabi +%else %define HOST %(echo %{_target_cpu} | sed -e "s/parisc/hppa/" -e "s/i.86/i586/" -e "s/ppc/powerpc/" -e "s/sparc64v.*/sparc64/" -e "s/sparcv.*/sparc/")-suse-linux +%endif %define DIST %(echo '%distribution' | sed 's/ (.*)//') %prep @@ -288,6 +293,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch20 -p1 #%patch21 %patch22 +%patch23 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 @@ -326,6 +332,15 @@ EXTRA_TARGETS="$EXTRA_TARGETS,x86_64-suse-linux" %ifarch ppc ppc64 EXTRA_TARGETS="$EXTRA_TARGETS,spu-elf" %endif +%ifarch armv5l +EXTRA_TARGETS="$EXTRA_TARGETS,armv5l-suse-linux" +%endif +%ifarch armv7l +EXTRA_TARGETS="$EXTRA_TARGETS,armv7l-suse-linux" +%endif +%ifarch armv8l +EXTRA_TARGETS="$EXTRA_TARGETS,armv8l-suse-linux" +%endif %endif %define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\ --prefix=%{_prefix} --libdir=%{_libdir} \\\ @@ -348,9 +363,7 @@ make %{?_smp_mflags} %check export SUSE_ASNEEDED=0 cd build-dir -%ifnarch %arm make -k check CFLAGS="-O2 -g" CXXFLAGS="-O2 -g" || %{make_check_handling} -%endif # # # @@ -378,6 +391,9 @@ EXTRA_TARGETS="$EXTRA_TARGETS,x86_64-suse-linux" %if "%{TARGET}" == "hppa" EXTRA_TARGETS="$EXTRA_TARGETS,hppa64-suse-linux" %endif +%if "%{TARGET}" == "arm" +EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux" +%endif %if "%{TARGET}" == "avr" || "%{TARGET}" == "spu" TARGET_OS=%{TARGET} %else diff --git a/cross-sparc-binutils.changes b/cross-sparc-binutils.changes index a8ae857..e0ab66f 100644 --- a/cross-sparc-binutils.changes +++ b/cross-sparc-binutils.changes @@ -1,3 +1,18 @@ +------------------------------------------------------------------- +Thu Sep 22 09:59:07 UTC 2011 - adrian@suse.de + +- use -gnueabi extension to switch to new abi for arm + +------------------------------------------------------------------- +Thu Sep 22 06:54:34 CEST 2011 - dmueller@suse.de + +- Add support for arm-*-gnueabihf targets (PR ld/12643) + +------------------------------------------------------------------- +Wed Sep 21 21:44:12 UTC 2011 - adrian@suse.de + +- add arm targets + ------------------------------------------------------------------- Mon Aug 29 08:09:15 UTC 2011 - rguenther@suse.com diff --git a/cross-sparc-binutils.spec b/cross-sparc-binutils.spec index 70f3c60..0185418 100644 --- a/cross-sparc-binutils.spec +++ b/cross-sparc-binutils.spec @@ -1,5 +1,5 @@ # -# spec file for package binutils +# spec file for package cross-sparc-binutils # # Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -17,7 +17,7 @@ -Name: cross-sparc-binutils +Name: cross-sparc-binutils BuildRequires: bison dejagnu flex gcc-c++ # for the testsuite %if 0%{suse_version} >= 1210 @@ -53,12 +53,12 @@ Release: 10 %define make_check_handling false %endif # handle all binary object formats supported by SuSE (and a few more) -%ifarch %ix86 ia64 ppc ppc64 s390 s390x x86_64 +%ifarch %ix86 %arm ia64 ppc ppc64 s390 s390x x86_64 %define build_multitarget 1 %else %define build_multitarget 0 %endif -%define target_list alpha arm hppa hppa64 i686 ia64 m68k mips powerpc powerpc64 s390 s390x sh4 sparc sparc64 x86_64 +%define target_list alpha armv5l armv7l armv8l hppa hppa64 i686 ia64 m68k mips powerpc powerpc64 s390 s390x sh4 sparc sparc64 x86_64 # # # @@ -99,6 +99,7 @@ Patch20: bso12982.diff # Too much fallout for now #Patch21: binutils-no-copy-dt-needed-default.patch Patch22: bnc713504.diff +Patch23: arm-ld-12643.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -261,7 +262,11 @@ Authors: %if "%{name}" != "binutils" %define TARGET %(echo %{name} | sed -e "s/cross-\\(.*\\)-binutils/\\1/;s/-/_/g;s/parisc/hppa/;s/i.86/i586/;s/ppc/powerpc/") %endif +%ifarch %{arm} armv5l armv7l armv8l +%define HOST %{_target_cpu}-suse-linux-gnueabi +%else %define HOST %(echo %{_target_cpu} | sed -e "s/parisc/hppa/" -e "s/i.86/i586/" -e "s/ppc/powerpc/" -e "s/sparc64v.*/sparc64/" -e "s/sparcv.*/sparc/")-suse-linux +%endif %define DIST %(echo '%distribution' | sed 's/ (.*)//') %prep @@ -288,6 +293,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch20 -p1 #%patch21 %patch22 +%patch23 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 @@ -326,6 +332,15 @@ EXTRA_TARGETS="$EXTRA_TARGETS,x86_64-suse-linux" %ifarch ppc ppc64 EXTRA_TARGETS="$EXTRA_TARGETS,spu-elf" %endif +%ifarch armv5l +EXTRA_TARGETS="$EXTRA_TARGETS,armv5l-suse-linux" +%endif +%ifarch armv7l +EXTRA_TARGETS="$EXTRA_TARGETS,armv7l-suse-linux" +%endif +%ifarch armv8l +EXTRA_TARGETS="$EXTRA_TARGETS,armv8l-suse-linux" +%endif %endif %define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\ --prefix=%{_prefix} --libdir=%{_libdir} \\\ @@ -348,9 +363,7 @@ make %{?_smp_mflags} %check export SUSE_ASNEEDED=0 cd build-dir -%ifnarch %arm make -k check CFLAGS="-O2 -g" CXXFLAGS="-O2 -g" || %{make_check_handling} -%endif # # # @@ -378,6 +391,9 @@ EXTRA_TARGETS="$EXTRA_TARGETS,x86_64-suse-linux" %if "%{TARGET}" == "hppa" EXTRA_TARGETS="$EXTRA_TARGETS,hppa64-suse-linux" %endif +%if "%{TARGET}" == "arm" +EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux" +%endif %if "%{TARGET}" == "avr" || "%{TARGET}" == "spu" TARGET_OS=%{TARGET} %else diff --git a/cross-spu-binutils.changes b/cross-spu-binutils.changes index a8ae857..e0ab66f 100644 --- a/cross-spu-binutils.changes +++ b/cross-spu-binutils.changes @@ -1,3 +1,18 @@ +------------------------------------------------------------------- +Thu Sep 22 09:59:07 UTC 2011 - adrian@suse.de + +- use -gnueabi extension to switch to new abi for arm + +------------------------------------------------------------------- +Thu Sep 22 06:54:34 CEST 2011 - dmueller@suse.de + +- Add support for arm-*-gnueabihf targets (PR ld/12643) + +------------------------------------------------------------------- +Wed Sep 21 21:44:12 UTC 2011 - adrian@suse.de + +- add arm targets + ------------------------------------------------------------------- Mon Aug 29 08:09:15 UTC 2011 - rguenther@suse.com diff --git a/cross-spu-binutils.spec b/cross-spu-binutils.spec index 9ed1a9c..5d274d4 100644 --- a/cross-spu-binutils.spec +++ b/cross-spu-binutils.spec @@ -1,5 +1,5 @@ # -# spec file for package binutils +# spec file for package cross-spu-binutils # # Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -17,7 +17,7 @@ -Name: cross-spu-binutils +Name: cross-spu-binutils BuildRequires: bison dejagnu flex gcc-c++ # for the testsuite %if 0%{suse_version} >= 1210 @@ -53,12 +53,12 @@ Release: 10 %define make_check_handling false %endif # handle all binary object formats supported by SuSE (and a few more) -%ifarch %ix86 ia64 ppc ppc64 s390 s390x x86_64 +%ifarch %ix86 %arm ia64 ppc ppc64 s390 s390x x86_64 %define build_multitarget 1 %else %define build_multitarget 0 %endif -%define target_list alpha arm hppa hppa64 i686 ia64 m68k mips powerpc powerpc64 s390 s390x sh4 sparc sparc64 x86_64 +%define target_list alpha armv5l armv7l armv8l hppa hppa64 i686 ia64 m68k mips powerpc powerpc64 s390 s390x sh4 sparc sparc64 x86_64 # # # @@ -99,6 +99,7 @@ Patch20: bso12982.diff # Too much fallout for now #Patch21: binutils-no-copy-dt-needed-default.patch Patch22: bnc713504.diff +Patch23: arm-ld-12643.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -261,7 +262,11 @@ Authors: %if "%{name}" != "binutils" %define TARGET %(echo %{name} | sed -e "s/cross-\\(.*\\)-binutils/\\1/;s/-/_/g;s/parisc/hppa/;s/i.86/i586/;s/ppc/powerpc/") %endif +%ifarch %{arm} armv5l armv7l armv8l +%define HOST %{_target_cpu}-suse-linux-gnueabi +%else %define HOST %(echo %{_target_cpu} | sed -e "s/parisc/hppa/" -e "s/i.86/i586/" -e "s/ppc/powerpc/" -e "s/sparc64v.*/sparc64/" -e "s/sparcv.*/sparc/")-suse-linux +%endif %define DIST %(echo '%distribution' | sed 's/ (.*)//') %prep @@ -288,6 +293,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch20 -p1 #%patch21 %patch22 +%patch23 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 @@ -326,6 +332,15 @@ EXTRA_TARGETS="$EXTRA_TARGETS,x86_64-suse-linux" %ifarch ppc ppc64 EXTRA_TARGETS="$EXTRA_TARGETS,spu-elf" %endif +%ifarch armv5l +EXTRA_TARGETS="$EXTRA_TARGETS,armv5l-suse-linux" +%endif +%ifarch armv7l +EXTRA_TARGETS="$EXTRA_TARGETS,armv7l-suse-linux" +%endif +%ifarch armv8l +EXTRA_TARGETS="$EXTRA_TARGETS,armv8l-suse-linux" +%endif %endif %define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\ --prefix=%{_prefix} --libdir=%{_libdir} \\\ @@ -348,9 +363,7 @@ make %{?_smp_mflags} %check export SUSE_ASNEEDED=0 cd build-dir -%ifnarch %arm make -k check CFLAGS="-O2 -g" CXXFLAGS="-O2 -g" || %{make_check_handling} -%endif # # # @@ -378,6 +391,9 @@ EXTRA_TARGETS="$EXTRA_TARGETS,x86_64-suse-linux" %if "%{TARGET}" == "hppa" EXTRA_TARGETS="$EXTRA_TARGETS,hppa64-suse-linux" %endif +%if "%{TARGET}" == "arm" +EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux" +%endif %if "%{TARGET}" == "avr" || "%{TARGET}" == "spu" TARGET_OS=%{TARGET} %else diff --git a/cross-x86_64-binutils.changes b/cross-x86_64-binutils.changes index a8ae857..e0ab66f 100644 --- a/cross-x86_64-binutils.changes +++ b/cross-x86_64-binutils.changes @@ -1,3 +1,18 @@ +------------------------------------------------------------------- +Thu Sep 22 09:59:07 UTC 2011 - adrian@suse.de + +- use -gnueabi extension to switch to new abi for arm + +------------------------------------------------------------------- +Thu Sep 22 06:54:34 CEST 2011 - dmueller@suse.de + +- Add support for arm-*-gnueabihf targets (PR ld/12643) + +------------------------------------------------------------------- +Wed Sep 21 21:44:12 UTC 2011 - adrian@suse.de + +- add arm targets + ------------------------------------------------------------------- Mon Aug 29 08:09:15 UTC 2011 - rguenther@suse.com diff --git a/cross-x86_64-binutils.spec b/cross-x86_64-binutils.spec index 5645aa8..68ffd37 100644 --- a/cross-x86_64-binutils.spec +++ b/cross-x86_64-binutils.spec @@ -1,5 +1,5 @@ # -# spec file for package binutils +# spec file for package cross-x86_64-binutils # # Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -17,7 +17,7 @@ -Name: cross-x86_64-binutils +Name: cross-x86_64-binutils BuildRequires: bison dejagnu flex gcc-c++ # for the testsuite %if 0%{suse_version} >= 1210 @@ -53,12 +53,12 @@ Release: 10 %define make_check_handling false %endif # handle all binary object formats supported by SuSE (and a few more) -%ifarch %ix86 ia64 ppc ppc64 s390 s390x x86_64 +%ifarch %ix86 %arm ia64 ppc ppc64 s390 s390x x86_64 %define build_multitarget 1 %else %define build_multitarget 0 %endif -%define target_list alpha arm hppa hppa64 i686 ia64 m68k mips powerpc powerpc64 s390 s390x sh4 sparc sparc64 x86_64 +%define target_list alpha armv5l armv7l armv8l hppa hppa64 i686 ia64 m68k mips powerpc powerpc64 s390 s390x sh4 sparc sparc64 x86_64 # # # @@ -99,6 +99,7 @@ Patch20: bso12982.diff # Too much fallout for now #Patch21: binutils-no-copy-dt-needed-default.patch Patch22: bnc713504.diff +Patch23: arm-ld-12643.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -261,7 +262,11 @@ Authors: %if "%{name}" != "binutils" %define TARGET %(echo %{name} | sed -e "s/cross-\\(.*\\)-binutils/\\1/;s/-/_/g;s/parisc/hppa/;s/i.86/i586/;s/ppc/powerpc/") %endif +%ifarch %{arm} armv5l armv7l armv8l +%define HOST %{_target_cpu}-suse-linux-gnueabi +%else %define HOST %(echo %{_target_cpu} | sed -e "s/parisc/hppa/" -e "s/i.86/i586/" -e "s/ppc/powerpc/" -e "s/sparc64v.*/sparc64/" -e "s/sparcv.*/sparc/")-suse-linux +%endif %define DIST %(echo '%distribution' | sed 's/ (.*)//') %prep @@ -288,6 +293,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch20 -p1 #%patch21 %patch22 +%patch23 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 @@ -326,6 +332,15 @@ EXTRA_TARGETS="$EXTRA_TARGETS,x86_64-suse-linux" %ifarch ppc ppc64 EXTRA_TARGETS="$EXTRA_TARGETS,spu-elf" %endif +%ifarch armv5l +EXTRA_TARGETS="$EXTRA_TARGETS,armv5l-suse-linux" +%endif +%ifarch armv7l +EXTRA_TARGETS="$EXTRA_TARGETS,armv7l-suse-linux" +%endif +%ifarch armv8l +EXTRA_TARGETS="$EXTRA_TARGETS,armv8l-suse-linux" +%endif %endif %define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\ --prefix=%{_prefix} --libdir=%{_libdir} \\\ @@ -348,9 +363,7 @@ make %{?_smp_mflags} %check export SUSE_ASNEEDED=0 cd build-dir -%ifnarch %arm make -k check CFLAGS="-O2 -g" CXXFLAGS="-O2 -g" || %{make_check_handling} -%endif # # # @@ -378,6 +391,9 @@ EXTRA_TARGETS="$EXTRA_TARGETS,x86_64-suse-linux" %if "%{TARGET}" == "hppa" EXTRA_TARGETS="$EXTRA_TARGETS,hppa64-suse-linux" %endif +%if "%{TARGET}" == "arm" +EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux" +%endif %if "%{TARGET}" == "avr" || "%{TARGET}" == "spu" TARGET_OS=%{TARGET} %else