patch 13990,14189 from bintuils svn which fix the arm-elf32 related link error with...
authorBogon Kim <bogon82.kim@samsung.com>
Thu, 4 Apr 2013 07:20:13 +0000 (16:20 +0900)
committerBogon Kim <bogon82.kim@samsung.com>
Thu, 4 Apr 2013 07:20:13 +0000 (16:20 +0900)
Change-Id: Iacef27dddb078ac3e1a9a3a2eb130f2047e33bec

13 files changed:
packaging/binutils.spec
packaging/cross-armv5tel-binutils-accel.spec
packaging/cross-armv5tel-binutils.spec
packaging/cross-armv6l-binutils-accel.spec
packaging/cross-armv6l-binutils.spec
packaging/cross-armv7hl-binutils-accel.spec
packaging/cross-armv7hl-binutils.spec
packaging/cross-armv7l-binutils-accel.spec
packaging/cross-armv7l-binutils.spec
packaging/cross-armv7nhl-binutils-accel.spec
packaging/cross-armv7nhl-binutils.spec
packaging/cross-mipsel-binutils-accel.spec
packaging/cross-mipsel-binutils.spec

index bc14b70..b2bcf80 100755 (executable)
@@ -3,6 +3,7 @@
 %define enable_shared 1
 %define run_testsuite 0
 %define accelerator_crossbuild 0
+%define disable_nls 1
 
 Summary: A GNU collection of binary utilities
 Name: binutils
@@ -29,6 +30,7 @@ Patch12: fixbug13534_2.patch
 Patch13: fixbug13534_3.patch
 Patch14: fixbug13534_4.patch
 Patch15: fixbug13534_5.patch
+Patch16: pr_13990_14189.patch
 
 %if "%{name}" != "binutils"
 %if "%{name}" != "cross-mipsel-binutils"
@@ -114,6 +116,7 @@ to consider using libelf instead of BFD.
 %patch13 -p1 -b .fixbug13534_3
 %patch14 -p1 -b .fixbug13534_4
 %patch15 -p1 -b .fixbug13534_5
+%patch16 -p1
 
 # We cannot run autotools as there is an exact requirement of autoconf-2.59.
 
@@ -179,6 +182,9 @@ export CFLAGS="$CFLAGS -Wl,-rpath,/emul/ia32-linux/usr/lib:/emul/ia32-linux/lib:
   $CARGS \
   --disable-werror \
   --enable-lto \
+%if %{disable_nls}
+  --disable-nls \
+%endif
   --with-bugurl=http://bugzilla.tizen.com
 make %{_smp_mflags} tooldir=%{_prefix} all
 make %{_smp_mflags} tooldir=%{_prefix} info
@@ -293,6 +299,7 @@ rm -rf %{buildroot}%{_prefix}/%{_lib}/libiberty.a
 rm -f %{buildroot}%{_infodir}/dir
 rm -rf %{buildroot}%{_prefix}/%{binutils_target}
 
+%if !%{disable_nls}
 %find_lang %{?cross}binutils
 %find_lang %{?cross}opcodes
 %find_lang %{?cross}bfd
@@ -304,6 +311,7 @@ cat %{?cross}bfd.lang >> %{?cross}binutils.lang
 cat %{?cross}gas.lang >> %{?cross}binutils.lang
 cat %{?cross}ld.lang >> %{?cross}binutils.lang
 cat %{?cross}gprof.lang >> %{?cross}binutils.lang
+%endif
 
 %clean
 rm -rf %{buildroot}
@@ -341,7 +349,11 @@ if [ $1 = 0 ] ;then
 fi
 %endif # %{isnative}
 
+%if %{disable_nls}
+%files
+%else
 %files -f %{?cross}binutils.lang
+%endif
 %defattr(-,root,root,-)
 %doc README
 %{_prefix}/bin/*
index 396d1b7..6f44286 100755 (executable)
@@ -3,6 +3,7 @@
 %define enable_shared 1
 %define run_testsuite 0
 %define accelerator_crossbuild 0
+%define disable_nls 1
 
 Summary: A GNU collection of binary utilities
 Name: cross-armv5tel-binutils-accel
@@ -29,6 +30,7 @@ Patch12: fixbug13534_2.patch
 Patch13: fixbug13534_3.patch
 Patch14: fixbug13534_4.patch
 Patch15: fixbug13534_5.patch
+Patch16: pr_13990_14189.patch
 
 %if "%{name}" != "binutils"
 %if "%{name}" != "cross-mipsel-binutils"
@@ -114,6 +116,7 @@ to consider using libelf instead of BFD.
 %patch13 -p1 -b .fixbug13534_3
 %patch14 -p1 -b .fixbug13534_4
 %patch15 -p1 -b .fixbug13534_5
+%patch16 -p1
 
 # We cannot run autotools as there is an exact requirement of autoconf-2.59.
 
@@ -179,6 +182,9 @@ export CFLAGS="$CFLAGS -Wl,-rpath,/emul/ia32-linux/usr/lib:/emul/ia32-linux/lib:
   $CARGS \
   --disable-werror \
   --enable-lto \
+%if %{disable_nls}
+  --disable-nls \
+%endif
   --with-bugurl=http://bugzilla.tizen.com
 make %{_smp_mflags} tooldir=%{_prefix} all
 make %{_smp_mflags} tooldir=%{_prefix} info
@@ -293,6 +299,7 @@ rm -rf %{buildroot}%{_prefix}/%{_lib}/libiberty.a
 rm -f %{buildroot}%{_infodir}/dir
 rm -rf %{buildroot}%{_prefix}/%{binutils_target}
 
+%if !%{disable_nls}
 %find_lang %{?cross}binutils
 %find_lang %{?cross}opcodes
 %find_lang %{?cross}bfd
@@ -304,6 +311,7 @@ cat %{?cross}bfd.lang >> %{?cross}binutils.lang
 cat %{?cross}gas.lang >> %{?cross}binutils.lang
 cat %{?cross}ld.lang >> %{?cross}binutils.lang
 cat %{?cross}gprof.lang >> %{?cross}binutils.lang
+%endif
 
 %clean
 rm -rf %{buildroot}
@@ -341,7 +349,11 @@ if [ $1 = 0 ] ;then
 fi
 %endif # %{isnative}
 
+%if %{disable_nls}
+%files
+%else
 %files -f %{?cross}binutils.lang
+%endif
 %defattr(-,root,root,-)
 %doc README
 %{_prefix}/bin/*
index 54726af..36d386c 100755 (executable)
@@ -3,6 +3,7 @@
 %define enable_shared 1
 %define run_testsuite 0
 %define accelerator_crossbuild 0
+%define disable_nls 1
 
 Summary: A GNU collection of binary utilities
 Name: cross-armv5tel-binutils
@@ -29,6 +30,7 @@ Patch12: fixbug13534_2.patch
 Patch13: fixbug13534_3.patch
 Patch14: fixbug13534_4.patch
 Patch15: fixbug13534_5.patch
+Patch16: pr_13990_14189.patch
 
 %if "%{name}" != "binutils"
 %if "%{name}" != "cross-mipsel-binutils"
@@ -114,6 +116,7 @@ to consider using libelf instead of BFD.
 %patch13 -p1 -b .fixbug13534_3
 %patch14 -p1 -b .fixbug13534_4
 %patch15 -p1 -b .fixbug13534_5
+%patch16 -p1
 
 # We cannot run autotools as there is an exact requirement of autoconf-2.59.
 
@@ -179,6 +182,9 @@ export CFLAGS="$CFLAGS -Wl,-rpath,/emul/ia32-linux/usr/lib:/emul/ia32-linux/lib:
   $CARGS \
   --disable-werror \
   --enable-lto \
+%if %{disable_nls}
+  --disable-nls \
+%endif
   --with-bugurl=http://bugzilla.tizen.com
 make %{_smp_mflags} tooldir=%{_prefix} all
 make %{_smp_mflags} tooldir=%{_prefix} info
@@ -293,6 +299,7 @@ rm -rf %{buildroot}%{_prefix}/%{_lib}/libiberty.a
 rm -f %{buildroot}%{_infodir}/dir
 rm -rf %{buildroot}%{_prefix}/%{binutils_target}
 
+%if !%{disable_nls}
 %find_lang %{?cross}binutils
 %find_lang %{?cross}opcodes
 %find_lang %{?cross}bfd
@@ -304,6 +311,7 @@ cat %{?cross}bfd.lang >> %{?cross}binutils.lang
 cat %{?cross}gas.lang >> %{?cross}binutils.lang
 cat %{?cross}ld.lang >> %{?cross}binutils.lang
 cat %{?cross}gprof.lang >> %{?cross}binutils.lang
+%endif
 
 %clean
 rm -rf %{buildroot}
@@ -341,7 +349,11 @@ if [ $1 = 0 ] ;then
 fi
 %endif # %{isnative}
 
+%if %{disable_nls}
+%files
+%else
 %files -f %{?cross}binutils.lang
+%endif
 %defattr(-,root,root,-)
 %doc README
 %{_prefix}/bin/*
index c4c2a47..f361841 100755 (executable)
@@ -3,6 +3,7 @@
 %define enable_shared 1
 %define run_testsuite 0
 %define accelerator_crossbuild 0
+%define disable_nls 1
 
 Summary: A GNU collection of binary utilities
 Name: cross-armv6l-binutils-accel
@@ -29,6 +30,7 @@ Patch12: fixbug13534_2.patch
 Patch13: fixbug13534_3.patch
 Patch14: fixbug13534_4.patch
 Patch15: fixbug13534_5.patch
+Patch16: pr_13990_14189.patch
 
 %if "%{name}" != "binutils"
 %if "%{name}" != "cross-mipsel-binutils"
@@ -114,6 +116,7 @@ to consider using libelf instead of BFD.
 %patch13 -p1 -b .fixbug13534_3
 %patch14 -p1 -b .fixbug13534_4
 %patch15 -p1 -b .fixbug13534_5
+%patch16 -p1
 
 # We cannot run autotools as there is an exact requirement of autoconf-2.59.
 
@@ -179,6 +182,9 @@ export CFLAGS="$CFLAGS -Wl,-rpath,/emul/ia32-linux/usr/lib:/emul/ia32-linux/lib:
   $CARGS \
   --disable-werror \
   --enable-lto \
+%if %{disable_nls}
+  --disable-nls \
+%endif
   --with-bugurl=http://bugzilla.tizen.com
 make %{_smp_mflags} tooldir=%{_prefix} all
 make %{_smp_mflags} tooldir=%{_prefix} info
@@ -293,6 +299,7 @@ rm -rf %{buildroot}%{_prefix}/%{_lib}/libiberty.a
 rm -f %{buildroot}%{_infodir}/dir
 rm -rf %{buildroot}%{_prefix}/%{binutils_target}
 
+%if !%{disable_nls}
 %find_lang %{?cross}binutils
 %find_lang %{?cross}opcodes
 %find_lang %{?cross}bfd
@@ -304,6 +311,7 @@ cat %{?cross}bfd.lang >> %{?cross}binutils.lang
 cat %{?cross}gas.lang >> %{?cross}binutils.lang
 cat %{?cross}ld.lang >> %{?cross}binutils.lang
 cat %{?cross}gprof.lang >> %{?cross}binutils.lang
+%endif
 
 %clean
 rm -rf %{buildroot}
@@ -341,7 +349,11 @@ if [ $1 = 0 ] ;then
 fi
 %endif # %{isnative}
 
+%if %{disable_nls}
+%files
+%else
 %files -f %{?cross}binutils.lang
+%endif
 %defattr(-,root,root,-)
 %doc README
 %{_prefix}/bin/*
index f6e4899..e99e99e 100755 (executable)
@@ -3,6 +3,7 @@
 %define enable_shared 1
 %define run_testsuite 0
 %define accelerator_crossbuild 0
+%define disable_nls 1
 
 Summary: A GNU collection of binary utilities
 Name: cross-armv6l-binutils
@@ -29,6 +30,7 @@ Patch12: fixbug13534_2.patch
 Patch13: fixbug13534_3.patch
 Patch14: fixbug13534_4.patch
 Patch15: fixbug13534_5.patch
+Patch16: pr_13990_14189.patch
 
 %if "%{name}" != "binutils"
 %if "%{name}" != "cross-mipsel-binutils"
@@ -114,6 +116,7 @@ to consider using libelf instead of BFD.
 %patch13 -p1 -b .fixbug13534_3
 %patch14 -p1 -b .fixbug13534_4
 %patch15 -p1 -b .fixbug13534_5
+%patch16 -p1
 
 # We cannot run autotools as there is an exact requirement of autoconf-2.59.
 
@@ -179,6 +182,9 @@ export CFLAGS="$CFLAGS -Wl,-rpath,/emul/ia32-linux/usr/lib:/emul/ia32-linux/lib:
   $CARGS \
   --disable-werror \
   --enable-lto \
+%if %{disable_nls}
+  --disable-nls \
+%endif
   --with-bugurl=http://bugzilla.tizen.com
 make %{_smp_mflags} tooldir=%{_prefix} all
 make %{_smp_mflags} tooldir=%{_prefix} info
@@ -293,6 +299,7 @@ rm -rf %{buildroot}%{_prefix}/%{_lib}/libiberty.a
 rm -f %{buildroot}%{_infodir}/dir
 rm -rf %{buildroot}%{_prefix}/%{binutils_target}
 
+%if !%{disable_nls}
 %find_lang %{?cross}binutils
 %find_lang %{?cross}opcodes
 %find_lang %{?cross}bfd
@@ -304,6 +311,7 @@ cat %{?cross}bfd.lang >> %{?cross}binutils.lang
 cat %{?cross}gas.lang >> %{?cross}binutils.lang
 cat %{?cross}ld.lang >> %{?cross}binutils.lang
 cat %{?cross}gprof.lang >> %{?cross}binutils.lang
+%endif
 
 %clean
 rm -rf %{buildroot}
@@ -341,7 +349,11 @@ if [ $1 = 0 ] ;then
 fi
 %endif # %{isnative}
 
+%if %{disable_nls}
+%files
+%else
 %files -f %{?cross}binutils.lang
+%endif
 %defattr(-,root,root,-)
 %doc README
 %{_prefix}/bin/*
index 86fce57..1ec1816 100755 (executable)
@@ -3,6 +3,7 @@
 %define enable_shared 1
 %define run_testsuite 0
 %define accelerator_crossbuild 0
+%define disable_nls 1
 
 Summary: A GNU collection of binary utilities
 Name: cross-armv7hl-binutils-accel
@@ -29,6 +30,7 @@ Patch12: fixbug13534_2.patch
 Patch13: fixbug13534_3.patch
 Patch14: fixbug13534_4.patch
 Patch15: fixbug13534_5.patch
+Patch16: pr_13990_14189.patch
 
 %if "%{name}" != "binutils"
 %if "%{name}" != "cross-mipsel-binutils"
@@ -114,6 +116,7 @@ to consider using libelf instead of BFD.
 %patch13 -p1 -b .fixbug13534_3
 %patch14 -p1 -b .fixbug13534_4
 %patch15 -p1 -b .fixbug13534_5
+%patch16 -p1
 
 # We cannot run autotools as there is an exact requirement of autoconf-2.59.
 
@@ -179,6 +182,9 @@ export CFLAGS="$CFLAGS -Wl,-rpath,/emul/ia32-linux/usr/lib:/emul/ia32-linux/lib:
   $CARGS \
   --disable-werror \
   --enable-lto \
+%if %{disable_nls}
+  --disable-nls \
+%endif
   --with-bugurl=http://bugzilla.tizen.com
 make %{_smp_mflags} tooldir=%{_prefix} all
 make %{_smp_mflags} tooldir=%{_prefix} info
@@ -293,6 +299,7 @@ rm -rf %{buildroot}%{_prefix}/%{_lib}/libiberty.a
 rm -f %{buildroot}%{_infodir}/dir
 rm -rf %{buildroot}%{_prefix}/%{binutils_target}
 
+%if !%{disable_nls}
 %find_lang %{?cross}binutils
 %find_lang %{?cross}opcodes
 %find_lang %{?cross}bfd
@@ -304,6 +311,7 @@ cat %{?cross}bfd.lang >> %{?cross}binutils.lang
 cat %{?cross}gas.lang >> %{?cross}binutils.lang
 cat %{?cross}ld.lang >> %{?cross}binutils.lang
 cat %{?cross}gprof.lang >> %{?cross}binutils.lang
+%endif
 
 %clean
 rm -rf %{buildroot}
@@ -341,7 +349,11 @@ if [ $1 = 0 ] ;then
 fi
 %endif # %{isnative}
 
+%if %{disable_nls}
+%files
+%else
 %files -f %{?cross}binutils.lang
+%endif
 %defattr(-,root,root,-)
 %doc README
 %{_prefix}/bin/*
index 4ec6e0c..a81e419 100755 (executable)
@@ -3,6 +3,7 @@
 %define enable_shared 1
 %define run_testsuite 0
 %define accelerator_crossbuild 0
+%define disable_nls 1
 
 Summary: A GNU collection of binary utilities
 Name: cross-armv7hl-binutils
@@ -29,6 +30,7 @@ Patch12: fixbug13534_2.patch
 Patch13: fixbug13534_3.patch
 Patch14: fixbug13534_4.patch
 Patch15: fixbug13534_5.patch
+Patch16: pr_13990_14189.patch
 
 %if "%{name}" != "binutils"
 %if "%{name}" != "cross-mipsel-binutils"
@@ -114,6 +116,7 @@ to consider using libelf instead of BFD.
 %patch13 -p1 -b .fixbug13534_3
 %patch14 -p1 -b .fixbug13534_4
 %patch15 -p1 -b .fixbug13534_5
+%patch16 -p1
 
 # We cannot run autotools as there is an exact requirement of autoconf-2.59.
 
@@ -179,6 +182,9 @@ export CFLAGS="$CFLAGS -Wl,-rpath,/emul/ia32-linux/usr/lib:/emul/ia32-linux/lib:
   $CARGS \
   --disable-werror \
   --enable-lto \
+%if %{disable_nls}
+  --disable-nls \
+%endif
   --with-bugurl=http://bugzilla.tizen.com
 make %{_smp_mflags} tooldir=%{_prefix} all
 make %{_smp_mflags} tooldir=%{_prefix} info
@@ -293,6 +299,7 @@ rm -rf %{buildroot}%{_prefix}/%{_lib}/libiberty.a
 rm -f %{buildroot}%{_infodir}/dir
 rm -rf %{buildroot}%{_prefix}/%{binutils_target}
 
+%if !%{disable_nls}
 %find_lang %{?cross}binutils
 %find_lang %{?cross}opcodes
 %find_lang %{?cross}bfd
@@ -304,6 +311,7 @@ cat %{?cross}bfd.lang >> %{?cross}binutils.lang
 cat %{?cross}gas.lang >> %{?cross}binutils.lang
 cat %{?cross}ld.lang >> %{?cross}binutils.lang
 cat %{?cross}gprof.lang >> %{?cross}binutils.lang
+%endif
 
 %clean
 rm -rf %{buildroot}
@@ -341,7 +349,11 @@ if [ $1 = 0 ] ;then
 fi
 %endif # %{isnative}
 
+%if %{disable_nls}
+%files
+%else
 %files -f %{?cross}binutils.lang
+%endif
 %defattr(-,root,root,-)
 %doc README
 %{_prefix}/bin/*
index 88cf953..186b26a 100755 (executable)
@@ -3,6 +3,7 @@
 %define enable_shared 1
 %define run_testsuite 0
 %define accelerator_crossbuild 0
+%define disable_nls 1
 
 Summary: A GNU collection of binary utilities
 Name: cross-armv7l-binutils-accel
@@ -29,6 +30,7 @@ Patch12: fixbug13534_2.patch
 Patch13: fixbug13534_3.patch
 Patch14: fixbug13534_4.patch
 Patch15: fixbug13534_5.patch
+Patch16: pr_13990_14189.patch
 
 %if "%{name}" != "binutils"
 %if "%{name}" != "cross-mipsel-binutils"
@@ -114,6 +116,7 @@ to consider using libelf instead of BFD.
 %patch13 -p1 -b .fixbug13534_3
 %patch14 -p1 -b .fixbug13534_4
 %patch15 -p1 -b .fixbug13534_5
+%patch16 -p1
 
 # We cannot run autotools as there is an exact requirement of autoconf-2.59.
 
@@ -179,6 +182,9 @@ export CFLAGS="$CFLAGS -Wl,-rpath,/emul/ia32-linux/usr/lib:/emul/ia32-linux/lib:
   $CARGS \
   --disable-werror \
   --enable-lto \
+%if %{disable_nls}
+  --disable-nls \
+%endif
   --with-bugurl=http://bugzilla.tizen.com
 make %{_smp_mflags} tooldir=%{_prefix} all
 make %{_smp_mflags} tooldir=%{_prefix} info
@@ -293,6 +299,7 @@ rm -rf %{buildroot}%{_prefix}/%{_lib}/libiberty.a
 rm -f %{buildroot}%{_infodir}/dir
 rm -rf %{buildroot}%{_prefix}/%{binutils_target}
 
+%if !%{disable_nls}
 %find_lang %{?cross}binutils
 %find_lang %{?cross}opcodes
 %find_lang %{?cross}bfd
@@ -304,6 +311,7 @@ cat %{?cross}bfd.lang >> %{?cross}binutils.lang
 cat %{?cross}gas.lang >> %{?cross}binutils.lang
 cat %{?cross}ld.lang >> %{?cross}binutils.lang
 cat %{?cross}gprof.lang >> %{?cross}binutils.lang
+%endif
 
 %clean
 rm -rf %{buildroot}
@@ -341,7 +349,11 @@ if [ $1 = 0 ] ;then
 fi
 %endif # %{isnative}
 
+%if %{disable_nls}
+%files
+%else
 %files -f %{?cross}binutils.lang
+%endif
 %defattr(-,root,root,-)
 %doc README
 %{_prefix}/bin/*
index ce10dbe..f0750bc 100755 (executable)
@@ -3,6 +3,7 @@
 %define enable_shared 1
 %define run_testsuite 0
 %define accelerator_crossbuild 0
+%define disable_nls 1
 
 Summary: A GNU collection of binary utilities
 Name: cross-armv7l-binutils
@@ -29,6 +30,7 @@ Patch12: fixbug13534_2.patch
 Patch13: fixbug13534_3.patch
 Patch14: fixbug13534_4.patch
 Patch15: fixbug13534_5.patch
+Patch16: pr_13990_14189.patch
 
 %if "%{name}" != "binutils"
 %if "%{name}" != "cross-mipsel-binutils"
@@ -114,6 +116,7 @@ to consider using libelf instead of BFD.
 %patch13 -p1 -b .fixbug13534_3
 %patch14 -p1 -b .fixbug13534_4
 %patch15 -p1 -b .fixbug13534_5
+%patch16 -p1
 
 # We cannot run autotools as there is an exact requirement of autoconf-2.59.
 
@@ -179,6 +182,9 @@ export CFLAGS="$CFLAGS -Wl,-rpath,/emul/ia32-linux/usr/lib:/emul/ia32-linux/lib:
   $CARGS \
   --disable-werror \
   --enable-lto \
+%if %{disable_nls}
+  --disable-nls \
+%endif
   --with-bugurl=http://bugzilla.tizen.com
 make %{_smp_mflags} tooldir=%{_prefix} all
 make %{_smp_mflags} tooldir=%{_prefix} info
@@ -293,6 +299,7 @@ rm -rf %{buildroot}%{_prefix}/%{_lib}/libiberty.a
 rm -f %{buildroot}%{_infodir}/dir
 rm -rf %{buildroot}%{_prefix}/%{binutils_target}
 
+%if !%{disable_nls}
 %find_lang %{?cross}binutils
 %find_lang %{?cross}opcodes
 %find_lang %{?cross}bfd
@@ -304,6 +311,7 @@ cat %{?cross}bfd.lang >> %{?cross}binutils.lang
 cat %{?cross}gas.lang >> %{?cross}binutils.lang
 cat %{?cross}ld.lang >> %{?cross}binutils.lang
 cat %{?cross}gprof.lang >> %{?cross}binutils.lang
+%endif
 
 %clean
 rm -rf %{buildroot}
@@ -341,7 +349,11 @@ if [ $1 = 0 ] ;then
 fi
 %endif # %{isnative}
 
+%if %{disable_nls}
+%files
+%else
 %files -f %{?cross}binutils.lang
+%endif
 %defattr(-,root,root,-)
 %doc README
 %{_prefix}/bin/*
index 756cac0..32dd3ba 100755 (executable)
@@ -3,6 +3,7 @@
 %define enable_shared 1
 %define run_testsuite 0
 %define accelerator_crossbuild 0
+%define disable_nls 1
 
 Summary: A GNU collection of binary utilities
 Name: cross-armv7nhl-binutils-accel
@@ -29,6 +30,7 @@ Patch12: fixbug13534_2.patch
 Patch13: fixbug13534_3.patch
 Patch14: fixbug13534_4.patch
 Patch15: fixbug13534_5.patch
+Patch16: pr_13990_14189.patch
 
 %if "%{name}" != "binutils"
 %if "%{name}" != "cross-mipsel-binutils"
@@ -114,6 +116,7 @@ to consider using libelf instead of BFD.
 %patch13 -p1 -b .fixbug13534_3
 %patch14 -p1 -b .fixbug13534_4
 %patch15 -p1 -b .fixbug13534_5
+%patch16 -p1
 
 # We cannot run autotools as there is an exact requirement of autoconf-2.59.
 
@@ -179,6 +182,9 @@ export CFLAGS="$CFLAGS -Wl,-rpath,/emul/ia32-linux/usr/lib:/emul/ia32-linux/lib:
   $CARGS \
   --disable-werror \
   --enable-lto \
+%if %{disable_nls}
+  --disable-nls \
+%endif
   --with-bugurl=http://bugzilla.tizen.com
 make %{_smp_mflags} tooldir=%{_prefix} all
 make %{_smp_mflags} tooldir=%{_prefix} info
@@ -293,6 +299,7 @@ rm -rf %{buildroot}%{_prefix}/%{_lib}/libiberty.a
 rm -f %{buildroot}%{_infodir}/dir
 rm -rf %{buildroot}%{_prefix}/%{binutils_target}
 
+%if !%{disable_nls}
 %find_lang %{?cross}binutils
 %find_lang %{?cross}opcodes
 %find_lang %{?cross}bfd
@@ -304,6 +311,7 @@ cat %{?cross}bfd.lang >> %{?cross}binutils.lang
 cat %{?cross}gas.lang >> %{?cross}binutils.lang
 cat %{?cross}ld.lang >> %{?cross}binutils.lang
 cat %{?cross}gprof.lang >> %{?cross}binutils.lang
+%endif
 
 %clean
 rm -rf %{buildroot}
@@ -341,7 +349,11 @@ if [ $1 = 0 ] ;then
 fi
 %endif # %{isnative}
 
+%if %{disable_nls}
+%files
+%else
 %files -f %{?cross}binutils.lang
+%endif
 %defattr(-,root,root,-)
 %doc README
 %{_prefix}/bin/*
index bbdf356..19c916f 100755 (executable)
@@ -3,6 +3,7 @@
 %define enable_shared 1
 %define run_testsuite 0
 %define accelerator_crossbuild 0
+%define disable_nls 1
 
 Summary: A GNU collection of binary utilities
 Name: cross-armv7nhl-binutils
@@ -29,6 +30,7 @@ Patch12: fixbug13534_2.patch
 Patch13: fixbug13534_3.patch
 Patch14: fixbug13534_4.patch
 Patch15: fixbug13534_5.patch
+Patch16: pr_13990_14189.patch
 
 %if "%{name}" != "binutils"
 %if "%{name}" != "cross-mipsel-binutils"
@@ -114,6 +116,7 @@ to consider using libelf instead of BFD.
 %patch13 -p1 -b .fixbug13534_3
 %patch14 -p1 -b .fixbug13534_4
 %patch15 -p1 -b .fixbug13534_5
+%patch16 -p1
 
 # We cannot run autotools as there is an exact requirement of autoconf-2.59.
 
@@ -179,6 +182,9 @@ export CFLAGS="$CFLAGS -Wl,-rpath,/emul/ia32-linux/usr/lib:/emul/ia32-linux/lib:
   $CARGS \
   --disable-werror \
   --enable-lto \
+%if %{disable_nls}
+  --disable-nls \
+%endif
   --with-bugurl=http://bugzilla.tizen.com
 make %{_smp_mflags} tooldir=%{_prefix} all
 make %{_smp_mflags} tooldir=%{_prefix} info
@@ -293,6 +299,7 @@ rm -rf %{buildroot}%{_prefix}/%{_lib}/libiberty.a
 rm -f %{buildroot}%{_infodir}/dir
 rm -rf %{buildroot}%{_prefix}/%{binutils_target}
 
+%if !%{disable_nls}
 %find_lang %{?cross}binutils
 %find_lang %{?cross}opcodes
 %find_lang %{?cross}bfd
@@ -304,6 +311,7 @@ cat %{?cross}bfd.lang >> %{?cross}binutils.lang
 cat %{?cross}gas.lang >> %{?cross}binutils.lang
 cat %{?cross}ld.lang >> %{?cross}binutils.lang
 cat %{?cross}gprof.lang >> %{?cross}binutils.lang
+%endif
 
 %clean
 rm -rf %{buildroot}
@@ -341,7 +349,11 @@ if [ $1 = 0 ] ;then
 fi
 %endif # %{isnative}
 
+%if %{disable_nls}
+%files
+%else
 %files -f %{?cross}binutils.lang
+%endif
 %defattr(-,root,root,-)
 %doc README
 %{_prefix}/bin/*
index 4b74b7e..58860c3 100755 (executable)
@@ -3,6 +3,7 @@
 %define enable_shared 1
 %define run_testsuite 0
 %define accelerator_crossbuild 0
+%define disable_nls 1
 
 Summary: A GNU collection of binary utilities
 Name: cross-mipsel-binutils-accel
@@ -29,6 +30,7 @@ Patch12: fixbug13534_2.patch
 Patch13: fixbug13534_3.patch
 Patch14: fixbug13534_4.patch
 Patch15: fixbug13534_5.patch
+Patch16: pr_13990_14189.patch
 
 %if "%{name}" != "binutils"
 %if "%{name}" != "cross-mipsel-binutils"
@@ -114,6 +116,7 @@ to consider using libelf instead of BFD.
 %patch13 -p1 -b .fixbug13534_3
 %patch14 -p1 -b .fixbug13534_4
 %patch15 -p1 -b .fixbug13534_5
+%patch16 -p1
 
 # We cannot run autotools as there is an exact requirement of autoconf-2.59.
 
@@ -179,6 +182,9 @@ export CFLAGS="$CFLAGS -Wl,-rpath,/emul/ia32-linux/usr/lib:/emul/ia32-linux/lib:
   $CARGS \
   --disable-werror \
   --enable-lto \
+%if %{disable_nls}
+  --disable-nls \
+%endif
   --with-bugurl=http://bugzilla.tizen.com
 make %{_smp_mflags} tooldir=%{_prefix} all
 make %{_smp_mflags} tooldir=%{_prefix} info
@@ -293,6 +299,7 @@ rm -rf %{buildroot}%{_prefix}/%{_lib}/libiberty.a
 rm -f %{buildroot}%{_infodir}/dir
 rm -rf %{buildroot}%{_prefix}/%{binutils_target}
 
+%if !%{disable_nls}
 %find_lang %{?cross}binutils
 %find_lang %{?cross}opcodes
 %find_lang %{?cross}bfd
@@ -304,6 +311,7 @@ cat %{?cross}bfd.lang >> %{?cross}binutils.lang
 cat %{?cross}gas.lang >> %{?cross}binutils.lang
 cat %{?cross}ld.lang >> %{?cross}binutils.lang
 cat %{?cross}gprof.lang >> %{?cross}binutils.lang
+%endif
 
 %clean
 rm -rf %{buildroot}
@@ -341,7 +349,11 @@ if [ $1 = 0 ] ;then
 fi
 %endif # %{isnative}
 
+%if %{disable_nls}
+%files
+%else
 %files -f %{?cross}binutils.lang
+%endif
 %defattr(-,root,root,-)
 %doc README
 %{_prefix}/bin/*
index cc2e4c3..72b2bae 100755 (executable)
@@ -3,6 +3,7 @@
 %define enable_shared 1
 %define run_testsuite 0
 %define accelerator_crossbuild 0
+%define disable_nls 1
 
 Summary: A GNU collection of binary utilities
 Name: cross-mipsel-binutils
@@ -29,6 +30,7 @@ Patch12: fixbug13534_2.patch
 Patch13: fixbug13534_3.patch
 Patch14: fixbug13534_4.patch
 Patch15: fixbug13534_5.patch
+Patch16: pr_13990_14189.patch
 
 %if "%{name}" != "binutils"
 %if "%{name}" != "cross-mipsel-binutils"
@@ -114,6 +116,7 @@ to consider using libelf instead of BFD.
 %patch13 -p1 -b .fixbug13534_3
 %patch14 -p1 -b .fixbug13534_4
 %patch15 -p1 -b .fixbug13534_5
+%patch16 -p1
 
 # We cannot run autotools as there is an exact requirement of autoconf-2.59.
 
@@ -179,6 +182,9 @@ export CFLAGS="$CFLAGS -Wl,-rpath,/emul/ia32-linux/usr/lib:/emul/ia32-linux/lib:
   $CARGS \
   --disable-werror \
   --enable-lto \
+%if %{disable_nls}
+  --disable-nls \
+%endif
   --with-bugurl=http://bugzilla.tizen.com
 make %{_smp_mflags} tooldir=%{_prefix} all
 make %{_smp_mflags} tooldir=%{_prefix} info
@@ -293,6 +299,7 @@ rm -rf %{buildroot}%{_prefix}/%{_lib}/libiberty.a
 rm -f %{buildroot}%{_infodir}/dir
 rm -rf %{buildroot}%{_prefix}/%{binutils_target}
 
+%if !%{disable_nls}
 %find_lang %{?cross}binutils
 %find_lang %{?cross}opcodes
 %find_lang %{?cross}bfd
@@ -304,6 +311,7 @@ cat %{?cross}bfd.lang >> %{?cross}binutils.lang
 cat %{?cross}gas.lang >> %{?cross}binutils.lang
 cat %{?cross}ld.lang >> %{?cross}binutils.lang
 cat %{?cross}gprof.lang >> %{?cross}binutils.lang
+%endif
 
 %clean
 rm -rf %{buildroot}
@@ -341,7 +349,11 @@ if [ $1 = 0 ] ;then
 fi
 %endif # %{isnative}
 
+%if %{disable_nls}
+%files
+%else
 %files -f %{?cross}binutils.lang
+%endif
 %defattr(-,root,root,-)
 %doc README
 %{_prefix}/bin/*