From 9441abea4960bd08365b11593ba22ef0199e0671d6945a49b753e7b88e8b2452 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Fri, 21 Nov 2008 14:06:01 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/binutils?expand=0&rev=25 --- binutils.changes | 5 + binutils.spec | 6 +- cross-alpha-binutils.changes | 5 + cross-alpha-binutils.spec | 6 +- cross-arm-binutils.changes | 5 + cross-arm-binutils.spec | 6 +- cross-avr-binutils.changes | 5 + cross-avr-binutils.spec | 6 +- cross-hppa-binutils.changes | 5 + cross-hppa-binutils.spec | 6 +- cross-hppa64-binutils.changes | 5 + cross-hppa64-binutils.spec | 6 +- cross-i386-binutils.changes | 5 + cross-i386-binutils.spec | 6 +- cross-ia64-binutils.changes | 5 + cross-ia64-binutils.spec | 6 +- cross-mips-binutils.changes | 5 + cross-mips-binutils.spec | 6 +- cross-ppc-binutils.changes | 5 + cross-ppc-binutils.spec | 6 +- cross-ppc64-binutils.changes | 5 + cross-ppc64-binutils.spec | 6 +- cross-s390-binutils.changes | 5 + cross-s390-binutils.spec | 6 +- cross-s390x-binutils.changes | 5 + cross-s390x-binutils.spec | 6 +- cross-sh4-binutils.changes | 5 + cross-sh4-binutils.spec | 6 +- cross-sparc-binutils.changes | 5 + cross-sparc-binutils.spec | 6 +- cross-spu-binutils.changes | 5 + cross-spu-binutils.spec | 6 +- cross-x86_64-binutils.changes | 5 + cross-x86_64-binutils.spec | 6 +- dw-cfa-advance-loc.diff | 191 ++++++++++++++++++++++++++++++++++ 35 files changed, 361 insertions(+), 17 deletions(-) create mode 100644 dw-cfa-advance-loc.diff diff --git a/binutils.changes b/binutils.changes index 08451fa..5fb3f52 100644 --- a/binutils.changes +++ b/binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Nov 19 17:50:52 CET 2008 - schwab@suse.de + +- Fix handling of DW_CFA_advance_loc* in the assembler. + ------------------------------------------------------------------- Mon Nov 10 15:29:56 CET 2008 - schwab@suse.de diff --git a/binutils.spec b/binutils.spec index bd92d3f..be517e5 100644 --- a/binutils.spec +++ b/binutils.spec @@ -20,7 +20,7 @@ Name: binutils BuildRequires: bison dejagnu flex gcc-c++ zlib-devel Version: 2.19 -Release: 4 +Release: 6 # # RUN_TESTS %define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?) @@ -80,6 +80,7 @@ Patch11: use-hashtype-both-by-default.diff Patch12: s390-pic-dso.diff Patch13: common-sysroot-binutils.diff Patch14: assign-file-positions.diff +Patch15: dw-cfa-advance-loc.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -248,6 +249,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch12 %patch13 %patch14 +%patch15 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 @@ -466,6 +468,8 @@ rm -rf $RPM_BUILD_ROOT %{_libdir}/lib*.a %changelog +* Wed Nov 19 2008 schwab@suse.de +- Fix handling of DW_CFA_advance_loc* in the assembler. * Mon Nov 10 2008 schwab@suse.de - Update last change. * Fri Nov 07 2008 schwab@suse.de diff --git a/cross-alpha-binutils.changes b/cross-alpha-binutils.changes index 08451fa..5fb3f52 100644 --- a/cross-alpha-binutils.changes +++ b/cross-alpha-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Nov 19 17:50:52 CET 2008 - schwab@suse.de + +- Fix handling of DW_CFA_advance_loc* in the assembler. + ------------------------------------------------------------------- Mon Nov 10 15:29:56 CET 2008 - schwab@suse.de diff --git a/cross-alpha-binutils.spec b/cross-alpha-binutils.spec index e2451b2..5f56f84 100644 --- a/cross-alpha-binutils.spec +++ b/cross-alpha-binutils.spec @@ -20,7 +20,7 @@ Name: cross-alpha-binutils BuildRequires: bison dejagnu flex gcc-c++ zlib-devel Version: 2.19 -Release: 4 +Release: 6 # # RUN_TESTS %define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?) @@ -80,6 +80,7 @@ Patch11: use-hashtype-both-by-default.diff Patch12: s390-pic-dso.diff Patch13: common-sysroot-binutils.diff Patch14: assign-file-positions.diff +Patch15: dw-cfa-advance-loc.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -181,6 +182,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch12 %patch13 %patch14 +%patch15 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 @@ -394,6 +396,8 @@ rm -rf $RPM_BUILD_ROOT %endif %changelog +* Wed Nov 19 2008 schwab@suse.de +- Fix handling of DW_CFA_advance_loc* in the assembler. * Mon Nov 10 2008 schwab@suse.de - Update last change. * Fri Nov 07 2008 schwab@suse.de diff --git a/cross-arm-binutils.changes b/cross-arm-binutils.changes index 08451fa..5fb3f52 100644 --- a/cross-arm-binutils.changes +++ b/cross-arm-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Nov 19 17:50:52 CET 2008 - schwab@suse.de + +- Fix handling of DW_CFA_advance_loc* in the assembler. + ------------------------------------------------------------------- Mon Nov 10 15:29:56 CET 2008 - schwab@suse.de diff --git a/cross-arm-binutils.spec b/cross-arm-binutils.spec index caefd68..73e2be4 100644 --- a/cross-arm-binutils.spec +++ b/cross-arm-binutils.spec @@ -20,7 +20,7 @@ Name: cross-arm-binutils BuildRequires: bison dejagnu flex gcc-c++ zlib-devel Version: 2.19 -Release: 4 +Release: 6 # # RUN_TESTS %define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?) @@ -80,6 +80,7 @@ Patch11: use-hashtype-both-by-default.diff Patch12: s390-pic-dso.diff Patch13: common-sysroot-binutils.diff Patch14: assign-file-positions.diff +Patch15: dw-cfa-advance-loc.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -181,6 +182,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch12 %patch13 %patch14 +%patch15 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 @@ -394,6 +396,8 @@ rm -rf $RPM_BUILD_ROOT %endif %changelog +* Wed Nov 19 2008 schwab@suse.de +- Fix handling of DW_CFA_advance_loc* in the assembler. * Mon Nov 10 2008 schwab@suse.de - Update last change. * Fri Nov 07 2008 schwab@suse.de diff --git a/cross-avr-binutils.changes b/cross-avr-binutils.changes index 08451fa..5fb3f52 100644 --- a/cross-avr-binutils.changes +++ b/cross-avr-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Nov 19 17:50:52 CET 2008 - schwab@suse.de + +- Fix handling of DW_CFA_advance_loc* in the assembler. + ------------------------------------------------------------------- Mon Nov 10 15:29:56 CET 2008 - schwab@suse.de diff --git a/cross-avr-binutils.spec b/cross-avr-binutils.spec index 099363a..953f3e4 100644 --- a/cross-avr-binutils.spec +++ b/cross-avr-binutils.spec @@ -20,7 +20,7 @@ Name: cross-avr-binutils BuildRequires: bison dejagnu flex gcc-c++ zlib-devel Version: 2.19 -Release: 4 +Release: 6 # # RUN_TESTS %define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?) @@ -80,6 +80,7 @@ Patch11: use-hashtype-both-by-default.diff Patch12: s390-pic-dso.diff Patch13: common-sysroot-binutils.diff Patch14: assign-file-positions.diff +Patch15: dw-cfa-advance-loc.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -181,6 +182,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch12 %patch13 %patch14 +%patch15 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 @@ -394,6 +396,8 @@ rm -rf $RPM_BUILD_ROOT %endif %changelog +* Wed Nov 19 2008 schwab@suse.de +- Fix handling of DW_CFA_advance_loc* in the assembler. * Mon Nov 10 2008 schwab@suse.de - Update last change. * Fri Nov 07 2008 schwab@suse.de diff --git a/cross-hppa-binutils.changes b/cross-hppa-binutils.changes index 08451fa..5fb3f52 100644 --- a/cross-hppa-binutils.changes +++ b/cross-hppa-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Nov 19 17:50:52 CET 2008 - schwab@suse.de + +- Fix handling of DW_CFA_advance_loc* in the assembler. + ------------------------------------------------------------------- Mon Nov 10 15:29:56 CET 2008 - schwab@suse.de diff --git a/cross-hppa-binutils.spec b/cross-hppa-binutils.spec index 845c0d6..faaa92f 100644 --- a/cross-hppa-binutils.spec +++ b/cross-hppa-binutils.spec @@ -20,7 +20,7 @@ Name: cross-hppa-binutils BuildRequires: bison dejagnu flex gcc-c++ zlib-devel Version: 2.19 -Release: 4 +Release: 6 # # RUN_TESTS %define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?) @@ -80,6 +80,7 @@ Patch11: use-hashtype-both-by-default.diff Patch12: s390-pic-dso.diff Patch13: common-sysroot-binutils.diff Patch14: assign-file-positions.diff +Patch15: dw-cfa-advance-loc.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -181,6 +182,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch12 %patch13 %patch14 +%patch15 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 @@ -394,6 +396,8 @@ rm -rf $RPM_BUILD_ROOT %endif %changelog +* Wed Nov 19 2008 schwab@suse.de +- Fix handling of DW_CFA_advance_loc* in the assembler. * Mon Nov 10 2008 schwab@suse.de - Update last change. * Fri Nov 07 2008 schwab@suse.de diff --git a/cross-hppa64-binutils.changes b/cross-hppa64-binutils.changes index 08451fa..5fb3f52 100644 --- a/cross-hppa64-binutils.changes +++ b/cross-hppa64-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Nov 19 17:50:52 CET 2008 - schwab@suse.de + +- Fix handling of DW_CFA_advance_loc* in the assembler. + ------------------------------------------------------------------- Mon Nov 10 15:29:56 CET 2008 - schwab@suse.de diff --git a/cross-hppa64-binutils.spec b/cross-hppa64-binutils.spec index 5c1274d..4181420 100644 --- a/cross-hppa64-binutils.spec +++ b/cross-hppa64-binutils.spec @@ -20,7 +20,7 @@ Name: cross-hppa64-binutils BuildRequires: bison dejagnu flex gcc-c++ zlib-devel Version: 2.19 -Release: 4 +Release: 6 # # RUN_TESTS %define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?) @@ -80,6 +80,7 @@ Patch11: use-hashtype-both-by-default.diff Patch12: s390-pic-dso.diff Patch13: common-sysroot-binutils.diff Patch14: assign-file-positions.diff +Patch15: dw-cfa-advance-loc.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -181,6 +182,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch12 %patch13 %patch14 +%patch15 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 @@ -394,6 +396,8 @@ rm -rf $RPM_BUILD_ROOT %endif %changelog +* Wed Nov 19 2008 schwab@suse.de +- Fix handling of DW_CFA_advance_loc* in the assembler. * Mon Nov 10 2008 schwab@suse.de - Update last change. * Fri Nov 07 2008 schwab@suse.de diff --git a/cross-i386-binutils.changes b/cross-i386-binutils.changes index 08451fa..5fb3f52 100644 --- a/cross-i386-binutils.changes +++ b/cross-i386-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Nov 19 17:50:52 CET 2008 - schwab@suse.de + +- Fix handling of DW_CFA_advance_loc* in the assembler. + ------------------------------------------------------------------- Mon Nov 10 15:29:56 CET 2008 - schwab@suse.de diff --git a/cross-i386-binutils.spec b/cross-i386-binutils.spec index 64c773d..e8b50dc 100644 --- a/cross-i386-binutils.spec +++ b/cross-i386-binutils.spec @@ -20,7 +20,7 @@ Name: cross-i386-binutils BuildRequires: bison dejagnu flex gcc-c++ zlib-devel Version: 2.19 -Release: 4 +Release: 6 # # RUN_TESTS %define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?) @@ -80,6 +80,7 @@ Patch11: use-hashtype-both-by-default.diff Patch12: s390-pic-dso.diff Patch13: common-sysroot-binutils.diff Patch14: assign-file-positions.diff +Patch15: dw-cfa-advance-loc.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -181,6 +182,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch12 %patch13 %patch14 +%patch15 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 @@ -394,6 +396,8 @@ rm -rf $RPM_BUILD_ROOT %endif %changelog +* Wed Nov 19 2008 schwab@suse.de +- Fix handling of DW_CFA_advance_loc* in the assembler. * Mon Nov 10 2008 schwab@suse.de - Update last change. * Fri Nov 07 2008 schwab@suse.de diff --git a/cross-ia64-binutils.changes b/cross-ia64-binutils.changes index 08451fa..5fb3f52 100644 --- a/cross-ia64-binutils.changes +++ b/cross-ia64-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Nov 19 17:50:52 CET 2008 - schwab@suse.de + +- Fix handling of DW_CFA_advance_loc* in the assembler. + ------------------------------------------------------------------- Mon Nov 10 15:29:56 CET 2008 - schwab@suse.de diff --git a/cross-ia64-binutils.spec b/cross-ia64-binutils.spec index b149a93..f88c8af 100644 --- a/cross-ia64-binutils.spec +++ b/cross-ia64-binutils.spec @@ -20,7 +20,7 @@ Name: cross-ia64-binutils BuildRequires: bison dejagnu flex gcc-c++ zlib-devel Version: 2.19 -Release: 4 +Release: 6 # # RUN_TESTS %define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?) @@ -80,6 +80,7 @@ Patch11: use-hashtype-both-by-default.diff Patch12: s390-pic-dso.diff Patch13: common-sysroot-binutils.diff Patch14: assign-file-positions.diff +Patch15: dw-cfa-advance-loc.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -181,6 +182,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch12 %patch13 %patch14 +%patch15 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 @@ -394,6 +396,8 @@ rm -rf $RPM_BUILD_ROOT %endif %changelog +* Wed Nov 19 2008 schwab@suse.de +- Fix handling of DW_CFA_advance_loc* in the assembler. * Mon Nov 10 2008 schwab@suse.de - Update last change. * Fri Nov 07 2008 schwab@suse.de diff --git a/cross-mips-binutils.changes b/cross-mips-binutils.changes index 08451fa..5fb3f52 100644 --- a/cross-mips-binutils.changes +++ b/cross-mips-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Nov 19 17:50:52 CET 2008 - schwab@suse.de + +- Fix handling of DW_CFA_advance_loc* in the assembler. + ------------------------------------------------------------------- Mon Nov 10 15:29:56 CET 2008 - schwab@suse.de diff --git a/cross-mips-binutils.spec b/cross-mips-binutils.spec index 323ac54..5910334 100644 --- a/cross-mips-binutils.spec +++ b/cross-mips-binutils.spec @@ -20,7 +20,7 @@ Name: cross-mips-binutils BuildRequires: bison dejagnu flex gcc-c++ zlib-devel Version: 2.19 -Release: 4 +Release: 6 # # RUN_TESTS %define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?) @@ -80,6 +80,7 @@ Patch11: use-hashtype-both-by-default.diff Patch12: s390-pic-dso.diff Patch13: common-sysroot-binutils.diff Patch14: assign-file-positions.diff +Patch15: dw-cfa-advance-loc.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -181,6 +182,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch12 %patch13 %patch14 +%patch15 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 @@ -394,6 +396,8 @@ rm -rf $RPM_BUILD_ROOT %endif %changelog +* Wed Nov 19 2008 schwab@suse.de +- Fix handling of DW_CFA_advance_loc* in the assembler. * Mon Nov 10 2008 schwab@suse.de - Update last change. * Fri Nov 07 2008 schwab@suse.de diff --git a/cross-ppc-binutils.changes b/cross-ppc-binutils.changes index 08451fa..5fb3f52 100644 --- a/cross-ppc-binutils.changes +++ b/cross-ppc-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Nov 19 17:50:52 CET 2008 - schwab@suse.de + +- Fix handling of DW_CFA_advance_loc* in the assembler. + ------------------------------------------------------------------- Mon Nov 10 15:29:56 CET 2008 - schwab@suse.de diff --git a/cross-ppc-binutils.spec b/cross-ppc-binutils.spec index b7a4f2e..5ba3c12 100644 --- a/cross-ppc-binutils.spec +++ b/cross-ppc-binutils.spec @@ -20,7 +20,7 @@ Name: cross-ppc-binutils BuildRequires: bison dejagnu flex gcc-c++ zlib-devel Version: 2.19 -Release: 4 +Release: 6 # # RUN_TESTS %define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?) @@ -80,6 +80,7 @@ Patch11: use-hashtype-both-by-default.diff Patch12: s390-pic-dso.diff Patch13: common-sysroot-binutils.diff Patch14: assign-file-positions.diff +Patch15: dw-cfa-advance-loc.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -181,6 +182,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch12 %patch13 %patch14 +%patch15 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 @@ -394,6 +396,8 @@ rm -rf $RPM_BUILD_ROOT %endif %changelog +* Wed Nov 19 2008 schwab@suse.de +- Fix handling of DW_CFA_advance_loc* in the assembler. * Mon Nov 10 2008 schwab@suse.de - Update last change. * Fri Nov 07 2008 schwab@suse.de diff --git a/cross-ppc64-binutils.changes b/cross-ppc64-binutils.changes index 08451fa..5fb3f52 100644 --- a/cross-ppc64-binutils.changes +++ b/cross-ppc64-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Nov 19 17:50:52 CET 2008 - schwab@suse.de + +- Fix handling of DW_CFA_advance_loc* in the assembler. + ------------------------------------------------------------------- Mon Nov 10 15:29:56 CET 2008 - schwab@suse.de diff --git a/cross-ppc64-binutils.spec b/cross-ppc64-binutils.spec index aae5a8a..3d75fc3 100644 --- a/cross-ppc64-binutils.spec +++ b/cross-ppc64-binutils.spec @@ -20,7 +20,7 @@ Name: cross-ppc64-binutils BuildRequires: bison dejagnu flex gcc-c++ zlib-devel Version: 2.19 -Release: 4 +Release: 6 # # RUN_TESTS %define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?) @@ -80,6 +80,7 @@ Patch11: use-hashtype-both-by-default.diff Patch12: s390-pic-dso.diff Patch13: common-sysroot-binutils.diff Patch14: assign-file-positions.diff +Patch15: dw-cfa-advance-loc.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -181,6 +182,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch12 %patch13 %patch14 +%patch15 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 @@ -394,6 +396,8 @@ rm -rf $RPM_BUILD_ROOT %endif %changelog +* Wed Nov 19 2008 schwab@suse.de +- Fix handling of DW_CFA_advance_loc* in the assembler. * Mon Nov 10 2008 schwab@suse.de - Update last change. * Fri Nov 07 2008 schwab@suse.de diff --git a/cross-s390-binutils.changes b/cross-s390-binutils.changes index 08451fa..5fb3f52 100644 --- a/cross-s390-binutils.changes +++ b/cross-s390-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Nov 19 17:50:52 CET 2008 - schwab@suse.de + +- Fix handling of DW_CFA_advance_loc* in the assembler. + ------------------------------------------------------------------- Mon Nov 10 15:29:56 CET 2008 - schwab@suse.de diff --git a/cross-s390-binutils.spec b/cross-s390-binutils.spec index aa5fc91..7782341 100644 --- a/cross-s390-binutils.spec +++ b/cross-s390-binutils.spec @@ -20,7 +20,7 @@ Name: cross-s390-binutils BuildRequires: bison dejagnu flex gcc-c++ zlib-devel Version: 2.19 -Release: 4 +Release: 6 # # RUN_TESTS %define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?) @@ -80,6 +80,7 @@ Patch11: use-hashtype-both-by-default.diff Patch12: s390-pic-dso.diff Patch13: common-sysroot-binutils.diff Patch14: assign-file-positions.diff +Patch15: dw-cfa-advance-loc.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -181,6 +182,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch12 %patch13 %patch14 +%patch15 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 @@ -394,6 +396,8 @@ rm -rf $RPM_BUILD_ROOT %endif %changelog +* Wed Nov 19 2008 schwab@suse.de +- Fix handling of DW_CFA_advance_loc* in the assembler. * Mon Nov 10 2008 schwab@suse.de - Update last change. * Fri Nov 07 2008 schwab@suse.de diff --git a/cross-s390x-binutils.changes b/cross-s390x-binutils.changes index 08451fa..5fb3f52 100644 --- a/cross-s390x-binutils.changes +++ b/cross-s390x-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Nov 19 17:50:52 CET 2008 - schwab@suse.de + +- Fix handling of DW_CFA_advance_loc* in the assembler. + ------------------------------------------------------------------- Mon Nov 10 15:29:56 CET 2008 - schwab@suse.de diff --git a/cross-s390x-binutils.spec b/cross-s390x-binutils.spec index 1e4fae6..635bb69 100644 --- a/cross-s390x-binutils.spec +++ b/cross-s390x-binutils.spec @@ -20,7 +20,7 @@ Name: cross-s390x-binutils BuildRequires: bison dejagnu flex gcc-c++ zlib-devel Version: 2.19 -Release: 4 +Release: 6 # # RUN_TESTS %define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?) @@ -80,6 +80,7 @@ Patch11: use-hashtype-both-by-default.diff Patch12: s390-pic-dso.diff Patch13: common-sysroot-binutils.diff Patch14: assign-file-positions.diff +Patch15: dw-cfa-advance-loc.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -181,6 +182,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch12 %patch13 %patch14 +%patch15 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 @@ -394,6 +396,8 @@ rm -rf $RPM_BUILD_ROOT %endif %changelog +* Wed Nov 19 2008 schwab@suse.de +- Fix handling of DW_CFA_advance_loc* in the assembler. * Mon Nov 10 2008 schwab@suse.de - Update last change. * Fri Nov 07 2008 schwab@suse.de diff --git a/cross-sh4-binutils.changes b/cross-sh4-binutils.changes index 08451fa..5fb3f52 100644 --- a/cross-sh4-binutils.changes +++ b/cross-sh4-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Nov 19 17:50:52 CET 2008 - schwab@suse.de + +- Fix handling of DW_CFA_advance_loc* in the assembler. + ------------------------------------------------------------------- Mon Nov 10 15:29:56 CET 2008 - schwab@suse.de diff --git a/cross-sh4-binutils.spec b/cross-sh4-binutils.spec index 7e55c00..4b3dce3 100644 --- a/cross-sh4-binutils.spec +++ b/cross-sh4-binutils.spec @@ -20,7 +20,7 @@ Name: cross-sh4-binutils BuildRequires: bison dejagnu flex gcc-c++ zlib-devel Version: 2.19 -Release: 4 +Release: 6 # # RUN_TESTS %define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?) @@ -80,6 +80,7 @@ Patch11: use-hashtype-both-by-default.diff Patch12: s390-pic-dso.diff Patch13: common-sysroot-binutils.diff Patch14: assign-file-positions.diff +Patch15: dw-cfa-advance-loc.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -180,6 +181,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch12 %patch13 %patch14 +%patch15 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 @@ -393,6 +395,8 @@ rm -rf $RPM_BUILD_ROOT %endif %changelog +* Wed Nov 19 2008 schwab@suse.de +- Fix handling of DW_CFA_advance_loc* in the assembler. * Mon Nov 10 2008 schwab@suse.de - Update last change. * Fri Nov 07 2008 schwab@suse.de diff --git a/cross-sparc-binutils.changes b/cross-sparc-binutils.changes index 08451fa..5fb3f52 100644 --- a/cross-sparc-binutils.changes +++ b/cross-sparc-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Nov 19 17:50:52 CET 2008 - schwab@suse.de + +- Fix handling of DW_CFA_advance_loc* in the assembler. + ------------------------------------------------------------------- Mon Nov 10 15:29:56 CET 2008 - schwab@suse.de diff --git a/cross-sparc-binutils.spec b/cross-sparc-binutils.spec index bf1c1c5..ed73304 100644 --- a/cross-sparc-binutils.spec +++ b/cross-sparc-binutils.spec @@ -20,7 +20,7 @@ Name: cross-sparc-binutils BuildRequires: bison dejagnu flex gcc-c++ zlib-devel Version: 2.19 -Release: 4 +Release: 6 # # RUN_TESTS %define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?) @@ -80,6 +80,7 @@ Patch11: use-hashtype-both-by-default.diff Patch12: s390-pic-dso.diff Patch13: common-sysroot-binutils.diff Patch14: assign-file-positions.diff +Patch15: dw-cfa-advance-loc.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -181,6 +182,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch12 %patch13 %patch14 +%patch15 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 @@ -394,6 +396,8 @@ rm -rf $RPM_BUILD_ROOT %endif %changelog +* Wed Nov 19 2008 schwab@suse.de +- Fix handling of DW_CFA_advance_loc* in the assembler. * Mon Nov 10 2008 schwab@suse.de - Update last change. * Fri Nov 07 2008 schwab@suse.de diff --git a/cross-spu-binutils.changes b/cross-spu-binutils.changes index 08451fa..5fb3f52 100644 --- a/cross-spu-binutils.changes +++ b/cross-spu-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Nov 19 17:50:52 CET 2008 - schwab@suse.de + +- Fix handling of DW_CFA_advance_loc* in the assembler. + ------------------------------------------------------------------- Mon Nov 10 15:29:56 CET 2008 - schwab@suse.de diff --git a/cross-spu-binutils.spec b/cross-spu-binutils.spec index 7bc972e..ddb378e 100644 --- a/cross-spu-binutils.spec +++ b/cross-spu-binutils.spec @@ -20,7 +20,7 @@ Name: cross-spu-binutils BuildRequires: bison dejagnu flex gcc-c++ zlib-devel Version: 2.19 -Release: 4 +Release: 6 # # RUN_TESTS %define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?) @@ -80,6 +80,7 @@ Patch11: use-hashtype-both-by-default.diff Patch12: s390-pic-dso.diff Patch13: common-sysroot-binutils.diff Patch14: assign-file-positions.diff +Patch15: dw-cfa-advance-loc.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -181,6 +182,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch12 %patch13 %patch14 +%patch15 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 @@ -394,6 +396,8 @@ rm -rf $RPM_BUILD_ROOT %endif %changelog +* Wed Nov 19 2008 schwab@suse.de +- Fix handling of DW_CFA_advance_loc* in the assembler. * Mon Nov 10 2008 schwab@suse.de - Update last change. * Fri Nov 07 2008 schwab@suse.de diff --git a/cross-x86_64-binutils.changes b/cross-x86_64-binutils.changes index 08451fa..5fb3f52 100644 --- a/cross-x86_64-binutils.changes +++ b/cross-x86_64-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Nov 19 17:50:52 CET 2008 - schwab@suse.de + +- Fix handling of DW_CFA_advance_loc* in the assembler. + ------------------------------------------------------------------- Mon Nov 10 15:29:56 CET 2008 - schwab@suse.de diff --git a/cross-x86_64-binutils.spec b/cross-x86_64-binutils.spec index 962274b..175f8fd 100644 --- a/cross-x86_64-binutils.spec +++ b/cross-x86_64-binutils.spec @@ -20,7 +20,7 @@ Name: cross-x86_64-binutils BuildRequires: bison dejagnu flex gcc-c++ zlib-devel Version: 2.19 -Release: 4 +Release: 6 # # RUN_TESTS %define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?) @@ -80,6 +80,7 @@ Patch11: use-hashtype-both-by-default.diff Patch12: s390-pic-dso.diff Patch13: common-sysroot-binutils.diff Patch14: assign-file-positions.diff +Patch15: dw-cfa-advance-loc.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -181,6 +182,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch12 %patch13 %patch14 +%patch15 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 @@ -394,6 +396,8 @@ rm -rf $RPM_BUILD_ROOT %endif %changelog +* Wed Nov 19 2008 schwab@suse.de +- Fix handling of DW_CFA_advance_loc* in the assembler. * Mon Nov 10 2008 schwab@suse.de - Update last change. * Fri Nov 07 2008 schwab@suse.de diff --git a/dw-cfa-advance-loc.diff b/dw-cfa-advance-loc.diff new file mode 100644 index 0000000..f59319b --- /dev/null +++ b/dw-cfa-advance-loc.diff @@ -0,0 +1,191 @@ +2008-11-19 Jakub Jelinek + + * Makefile.am (ehopt.o): Add struc-symbol.h. + * Makefile.in: Regenerated. + * ehopt.c: Include struc-symbol.h. + (check_eh_frame): For very small O_constant DW_CFA_advance_loc4 + create correct DW_CFA_advance_loc. Handle O_subtract only + for code alignment factor 1, otherwise handle O_divide or + O_right_shift of O_subtract and O_constant. + (eh_frame_estimate_size_before_relax): Always divide by ca. + (eh_frame_convert_frag): Likewise. + +2008-11-18 John David Anglin + + * dw2gencfi.c (output_cfi_insn): Scale DW_CFA_advance_loc1, + DW_CFA_advance_loc2 and DW_CFA_advance_loc4 outputs. + +--- gas/Makefile.am.jj 2008-11-19 15:50:40.000000000 +0100 ++++ gas/Makefile.am 2008-11-19 16:57:49.000000000 +0100 +@@ -2159,7 +2159,8 @@ dwarf2dbg.o: dwarf2dbg.c $(INCDIR)/safe- + dw2gencfi.o: dw2gencfi.c dw2gencfi.h $(INCDIR)/elf/dwarf2.h \ + subsegs.h $(INCDIR)/obstack.h + ecoff.o: ecoff.c ecoff.h +-ehopt.o: ehopt.c subsegs.h $(INCDIR)/obstack.h $(INCDIR)/elf/dwarf2.h ++ehopt.o: ehopt.c subsegs.h $(INCDIR)/obstack.h $(INCDIR)/elf/dwarf2.h \ ++ struc-symbol.h + expr.o: expr.c $(INCDIR)/safe-ctype.h $(INCDIR)/obstack.h + flonum-copy.o: flonum-copy.c + flonum-konst.o: flonum-konst.c +--- gas/Makefile.in.jj 2008-11-19 15:50:40.000000000 +0100 ++++ gas/Makefile.in 2008-11-19 16:58:03.000000000 +0100 +@@ -3015,7 +3015,8 @@ dwarf2dbg.o: dwarf2dbg.c $(INCDIR)/safe- + dw2gencfi.o: dw2gencfi.c dw2gencfi.h $(INCDIR)/elf/dwarf2.h \ + subsegs.h $(INCDIR)/obstack.h + ecoff.o: ecoff.c ecoff.h +-ehopt.o: ehopt.c subsegs.h $(INCDIR)/obstack.h $(INCDIR)/elf/dwarf2.h ++ehopt.o: ehopt.c subsegs.h $(INCDIR)/obstack.h $(INCDIR)/elf/dwarf2.h \ ++ struc-symbol.h + expr.o: expr.c $(INCDIR)/safe-ctype.h $(INCDIR)/obstack.h + flonum-copy.o: flonum-copy.c + flonum-konst.o: flonum-konst.c +--- gas/dw2gencfi.c 9 Oct 2008 17:31:43 -0000 1.39 ++++ gas/dw2gencfi.c 18 Nov 2008 02:50:24 -0000 +@@ -972,20 +972,20 @@ output_cfi_insn (struct cfi_insn_data *i + + if (scaled <= 0x3F) + out_one (DW_CFA_advance_loc + scaled); +- else if (delta <= 0xFF) ++ else if (scaled <= 0xFF) + { + out_one (DW_CFA_advance_loc1); +- out_one (delta); ++ out_one (scaled); + } +- else if (delta <= 0xFFFF) ++ else if (scaled <= 0xFFFF) + { + out_one (DW_CFA_advance_loc2); +- out_two (delta); ++ out_two (scaled); + } + else + { + out_one (DW_CFA_advance_loc4); +- out_four (delta); ++ out_four (scaled); + } + } + else +--- gas/ehopt.c.jj 2007-12-28 09:31:47.000000000 +0100 ++++ gas/ehopt.c 2008-11-19 17:03:48.000000000 +0100 +@@ -1,5 +1,6 @@ + /* ehopt.c--optimize gcc exception frame information. +- Copyright 1998, 2000, 2001, 2003, 2005, 2007 Free Software Foundation, Inc. ++ Copyright 1998, 2000, 2001, 2003, 2005, 2007, 2008 ++ Free Software Foundation, Inc. + Written by Ian Lance Taylor . + + This file is part of GAS, the GNU Assembler. +@@ -21,6 +22,7 @@ + + #include "as.h" + #include "subsegs.h" ++#include "struc-symbol.h" + + /* We include this ELF file, even though we may not be assembling for + ELF, since the exception frame information is always in a format +@@ -398,13 +400,10 @@ check_eh_frame (expressionS *exp, unsign + subtracted were in the same frag and the expression was + reduced to a constant. We can do the optimization entirely + in this function. */ +- if (d->cie_info.code_alignment > 0 +- && exp->X_add_number % d->cie_info.code_alignment == 0 +- && exp->X_add_number / d->cie_info.code_alignment < 0x40) ++ if (exp->X_add_number < 0x40) + { + d->loc4_frag->fr_literal[d->loc4_fix] +- = DW_CFA_advance_loc +- | (exp->X_add_number / d->cie_info.code_alignment); ++ = DW_CFA_advance_loc | exp->X_add_number; + /* No more bytes needed. */ + return 1; + } +@@ -419,23 +418,39 @@ check_eh_frame (expressionS *exp, unsign + *pnbytes = 2; + } + } +- else if (exp->X_op == O_subtract) ++ else if (exp->X_op == O_subtract && d->cie_info.code_alignment == 1) + { + /* This is a case we can optimize. The expression was not + reduced, so we can not finish the optimization until the end + of the assembly. We set up a variant frag which we handle + later. */ +- int fr_subtype; +- +- if (d->cie_info.code_alignment > 0) +- fr_subtype = d->cie_info.code_alignment << 3; +- else +- fr_subtype = 0; +- +- frag_var (rs_cfa, 4, 0, fr_subtype, make_expr_symbol (exp), ++ frag_var (rs_cfa, 4, 0, 1 << 3, make_expr_symbol (exp), + d->loc4_fix, (char *) d->loc4_frag); + return 1; + } ++ else if ((exp->X_op == O_divide ++ || exp->X_op == O_right_shift) ++ && d->cie_info.code_alignment > 1) ++ { ++ if (exp->X_add_symbol->bsym ++ && exp->X_op_symbol->bsym ++ && exp->X_add_symbol->sy_value.X_op == O_subtract ++ && exp->X_op_symbol->sy_value.X_op == O_constant ++ && ((exp->X_op == O_divide ++ ? exp->X_op_symbol->sy_value.X_add_number ++ : (offsetT) 1 << exp->X_op_symbol->sy_value.X_add_number) ++ == d->cie_info.code_alignment)) ++ { ++ /* This is a case we can optimize as well. The expression was ++ not reduced, so we can not finish the optimization until the ++ end of the assembly. We set up a variant frag which we ++ handle later. */ ++ frag_var (rs_cfa, 4, 0, d->cie_info.code_alignment << 3, ++ make_expr_symbol (&exp->X_add_symbol->sy_value), ++ d->loc4_fix, (char *) d->loc4_frag); ++ return 1; ++ } ++ } + break; + + case state_error: +@@ -459,7 +474,9 @@ eh_frame_estimate_size_before_relax (fra + + diff = resolve_symbol_value (frag->fr_symbol); + +- if (ca > 0 && diff % ca == 0 && diff / ca < 0x40) ++ assert (ca > 0); ++ diff /= ca; ++ if (diff < 0x40) + ret = 0; + else if (diff < 0x100) + ret = 1; +@@ -496,21 +513,21 @@ eh_frame_convert_frag (fragS *frag) + { + offsetT diff; + fragS *loc4_frag; +- int loc4_fix; ++ int loc4_fix, ca; + + loc4_frag = (fragS *) frag->fr_opcode; + loc4_fix = (int) frag->fr_offset; + + diff = resolve_symbol_value (frag->fr_symbol); + ++ ca = frag->fr_subtype >> 3; ++ assert (ca > 0); ++ diff /= ca; + switch (frag->fr_subtype & 7) + { + case 0: +- { +- int ca = frag->fr_subtype >> 3; +- assert (ca > 0 && diff % ca == 0 && diff / ca < 0x40); +- loc4_frag->fr_literal[loc4_fix] = DW_CFA_advance_loc | (diff / ca); +- } ++ assert (diff < 0x40); ++ loc4_frag->fr_literal[loc4_fix] = DW_CFA_advance_loc | diff; + break; + + case 1: