binutils-z80-3/0000755000000000000000000000000012157345575010372 5ustar binutils-z80-3/debian/0000755000000000000000000000000012157345575011614 5ustar binutils-z80-3/debian/README.debian0000644000000000000000000000045212157345575013716 0ustar To make it possible to have different versions of binutils packages installed for different targets the locale and most common documentation have been removed from the cross packages. If you want these files as well you'll have to install the same version of the native package as of this package. binutils-z80-3/debian/copyright0000644000000000000000000000172012157345575013547 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Source: http://ftp.gnu.org/gnu/binutils/ Comment: The actual tarball used to create binutils-z80 comes from the binutils-source package. Files: debian/* Copyright: 2007-2011 Joost Yervante Damad 2011-2013 Alberto Garcia License: GPL-3+ This package is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. . This package is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . On Debian systems, the complete text of the GNU General Public License can be found in `/usr/share/common-licenses/GPL-3'. binutils-z80-3/debian/tc-z80.c.diff0000644000000000000000000000164212157345575013717 0ustar --- tc-z80.c.orig 2012-11-13 10:36:40.000000000 +0000 +++ tc-z80.c 2012-11-13 10:40:24.000000000 +0000 @@ -467,7 +467,7 @@ if (ins_type & ins_err) error (_(p)); else - as_warn (_(p)); + as_warn ("%s", _(p)); } static void @@ -544,12 +544,11 @@ { const char *p; int indir; - segT dummy; p = skip_space (s); op->X_md = indir = is_indir (p); input_line_pointer = (char*) s ; - dummy = expression (op); + expression (op); switch (op->X_op) { case O_absent: @@ -705,7 +704,6 @@ { char *p; int lo, hi; - fixS * fixp; p = frag_more (1); *p = val->X_add_number; @@ -732,7 +730,7 @@ } else { - fixp = fix_new_exp (frag_now, p - frag_now->fr_literal, 1, val, + fix_new_exp (frag_now, p - frag_now->fr_literal, 1, val, (r_type == BFD_RELOC_8_PCREL) ? TRUE : FALSE, r_type); /* FIXME : Process constant offsets immediately. */ } binutils-z80-3/debian/rules0000755000000000000000000000171112157345575012674 0ustar #!/usr/bin/make -f src_version := $(shell dpkg-query -W -f='$${source:Version}' binutils-source) deb_version := $(shell echo $(src_version) | cut -d- -f1) gnu_version := $(shell echo $(deb_version) | cut -d. -f1-3) z80_version := $(src_version)+$(shell dpkg-parsechangelog \ | sed -ne "s/^Version: \(.*\)/\1/p") BUILD_DIR=$(CURDIR)/build %: dh $@ -B$(BUILD_DIR) override_dh_auto_configure: mkdir -p $(BUILD_DIR) tar -C $(BUILD_DIR) --strip-components=1 \ -xaf /usr/src/binutils/binutils-$(gnu_version).tar.* # Fix compilation problems patch $(BUILD_DIR)/gas/config/tc-z80.c < $(CURDIR)/debian/tc-z80.c.diff dh_auto_configure -D$(BUILD_DIR) -- --target=z80-unknown-coff override_dh_auto_install: dh_auto_install --destdir=$(CURDIR)/debian/tmp override_dh_installchangelogs: dh_installchangelogs $(BUILD_DIR)/ChangeLog override_dh_gencontrol-arch: dh_gencontrol -a -- '-v$(z80_version)' \ '-Vbu:source=$(src_version)' '-Vbu:upstream=$(deb_version)' binutils-z80-3/debian/control0000644000000000000000000000143312157345575013220 0ustar Source: binutils-z80 Section: devel Priority: extra Maintainer: Alberto Garcia Standards-Version: 3.9.4 Build-Depends: debhelper (>= 9), bison, flex, gettext, binutils-source (>= 2.23.52) Homepage: https://www.gnu.org/software/binutils/ Package: binutils-z80 Architecture: any Multi-Arch: foreign Depends: ${shlibs:Depends}, ${misc:Depends} Suggests: binutils (>= ${bu:upstream}) Built-Using: binutils (= ${bu:source}) Description: GNU binary utilities for the z80-unknown-coff target The programs in this package are used to assemble, link and manipulate binary and object files for the Z80 and R800 CPUs. This package is primarily for Z80 and R800 developers and is not needed by normal users or developers. binutils-z80-3/debian/dirs0000644000000000000000000000002412157345575012474 0ustar usr/bin usr/lib binutils-z80-3/debian/changelog0000644000000000000000000001633512157345575013476 0ustar binutils-z80 (3) unstable; urgency=low * Build using binutils-source >= 2.23.52 (Closes: #712315). * Turn binutils-z80 into a native package. The source tarball was unnecessary because it simply contained a symlink to the actual source code. - Remove the debian/watch file. - debian/rules: get the version number for the binary package from binutils-source. - debian/control: don't restrict the build dependency on binutils-source to a particular version of that package. - debian/copyright: remove mentions to the binutils-z80 source tarball. - debian/source/format: set to 3.0 (native). * Upload to unstable. * Update my e-mail address in debian/control and debian/copyright. * debian/rules: install the changelog from the upstream tarball. * debian/control: update Standards-Version to 3.9.4 (no changes). * debian/README.Debian: fix typos. -- Alberto Garcia Sun, 16 Jun 2013 16:24:05 +0300 binutils-z80 (2.23.1-1) experimental; urgency=low * New upstream release. * Depend on binutils 2.23.1: - debian/control: update Build-Depends. - debian/rules: update name of tarball. * Properly implement the Built-Using field: - The correct name is Built-Using, not Build-Using. - Move it to the binary paragraph. - Generate its value using dh_gencontrol in debian/rules. -- Alberto Garcia Mon, 19 Nov 2012 10:29:54 +0200 binutils-z80 (2.23-1) experimental; urgency=low * New upstream release. * Depend on binutils 2.23: - debian/control: update Build-Depends and Build-Using fields. - debian/rules: update name of tarball. * Simplify build script using the debhelper sequencer: - debian/compat: set compatibility level to 9. - debian/control: build depend on debhelper >= 9. - debian/rules: rewrite using dh 9. - debian/install: select the files that we want, instead of excluding the ones that we don't want. * debian/control: remove the DM-Upload-Allowed field, it's now obsolete. * debian/control: remove all redundant dependencies. * debian/copyright: update copyright years. * debian/app.c.diff: drop patch, it's already included in this release. * debian/tc-z80.c.diff: update to fix two new compilation errors. -- Alberto Garcia Tue, 13 Nov 2012 10:45:00 +0200 binutils-z80 (2.22-3) unstable; urgency=low * debian/app.c.diff: fix FTBFS (array subscript is below array bounds) (Closes: #672057). * debian/binutils-z80.lintian-overrides: override lintian warnings about missing manual pages. * Remove unused debian/patches directory. -- Alberto Garcia Mon, 14 May 2012 00:30:22 +0300 binutils-z80 (2.22-2) unstable; urgency=low * debian/rules: make sure configure is called in the build-arch target (Closes: #666355). * debian/copyright: update Debian copyright format URL. * debian/control: update Standards-Version to 3.9.3. * debian/control: add Multi-Arch foreign header. * debian/control: add DM-Upload-Allowed flag. -- Alberto Garcia Fri, 30 Mar 2012 14:09:40 +0300 binutils-z80 (2.22-1) unstable; urgency=low * Update to binutils 2.22 (Closes: #639590): - debian/rules: change version of tar.gz file. - debian/control: update build dependency. * Take over maintainership (Closes: #634060, #652451): - debian/control: update Maintainer field. * debian/control: update Standards-Version to 3.9.2. * debian/control: remove redundant fields from the binary paragraph. * debian/control: fix 'description-synopsis-starts-with-article'. * debian/rules: add build-indep and build-arch targets. * debian/rules: patch tc-z80.c instead of shipping an entire copy of the file. * debian/watch: new file. * debian/copyright: rewrite using the machine-readable format. -- Alberto Garcia Sat, 24 Dec 2011 03:39:10 +0100 binutils-z80 (2.21.52-2) unstable; urgency=low * temp fix build by overriding tc-z80.c from the binutils tarfile (don't forget to undo that on the next binutils version!) * Orphan the package. -- Joost Yervante Damad Sat, 16 Jul 2011 15:36:26 +0200 binutils-z80 (2.21.52-1) unstable; urgency=low * don't install libs and headers (Closes: #621273) * update for binutils 2.21.51 (Closes: #628506, #629755) -- Joost Yervante Damad Fri, 10 Jun 2011 16:54:04 +0200 binutils-z80 (2.21.0-1) unstable; urgency=low * updated to binutils 2.21.0.20110322 (Closes: #618656, #613180) * introduce Build-Using debian/control flag * adapt to use xz tarfile -- Joost Yervante Damad Sun, 27 Mar 2011 12:28:11 +0200 binutils-z80 (2.20.1-1) unstable; urgency=low * update to binutils 2.20.1 (Closes: #573668) -- Joost Yervante Damad Tue, 13 Apr 2010 08:25:07 +0200 binutils-z80 (2.20-3) unstable; urgency=low * update standards version to 3.8.3 * remove traces of dpatch * clean up rules -- Joost Yervante Damad Sat, 19 Dec 2009 22:36:48 +0100 binutils-z80 (2.20-2) unstable; urgency=low * update source format to 3.0 -- Joost Yervante Damad Sat, 19 Dec 2009 21:10:32 +0100 binutils-z80 (2.20-1) unstable; urgency=low * update to binutils 2.20 (Closes: #552960) -- Joost Yervante Damad Thu, 29 Oct 2009 19:38:58 +0100 binutils-z80 (2.19.91-1) unstable; urgency=low * update to binutils 2.19.91 (Closes: #547618) -- Joost Yervante Damad Sat, 10 Oct 2009 13:39:15 +0200 binutils-z80 (2.19.51.20090827-2) unstable; urgency=low * don't include manpages (use binutils-doc for that!) (Closes: #545767) * don't include info pages as well -- Joost Yervante Damad Wed, 09 Sep 2009 07:41:10 +0200 binutils-z80 (2.19.51.20090827-1) unstable; urgency=low * update to binutils 2.19.51.20090827 * no longer needed to mv manpages (Closes: #545664) (thanks to Lucas Nussbaum for doing full rebuilds of the archive!) -- Joost Yervante Damad Tue, 08 Sep 2009 19:16:55 +0200 binutils-z80 (2.19.51.20090704-1) unstable; urgency=low * update to binutils 2.19.51.20090704 (Closes: #536990) -- Joost Yervante Damad Fri, 17 Jul 2009 07:26:27 +0200 binutils-z80 (2.19.1-1) unstable; urgency=low * update to 2.19.1 * lintian fix: build-depends-on-1-revision * make buildable (closes: #490748) [from ubuntu:] * Use binutils-2.18.50.tar.bz2 instead of binutils-2.18.0.tar.bz2, there is a new version of binutils in Ubuntu, fix FTBFS (LP: #253374). * Add dpatch support. * Add fix_format_strings.dpatch patch, fix FTBFS. -- Devid Filoni Wed, 30 Jul 2008 18:37:01 +0200 -- Joost Yervante Damad Sat, 09 May 2009 16:12:05 +0200 binutils-z80 (2.18.0-1) unstable; urgency=low * use version 2.18.0 instead of 2.18 for soft-link -- Joost Yervante Damad Tue, 08 Jan 2008 20:41:35 +0100 binutils-z80 (2.18-1) unstable; urgency=low * Initial release (closes: #458446) * removed package dependency on dbs, clean up debian/rules * package initially based on binutils-avr -- Joost Yervante Damad Mon, 31 Dec 2007 13:47:34 +0100 binutils-z80-3/debian/install0000644000000000000000000000003412157345575013202 0ustar usr/bin usr/lib/*/ldscripts binutils-z80-3/debian/compat0000644000000000000000000000000212157345575013012 0ustar 9 binutils-z80-3/debian/source/0000755000000000000000000000000012157345575013114 5ustar binutils-z80-3/debian/source/format0000644000000000000000000000001512157345575014323 0ustar 3.0 (native) binutils-z80-3/debian/binutils-z80.lintian-overrides0000644000000000000000000000210512157345575017442 0ustar binutils-z80: binary-without-manpage usr/bin/z80-unknown-coff-addr2line binutils-z80: binary-without-manpage usr/bin/z80-unknown-coff-ar binutils-z80: binary-without-manpage usr/bin/z80-unknown-coff-as binutils-z80: binary-without-manpage usr/bin/z80-unknown-coff-c++filt binutils-z80: binary-without-manpage usr/bin/z80-unknown-coff-elfedit binutils-z80: binary-without-manpage usr/bin/z80-unknown-coff-gprof binutils-z80: binary-without-manpage usr/bin/z80-unknown-coff-ld binutils-z80: binary-without-manpage usr/bin/z80-unknown-coff-ld.bfd binutils-z80: binary-without-manpage usr/bin/z80-unknown-coff-nm binutils-z80: binary-without-manpage usr/bin/z80-unknown-coff-objcopy binutils-z80: binary-without-manpage usr/bin/z80-unknown-coff-objdump binutils-z80: binary-without-manpage usr/bin/z80-unknown-coff-ranlib binutils-z80: binary-without-manpage usr/bin/z80-unknown-coff-readelf binutils-z80: binary-without-manpage usr/bin/z80-unknown-coff-size binutils-z80: binary-without-manpage usr/bin/z80-unknown-coff-strings binutils-z80: binary-without-manpage usr/bin/z80-unknown-coff-strip