Version in base suite: 2.17-3 Version in overlay suite: (not present) Base version: binutils_2.17-3 Target version: binutils_2.17-3+etch1 Base file: /org/ftp.debian.org/ftp/pool/main/b/binutils/binutils_2.17-3.dsc Target file: /org/ftp.debian.org/queue/o-p-u-new/binutils_2.17-3+etch1.dsc binutils-2.17/debian/changelog | 8 +++ binutils-2.17/debian/patches/00list | 1 debian/patches/129_mips_set_generic_handler.dpatch | 43 +++++++++++++++++++++ 3 files changed, 52 insertions(+) diff -u binutils-2.17/debian/patches/00list binutils-2.17/debian/patches/00list --- binutils-2.17/debian/patches/00list +++ binutils-2.17/debian/patches/00list @@ -8,0 +9 @@ +129_mips_set_generic_handler diff -u binutils-2.17/debian/changelog binutils-2.17/debian/changelog --- binutils-2.17/debian/changelog +++ binutils-2.17/debian/changelog @@ -1,3 +1,11 @@ +binutils (2.17-3+etch1) oldstable; urgency=high + + * Non-maintainer upload. + * 129_mips_set_generic_handler.dpatch: Add mips support for + ".set symbol,value" gas syntax. + + -- dann frazier Thu, 16 Apr 2009 12:21:46 -0600 + binutils (2.17-3) unstable; urgency=low * debian/rules (configure-multi-stamp): drop i486-kfreebsd-gnu again as only in patch2: unchanged: --- binutils-2.17.orig/debian/patches/129_mips_set_generic_handler.dpatch +++ binutils-2.17/debian/patches/129_mips_set_generic_handler.dpatch @@ -0,0 +1,43 @@ +#!/bin/sh -e +## 129_mips_set_generic_handler.dpatch +## +## DP: Description: Add support for ".set symbol,value" syntax +## DP: Author: "Joseph S. Myers" +## DP: Upstream status: Included + +if [ $# -ne 1 ]; then + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" + exit 1 +fi + +[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts +patch_opts="${patch_opts:--f --no-backup-if-mismatch}" + +case "$1" in + -patch) patch $patch_opts -p1 < $0;; + -unpatch) patch $patch_opts -p1 -R < $0;; + *) + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" + exit 1;; +esac + +exit 0 + +@DPATCH@ +--- binutils-2.17/gas/config/tc-mips.c.orig 2009-04-16 12:16:45.000000000 -0600 ++++ binutils-2.17/gas/config/tc-mips.c 2009-04-16 12:17:28.000000000 -0600 +@@ -12162,6 +12162,14 @@ + mips_opts.sym32 = TRUE; + else if (strcmp (name, "nosym32") == 0) + mips_opts.sym32 = FALSE; ++ else if (strchr (name, ',')) ++ { ++ /* Generic ".set" directive; use the generic handler. */ ++ *input_line_pointer = ch; ++ input_line_pointer = name; ++ s_set (0); ++ return; ++ } + else + { + as_warn (_("Tried to set unrecognized symbol: %s\n"), name);