Hello community, here is the log from the commit of package binutils checked in at Fri Jan 12 01:22:25 CET 2007. -------- --- binutils/binutils.changes 2007-01-08 23:39:45.000000000 +0100 +++ /mounts/work_src_done/STABLE/binutils/binutils.changes 2007-01-12 01:15:48.862274000 +0100 @@ -1,0 +2,5 @@ +Fri Jan 12 01:11:51 CET 2007 - jw@suse.de + +- Added avr-nesc-as support (rschiele@gmail.com) + +------------------------------------------------------------------- cross-alpha-binutils.changes: same change cross-arm-binutils.changes: same change cross-avr-binutils.changes: same change cross-hppa-binutils.changes: same change cross-i386-binutils.changes: same change cross-ia64-binutils.changes: same change cross-mips-binutils.changes: same change cross-ppc64-binutils.changes: same change cross-ppc-binutils.changes: same change cross-s390-binutils.changes: same change cross-s390x-binutils.changes: same change cross-sparc-binutils.changes: same change cross-x86_64-binutils.changes: same change New: ---- cross-avr-nesc-as.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ binutils.spec ++++++ --- /var/tmp/diff_new_pack.H10137/_old 2007-01-12 01:21:15.000000000 +0100 +++ /var/tmp/diff_new_pack.H10137/_new 2007-01-12 01:21:15.000000000 +0100 @@ -49,7 +49,7 @@ %endif Autoreqprov: on Version: 2.17.50.0.9 -Release: 1 +Release: 3 Summary: GNU Binutils Source: ftp://ftp.kernel.org/pub/linux/devel/binutils/binutils-%{version}.tar.bz2 Source1: pre_checkin.sh @@ -70,6 +70,7 @@ Patch18: suse-dynsort.diff Patch19: suse-hashvals.diff Patch42: hjl-patches.diff +Patch90: cross-avr-nesc-as.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %if "%{name}" != "binutils" %define _prefix /opt/cross @@ -240,6 +241,10 @@ %patch17 -p1 %patch18 -p1 %patch19 -p1 +%if "%{TARGET}" == "avr" +cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h +%patch90 +%endif # # test_vanilla %endif @@ -336,6 +341,13 @@ # force reconfiguring rm bfd/Makefile make %{?jobs:-j%jobs} +%if "%{TARGET}" == "avr" +# build an extra nesC version because nesC requires $'s in identifiers +cp -a gas gas-nesc +echo '#include "tc-%{TARGET}-nesc.h"' > gas-nesc/targ-cpu.h +make -C gas-nesc clean +make -C gas-nesc %{?jobs:-j%jobs} +%endif make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused" || : %endif @@ -377,6 +389,9 @@ %else # installing cross-TARGET-binutils make DESTDIR=$RPM_BUILD_ROOT install +%if "%{TARGET}" == "avr" +install -c gas-nesc/as-new $RPM_BUILD_ROOT%{_prefix}/bin/%{TARGET}-nesc-as +%endif rm -rf $RPM_BUILD_ROOT%{_prefix}/man rm -rf $RPM_BUILD_ROOT%{_prefix}/info rm -rf $RPM_BUILD_ROOT%{_prefix}/lib @@ -427,6 +442,8 @@ %{_libdir}/lib*.la %changelog -n binutils +* Fri Jan 12 2007 - jw@suse.de +- Added avr-nesc-as support (rschiele@gmail.com) * Mon Jan 08 2007 - schwab@suse.de - Update to binutils 2.17.50.0.9. 1. Update from binutils 2007 0103. ++++++ cross-alpha-binutils.spec ++++++ --- /var/tmp/diff_new_pack.H10137/_old 2007-01-12 01:21:15.000000000 +0100 +++ /var/tmp/diff_new_pack.H10137/_new 2007-01-12 01:21:15.000000000 +0100 @@ -49,7 +49,7 @@ %endif Autoreqprov: on Version: 2.17.50.0.9 -Release: 1 +Release: 3 Summary: GNU binutils for Cross-Development to ARM Processors Source: ftp://ftp.kernel.org/pub/linux/devel/binutils/binutils-%{version}.tar.bz2 Source1: pre_checkin.sh @@ -70,6 +70,7 @@ Patch18: suse-dynsort.diff Patch19: suse-hashvals.diff Patch42: hjl-patches.diff +Patch90: cross-avr-nesc-as.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %if "%{name}" != "binutils" %define _prefix /opt/cross @@ -174,6 +175,10 @@ %patch17 -p1 %patch18 -p1 %patch19 -p1 +%if "%{TARGET}" == "avr" +cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h +%patch90 +%endif # # test_vanilla %endif @@ -270,6 +275,13 @@ # force reconfiguring rm bfd/Makefile make %{?jobs:-j%jobs} +%if "%{TARGET}" == "avr" +# build an extra nesC version because nesC requires $'s in identifiers +cp -a gas gas-nesc +echo '#include "tc-%{TARGET}-nesc.h"' > gas-nesc/targ-cpu.h +make -C gas-nesc clean +make -C gas-nesc %{?jobs:-j%jobs} +%endif make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused" || : %endif @@ -311,6 +323,9 @@ %else # installing cross-TARGET-binutils make DESTDIR=$RPM_BUILD_ROOT install +%if "%{TARGET}" == "avr" +install -c gas-nesc/as-new $RPM_BUILD_ROOT%{_prefix}/bin/%{TARGET}-nesc-as +%endif rm -rf $RPM_BUILD_ROOT%{_prefix}/man rm -rf $RPM_BUILD_ROOT%{_prefix}/info rm -rf $RPM_BUILD_ROOT%{_prefix}/lib @@ -353,6 +368,8 @@ %endif %changelog -n cross-alpha-binutils +* Fri Jan 12 2007 - jw@suse.de +- Added avr-nesc-as support (rschiele@gmail.com) * Mon Jan 08 2007 - schwab@suse.de - Update to binutils 2.17.50.0.9. 1. Update from binutils 2007 0103. cross-arm-binutils.spec: same change cross-avr-binutils.spec: same change cross-hppa-binutils.spec: same change cross-i386-binutils.spec: same change cross-ia64-binutils.spec: same change cross-mips-binutils.spec: same change cross-ppc64-binutils.spec: same change cross-ppc-binutils.spec: same change cross-s390-binutils.spec: same change cross-s390x-binutils.spec: same change cross-sparc-binutils.spec: same change cross-x86_64-binutils.spec: same change ++++++ cross-avr-nesc-as.patch ++++++ --- gas/config/tc-avr-nesc.h +++ gas/config/tc-avr-nesc.h @@ -109,8 +109,12 @@ would print `12 34 56 78'. The default value is 4. */ #define LISTING_WORD_SIZE 2 -/* AVR port uses `$' as a logical line separator. */ -#define LEX_DOLLAR 0 +/* AVR port uses `$' as a logical line separator and doesn't + allow it in symbols. We allow it in the middle of symbols. + We also hack get_symbol_end to disallow it at the end of a symbol. */ +#define LEX_DOLLAR 1 +#define TC_EOL_IN_INSN(PTR) (*(PTR) == '$' && is_part_of_name((PTR)[-1]) && is_part_of_name((PTR)[1])) +#define TC_FORBID_DOLLAR_AT_END /* An `.lcomm' directive with no explicit alignment parameter will use this macro to set P2VAR to the alignment that a request for --- gas/expr.c +++ gas/expr.c @@ -2165,6 +2165,15 @@ ; if (is_name_ender (c)) c = *input_line_pointer++; +#ifdef TC_FORBID_DOLLAR_AT_END + /* This is for the Atmel AVR platforms. We want to allow $ in symbols + but also as a line separator. Yucky. */ + if (input_line_pointer[-2] == '$') + { + input_line_pointer--; + c = '$'; + } +#endif } *--input_line_pointer = 0; return (c); ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@Hilbert.suse.de