--- binutils-2.21.53.20110810.orig/debian/binutils-static.preinst
+++ binutils-2.21.53.20110810/debian/binutils-static.preinst
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+set -e
+
+if [ -L /usr/share/doc/binutils-static ]; then
+ # We must be upgrading from a version that depended on binutils
+ rm -f /usr/share/doc/binutils-static
+fi
+
+exit 0
--- binutils-2.21.53.20110810.orig/debian/binutils-gold.preinst
+++ binutils-2.21.53.20110810/debian/binutils-gold.preinst
@@ -0,0 +1,25 @@
+#! /bin/sh
+
+set -e
+
+if [ install = "$1" -o upgrade = "$1" ]; then
+ if [ -n "$2" ] && dpkg --compare-versions $2 lt 2.20-3; then
+ case "$(dpkg-divert --list /usr/bin/ld)" in
+ *ld.single*)
+ rm -f /usr/bin/ld
+ dpkg-divert \
+ --package binutils-gold \
+ --remove --rename \
+ --divert /usr/bin/ld.single /usr/bin/ld
+ esac
+ fi
+
+ dpkg-divert \
+ --package binutils-gold \
+ --add --rename \
+ --divert /usr/bin/ld.bfd-link /usr/bin/ld
+ dpkg-divert \
+ --package binutils-gold \
+ --add --rename \
+ --divert /usr/share/man/man1/ld.bfd-link.1.gz /usr/share/man/man1/ld.1.gz
+fi
--- binutils-2.21.53.20110810.orig/debian/binutils-static.overrides
+++ binutils-2.21.53.20110810/debian/binutils-static.overrides
@@ -0,0 +1,5 @@
+# yes, it's embedded
+binutils-static binary: embedded-zlib
+
+# not needed
+binutils-static binary: binary-without-manpage
--- binutils-2.21.53.20110810.orig/debian/ld.gold.1
+++ binutils-2.21.53.20110810/debian/ld.gold.1
@@ -0,0 +1,666 @@
+.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.40.4.
+.TH GOLD "1" "September 2011" "gold (GNU Binutils for Ubuntu 2.21.53.20110810) 1.11" "User Commands"
+.SH NAME
+gold \- manual page for gold (GNU Binutils for Ubuntu 2.21.53.20110810) 1.11
+.SH SYNOPSIS
+.B ld.gold
+[\fIoptions\fR] \fIfile\fR...
+.SH OPTIONS
+.TP
+\fB\-\-help\fR
+Report usage information
+.TP
+\fB\-v\fR, \fB\-\-version\fR
+Report version information
+.TP
+\fB\-V\fR
+Report version and target information
+.TP
+\fB\-\-add\-needed\fR
+Not supported
+.TP
+\fB\-\-no\-add\-needed\fR
+Do not copy DT_NEEDED tags from shared libraries
+.HP
+\fB\-\-allow\-multiple\-definition\fR Allow multiple definitions of symbols
+.TP
+\fB\-\-no\-allow\-multiple\-definition\fR
+Do not allow multiple definitions
+.TP
+\fB\-\-allow\-shlib\-undefined\fR
+Allow unresolved references in shared libraries
+.TP
+\fB\-\-no\-allow\-shlib\-undefined\fR
+Do not allow unresolved references in shared libraries
+.TP
+\fB\-\-as\-needed\fR
+Only set DT_NEEDED for shared libraries if used
+.TP
+\fB\-\-no\-as\-needed\fR
+Always DT_NEEDED for shared libraries
+.TP
+\fB\-assert\fR [ignored]
+Ignored
+.TP
+\fB\-b\fR [elf,binary], \fB\-\-format\fR [elf,binary]
+Set input format
+.HP
+\fB\-Bdynamic\fR \fB\-l\fR searches for shared libraries
+.HP
+\fB\-Bstatic\fR \fB\-l\fR does not search for shared libraries
+.TP
+\fB\-dy\fR
+alias for \fB\-Bdynamic\fR
+.TP
+\fB\-dn\fR
+alias for \fB\-Bstatic\fR
+.TP
+\fB\-Bgroup\fR
+Use group name lookup rules for shared library
+.TP
+\fB\-Bsymbolic\fR
+Bind defined symbols locally
+.TP
+\fB\-Bsymbolic\-functions\fR
+Bind defined function symbols locally
+.TP
+\fB\-\-build\-id\fR [=STYLE]
+Generate build ID note
+.TP
+\fB\-\-check\-sections\fR
+Check segment addresses for overlaps (default)
+.TP
+\fB\-\-no\-check\-sections\fR
+Do not check segment addresses for overlaps
+.TP
+\fB\-\-compress\-debug\-sections\fR [none,zlib]
+Compress .debug_* sections in the output file
+.TP
+\fB\-\-copy\-dt\-needed\-entries\fR
+Not supported
+.HP
+\fB\-\-no\-copy\-dt\-needed\-entries\fR Do not copy DT_NEEDED tags from shared libraries
+.TP
+\fB\-\-cref\fR
+Output cross reference table
+.TP
+\fB\-\-no\-cref\fR
+Do not output cross reference table
+.TP
+\fB\-\-ctors\-in\-init\-array\fR
+Use DT_INIT_ARRAY for all constructors (default)
+.TP
+\fB\-\-no\-ctors\-in\-init\-array\fR
+Handle constructors as directed by compiler
+.TP
+\fB\-d\fR, \fB\-\-define\-common\fR
+Define common symbols
+.TP
+\fB\-\-no\-define\-common\fR
+Do not define common symbols
+.TP
+\fB\-dc\fR
+Alias for \fB\-d\fR
+.TP
+\fB\-dp\fR
+Alias for \fB\-d\fR
+.TP
+\fB\-\-debug\fR [all,files,script,task][,...]
+Turn on debugging
+.TP
+\fB\-\-defsym\fR SYMBOL=EXPRESSION
+Define a symbol
+.TP
+\fB\-\-demangle\fR [=STYLE]
+Demangle C++ symbols in log messages
+.TP
+\fB\-\-no\-demangle\fR
+Do not demangle C++ symbols in log messages
+.TP
+\fB\-\-detect\-odr\-violations\fR
+Look for violations of the C++ One Definition Rule
+.TP
+\fB\-\-no\-detect\-odr\-violations\fR
+Do not look for violations of the C++ One Definition Rule
+.TP
+\fB\-x\fR, \fB\-\-discard\-all\fR
+Delete all local symbols
+.TP
+\fB\-X\fR, \fB\-\-discard\-locals\fR
+Delete all temporary local symbols
+.TP
+\fB\-\-dynamic\-list\-data\fR
+Add data symbols to dynamic symbols
+.TP
+\fB\-\-dynamic\-list\-cpp\-new\fR
+Add C++ operator new/delete to dynamic symbols
+.HP
+\fB\-\-dynamic\-list\-cpp\-typeinfo\fR Add C++ typeinfo to dynamic symbols
+.TP
+\fB\-\-dynamic\-list\fR FILE
+Read a list of dynamic symbols
+.HP
+\fB\-e\fR ADDRESS, \fB\-\-entry\fR ADDRESS Set program start address
+.TP
+\fB\-\-exclude\-libs\fR lib,lib ...
+Exclude libraries from automatic export
+.TP
+\fB\-E\fR, \fB\-\-export\-dynamic\fR
+Export all dynamic symbols
+.TP
+\fB\-\-no\-export\-dynamic\fR
+Do not export all dynamic symbols (default)
+.TP
+\fB\-EB\fR
+Link big\-endian objects.
+.TP
+\fB\-EL\fR
+Link little\-endian objects.
+.TP
+\fB\-\-eh\-frame\-hdr\fR
+Create exception frame header
+.TP
+\fB\-\-no\-enum\-size\-warning\fR
+(ARM only) Do not warn about objects with incompatible enum sizes
+.HP
+\fB\-f\fR SHLIB, \fB\-\-auxiliary\fR SHLIB Auxiliary filter for shared object symbol table
+.TP
+\fB\-F\fR SHLIB, \fB\-\-filter\fR SHLIB
+Filter for shared object symbol table
+.TP
+\fB\-\-fatal\-warnings\fR
+Treat warnings as errors
+.TP
+\fB\-\-no\-fatal\-warnings\fR
+Do not treat warnings as errors
+.TP
+\fB\-fini\fR SYMBOL
+Call SYMBOL at unload\-time
+.TP
+\fB\-\-fix\-cortex\-a8\fR
+(ARM only) Fix binaries for Cortex\-A8 erratum.
+.TP
+\fB\-\-no\-fix\-cortex\-a8\fR
+(ARM only) Do not fix binaries for Cortex\-A8 erratum.
+.TP
+\fB\-\-merge\-exidx\-entries\fR
+(ARM only) Merge exidx entries in debuginfo.
+.TP
+\fB\-\-no\-merge\-exidx\-entries\fR
+(ARM only) Do not merge exidx entries in debuginfo.
+.TP
+\fB\-\-fix\-v4bx\fR
+(ARM only) Rewrite BX rn as MOV pc, rn for ARMv4
+.TP
+\fB\-\-fix\-v4bx\-interworking\fR
+(ARM only) Rewrite BX rn branch to ARMv4 interworking veneer
+.TP
+\fB\-g\fR
+Ignored
+.TP
+\fB\-h\fR FILENAME, \fB\-soname\fR FILENAME
+Set shared library name
+.TP
+\fB\-\-hash\-bucket\-empty\-fraction\fR FRACTION
+Min fraction of empty buckets in dynamic hash
+.TP
+\fB\-\-hash\-style\fR [sysv,gnu,both]
+Dynamic hash style
+.TP
+\fB\-I\fR PROGRAM, \fB\-\-dynamic\-linker\fR PROGRAM
+Set dynamic linker path
+.TP
+\fB\-\-incremental\fR
+Do an incremental link if possible; otherwise, do a full link and prepare output for incremental linking
+.TP
+\fB\-\-no\-incremental\fR
+Do a full link (default)
+.TP
+\fB\-\-incremental\-full\fR
+Do a full link and prepare output for incremental linking
+.TP
+\fB\-\-incremental\-update\fR
+Do an incremental link; exit if not possible
+.TP
+\fB\-\-incremental\-base\fR FILE
+Set base file for incremental linking (default is output file)
+.TP
+\fB\-\-incremental\-changed\fR
+Assume files changed
+.TP
+\fB\-\-incremental\-unchanged\fR
+Assume files didn't change
+.TP
+\fB\-\-incremental\-unknown\fR
+Use timestamps to check files (default)
+.TP
+\fB\-\-incremental\-startup\-unchanged\fR
+Assume startup files unchanged (files preceding this option)
+.HP
+\fB\-\-incremental\-patch\fR PERCENT Amount of extra space to allocate for patches
+.TP
+\fB\-init\fR SYMBOL
+Call SYMBOL at load\-time
+.TP
+\fB\-\-just\-symbols\fR FILE
+Read only symbol values from FILE
+.TP
+\fB\-\-map\-whole\-files\fR
+Map whole files to memory (default on 64\-bit hosts)
+.TP
+\fB\-\-no\-map\-whole\-files\fR
+Map relevant file parts to memory (default on 32\-bit hosts)
+.TP
+\fB\-\-keep\-files\-mapped\fR
+Keep files mapped across passes (default)
+.TP
+\fB\-\-no\-keep\-files\-mapped\fR
+Release mapped files after each pass
+.TP
+\fB\-\-ld\-generated\-unwind\-info\fR
+Generate unwind information for PLT (default)
+.TP
+\fB\-\-no\-ld\-generated\-unwind\-info\fR
+Do not generate unwind information for PLT
+.TP
+\fB\-l\fR LIBNAME, \fB\-\-library\fR LIBNAME
+Search for library LIBNAME
+.TP
+\fB\-L\fR DIR, \fB\-\-library\-path\fR DIR
+Add directory to search path
+.TP
+\fB\-nostdlib\fR
+Only search directories specified on the command line.
+.TP
+\fB\-\-rosegment\fR
+Put read\-only non\-executable sections in their own segment
+.TP
+\fB\-m\fR EMULATION
+Set GNU linker emulation; obsolete
+.TP
+\fB\-M\fR, \fB\-\-print\-map\fR
+Write map file on standard output
+.TP
+\fB\-Map\fR MAPFILENAME
+Write map file
+.TP
+\fB\-n\fR, \fB\-\-nmagic\fR
+Do not page align data
+.TP
+\fB\-N\fR, \fB\-\-omagic\fR
+Do not page align data, do not make text readonly
+.TP
+\fB\-\-no\-omagic\fR
+Page align data, make text readonly
+.TP
+\fB\-\-enable\-new\-dtags\fR
+Enable use of DT_RUNPATH and DT_FLAGS
+.TP
+\fB\-\-disable\-new\-dtags\fR
+Disable use of DT_RUNPATH and DT_FLAGS
+.TP
+\fB\-\-noinhibit\-exec\fR
+Create an output file even if errors occur
+.TP
+\fB\-\-no\-undefined\fR
+Report undefined symbols (even with \fB\-\-shared\fR)
+.TP
+\fB\-o\fR FILE, \fB\-\-output\fR FILE
+Set output file name
+.TP
+\fB\-O\fR LEVEL, \fB\-optimize\fR LEVEL
+Optimize output file size
+.TP
+\fB\-\-oformat\fR [binary]
+Set output format
+.TP
+\fB\-p\fR
+(ARM only) Ignore for backward compatibility
+.TP
+\fB\-pie\fR
+Create a position independent executable
+.TP
+\fB\-\-pic\-executable\fR
+Create a position independent executable
+.TP
+\fB\-no\-pipeline\-knowledge\fR
+(ARM only) Ignore for backward compatibility
+.TP
+\fB\-\-plugin\fR PLUGIN
+Load a plugin library
+.TP
+\fB\-\-plugin\-opt\fR OPTION
+Pass an option to the plugin
+.TP
+\fB\-\-preread\-archive\-symbols\fR
+Preread archive symbols when multi\-threaded
+.TP
+\fB\-\-print\-output\-format\fR
+Print default output format
+.TP
+\fB\-\-print\-symbol\-counts\fR FILENAME
+Print symbols defined and used for each input
+.TP
+\fB\-Qy\fR
+Ignored for SVR4 compatibility
+.TP
+\fB\-q\fR, \fB\-\-emit\-relocs\fR
+Generate relocations in output
+.TP
+\fB\-r\fR, \fB\-relocatable\fR
+Generate relocatable output
+.TP
+\fB\-i\fR
+Synonym for \fB\-r\fR
+.TP
+\fB\-\-relax\fR
+Relax branches on certain targets
+.TP
+\fB\-\-retain\-symbols\-file\fR FILE
+keep only symbols listed in this file
+.TP
+\fB\-R\fR DIR
+Add DIR to runtime search path
+.TP
+\fB\-rpath\fR DIR
+Add DIR to runtime search path
+.TP
+\fB\-\-rpath\-link\fR DIR
+Add DIR to link time shared library search path
+.TP
+\fB\-\-section\-ordering\-file\fR FILENAME
+Layout sections in the order specified.
+.TP
+\fB\-\-section\-start\fR SECTION=ADDRESS
+Set address of section
+.TP
+\fB\-\-sort\-common\fR [={ascending,descending}]
+Sort common symbols by alignment
+.TP
+\fB\-\-spare\-dynamic\-tags\fR COUNT
+Dynamic tag slots to reserve (default 5)
+.TP
+\fB\-s\fR, \fB\-\-strip\-all\fR
+Strip all symbols
+.TP
+\fB\-S\fR, \fB\-\-strip\-debug\fR
+Strip debugging information
+.TP
+\fB\-\-strip\-debug\-non\-line\fR
+Emit only debug line number information
+.TP
+\fB\-\-strip\-debug\-gdb\fR
+Strip debug symbols that are unused by gdb (at least versions <= 6.7)
+.TP
+\fB\-\-strip\-lto\-sections\fR
+Strip LTO intermediate code sections
+.TP
+\fB\-\-stub\-group\-size\fR SIZE
+(ARM only) The maximum distance from instructions in a group of sections to their stubs. Negative values mean stubs are always after the group. 1 means using default size.
+.TP
+\fB\-\-no\-keep\-memory\fR
+Use less memory and more disk I/O (included only for compatibility with GNU ld)
+.TP
+\fB\-G\fR, \fB\-shared\fR
+Generate shared library
+.TP
+\fB\-Bshareable\fR
+Generate shared library
+.TP
+\fB\-\-split\-stack\-adjust\-size\fR SIZE
+Stack size when \fB\-fsplit\-stack\fR function calls non\-split
+.TP
+\fB\-static\fR
+Do not link against shared libraries
+.TP
+\fB\-\-icf\fR [none,all,safe]
+Identical Code Folding. '\-\-icf=safe' Folds ctors, dtors and functions whose pointers are definitely not taken.
+.TP
+\fB\-\-icf\-iterations\fR COUNT
+Number of iterations of ICF (default 2)
+.TP
+\fB\-\-print\-icf\-sections\fR
+List folded identical sections on stderr
+.TP
+\fB\-\-no\-print\-icf\-sections\fR
+Do not list folded identical sections
+.TP
+\fB\-\-keep\-unique\fR SYMBOL
+Do not fold this symbol during ICF
+.TP
+\fB\-\-gc\-sections\fR
+Remove unused sections
+.TP
+\fB\-\-no\-gc\-sections\fR
+Don't remove unused sections (default)
+.TP
+\fB\-\-print\-gc\-sections\fR
+List removed unused sections on stderr
+.TP
+\fB\-\-no\-print\-gc\-sections\fR
+Do not list removed unused sections
+.TP
+\fB\-\-stats\fR
+Print resource usage statistics
+.TP
+\fB\-\-sysroot\fR DIR
+Set target system root directory
+.TP
+\fB\-t\fR, \fB\-\-trace\fR
+Print the name of each input file
+.TP
+\fB\-T\fR FILE, \fB\-\-script\fR FILE
+Read linker script
+.TP
+\fB\-\-threads\fR
+Run the linker multi\-threaded
+.TP
+\fB\-\-no\-threads\fR
+Do not run the linker multi\-threaded
+.TP
+\fB\-\-thread\-count\fR COUNT
+Number of threads to use
+.TP
+\fB\-\-thread\-count\-initial\fR COUNT
+Number of threads to use in initial pass
+.HP
+\fB\-\-thread\-count\-middle\fR COUNT Number of threads to use in middle pass
+.TP
+\fB\-\-thread\-count\-final\fR COUNT
+Number of threads to use in final pass
+.TP
+\fB\-Tbss\fR ADDRESS
+Set the address of the bss segment
+.TP
+\fB\-Tdata\fR ADDRESS
+Set the address of the data segment
+.TP
+\fB\-Ttext\fR ADDRESS
+Set the address of the text segment
+.TP
+\fB\-u\fR SYMBOL, \fB\-\-undefined\fR SYMBOL
+Create undefined reference to SYMBOL
+.TP
+\fB\-\-unresolved\-symbols\fR ignore\-all,report\-all,ignore\-in\-object\-files,ignore\-in\-shared\-libs
+How to handle unresolved symbols
+.TP
+\fB\-\-verbose\fR
+Synonym for \fB\-\-debug\fR=\fIfiles\fR
+.TP
+\fB\-\-version\-script\fR FILE
+Read version script
+.TP
+\fB\-\-warn\-common\fR
+Warn about duplicate common symbols
+.TP
+\fB\-\-no\-warn\-common\fR
+Do not warn about duplicate common symbols (default)
+.TP
+\fB\-\-warn\-constructors\fR
+Ignored
+.TP
+\fB\-\-no\-warn\-constructors\fR
+Ignored
+.TP
+\fB\-\-warn\-execstack\fR
+Warn if the stack is executable
+.TP
+\fB\-\-no\-warn\-execstack\fR
+Do not warn if the stack is executable (default)
+.TP
+\fB\-\-no\-warn\-mismatch\fR
+Don't warn about mismatched input files
+.TP
+\fB\-\-warn\-multiple\-gp\fR
+Ignored
+.TP
+\fB\-\-warn\-search\-mismatch\fR
+Warn when skipping an incompatible library
+.TP
+\fB\-\-no\-warn\-search\-mismatch\fR
+Don't warn when skipping an incompatible library
+.TP
+\fB\-\-warn\-shared\-textrel\fR
+Warn if text segment is not shareable
+.TP
+\fB\-\-no\-warn\-shared\-textrel\fR
+Do not warn if text segment is not shareable (default)
+.TP
+\fB\-\-warn\-unresolved\-symbols\fR
+Report unresolved symbols as warnings
+.TP
+\fB\-\-error\-unresolved\-symbols\fR
+Report unresolved symbols as errors
+.TP
+\fB\-\-no\-wchar\-size\-warning\fR
+(ARM only) Do not warn about objects with incompatible wchar_t sizes
+.TP
+\fB\-\-whole\-archive\fR
+Include all archive contents
+.TP
+\fB\-\-no\-whole\-archive\fR
+Include only needed archive contents
+.TP
+\fB\-\-wrap\fR SYMBOL
+Use wrapper functions for SYMBOL
+.TP
+\fB\-y\fR SYMBOL, \fB\-\-trace\-symbol\fR SYMBOL
+Trace references to symbol
+.TP
+\fB\-\-undefined\-version\fR
+Allow unused version in script (default)
+.TP
+\fB\-\-no\-undefined\-version\fR
+Do not allow unused version in script
+.TP
+\fB\-Y\fR PATH
+Default search path for Solaris compatibility
+.TP
+\-(, \fB\-\-start\-group\fR
+Start a library search group
+.TP
+\-), \fB\-\-end\-group\fR
+End a library search group
+.TP
+\fB\-\-start\-lib\fR
+Start a library
+.TP
+\fB\-\-end\-lib\fR
+End a library
+.TP
+\fB\-z\fR combreloc
+Sort dynamic relocs
+.TP
+\fB\-z\fR nocombreloc
+Do not sort dynamic relocs
+.TP
+\fB\-z\fR common\-page\-size=SIZE
+Set common page size to SIZE
+.TP
+\fB\-z\fR defs
+Report undefined symbols (even with \fB\-\-shared\fR)
+.TP
+\fB\-z\fR execstack
+Mark output as requiring executable stack
+.TP
+\fB\-z\fR initfirst
+Mark DSO to be initialized first at runtime
+.TP
+\fB\-z\fR interpose
+Mark object to interpose all DSOs but executable
+.TP
+\fB\-z\fR lazy
+Mark object for lazy runtime binding (default)
+.TP
+\fB\-z\fR loadfltr
+Mark object requiring immediate process
+.TP
+\fB\-z\fR max\-page\-size=SIZE
+Set maximum page size to SIZE
+.TP
+\fB\-z\fR muldefs
+Allow multiple definitions of symbols
+.TP
+\fB\-z\fR nocopyreloc
+Do not create copy relocs
+.TP
+\fB\-z\fR nodefaultlib
+Mark object not to use default search paths
+.TP
+\fB\-z\fR nodelete
+Mark DSO non\-deletable at runtime
+.TP
+\fB\-z\fR nodlopen
+Mark DSO not available to dlopen
+.TP
+\fB\-z\fR nodump
+Mark DSO not available to dldump
+.TP
+\fB\-z\fR noexecstack
+Mark output as not requiring executable stack
+.TP
+\fB\-z\fR now
+Mark object for immediate function binding
+.TP
+\fB\-z\fR origin
+Mark DSO to indicate that needs immediate $ORIGIN processing at runtime
+.TP
+\fB\-z\fR relro
+Where possible mark variables read\-only after relocation
+.TP
+\fB\-z\fR norelro
+Don't mark variables read\-only after relocation
+.TP
+\fB\-z\fR text
+Do not permit relocations in read\-only segments
+.TP
+\fB\-z\fR notext
+Permit relocations in read\-only segments (default)
+.TP
+\fB\-z\fR textoff
+Permit relocations in read\-only segments (default)
+.TP
+\fB\-z\fR buildd
+Dummy z option
+.PP
+debian/tmp/usr/bin/ld.gold: supported targets: elf32\-bigarm elf32\-littlearm elf64\-powerpcle elf64\-powerpc elf32\-powerpcle elf32\-powerpc elf64\-sparc elf32\-sparc elf64\-x86\-64 elf64\-x86\-64\-freebsd elf32\-i386 elf32\-i386\-freebsd
+debian/tmp/usr/bin/ld.gold: supported emulations: armelfb armelf elf64lppc elf64ppc elf32lppc elf32ppc elf64_sparc elf32_sparc elf_x86_64 elf_i386
+.SH "REPORTING BUGS"
+Report bugs to
+.SH COPYRIGHT
+Copyright 2011 Free Software Foundation, Inc.
+This program is free software; you may redistribute it under the terms of
+the GNU General Public License version 3 or (at your option) a later version.
+This program has absolutely no warranty.
+.SH "SEE ALSO"
+The full documentation for
+.B gold
+is maintained as a Texinfo manual. If the
+.B info
+and
+.B gold
+programs are properly installed at your site, the command
+.IP
+.B info gold
+.PP
+should give you access to the complete manual.
--- binutils-2.21.53.20110810.orig/debian/binutils.postrm
+++ binutils-2.21.53.20110810/debian/binutils.postrm
@@ -0,0 +1,7 @@
+#! /bin/sh
+
+set -e
+
+if [ "$1" = "remove" ]; then
+ ldconfig
+fi
--- binutils-2.21.53.20110810.orig/debian/binutils.overrides
+++ binutils-2.21.53.20110810/debian/binutils.overrides
@@ -0,0 +1,5 @@
+# the API of the shared libs is not public, don't care about the name
+binutils binary: package-name-doesnt-match-sonames
+
+# big tables
+binutils binary: manpage-has-errors-from-man
--- binutils-2.21.53.20110810.orig/debian/binutils-gold.postrm
+++ binutils-2.21.53.20110810/debian/binutils-gold.postrm
@@ -0,0 +1,15 @@
+#! /bin/sh
+
+set -e
+
+if [ "$1" = "remove" -o "$1" = "abort-install" ]; then
+ dpkg-divert \
+ --package binutils-gold \
+ --remove --rename \
+ --divert /usr/bin/ld.bfd-link /usr/bin/ld
+ dpkg-divert \
+ --package binutils-gold \
+ --remove --rename \
+ --divert /usr/share/man/man1/ld.bfd-link.1.gz /usr/share/man/man1/ld.1.gz
+
+fi
--- binutils-2.21.53.20110810.orig/debian/binutils-spu.postinst
+++ binutils-2.21.53.20110810/debian/binutils-spu.postinst
@@ -0,0 +1,7 @@
+#! /bin/sh
+
+set -e
+
+if [ "$1" = "configure" ]; then
+ ldconfig
+fi
--- binutils-2.21.53.20110810.orig/debian/binutils.postinst
+++ binutils-2.21.53.20110810/debian/binutils.postinst
@@ -0,0 +1,7 @@
+#! /bin/sh
+
+set -e
+
+if [ "$1" = "configure" ]; then
+ ldconfig
+fi
--- binutils-2.21.53.20110810.orig/debian/control.cross.in
+++ binutils-2.21.53.20110810/debian/control.cross.in
@@ -0,0 +1,11 @@
+Package: binutils-__TARGET__
+Architecture: any
+Depends: binutils, ${shlibs:Depends}
+Suggests: binutils-doc (= ${Source-Version})
+Priority: extra
+Description: The GNU binary utilities, for __TARGET__ target
+ This package provides GNU assembler, linker and binary utilities
+ for __TARGET__ target, for use in a cross-compilation environment.
+ .
+ You don't need this package unless you plan to cross-compile programs
+ for __TARGET__.
--- binutils-2.21.53.20110810.orig/debian/rules
+++ binutils-2.21.53.20110810/debian/rules
@@ -0,0 +1,1317 @@
+#!/usr/bin/make -f
+# debian/rules file - for binutils (2.20)
+# Based on sample debian/rules file - for GNU Hello (1.3).
+# Copyright 1994,1995 by Ian Jackson.
+# Copyright 1998-2007 James Troup.
+# Portions Copyright 2008-2009 Canonical Ltd.
+# Portions Copyright 2008-2009 Matthias Klose.
+# I hereby give you perpetual unlimited permission to copy,
+# modify and relicense this file, provided that you do not remove
+# my name from the file itself. (I assert my moral right of
+# paternity under the Copyright, Designs and Patents Act 1988.)
+# This file may have to be extensively modified
+
+################################################################################
+
+p_bin = binutils
+p_dev = $(p_bin)-dev
+p_mul = $(p_bin)-multiarch
+p_gold = $(p_bin)-gold
+p_doc = $(p_bin)-doc
+p_hppa64 = $(p_bin)-hppa64
+p_spu = $(p_bin)-spu
+p_src = $(p_bin)-source
+p_static = $(p_bin)-static
+p_udeb = $(p_static)-udeb
+
+# BACKPORT is used for cross builds for a -source package not conflicting
+# with the source package of the native package.
+ifeq ($(BACKPORT),true)
+ p_src = $(p_bin)-$(VERSION)-source
+else
+ p_src = $(p_bin)-source
+endif
+
+pwd := $(shell pwd)
+d = debian/tmp
+d_bin = $(d)
+d_dev = debian/$(p_dev)
+d_mul = debian/$(p_mul)
+d_gold = debian/$(p_gold)
+d_doc = debian/$(p_doc)
+d_hppa64 = debian/$(p_hppa64)
+d_spu = debian/$(p_spu)
+d_src = debian/$(p_src)
+d_static = debian/$(p_static)
+d_udeb = debian/$(p_udeb)
+
+install_dir = install -d -m 755
+install_file = install -m 644
+install_script = install -m 755
+install_binary = install -m 755 -s
+
+vafilt = $(subst $(2)=,,$(filter $(2)=%,$(1)))
+DPKG_VARS := $(shell dpkg-architecture)
+DEB_BUILD_GNU_TYPE ?= $(call vafilt,$(DPKG_VARS),DEB_BUILD_GNU_TYPE)
+DEB_HOST_ARCH ?= $(call vafilt,$(DPKG_VARS),DEB_HOST_ARCH)
+DEB_HOST_GNU_TYPE ?= $(call vafilt,$(DPKG_VARS),DEB_HOST_GNU_TYPE)
+DEB_HOST_MULTIARCH ?= $(call vafilt,$(DPKG_VARS),DEB_HOST_MULTIARCH)
+
+ifeq (,$(DEB_HOST_MULTIARCH))
+ ifeq ($(DEB_HOST_ARCH),i386)
+ DEB_HOST_MULTIARCH = i386-linux-gnu
+ else
+ DEB_HOST_MULTIARCH = $(DEB_HOST_GNU_TYPE)
+ endif
+endif
+
+SHELL = /bin/bash
+
+ifneq (,$(filter $(DEB_HOST_ARCH), amd64 armel armhf i386 powerpc powerpcspe ppc64 sparc sparc64))
+ with_gold = yes
+endif
+
+with_multiarch := yes
+with_static := yes
+
+CC = gcc
+CXX = g++
+CFLAGS = -g -O2 -Wno-format-security
+STRIP = strip --remove-section=.comment --remove-section=.note
+CROSS :=
+ifneq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE))
+ CROSS := $(DEB_HOST_GNU_TYPE)-
+ CC = $(CROSS)gcc
+ CXX = $(CROSS)g++
+ STRIP= $(CROSS)strip --remove-section=.comment --remove-section=.note
+ install_binary = install -m 755 -s --strip-program="$(STRIP)"
+endif
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+ CFLAGS = -g -O0
+endif
+
+# this outputs 0 or 1 depending on whether a macro appears in the *default* cpp
+# -dM -P output; this is used to test the toolchain *default* configuration
+check_cpp = $(shell $(CROSS)cpp -dM -P /dev/null | grep -q '^\#define $(1)' && echo 1 || echo 0)
+
+# testsuite doesn't expect to be built with -mthumb
+# TODO if the testsuite is only broken with Thumb-2 (and not with "Thumb-1"),
+# we should test for __thumb2__ instead
+ifneq (,$(filter $(DEB_HOST_ARCH), armel armhf))
+ ifeq ($(call check_cpp,__thumb__),1)
+ CFLAGS += -marm
+ endif
+endif
+
+# see LP: #446478, would only fix the testcases
+#ifneq (,$(filter $(DEB_HOST_ARCH), armel armhf))
+# CFLAGS += -fno-section-anchors
+#endif
+
+SPACE = $(EMPTY) $(EMPTY)
+COMMA = ,
+CHANGELOG_VARS := $(shell dpkg-parsechangelog | \
+ sed -n 's/ /_/g;/^[^_]/s/^\([^:]*\):_\(.*\)/\1=\2/p')
+
+DEB_VERSION := $(call vafilt,$(CHANGELOG_VARS),Version)
+DEB_SVERSION := $(shell echo $(DEB_VERSION) | sed 's/+b[0-9][0-9]*$$//')
+DEB_UPSTREAM := $(firstword $(subst -,$(SPACE),$(DEB_VERSION)))
+
+VERSION := $(shell sed -n 's/^ *VERSION=\(.*\)/\1/p' bfd/configure | head -1)
+DATE := $(shell sed -n 's/.* \([0-9]*\)$$/\1/p' bfd/version.h)
+ifneq (,$(DATE))
+ DATE_EXT := .$(DATE)
+endif
+
+ifneq ($(DEB_UPSTREAM),$(VERSION)$(DATE_EXT))
+ $(error upstream ($(DEB_UPSTREAM)) and debian ($(VERSION)$(DATE_EXT)) version mismatch)
+endif
+
+STATIC_UDEB = $(p_udeb)_$(DEB_VERSION)_$(DEB_HOST_ARCH).udeb
+
+SINGLE_VERSION= $(VERSION)-system
+MULTI_VERSION = $(VERSION)-multiarch
+HPPA64_VERSION= $(VERSION)-hppa64
+SPU_VERSION = $(VERSION)-spu
+
+DISTRIBUTION := $(shell lsb_release -is)
+NJOBS =
+# Support parallel= in DEB_BUILD_OPTIONS (see #209008)
+ifneq (,$(filter parallel=%,$(subst $(COMMA), ,$(DEB_BUILD_OPTIONS))))
+ NJOBS := -j $(subst parallel=,,$(filter parallel=%,$(subst $(COMMA), ,$(DEB_BUILD_OPTIONS))))
+endif
+ifneq (,$(findstring nogold,$(DEB_BUILD_OPTIONS)))
+ with_gold = disabled in DEB_BUILD_OPTIONS
+endif
+ifneq (,$(findstring nostat,$(DEB_BUILD_OPTIONS)))
+ with_static = disabled in DEB_BUILD_OPTIONS
+endif
+ifneq (,$(findstring nomult,$(DEB_BUILD_OPTIONS)))
+ with_multiarch = disabled in DEB_BUILD_OPTIONS
+endif
+
+# If $(TARGET) is not set, try reading debian/target
+ifeq (,$(TARGET))
+ ifneq (,$(wildcard debian/target))
+ TARGET := $(shell cat debian/target 2>/dev/null)
+ endif
+endif
+
+# PF is the installation prefix for the package without the leading slash.
+# It's "usr" for gcc releases, so use this if not explicitly set
+ifeq ($(PF),)
+ PF = usr
+endif
+
+########################################
+
+CONFARGS = \
+ --enable-shared \
+ --enable-plugins \
+ --prefix=/$(PF) \
+ --build=$(DEB_BUILD_GNU_TYPE) \
+ --host=$(DEB_HOST_GNU_TYPE) \
+ --with-pkgversion="GNU Binutils for $(DISTRIBUTION)"
+
+ifeq ($(DEB_HOST_MULTIARCH),x86_64-linux-gnu)
+ DEB_HOST_MULTIARCH32 = i386-linux-gnu
+else ifeq ($(DEB_HOST_MULTIARCH),powerpc64-linux-gnu)
+ DEB_HOST_MULTIARCH32 = powerpc-linux-gnu
+else ifeq ($(DEB_HOST_MULTIARCH),s390x-linux-gnu)
+ DEB_HOST_MULTIARCH32 = s390-linux-gnu
+else ifeq ($(DEB_HOST_MULTIARCH),sparc64-linux-gnu)
+ DEB_HOST_MULTIARCH32 = sparc-linux-gnu
+else ifeq ($(DEB_HOST_MULTIARCH),x86_64-kfreebsd-gnu)
+ DEB_HOST_MULTIARCH32 = i386-kfreebsd-gnu
+else ifeq ($(DEB_HOST_MULTIARCH),i386-linux-gnu)
+ DEB_HOST_MULTIARCH64 = x86_64-linux-gnu
+else ifeq ($(DEB_HOST_MULTIARCH),powerpc-linux-gnu)
+ DEB_HOST_MULTIARCH64 = powerpc64-linux-gnu
+else ifeq ($(DEB_HOST_MULTIARCH),sparc-linux-gnu)
+ DEB_HOST_MULTIARCH64 = sparc64-linux-gnu
+else ifeq ($(DEB_HOST_MULTIARCH),s390-linux-gnu)
+ DEB_HOST_MULTIARCH64 = s390x-linux-gnu
+else ifeq ($(DEB_HOST_MULTIARCH),i386-kfreebsd-gnu)
+ DEB_HOST_MULTIARCH64 = x86_64-linux-gnu
+else ifeq ($(DEB_HOST_MULTIARCH),mips-linux-gnu)
+ DEB_HOST_MULTIARCH64 = mips64-linux-gnu
+else ifeq ($(DEB_HOST_MULTIARCH),mipsel-linux-gnu)
+ DEB_HOST_MULTIARCH64 = mips64el-linux-gnu
+endif
+export DEB_HOST_MULTIARCH DEB_HOST_MULTIARCH32 DEB_HOST_MULTIARCH64
+
+ifeq ($(DEB_HOST_ARCH),sparc)
+ CONFARGS += --enable-targets=sparc64-linux-gnu
+ CONFLICTS = -VextraConflicts="libc6-dev-sparc64 (<< 2.2.5-7)"
+endif
+ifeq ($(DEB_HOST_ARCH),sparc64)
+ CONFARGS += --enable-targets=sparc-linux-gnu
+ CONFLICTS = -VextraConflicts="libc6-dev-sparc64 (<< 2.2.5-7)"
+endif
+ifeq ($(DEB_HOST_ARCH),powerpc)
+ CONFARGS += --enable-targets=powerpc64-linux-gnu,spu
+endif
+ifeq ($(DEB_HOST_ARCH),ppc64)
+ CONFARGS += --enable-targets=powerpc-linux-gnu,spu
+endif
+ifeq ($(DEB_HOST_ARCH),s390)
+ CONFARGS += --enable-targets=s390x-linux-gnu
+endif
+ifeq ($(DEB_HOST_ARCH),s390x)
+ CONFARGS += --enable-targets=s390-linux-gnu
+endif
+ifeq ($(DEB_HOST_ARCH),i386)
+ CONFARGS += --enable-targets=x86_64-linux-gnu
+endif
+ifeq ($(DEB_HOST_ARCH),kfreebsd-i386)
+ CONFARGS += --enable-targets=x86_64-kfreebsd-gnu
+endif
+ifeq ($(DEB_HOST_ARCH),mips)
+ CONFARGS += --enable-targets=mips64-linux-gnu
+endif
+ifeq ($(DEB_HOST_ARCH),mipsel)
+ CONFARGS += --enable-targets=mips64el-linux-gnu
+endif
+ifneq (,$(filter $(DEB_HOST_ARCH),armhf i386 ia64 sparc sparc64))
+ CONFARGS += --disable-werror
+endif
+CONFARGS += --disable-werror
+
+with_check := yes
+ifneq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
+ with_check := disabled through DEB_BUILD_OPTIONS
+endif
+ifneq (,$(filter $(DEB_HOST_ARCH), armel armhf mips mipsel sparc))
+ ignore_regressions := regressions ignored on architecture $(DEB_HOST_ARCH)
+endif
+ignore_regressions := regressions ignored on architecture $(DEB_HOST_ARCH)
+
+with_strip := yes
+ifneq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
+ with_strip := disabled through DEB_BUILD_OPTIONS
+endif
+
+source_files = $(addprefix $(shell basename $(pwd))/, \
+ $(filter-out %-stamp .pc CVS debian builddir-% test-summary, $(wildcard *)))
+
+################################################################################
+
+#################
+# patch targets #
+#################
+
+patch: patch-stamp
+patch-stamp:
+ifneq ($(PATCHED_SOURCES),yes)
+ QUILT_PATCHES=$(CURDIR)/debian/patches \
+ quilt --quiltrc /dev/null push -a || test $$? = 2
+endif
+ touch $@
+
+unpatch:
+ QUILT_PATCHES=$(CURDIR)/debian/patches \
+ quilt --quiltrc /dev/null pop -a -R || test $$? = 2
+ rm -rf .pc
+
+update-patches:
+ export QUILT_PATCHES=$(CURDIR)/debian/patches; \
+ export QUILT_REFRESH_ARGS="--no-timestamps --no-index -pab"; \
+ export QUILT_DIFF_ARGS="--no-timestamps --no-index -pab"; \
+ while quilt push; do quilt refresh; done
+
+################################################################################
+
+################
+# clean target #
+################
+
+clean: unpatch
+ $(checkdir)
+ -rm -fr builddir-multi builddir-single builddir-hppa64 builddir-spu builddir-gold
+ -find . -name \*.gmo -o -name \*~ -o -name \*.info ! -name sysroff.info | xargs rm -f
+ -rm -f $(pwd)/test-summary*
+ -rm -fr $(d_bin) $(d_dev) $(d_mul) $(d_doc) $(d_hppa64) $(d_src) $(d_spu) $(d_gold)
+ -rm -fr builddir-static
+ -rm -fr $(d_static) $(d_udeb)
+ -rm -rf debian/patched debian/tmp debian/files* debian/substvars
+ -rm -f debian/*.orig debian/*.rej
+ -rm -rf $(d_cross) debian/files debian/substvars
+ -rm -rf builddir-$(TARGET) {configure,build,install}-cross-stamp
+ for i in debian/*.in; do \
+ case "$$i" in debian/control*.in) continue; esac; \
+ rm -f $${i%*.in}; \
+ done
+
+ -rm -f *-stamp
+
+################################################################################
+
+#######################
+# single-arch targets #
+#######################
+
+SINGLE_CONFARGS = $(CONFARGS)
+ifeq ($(with_gold),yes)
+ SINGLE_CONFARGS += --enable-ld=default --enable-gold
+endif
+
+configure-single-stamp: patch-stamp
+ $(checkdir)
+
+ifeq ($(with_check),yes)
+ @if echo "spawn true" | /usr/bin/expect -f - >/dev/null; then \
+ : ; \
+ else \
+ echo "expect is failing on your system with the above error, which means the"; \
+ echo "testsuite will fail. Please resolve the above issues and retry the build."; \
+ echo "-----------------------------------------------------------------------------"; \
+ exit 1; \
+ fi
+endif
+
+ rm -rf configure-single-stamp \
+ builddir-single
+ mkdir builddir-single
+ cd builddir-single && env CC="$(CC)" CXX="$(CXX)" CFLAGS="$(CFLAGS)" \
+ ../configure --with-sysroot=/ $(SINGLE_CONFARGS)
+ $(MAKE) -C builddir-single configure-host
+ touch configure-single-stamp
+
+build-single-stamp: configure-single-stamp
+ $(checkdir)
+ env MAKE="$(MAKE) VERSION=$(SINGLE_VERSION)" \
+ $(MAKE) -C builddir-single/bfd headers
+ env MAKE="$(MAKE) VERSION=$(SINGLE_VERSION)" \
+ $(MAKE) $(NJOBS) -C builddir-single
+ifeq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE))
+ifeq ($(with_check),yes)
+ -env MAKE="$(MAKE) VERSION=$(SINGLE_VERSION)" \
+ $(MAKE) -C builddir-single -k check
+ cat builddir-single/binutils/binutils.sum \
+ builddir-single/gas/testsuite/gas.sum \
+ builddir-single/ld/ld.sum >> $(pwd)/test-summary
+ set -e; \
+ if [ ! -f /usr/share/doc/binutils/test-summary.gz ]; then \
+ echo "No test results available for the installed binutils version"; \
+ elif [ -x /usr/bin/python ]; then \
+ echo "Test results, compared with installed binutils:"; \
+ zcat /usr/share/doc/binutils/test-summary.gz > test-summary-installed; \
+ if python debian/test-suite-compare.py test-summary-installed test-summary; then \
+ : ; \
+ elif [ -n "$(ignore_regressions)" ]; then \
+ echo "$(ignore_regressions)"; \
+ else \
+ case "$(DEB_HOST_ARCH)" in \
+ powerpc) \
+ echo "WARNING: ignoring test results";; \
+ *) \
+ false;; \
+ esac; \
+ fi; \
+ else \
+ echo "python not installed, not comparing test results."; \
+ fi
+endif
+endif
+ touch build-single-stamp
+
+
+################################################################################
+
+#####################
+# multiarch targets #
+#####################
+
+# strictly speaking this is incorrect as the first column of this file should
+# be ignored, but it's not obvious how to compute a proper list of triplets
+# which Debian cares about since this table only lists official ports and the
+# other tables combined give too many ports and generate triplets which break
+# the binutils build; also, it's not possible to use --enable-targets=all
+# either; see:
+# http://lists.debian.org/debian-dpkg/2011/02/msg00085.html
+multiarch_targets := $(shell sed -n 's/^\([^[:space:]\#]\+\).*/\1/p' /usr/share/dpkg/archtable)
+
+# some extra targets which were present in earlier versions of the
+# multiarch_targets list; would be good to find out who needs them for what
+multiarch_targets += \
+ i686-linux-gnu \
+ m32r-linux-gnu \
+ m68k-linux-gnu \
+ m68k-rtems \
+ mips64el-linux-gnu \
+ mips64-linux-gnu \
+ powerpc64-linux-gnu \
+ s390x-linux-gnu \
+ sh64-linux-gnu \
+ sh-linux-gnu \
+ sparc64-linux-gnu \
+ spu \
+
+configure-multi-stamp: patch-stamp
+ $(checkdir)
+ rm -rf configure-multi-stamp \
+ builddir-multi
+ mkdir builddir-multi
+ cd builddir-multi \
+ && env CC="$(CC)" CXX="$(CXX)" CFLAGS="$(CFLAGS)" ../configure $(CONFARGS) \
+ --with-sysroot=/ \
+ --disable-werror \
+ --enable-targets=$(subst $(SPACE),$(COMMA),$(multiarch_targets))
+ $(MAKE) -C builddir-multi configure-host
+ touch configure-multi-stamp
+
+build-multi-stamp: configure-multi-stamp
+ $(checkdir)
+ $(MAKE) -C builddir-multi/bfd headers
+ env MAKE="$(MAKE) VERSION=$(MULTI_VERSION)" \
+ $(MAKE) $(NJOBS) -C builddir-multi
+ touch build-multi-stamp
+
+################################################################################
+
+#################
+# static target #
+#################
+
+configure-static-stamp: patch-stamp
+ $(checkdir)
+ rm -rf configure-static-stamp \
+ builddir-static
+ mkdir builddir-static
+ cd builddir-static \
+ && env CC="$(CC)" CXX="$(CXX)" CFLAGS="-g0 -Os" ../configure \
+ --prefix=/$(PF) \
+ --build=$(DEB_BUILD_GNU_TYPE) \
+ --host=$(DEB_HOST_GNU_TYPE) \
+ --with-pkgversion="GNU Binutils for $(DISTRIBUTION)"
+ $(MAKE) -C builddir-static configure-bfd
+ $(MAKE) -C builddir-static configure-ld
+ touch configure-static-stamp
+
+build-static-stamp: configure-static-stamp
+ $(checkdir)
+ $(MAKE) $(NJOBS) -C builddir-static/libiberty CCLD='$(CC) -all-static'
+ $(MAKE) $(NJOBS) -C builddir-static/bfd CCLD='$(CC) -all-static'
+ $(MAKE) $(NJOBS) -C builddir-static/ld CCLD='$(CC) -all-static'
+ touch build-static-stamp
+
+################################################################################
+
+#################
+# hppa64 target #
+#################
+
+configure-hppa64-stamp: patch-stamp
+ $(checkdir)
+ rm -rf configure-hppa64-stamp \
+ builddir-hppa64
+ mkdir builddir-hppa64
+ cd builddir-hppa64 \
+ && env CC="$(CC)" CXX="$(CXX)" CFLAGS="$(CFLAGS)" ../configure \
+ --enable-shared \
+ --prefix=/$(PF) \
+ --build=$(DEB_BUILD_GNU_TYPE) \
+ --host=$(DEB_HOST_GNU_TYPE) \
+ --target=hppa64-linux-gnu
+ $(MAKE) -C builddir-hppa64 configure-host
+ touch configure-hppa64-stamp
+
+build-hppa64-stamp: configure-hppa64-stamp
+ $(checkdir)
+ $(MAKE) -C builddir-hppa64/bfd headers
+ env MAKE="$(MAKE) VERSION=$(HPPA64_VERSION)" \
+ $(MAKE) $(NJOBS) -C builddir-hppa64
+ touch build-hppa64-stamp
+
+################################################################################
+
+##############
+# spu target #
+##############
+
+configure-spu-stamp: patch-stamp
+ $(checkdir)
+ rm -rf configure-spu-stamp \
+ builddir-spu
+ mkdir builddir-spu
+ cd builddir-spu \
+ && env CC="$(CC)" CFLAGS="$(CFLAGS)" ../configure \
+ --enable-shared \
+ --prefix=/$(PF) \
+ --program-prefix=spu- \
+ --build=$(DEB_BUILD_GNU_TYPE) \
+ --host=$(DEB_BUILD_GNU_TYPE) \
+ --target=spu-elf
+ $(MAKE) -C builddir-spu configure-host
+ touch configure-spu-stamp
+
+build-spu-stamp: configure-spu-stamp
+ $(checkdir)
+ $(MAKE) -C builddir-spu/bfd headers
+ env MAKE="$(MAKE) VERSION=$(SPU_VERSION)" \
+ $(MAKE) $(NJOBS) -C builddir-spu
+ touch build-spu-stamp
+
+################################################################################
+
+pre-build:
+#ifneq (,$(filter $(DEB_HOST_ARCH), amd64))
+# @echo Build it ...
+#else
+# @echo Explicitely fail the build for architecture $(DEB_HOST_ARCH)
+# false
+#endif
+
+build_stamps = build-single-stamp
+ifeq ($(with_multiarch),yes)
+ build_stamps += build-multi-stamp
+endif
+ifeq ($(DEB_HOST_ARCH),hppa)
+ build_stamps += build-hppa64-stamp
+endif
+ifneq (,$(filter $(DEB_HOST_ARCH),powerpc ppc64))
+ build_stamps += build-spu-stamp
+endif
+ifneq (,$(TARGET))
+ ifneq (,$(findstring static-cross,$(DEB_BUILD_OPTIONS)))
+ build_stamps = build-static-cross-stamp
+ else
+ build_stamps = build-cross-stamp
+ endif
+endif
+
+ifeq ($(BACKPORT),true)
+ build_stamps :=
+ with_check := no
+endif
+
+build: pre-build build-stamp
+build-stamp: $(build_stamps)
+ touch build-stamp
+
+################################################################################
+
+##################
+# install target #
+##################
+
+install_stamps = install-stamp
+ifeq ($(DEB_HOST_ARCH),hppa)
+ install_stamps += install-hppa64-stamp
+endif
+ifneq (,$(filter $(DEB_HOST_ARCH),powerpc ppc64))
+ install_stamps += install-spu-stamp
+endif
+ifeq ($(with_static),yes)
+ install_stamps += install-static-stamp
+endif
+ifneq (,$(TARGET))
+ ifneq (,$(findstring static-cross,$(DEB_BUILD_OPTIONS)))
+ install_stamps = install-static-cross-stamp
+ else
+ install_stamps = install-cross-stamp
+ endif
+endif
+ifeq ($(BACKPORT),true)
+ install_stamps :=
+endif
+install: $(install_stamps)
+install-stamp: checkroot build-stamp
+ $(checkdir)
+
+ rm -fr $(d_bin) $(d_dev) $(d_mul) $(d_doc) $(d_src)
+ $(install_dir) $(d_bin) $(d_dev) $(d_mul) $(d_doc) $(d_src)
+
+ : # install binutils and -dev stuff
+ env MAKE="$(MAKE) VERSION=$(SINGLE_VERSION)" \
+ $(MAKE) -C builddir-single \
+ CFLAGS="$(CFLAGS)" prefix=$(pwd)/$(d_bin)/$(PF) \
+ mandir=$(pwd)/$(d_bin)/$(PF)/share/man \
+ infodir=$(pwd)/$(d_doc)/$(PF)/share/info install
+
+ifeq ($(with_multiarch),yes)
+ : # now install binutils-multiarch stuff
+ env MAKE="$(MAKE) VERSION=$(MULTI_VERSION)" \
+ $(MAKE) -C builddir-multi \
+ CFLAGS="$(CFLAGS)" \
+ prefix=$(pwd)/$(d_mul)/$(PF) \
+ mandir=$(pwd)/$(d_mul)/$(PF)/share/man \
+ infodir=$(pwd)/$(d_doc)/$(PF)/share/info install
+endif
+
+ : # copy libiberty.h ... not too keen on this, but it was requested
+ cp -f include/libiberty.h $(d_bin)/$(PF)/include
+
+ : # copy demangle.h ... not too keen on this, but it was requested
+ cp -f include/demangle.h $(d_bin)/$(PF)/include
+
+ : # copy plugin-api.h ...
+ cp -f include/plugin-api.h $(d_bin)/$(PF)/include
+
+ : # We don't need to distribute everything in binutils and -dev
+ rm -rf $(d_bin)/$(PF)/include/obstack.h
+ rm -f $(d_bin)/$(PF)/man/man1/configure.1
+ rm -f $(d_doc)/$(PF)/share/info/configure.* $(d_doc)/$(PF)/share/info/standards.*
+ : # *sigh*, bugs.debian.org/213524
+ rm -f $(d_doc)/$(PF)/share/info/dir*
+
+ifeq ($(with_multiarch),yes)
+ : # Now get rid of just about everything in binutils-multiarch
+ rm -rf $(d_mul)/$(PF)/man $(d_mul)/$(PF)/info $(d_mul)/$(PF)/include
+ rm -rf $(d_mul)/$(PF)/share/man $(d_mul)/$(PF)/share/info $(d_mul)/$(PF)/share/locale
+
+ : # elfedit (even with its --input-mach option)
+ : # is the same for all targets.
+ rm -f $(d_mul)/$(PF)/bin/elfedit
+
+ : # c++filt does not link to libbfd for anything more than
+ : # the help message, and its behavior does not vary
+ : # between arches aside from the --version message.
+ rm -f $(d_mul)/$(PF)/bin/c++filt
+
+ : # As gas/README points out (search for --enable-targets),
+ : # multi-arch gas is not ready yet.
+ rm -f $(d_mul)/$(PF)/bin/as
+ rm -f $(d_mul)/$(PF)/bin/ld
+ rm -f $(d_mul)/$(PF)/bin/ld.bfd
+ rm -f $(d_mul)/$(PF)/bin/ld.gold
+ rm -fr $(d_mul)/$(PF)/lib/ldscripts
+
+ ifneq (,$(filter $(DEB_HOST_ARCH),powerpc ppc64))
+ rm -f $(d_mul)/$(PF)/bin/embedspu
+ endif
+endif
+
+ $(install_dir) $(d_dev)/$(PF)/include/ $(d_dev)/$(PF)/lib/
+ mv $(d_bin)/$(PF)/include/* $(d_dev)/$(PF)/include/
+ mv $(d_bin)/$(PF)/lib/*.a $(d_bin)/$(PF)/lib/libbfd.so $(d_bin)/$(PF)/lib/libopcodes.so \
+ $(d_dev)/$(PF)/lib/
+
+ifeq ($(with_multiarch),yes)
+ rm -f $(d_mul)/$(PF)/lib/libbfd.so $(d_mul)/$(PF)/lib/libopcodes.so
+ rm -f $(d_mul)/$(PF)/lib/*.la $(d_mul)/$(PF)/lib/*.a
+ rm -f $(d_mul)/$(PF)/lib*/libiberty*
+endif
+
+ : # Get rid of .la files since libtool obviously has no idea about transient paths
+ rm -f $(d_bin)/$(PF)/lib/*.la
+
+ifeq ($(with_strip),yes)
+ : # Strip shared libraries
+ pkg_create_dbgsym $(p_bin) $(d_bin) || true
+ $(STRIP) --strip-unneeded $(d_bin)/$(PF)/lib/libbfd-*so
+ $(STRIP) --strip-unneeded $(d_bin)/$(PF)/lib/libopcodes-*so
+
+ chmod ugo-x $(d_bin)/$(PF)/lib/*.so
+
+ $(STRIP) $$(file $(d_bin)/$(PF)/bin/* |awk -F: '$$0 !~ /script/ {print $$1}')
+
+ ifeq ($(with_multiarch),yes)
+ pkg_create_dbgsym $(p_mul) $(d_mul) || true
+ $(STRIP) --strip-unneeded $(d_mul)/$(PF)/lib/libbfd-*so
+ $(STRIP) --strip-unneeded $(d_mul)/$(PF)/lib/libopcodes-*so
+
+ chmod ugo-x $(d_mul)/$(PF)/lib/*.so
+
+ $(STRIP) $$(file $(d_mul)/$(PF)/bin/* |awk -F: '$$0 !~ /script/ {print $$1}')
+ endif
+endif
+
+ : # Don't want /usr/-linux to exist in any package
+ rm -rf $(d_bin)/$(PF)/$(DEB_HOST_GNU_TYPE)
+
+ : # Remove windres manpages
+ rm -f $(d_bin)/$(PF)/share/man/man1/windres.1
+
+ifeq ($(with_multiarch),yes)
+ rm -rf $(d_mul)/$(PF)/$(DEB_HOST_GNU_TYPE)
+ rm -f $(d_mul)/$(PF)/share/man/man1/windres.1
+endif
+
+ rm -f $(d_bin)/$(PF)/bin/ld
+ ln -s ld.bfd $(d_bin)/$(PF)/bin/ld
+ifeq ($(with_gold),yes)
+ ln -s ld.gold $(d_bin)/$(PF)/bin/gold
+ mv $(d_bin)/$(PF)/share/man/man1/ld.1 \
+ $(d_bin)/$(PF)/share/man/man1/ld.bfd.1
+ ln -s ld.bfd.1.gz $(d_bin)/$(PF)/share/man/man1/ld.1.gz
+ ifeq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE))
+ if which help2man >/dev/null 2>&1; then \
+ help2man $(d_bin)/$(PF)/bin/ld.gold > debian/ld.gold.1; \
+ fi
+ endif
+ cp debian/ld.gold.1 $(d_bin)/$(PF)/share/man/man1/
+ ln -s ld.gold.1.gz $(d_bin)/$(PF)/share/man/man1/gold.1.gz
+
+ : # install a symlink for the gold linker
+ $(install_dir) $(d_bin)/$(PF)/lib/gold-ld
+ ln -s ../../bin/ld.gold $(d_bin)/$(PF)/lib/gold-ld/ld
+
+ : # only keep the gold linker diversion to it's own package.
+ rm -fr $(d_gold)
+ $(install_dir) $(d_gold)
+ $(install_dir) $(d_gold)/$(PF)/bin
+ $(install_dir) $(d_gold)/$(PF)/share/man/man1
+ ln -s ld.gold $(d_gold)/$(PF)/bin/ld
+ ln -s ld.gold.1.gz $(d_gold)/$(PF)/share/man/man1/ld.1.gz
+endif
+ : # install a symlink for the old linker
+ $(install_dir) $(d_bin)/$(PF)/lib/compat-ld
+ ln -s ../../bin/ld.bfd $(d_bin)/$(PF)/lib/compat-ld/ld
+
+ : # Remove empty directory
+ rmdir $(d_bin)/$(PF)/include/
+
+ : # install libiberty PIC library
+ $(install_file) builddir-single/libiberty/pic/libiberty.a \
+ $(d_dev)/$(PF)/lib/libiberty_pic.a
+
+ touch install-stamp
+
+install-hppa64-stamp: checkroot build-hppa64-stamp
+ $(checkdir)
+
+ rm -fr $(d_hppa64)
+ $(install_dir) $(d_hppa64)
+ $(install_dir) $(d_hppa64)/$(PF)/lib
+
+ : # install binutils-hppa64 stuff
+ env MAKE="$(MAKE) VERSION=$(HPPA64_VERSION)" \
+ $(MAKE) -C builddir-hppa64 \
+ CFLAGS="$(CFLAGS)" \
+ prefix=$(pwd)/$(d_hppa64)/$(PF)/ \
+ mandir=$(pwd)/$(d_hppa64)/$(PF)/share/man \
+ infodir=$(pwd)/$(d_hppa64)/$(PF)/share/info install
+
+ : # move shared libs to the standard path
+ mv $(d_hppa64)/$(PF)/$(DEB_HOST_GNU_TYPE)/hppa64-linux-gnu/lib/lib*-*.so \
+ $(d_hppa64)/$(PF)/lib/.
+
+ : # Now get rid of just about everything in binutils-hppa64
+ rm -rf $(d_hppa64)/$(PF)/man
+ rm -rf $(d_hppa64)/$(PF)/info
+ rm -rf $(d_hppa64)/$(PF)/include
+ rm -rf $(d_hppa64)/$(PF)/share
+ rm -rf $(d_hppa64)/$(PF)/hppa-linux-gnu
+ rm -rf $(d_hppa64)/$(PF)/lib/libiberty.a
+
+ifeq ($(with_strip),yes)
+ : # Strip shared libraries
+ pkg_create_dbgsym $(p_hppa64) $(d_hppa64) || true
+ $(STRIP) --strip-unneeded $(d_hppa64)/$(PF)/lib/libbfd-*so
+ $(STRIP) --strip-unneeded $(d_hppa64)/$(PF)/lib/libopcodes-*so
+ $(STRIP) $$(file $(d_hppa64)/$(PF)/bin/* | awk -F: '$$0 !~ /script/ {print $$1}')
+endif
+
+ chmod ugo-x $(d_hppa64)/$(PF)/lib/*.so
+
+ : # Don't want /usr/-linux to exist in any package
+ rm -rf $(d_hppa64)/$(PF)/hppa64-linux-gnu
+
+ touch install-hppa64-stamp
+
+install-static-stamp: checkroot build-static-stamp
+ $(checkdir)
+
+ rm -fr $(d_static) $(d_udeb)
+ $(install_dir) $(d_static) $(d_udeb)
+
+ : # Copy static ld-new into /bin for both -static and -static-udeb
+ $(install_dir) $(d_static)/bin
+ $(install_binary) builddir-static/ld/ld-new $(d_static)/bin/ld_static
+ $(install_dir) $(d_udeb)/bin
+ $(install_binary) builddir-static/ld/ld-new $(d_udeb)/bin/ld_static
+ifeq ($(with_strip),yes)
+ pkg_create_dbgsym $(p_static) $(d_static) || true
+ $(STRIP) --strip-unneeded $(d_static)/bin/ld_static $(d_udeb)/bin/ld_static
+endif
+
+ touch install-static-stamp
+
+install-spu-stamp: checkroot build-spu-stamp
+ $(checkdir)
+
+ rm -fr $(d_spu)
+ $(install_dir) $(d_spu)
+ $(install_dir) $(d_spu)/$(PF)/lib
+
+ : # install binutils-spu stuff
+ env MAKE="$(MAKE) VERSION=$(SPU_VERSION)" \
+ $(MAKE) -C builddir-spu \
+ CFLAGS="$(CFLAGS)" \
+ prefix=$(pwd)/$(d_spu)/$(PF)/ \
+ mandir=$(pwd)/$(d_spu)/$(PF)/share/man \
+ infodir=$(pwd)/$(d_spu)/$(PF)/share/info install
+
+ : # move shared libs to the standard path
+ mv $(d_spu)/$(PF)/$(DEB_HOST_GNU_TYPE)/spu-elf/lib/lib*-*.so \
+ $(d_spu)/$(PF)/lib/.
+
+ : # Now get rid of just about everything in binutils-spu
+ rm -rf $(d_spu)/$(PF)/man
+ rm -rf $(d_spu)/$(PF)/info
+ rm -rf $(d_spu)/$(PF)/include
+ rm -rf $(d_spu)/$(PF)/share
+ rm -rf $(d_spu)/$(PF)/$(DEB_HOST_GNU_TYPE)
+ rm -rf $(d_spu)/$(PF)/lib/libiberty.a
+ rm -rf $(d_spu)/$(PF)/lib/ldscripts
+
+ifeq ($(with_strip),yes)
+ : # Strip shared libraries
+ pkg_create_dbgsym $(p_spu) $(d_spu) || true
+ $(STRIP) --strip-unneeded $(d_spu)/$(PF)/lib/libbfd-*so
+ $(STRIP) --strip-unneeded $(d_spu)/$(PF)/lib/libopcodes-*so
+ $(STRIP) $$(file $(d_spu)/$(PF)/bin/* | awk -F: '$$0 !~ /script/ {print $$1}')
+endif
+
+ chmod ugo-x $(d_spu)/$(PF)/lib/*.so
+
+ : # Don't want /usr/-linux to exist in any package
+ rm -rf $(d_spu)/$(PF)/spu-elf
+
+ touch install-spu-stamp
+
+################################################################################
+
+#######################
+# binary-indep target #
+#######################
+
+binary-indep: checkroot build install
+ $(checkdir)
+
+ rm -f debian/files debian/substvars
+
+# Cross builds do not have documentation packages
+ifeq (,$(TARGET))
+
+ $(install_dir) $(d_doc)/DEBIAN
+
+ifneq ($(BACKPORT),true)
+ $(install_dir) $(d_doc)/$(PF)/share/doc/$(p_doc)/
+ $(install_file) debian/changelog $(d_doc)/$(PF)/share/doc/$(p_doc)/changelog.Debian
+ $(install_file) debian/copyright $(d_doc)/$(PF)/share/doc/$(p_doc)/
+ for i in bfd gas gprof ld; do \
+ ln -sf ../$(p_bin)/$$i $(d_doc)/$(PF)/share/doc/$(p_doc)/$$i; \
+ done
+ find $(d_doc)/$(PF)/share/doc/$(p_doc) -maxdepth 1 -type f ! -name copyright | xargs gzip -9
+ gzip -9 $(d_doc)/$(PF)/share/info/*
+
+ dpkg-gencontrol -isp -P$(d_doc) -p$(p_doc)
+ chown -R root:root $(d_doc)
+ chmod -R go=rX $(d_doc)
+ dpkg --build $(d_doc) ..
+
+ $(install_dir) $(d_src)/$(PF)/share/doc/$(p_src)/
+ $(install_file) debian/changelog $(d_src)/$(PF)/share/doc/$(p_src)/changelog.Debian
+ $(install_file) debian/copyright $(d_src)/$(PF)/share/doc/$(p_src)/
+ find $(d_src)/$(PF)/share/doc/$(p_src) -maxdepth 1 -type f ! -name copyright | xargs gzip -9
+endif # ifndef BACKPORT
+
+ $(install_dir) $(d_src)/DEBIAN
+ $(install_dir) $(d_src)/$(PF)/src/binutils/patches
+ $(install_file) debian/patches/* $(d_src)/$(PF)/src/binutils/patches/
+ tar -c --xz -C .. --exclude=CVS \
+ -f $(pwd)/$(d_src)/$(PF)/src/binutils/binutils-$(VERSION).tar.xz \
+ $(source_files)
+
+ tar cf - $$(find './debian' -mindepth 1 \( \
+ -path './debian/binutils*' -type d -prune -o \
+ -path './debian/patches' -prune -o \
+ -path './debian/tmp*' -prune -o \
+ -path './debian/.bzr*' -prune -o \
+ -path './debian/files' -prune -o \
+ -print \) ) \
+ | tar -x -C $(d_src)/$(PF)/src/binutils -f -
+ -chmod 755 $(d_src)/$(PF)/src/binutils/debian/*.{pre,post}{inst,rm}
+ chmod 755 $(d_src)/$(PF)/src/binutils/debian/test-suite-compare.py
+
+ dpkg-gencontrol -isp -P$(d_src) -p$(p_src)
+ chown -R root:root $(d_src)
+ chmod -R go=rX $(d_src)
+ dpkg --build $(d_src) ..
+
+endif
+
+################################################################################
+
+#######################
+# binary-arch target #
+#######################
+
+binary-arch: checkroot build install
+ $(checkdir)
+
+ifneq ($(BACKPORT),true)
+# Process the following only if $(TARGET) is set
+ifneq (,$(TARGET))
+ test "" != "$(TARGET)"
+
+ rm -rf $(d_cross)/$(PF)/share/info $(d_cross)/$(PF)/share/man
+
+ sed "/^$$/ q" < debian/control.in > debian/control
+ sed -e "s/__TARGET__/$$(echo -n $(TARGET) | sed s/_/-/g)/" \
+ < debian/control.cross.in >> debian/control
+
+ $(install_dir) $(d_cross)/DEBIAN
+
+ $(install_dir) $(d_cross)/$(PF)/share/doc/$(p_cross)/
+ $(install_file) debian/changelog $(d_cross)/$(PF)/share/doc/$(p_cross)/changelog.Debian
+ $(install_file) debian/copyright debian/README.cross $(d_cross)/$(PF)/share/doc/$(p_cross)/
+ gzip -9f $(d_cross)/$(PF)/share/doc/$(p_cross)/changelog.Debian
+
+ for pkg in bfd gas gprof ld; do \
+ ln -sf ../binutils/$$pkg $(d_cross)/$(PF)/share/doc/$(p_cross)/$$pkg; \
+ done
+
+ rm -f debian/substvars
+ dpkg-shlibdeps $(d_cross)/$(PF)/bin/*
+ dpkg-gencontrol -isp -P$(d_cross) -p$(p_cross)
+ dpkg --build $(d_cross) ..
+
+else
+ cp debian/control.in debian/control
+ : # generate some control & helper files
+ nver=$$(echo $(DEB_UPSTREAM) | awk -F. '{ OFS="."; $$NF=$$NF+1; print }'); \
+ for i in debian/*.in; do \
+ case "$$i" in debian/control.cross.in) continue; esac; \
+ sed -e 's/@VER@/$(VERSION)/g' \
+ -e 's/@DEB_VER@/$(DEB_VERSION)/g' \
+ -e 's/@DEB_SVER@/$(DEB_SVERSION)/g' \
+ -e 's/@DEB_UVER@/$(DEB_UPSTREAM)/g' \
+ -e "s/@DEB_NVER@/$$nver/g" \
+ -e 's/@DATE_EXT@/$(DATE_EXT)/g' \
+ $$i > $${i%*.in}; \
+ case "$$i" in *.post*|*.pre*) chmod 755 $${i%*.in}; esac; \
+ done
+
+ : # install bug reporting information
+ $(install_file) -D debian/$(p_bin).presubj \
+ $(d_bin)/$(PF)/share/bug/$(p_bin)/presubj
+ifeq ($(with_multiarch),yes)
+ $(install_dir) $(d_mul)/$(PF)/share/bug
+ ln -sf $(p_bin) $(d_mul)/$(PF)/share/bug/$(p_mul)
+endif
+ifeq ($(with_gold),yes)
+ $(install_dir) $(d_gold)/$(PF)/share/bug
+ ln -sf $(p_bin) $(d_gold)/$(PF)/share/bug/$(p_gold)
+endif
+ifneq (,$(filter $(DEB_HOST_ARCH),powerpc ppc64))
+ $(install_dir) $(d_spu)/$(PF)/share/bug
+ ln -sf $(p_bin) $(d_spu)/$(PF)/share/bug/$(p_spu)
+endif
+ifeq ($(DEB_HOST_ARCH),hppa)
+ $(install_dir) $(d_hppa64)/$(PF)/share/bug
+ ln -sf $(p_bin) $(d_hppa64)/$(PF)/share/bug/$(p_hppa64)
+endif
+
+ : # make lintian happy
+ $(install_file) -D debian/$(p_bin).overrides \
+ $(d_bin)/$(PF)/share/lintian/overrides/$(p_bin)
+ifeq ($(with_multiarch),yes)
+ $(install_file) -D debian/$(p_mul).overrides \
+ $(d_mul)/$(PF)/share/lintian/overrides/$(p_mul)
+endif
+ifeq ($(with_static),yes)
+ $(install_file) -D debian/$(p_static).overrides \
+ $(d_static)/$(PF)/share/lintian/overrides/$(p_static)
+ $(install_file) -D debian/$(p_udeb).overrides \
+ $(d_udeb)/$(PF)/share/lintian/overrides/$(p_udeb)
+endif
+ifeq ($(with_gold),yes)
+ $(install_file) -D debian/$(p_gold).overrides \
+ $(d_gold)/$(PF)/share/lintian/overrides/$(p_gold)
+endif
+ifneq (,$(filter $(DEB_HOST_ARCH),powerpc ppc64))
+ $(install_file) -D debian/$(p_spu).overrides \
+ $(d_spu)/$(PF)/share/lintian/overrides/$(p_spu)
+endif
+ifeq ($(DEB_HOST_ARCH),hppa)
+ $(install_file) -D debian/$(p_hppa64).overrides \
+ $(d_hppa64)/$(PF)/share/lintian/overrides/$(p_hppa64)
+endif
+
+ : # install maintainer scrtips
+ $(install_dir) $(d_bin)/DEBIAN
+ $(install_script) debian/binutils.postinst $(d_bin)/DEBIAN/postinst
+ $(install_script) debian/binutils.postrm $(d_bin)/DEBIAN/postrm
+ $(install_file) debian/binutils.shlibs $(d_bin)/DEBIAN/shlibs
+
+ $(install_dir) $(d_dev)/DEBIAN
+
+ifeq ($(with_multiarch),yes)
+ $(install_dir) $(d_mul)/DEBIAN
+ $(install_script) debian/binutils-multiarch.preinst $(d_mul)/DEBIAN/preinst
+ $(install_script) debian/binutils-multiarch.postinst $(d_mul)/DEBIAN/postinst
+ $(install_script) debian/binutils-multiarch.prerm $(d_mul)/DEBIAN/prerm
+ $(install_script) debian/binutils-multiarch.postrm $(d_mul)/DEBIAN/postrm
+ $(install_file) debian/binutils-multiarch.shlibs $(d_mul)/DEBIAN/shlibs
+endif
+
+ifeq ($(with_static),yes)
+ $(install_dir) $(d_static)/DEBIAN
+ $(install_script) debian/binutils-static.preinst $(d_static)/DEBIAN/preinst
+ $(install_dir) $(d_udeb)/DEBIAN
+endif
+
+ifeq ($(with_gold),yes)
+ $(install_dir) $(d_gold)/DEBIAN
+ $(install_script) debian/binutils-gold.postrm $(d_gold)/DEBIAN/postrm
+ $(install_script) debian/binutils-gold.preinst $(d_gold)/DEBIAN/preinst
+endif
+
+ifneq (,$(filter $(DEB_HOST_ARCH),powerpc ppc64))
+ $(install_dir) $(d_spu)/DEBIAN
+ $(install_script) debian/binutils-spu.postinst $(d_spu)/DEBIAN/postinst
+ $(install_script) debian/binutils-spu.postrm $(d_spu)/DEBIAN/postrm
+ $(install_file) debian/binutils-spu.shlibs $(d_spu)/DEBIAN/shlibs
+endif
+
+ifeq ($(DEB_HOST_ARCH),hppa)
+ $(install_dir) $(d_hppa64)/DEBIAN
+ $(install_script) debian/binutils-hppa64.postinst $(d_hppa64)/DEBIAN/postinst
+ $(install_script) debian/binutils-hppa64.postrm $(d_hppa64)/DEBIAN/postrm
+ $(install_file) debian/binutils-hppa64.shlibs $(d_hppa64)/DEBIAN/shlibs
+endif
+
+ : # install docs
+ $(install_dir) $(d_bin)/$(PF)/share/doc/$(p_bin)/
+ $(install_file) debian/changelog $(d_bin)/$(PF)/share/doc/$(p_bin)/changelog.Debian
+ $(install_file) debian/copyright $(d_bin)/$(PF)/share/doc/$(p_bin)/
+
+ifeq ($(with_static),yes)
+ $(install_dir) $(d_static)/$(PF)/share/doc/$(p_static)/
+ $(install_file) debian/changelog $(d_static)/$(PF)/share/doc/$(p_static)/changelog.Debian
+ $(install_file) debian/copyright $(d_static)/$(PF)/share/doc/$(p_static)/
+endif
+
+ $(install_dir) $(d_dev)/$(PF)/share/doc/
+ ln -sf $(p_bin) $(d_dev)/$(PF)/share/doc/$(p_dev)
+ifeq ($(with_multiarch),yes)
+ $(install_dir) $(d_mul)/$(PF)/share/doc/
+ ln -sf $(p_bin) $(d_mul)/$(PF)/share/doc/$(p_mul)
+endif
+ifeq ($(with_gold),yes)
+ $(install_dir) $(d_gold)/$(PF)/share/doc/
+ ln -sf $(p_bin) $(d_gold)/$(PF)/share/doc/$(p_gold)
+endif
+ifneq (,$(filter $(DEB_HOST_ARCH),powerpc ppc64))
+ $(install_dir) $(d_spu)/$(PF)/share/doc/
+ ln -sf $(p_bin) $(d_spu)/$(PF)/share/doc/$(p_spu)
+endif
+ifeq ($(DEB_HOST_ARCH),hppa)
+ $(install_dir) $(d_hppa64)/$(PF)/share/doc/
+ ln -sf $(p_bin) $(d_hppa64)/$(PF)/share/doc/$(p_hppa64)
+endif
+
+ifeq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE))
+ifeq ($(with_check),yes)
+ $(install_file) $(pwd)/test-summary $(d_bin)/$(PF)/share/doc/$(p_bin)/
+endif
+endif
+ $(install_file) binutils/NEWS debian/README.cross \
+ $(d_bin)/$(PF)/share/doc/$(p_bin)/
+
+ $(install_file) binutils/ChangeLog $(d_bin)/$(PF)/share/doc/$(p_bin)/changelog
+
+ for pkg in bfd gas gprof ld; do \
+ $(install_dir) $(d_bin)/$(PF)/share/doc/$(p_bin)/$$pkg; \
+ done
+ $(install_file) bfd/ChangeLog bfd/PORTING bfd/TODO \
+ $(d_bin)/$(PF)/share/doc/$(p_bin)/bfd/
+ $(install_file) gas/ChangeLog gas/NEWS $(d_bin)/$(PF)/share/doc/$(p_bin)/gas/
+ $(install_file) gprof/ChangeLog gprof/TODO gprof/TEST \
+ $(d_bin)/$(PF)/share/doc/$(p_bin)/gprof/
+ $(install_file) ld/ChangeLog ld/TODO ld/NEWS \
+ $(d_bin)/$(PF)/share/doc/$(p_bin)/ld/
+
+ : # These only exist in H. J. Lu releases not GNU ones.
+ for dir in binutils bfd gas gprof ld; do \
+ if [ -f $$dir/ChangeLog.linux ]; then \
+ $(install_file) $$dir/ChangeLog.linux $(d_bin)/$(PF)/share/doc/$(p_bin)/$$dir/; \
+ fi; \
+ done
+
+ : # Copy bbconv.pl to the doc dir for use by interested people
+ $(install_file) gprof/bbconv.pl $(d_bin)/$(PF)/share/doc/$(p_bin)/gprof/.
+
+ : # Compress stuff that needs it
+ gzip -9 $(d_bin)/$(PF)/share/man/man1/*.1
+ find $(d_bin)/$(PF)/share/doc/$(p_bin)/ -type f ! -name copyright -a ! -name bbconv.pl | xargs gzip -9
+ifeq ($(with_static),yes)
+ find $(d_static)/$(PF)/share/doc/$(p_static)/ -type f ! -name copyright | xargs gzip -9
+endif
+
+ : # Finish it all up
+ find $(d_bin) -type f | xargs file | grep ELF | cut -d: -f 1 | xargs dpkg-shlibdeps
+ dpkg-gencontrol -isp -P$(d_bin) -p$(p_bin) $(CONFLICTS)
+
+ rm -f debian/substvars
+ dpkg-gencontrol -isp -P$(d_dev) -p$(p_dev)
+
+ifeq ($(with_multiarch),yes)
+ rm -f debian/substvars
+ find $(d_mul) -type f | xargs file | grep ELF | cut -d: -f 1 | xargs dpkg-shlibdeps
+ dpkg-gencontrol -isp -P$(d_mul) -p$(p_mul)
+endif
+
+ifeq ($(with_static),yes)
+ dpkg-gencontrol -isp -P$(d_static) -p$(p_static)
+ dpkg-gencontrol -isp -P$(d_udeb) -p$(p_udeb) -fdebian/files~
+ dpkg-distaddfile $(STATIC_UDEB) debian-installer optional
+endif
+
+ifeq ($(with_gold),yes)
+ rm -f debian/substvars
+# no binary
+# find $(d_gold) -type f | xargs file | grep ELF | cut -d: -f 1 | xargs dpkg-shlibdeps
+ dpkg-gencontrol -isp -P$(d_gold) -p$(p_gold)
+endif
+ifneq (,$(filter $(DEB_HOST_ARCH),powerpc ppc64))
+ rm -f debian/substvars
+ find $(d_spu) -type f | xargs file | grep ELF | cut -d: -f 1 | xargs dpkg-shlibdeps
+ dpkg-gencontrol -isp -P$(d_spu) -p$(p_spu)
+endif
+ifeq ($(DEB_HOST_ARCH),hppa)
+ rm -f debian/substvars
+ find $(d_hppa64) -type f | xargs file | grep ELF | cut -d: -f 1 | xargs dpkg-shlibdeps
+ dpkg-gencontrol -isp -P$(d_hppa64) -p$(p_hppa64)
+endif
+
+ chown -R root:root $(d_bin) $(d_dev)
+ chmod -R go=rX $(d_bin) $(d_dev)
+ dpkg --build $(d_bin) ..
+ dpkg --build $(d_dev) ..
+ifeq ($(with_multiarch),yes)
+ chown -R root:root $(d_mul)
+ chmod -R go=rX $(d_mul)
+ dpkg --build $(d_mul) ..
+endif
+ifeq ($(with_gold),yes)
+ chown -R root:root $(d_gold)
+ chmod -R go=rX $(d_gold)
+ dpkg --build $(d_gold) ..
+endif
+ifeq ($(with_static),yes)
+ chown -R root:root $(d_static) $(d_udeb)
+ chmod -R go=rX $(d_static) $(d_udeb)
+ dpkg --build $(d_static) ..
+ dpkg --build $(d_udeb) ../$(STATIC_UDEB)
+endif
+ifneq (,$(filter $(DEB_HOST_ARCH),powerpc ppc64))
+ chown -R root:root $(d_spu)
+ chmod -R go=rX $(d_spu)
+ dpkg --build $(d_spu) ..
+endif
+ifeq ($(DEB_HOST_ARCH),hppa)
+ chown -R root:root $(d_hppa64)
+ chmod -R go=rX $(d_hppa64)
+ dpkg --build $(d_hppa64) ..
+endif
+
+endif # Process the following only if $(TARGET) is set
+endif # ifndef BACKPORT
+################################################################################
+
+#################
+# cross targets #
+#################
+
+
+# Support TARGET both as Debian architecture specification (e.g. arm),
+# and as the target name (e.g. arm-linux-gnu).
+try_convert := $(shell dpkg-architecture -f -a$(TARGET) -qDEB_HOST_GNU_TYPE 2>/dev/null)
+ifneq ($(try_convert),)
+override TARGET := $(try_convert)
+endif
+
+# Process the following only if $(TARGET) is set
+ifneq (,$(TARGET))
+
+p_cross = $(subst _,-,binutils-$(TARGET))
+d_cross = debian/$(p_cross)
+
+ifneq ($(filter sparc-linux-gnu powerpc-linux-gnu mips-linux-gnu, $(TARGET)),)
+ADDITIONAL_TARGETS = --enable-targets=$(TARGET:%-linux-gnu=%64-linux-gnu)
+endif
+ifneq ($(filter i386-linux-gnu i486-linux-gnu i586-linux-gnu i686-linux-gnu x86-linux-gnu, $(TARGET)),)
+ADDITIONAL_TARGETS = --enable-targets=x86_64-linux-gnu
+endif
+ifneq ($(filter i386-kfreebsd-gnu i486-kfreebsd-gnu i586-kfreebsd-gnu x86-kfreebsd-gnu, $(TARGET)),)
+ADDITIONAL_TARGETS = --enable-targets=x86_64-linux-gnu
+endif
+ifeq ($(TARGET), x86_64-linux-gnu)
+ADDITIONAL_TARGETS = --enable-targets=i686-linux-gnu
+endif
+ifeq ($(TARGET), x86_64-kfreebsd-gnu)
+ADDITIONAL_TARGETS = --enable-targets=i486-kfreebsd-gnu
+endif
+ifeq ($(TARGET), mipsel-linux-gnu)
+ADDITIONAL_TARGETS = --enable-targets=mips64el-linux-gnu
+endif
+ifeq ($(TARGET), sparc64-linux-gnu)
+ADDITIONAL_TARGETS = --enable-targets=sparc-linux-gnu
+endif
+ifeq ($(TARGET), s390-linux-gnu)
+ADDITIONAL_TARGETS = --enable-targets=s390x-linux-gnu
+endif
+ifeq ($(TARGET), s390x-linux-gnu)
+ADDITIONAL_TARGETS = --enable-targets=s390-linux-gnu
+endif
+
+#-----------------------------------------------------------------
+# sysroot options
+ifdef WITH_SYSROOT
+ with_sysroot = $(WITH_SYSROOT)
+endif
+ifdef WITH_BUILD_SYSROOT
+ with_build_sysroot = $(WITH_BUILD_SYSROOT)
+endif
+
+CROSS_CONFARGS := $(ADDITIONAL_TARGETS) $(CONFARGS)
+ifneq ($(with_sysroot),)
+ CROSS_CONFARGS += --with-sysroot=$(with_sysroot)
+endif
+ifneq ($(with_build_sysroot),)
+ CROSS_CONFARGS += --with-build-sysroot=$(with_build_sysroot)
+endif
+ifeq ($(with_gold),yes)
+ CROSS_CONFARGS += --enable-ld=default --enable-gold
+endif
+
+configure-cross-stamp: patch-stamp
+ $(checkdir)
+ test "" != "$(TARGET)"
+ rm -rf configure-cross-stamp builddir-$(TARGET)
+ mkdir builddir-$(TARGET)
+ cd builddir-$(TARGET) \
+ && env CC="$(CC)" CXX="$(CXX)" ../configure --host=$(DEB_HOST_GNU_TYPE) \
+ --build=$(DEB_BUILD_GNU_TYPE) --target=$(TARGET) --prefix=/$(PF) \
+ $(CROSS_CONFARGS)
+ touch $@
+
+build-cross-stamp: configure-cross-stamp
+ $(checkdir)
+ test "" != "$(TARGET)"
+ $(MAKE) -C builddir-$(TARGET) $(NJOBS) CFLAGS="$(CFLAGS)"
+ touch $@
+
+install-cross-stamp: build-cross-stamp
+ $(checkdir)
+ test "" != "$(TARGET)"
+ rm -rf $(d_cross)
+ $(MAKE) -C builddir-$(TARGET) prefix=$(pwd)/$(d_cross)/$(PF) \
+ mandir=$(pwd)/$(d_cross)/$(PF)/share/man install
+ rm -rf $(d_cross)/$(PF)/lib* $(d_cross)/$(PF)/info $(d_cross)/$(PF)/share/locale
+ifeq ($(with_strip),yes)
+ pkg_create_dbgsym $(p_cross) $(d_cross) || true
+ $(STRIP) --strip-unneeded $(d_cross)/$(PF)/$(DEB_HOST_GNU_TYPE)/$(TARGET)/lib/libbfd-*so
+ $(STRIP) --strip-unneeded $(d_cross)/$(PF)/$(DEB_HOST_GNU_TYPE)/$(TARGET)/lib/libopcodes-*so
+
+ $(STRIP) $$(file $(d_cross)/$(PF)/bin/* | awk -F: '$$0 !~ /script/ {print $$1}')
+
+ chmod ugo-x $(d_cross)/$(PF)/$(DEB_HOST_GNU_TYPE)/$(TARGET)/lib/*.so
+endif
+
+ # Get rid of .la files since libtool obviously has no idea about transient paths
+ rm -f $(d_cross)/$(PF)/$(DEB_HOST_GNU_TYPE)/$(TARGET)/lib/*.la
+
+ gzip -9 $(d_cross)/$(PF)/share/man/man1/*
+ touch $@
+
+configure-host-cross-stamp: configure-cross-stamp
+ $(checkdir)
+ test "" != "$(TARGET)"
+ $(MAKE) configure-host -C builddir-$(TARGET) $(NJOBS) CFLAGS="$(CFLAGS)"
+ touch $@
+
+build-static-cross-stamp: configure-host-cross-stamp
+ $(checkdir)
+ test "" != "$(TARGET)"
+ $(MAKE) -C builddir-$(TARGET) $(NJOBS) CFLAGS="$(CFLAGS)" LDFLAGS="-all-static"
+ touch $@
+
+install-static-cross-stamp: build-static-cross-stamp install-cross-stamp
+
+binary-cross:
+ @echo "Please use dpkg-buildpackage instead of calling binary-cross directly; see README.cross"
+ @false
+
+endif
+
+################################################################################
+
+define checkdir
+ test -f bfd/elf32.c -a -f debian/rules
+endef
+
+# Below here is fairly generic really
+
+binary: binary-indep binary-arch
+
+checkroot:
+ $(checkdir)
+ test root = "`whoami`"
+
+.PHONY: binary binary-arch binary-indep clean checkroot
--- binutils-2.21.53.20110810.orig/debian/binutils-hppa64.postinst
+++ binutils-2.21.53.20110810/debian/binutils-hppa64.postinst
@@ -0,0 +1,7 @@
+#! /bin/sh
+
+set -e
+
+if [ "$1" = "configure" ]; then
+ ldconfig
+fi
--- binutils-2.21.53.20110810.orig/debian/changelog
+++ binutils-2.21.53.20110810/debian/changelog
@@ -0,0 +1,4351 @@
+binutils (2.21.53.20110810-0ubuntu4~lucid0) lucid; urgency=low
+
+ * Backport to Lucid.
+
+ -- An Yang Tue, 25 Oct 2011 10:10:31 +0800
+
+binutils (2.21.53.20110810-0ubuntu4) oneiric-proposed; urgency=low
+
+ * Fix PR ld/13250, preserve the maximum alignment and size for common
+ symbols (H.J. Lu). Closes: #608901. LP: #697229.
+
+ -- Matthias Klose Thu, 06 Oct 2011 09:22:34 +0200
+
+binutils (2.21.53.20110810-0ubuntu3) oneiric; urgency=low
+
+ * Fix PR ld/13201, link error with --as-needed and -flto. LP: #778292.
+ LP: #690194.
+
+ -- Matthias Klose Tue, 20 Sep 2011 11:34:33 +0200
+
+binutils (2.21.53.20110810-0ubuntu2) oneiric; urgency=low
+
+ * Build with proposed patch for PR ld/12965. LP: #641126.
+ * Don't ship .la files in the cross binutils packages. LP: #760420.
+ * For native builds, add the multiarch directories to the default
+ search path. LP: #780455.
+
+ -- Matthias Klose Wed, 07 Sep 2011 15:36:22 +0200
+
+binutils (2.21.53.20110810-0ubuntu1) oneiric; urgency=low
+
+ * Snapshot, taken from the trunk 20110810.
+
+ -- Matthias Klose Thu, 11 Aug 2011 22:51:48 +0200
+
+binutils (2.21.53.20110805-1ubuntu1) oneiric; urgency=low
+
+ * Merge with Debian.
+
+ -- Matthias Klose Fri, 05 Aug 2011 12:34:26 +0200
+
+binutils (2.21.53.20110805-1) unstable; urgency=low
+
+ * Snapshot, taken from the trunk 20110805.
+
+ -- Matthias Klose Fri, 05 Aug 2011 12:25:49 +0200
+
+binutils (2.21.53.20110729-1) unstable; urgency=low
+
+ * Snapshot, taken from the trunk 20110729.
+ * Fix s390x build (Aurelian Jarno). Closes: #635167.
+
+ -- Matthias Klose Fri, 29 Jul 2011 19:04:46 +0200
+
+binutils (2.21.53.20110720-1) unstable; urgency=low
+
+ * Snapshot, taken from the trunk 20110720.
+ - Fix PR ld/12978. Closes: #632681.
+
+ -- Matthias Klose Wed, 20 Jul 2011 20:54:51 +0200
+
+binutils (2.21.52.20110707-1ubuntu1) oneiric; urgency=low
+
+ * Merge with Debian.
+
+ -- Matthias Klose Thu, 07 Jul 2011 07:28:51 +0200
+
+binutils (2.21.52.20110707-1) unstable; urgency=low
+
+ * Snapshot, taken from the trunk 20110707.
+ - Fix build failure on mips/mipsel. Closes: #632690.
+ - Fix issues on kfreebsd-amd64. Closes: #632671.
+
+ -- Matthias Klose Thu, 07 Jul 2011 06:48:33 +0200
+
+binutils (2.21.52.20110703-1ubuntu1) oneiric; urgency=low
+
+ * Merge with Debian.
+
+ -- Matthias Klose Mon, 04 Jul 2011 10:31:01 +0200
+
+binutils (2.21.52.20110703-1) unstable; urgency=low
+
+ * Snapshot, taken from the trunk 20110703.
+
+ -- Matthias Klose Sun, 03 Jul 2011 21:56:44 +0200
+
+binutils (2.21.52.20110606-2) unstable; urgency=low
+
+ * Fix PR ld/12845, taken from the trunk. Closes: #628685.
+
+ -- Matthias Klose Thu, 09 Jun 2011 12:45:15 +0200
+
+binutils (2.21.52.20110606-1ubuntu1) oneiric; urgency=low
+
+ * Merge with Debian.
+
+ -- Matthias Klose Tue, 07 Jun 2011 11:56:41 +0200
+
+binutils (2.21.52.20110606-1) unstable; urgency=low
+
+ * Snapshot, taken from the trunk 20110606.
+ - Fix PR ld/12833. Closes: #628770.
+ - Fix spelling errors. Closes: #604696.
+ * Let gold accept a dummy -z buildd- option.
+ * Add a /usr/share/bug/binutils/presubj file for reportbug (and symlinks
+ from the other /usr/share/bug/binutils-foo directories) explaining how
+ to make a self-contained testcase (Jonathan Nieder). Closes: #629147.
+ * Fix ld crash cause of invalid pointer in munmap_chunk. Closes: #628916.
+
+ -- Matthias Klose Tue, 07 Jun 2011 00:03:47 +0200
+
+binutils (2.21.51.20110523-1) unstable; urgency=low
+
+ * Snapshot, taken from the trunk 20110523.
+
+ -- Matthias Klose Mon, 23 May 2011 23:38:52 +0200
+
+binutils (2.21.51.20110421-6ubuntu1) oneiric; urgency=low
+
+ * Merge with Debian.
+
+ -- Matthias Klose Thu, 19 May 2011 16:02:39 +0200
+
+binutils (2.21.51.20110421-6) unstable; urgency=low
+
+ [ Marcin Juszkiewicz ]
+ * Use pregenerated ld.gold.1 for cross builds.
+
+ [ Matthias Klose ]
+ * Redefine STRIP and install_binary for cross builds (Ken Werner).
+ * Apply fix for PR ld/12726, taken from the trunk.
+
+ -- Matthias Klose Thu, 19 May 2011 15:51:22 +0200
+
+binutils (2.21.51.20110421-5) unstable; urgency=medium
+
+ * Use a symlink for /usr/bin/ld, even if gold is not built. Closes: #615262.
+
+ -- Matthias Klose Tue, 17 May 2011 17:58:17 +0200
+
+binutils (2.21.51.20110421-4) unstable; urgency=low
+
+ * Fix PR ld/12730, taken from the trunk. Closes: #625616.
+ * Cortex A8 workarounds for PLT tail calls (Richard Sandiford).
+
+ -- Matthias Klose Sun, 08 May 2011 02:06:22 +0200
+
+binutils (2.21.51.20110421-3) unstable; urgency=low
+
+ * Fix segfault in ar, delete_members.
+
+ -- Matthias Klose Sun, 01 May 2011 17:30:42 +0200
+
+binutils (2.21.51.20110421-2) unstable; urgency=low
+
+ * Fix typo in the patch for PR gas/12698.
+
+ -- Matthias Klose Wed, 27 Apr 2011 21:33:47 +0200
+
+binutils (2.21.51.20110421-1) unstable; urgency=low
+
+ * Snapshot, taken from the trunk 20110421.
+ * Install a man page for ld.gold, generated by help2man. Closes: #619823.
+ * Apply proposed patch for PR gas/12698. Closes: #623964.
+
+ -- Matthias Klose Wed, 27 Apr 2011 18:14:39 +0200
+
+binutils (2.21.51.20110421-0ubuntu6) oneiric; urgency=low
+
+ * Fix PR ld/12730, taken from the trunk. Closes: #625616.
+
+ -- Matthias Klose Sun, 08 May 2011 02:17:37 +0200
+
+binutils (2.21.51.20110421-0ubuntu5) oneiric; urgency=low
+
+ * Cortex A8 workarounds for PLT tail calls (Richard Sandiford).
+
+ -- Matthias Klose Fri, 06 May 2011 11:55:11 +0200
+
+binutils (2.21.51.20110421-0ubuntu4) oneiric; urgency=low
+
+ * Fix segfault in ar, delete_members.
+
+ -- Matthias Klose Sun, 01 May 2011 17:30:42 +0200
+
+binutils (2.21.51.20110421-0ubuntu3) oneiric; urgency=low
+
+ * Install a man page for ld.gold, generated by help2man. Closes: #619823.
+ * Apply proposed patch for PR gas/12698. Closes: #623964.
+
+ -- Matthias Klose Wed, 27 Apr 2011 20:26:20 +0200
+
+binutils (2.21.51.20110421-0ubuntu1) oneiric; urgency=low
+
+ * Snapshot, taken from the trunk 20110421.
+
+ -- Matthias Klose Thu, 21 Apr 2011 14:24:45 +0200
+
+binutils (2.21.51.20110419-2) unstable; urgency=low
+
+ * Fix powerpcspe and sparc builds.
+
+ -- Matthias Klose Tue, 19 Apr 2011 13:47:56 +0200
+
+binutils (2.21.51.20110419-1) unstable; urgency=low
+
+ * Snapshot, taken from the trunk 20110419.
+
+ -- Matthias Klose Tue, 19 Apr 2011 10:18:14 +0200
+
+binutils (2.21.0.20110327-2ubuntu2) natty; urgency=low
+
+ * Fix architecture field for binutils-gold (powerpcspe).
+ * Add support for arm-*-gnueabihf targets. Closes: #621029.
+ * Fix PR ld/12654: Pproperly handle R_386_TLS_LDO_32 for PIE. LP: #663294.
+
+ -- Matthias Klose Sat, 09 Apr 2011 13:35:11 +0200
+
+binutils (2.21.0.20110327-2ubuntu1) natty; urgency=low
+
+ [ Marcin Juszkiewicz ]
+ * Build -dbgsym package for cross builds. LP: #711523.
+
+ -- Matthias Klose Thu, 31 Mar 2011 16:24:10 +0200
+
+binutils (2.21.0.20110327-2) unstable; urgency=low
+
+ * Fix architecture field for binutils-gold.
+ * Configure with --disable-werror on armhf.
+
+ -- Matthias Klose Tue, 29 Mar 2011 19:38:55 +0200
+
+binutils (2.21.0.20110327-1) unstable; urgency=low
+
+ * Update from the 2.21 branch 20110327.
+ * Add multiarch directories to linker search path. Closes: #369064.
+ LP: #738098.
+
+ -- Matthias Klose Sun, 27 Mar 2011 22:32:57 +0100
+
+binutils (2.21.0.20110322-1ubuntu2) natty; urgency=low
+
+ * Add multiarch directories to linker search path. Closes: #369064.
+ LP: #738098.
+
+ -- Matthias Klose Sat, 26 Mar 2011 11:27:54 +0100
+
+binutils (2.21.0.20110322-1ubuntu1) natty; urgency=low
+
+ * Merge with Debian.
+
+ -- Matthias Klose Tue, 22 Mar 2011 23:36:26 +0100
+
+binutils (2.21.0.20110322-1) unstable; urgency=low
+
+ * Update from the 2.21 branch 20110322.
+ * S/390: Make as to accept all instructions if no -march option given.
+ taken from the trunk (Aurelian Jarno). Closes: #618751.
+ * Extend support for armhf (Loic Minier).
+ - debian/control.in, debian/control, debian/rules: Enable gold for armhf.
+ - debian/rules: Introduce $(CROSS) (set to $(DEB_HOST_GNU_TYPE)- when
+ cross-building) and call $(CROSS)cpp to check whether -marm is needed or
+ not instead of testing for armel; an alternative would be to
+ unconditionally set -marm if DEB_HOST_ARCH_CPU is arm.
+ - debian/rules: commented out -fno-section-anchors CFLAGS handling would
+ also be enabled for armhf.
+ - debian/rules: ignore regressions on armhf as well; note that
+ ignore_regressions is set three times.
+
+ -- Matthias Klose Tue, 22 Mar 2011 23:12:39 +0100
+
+binutils (2.21.0.20110302-2ubuntu1) natty; urgency=low
+
+ * Merge with Debian.
+
+ -- Matthias Klose Fri, 11 Mar 2011 00:14:22 +0100
+
+binutils (2.21.0.20110302-2) unstable; urgency=low
+
+ [ Carlos O'Donell ]
+ * Fix binutils-hppa64 build.
+
+ [ Matthias Klose ]
+ * Fix PR ld/12376 (John David Anglin), taken from the trunk.
+ * Update to the 2.21 branch, 20110310.
+
+ -- Matthias Klose Thu, 10 Mar 2011 21:35:07 +0100
+
+binutils (2.21.0.20110302-1ubuntu1) natty; urgency=low
+
+ * Merge with Debian.
+
+ -- Matthias Klose Fri, 04 Mar 2011 01:37:26 +0100
+
+binutils (2.21.0.20110302-1) unstable; urgency=low
+
+ * Update from the 2.21 branch.
+
+ [ Thorsten Glaser ]
+ * patches/640_m68k_fix-TLS_GD-relocation: new, temp. Closes: #611768.
+
+ [ Matthias Klose ]
+ * On ppc64, look for 32 bit target libraries in /lib32, /usr/lib32 etc.,
+ first.
+
+ -- Matthias Klose Wed, 02 Mar 2011 02:41:17 +0100
+
+binutils (2.21.0.20110216-2) unstable; urgency=low
+
+ * Upload to unstable.
+
+ -- Matthias Klose Tue, 22 Feb 2011 20:35:16 +0100
+
+binutils (2.21.0.20110216-1ubuntu3) natty; urgency=low
+
+ * Read multiarch targets from the first column of /usr/share/dpkg/archtable;
+ it's not the ideal list, but it's better than a hardcoded list and
+ enabling all targets was breaking too many tools; LP: #726428.
+
+ -- Loïc Minier Wed, 02 Mar 2011 18:57:13 +0100
+
+binutils (2.21.0.20110216-1ubuntu2) natty; urgency=low
+
+ * Remove leftover bfd/elflink.c.rej.
+ * Pass --enable-targets=all to configure in the multiarch pass;
+ Debian #610745.
+
+ -- Loïc Minier Thu, 24 Feb 2011 11:46:06 +0100
+
+binutils (2.21.0.20110216-1ubuntu1) natty; urgency=low
+
+ * Upload to natty.
+
+ -- Matthias Klose Wed, 16 Feb 2011 19:43:02 +0100
+
+binutils (2.21.0.20110216-1) experimental; urgency=low
+
+ * Update from the 2.21 branch.
+
+ -- Matthias Klose Wed, 16 Feb 2011 15:54:15 +0100
+
+binutils (2.21-5ubuntu1) natty; urgency=low
+
+ * Upload to natty.
+
+ -- Matthias Klose Tue, 25 Jan 2011 05:46:53 +0100
+
+binutils (2.21-5) experimental; urgency=low
+
+ * Update gold to 1.11, taken from the 2.21 branch.
+ * Add the arm-linux-gnueabi target to binutils-multiarch (Loic Minier).
+
+ -- Matthias Klose Tue, 25 Jan 2011 00:51:38 +0100
+
+binutils (2.21-4ubuntu1) natty; urgency=low
+
+ * Revert the soname change.
+
+ -- Matthias Klose Wed, 12 Jan 2011 22:09:24 +0100
+
+binutils (2.21-4ubuntu0) natty; urgency=low
+
+ * Intermediate upload to natty to change the soversion on amd64.
+
+ -- Matthias Klose Wed, 12 Jan 2011 21:51:03 +0100
+
+binutils (2.21-4) experimental; urgency=low
+
+ * Fix handling of writable .eh_frame section in gold, taken from the
+ 2.21 branch.
+
+ -- Matthias Klose Wed, 12 Jan 2011 00:42:15 +0100
+
+binutils (2.21-3ubuntu1) natty; urgency=low
+
+ * Upload to natty.
+
+ -- Matthias Klose Fri, 31 Dec 2010 16:31:48 +0100
+
+binutils (2.21-3) experimental; urgency=low
+
+ [ Matthias Klose ]
+ * Don't include `-system' in the bfd version identifier.
+
+ [ Sedat Dilek ]
+ * 160_pr12327.patch: Fix PR ld/12327, taken from the trunk.
+
+ -- Matthias Klose Thu, 29 Dec 2010 23:51:35 +0100
+
+binutils (2.21-2) experimental; urgency=low
+
+ * Don't install ld.bfd in binutils-multiarch.
+ * Fix assembler bug blocking Thumb-2 kernel builds (CS issue #8775).
+
+ -- Matthias Klose Fri, 10 Dec 2010 13:45:00 +0100
+
+binutils (2.21-1ubuntu4) natty; urgency=low
+
+ * Don't install ld.bfd in binutils-multiarch. LP: #688497.
+ * Fix assembler bug blocking Thumb-2 kernel builds (CS issue #8775).
+
+ -- Matthias Klose Fri, 10 Dec 2010 15:35:54 +0100
+
+binutils (2.21-1ubuntu2) natty; urgency=low
+
+ * Fix build dependencies.
+
+ -- Matthias Klose Fri, 10 Dec 2010 00:57:01 +0100
+
+binutils (2.21-1ubuntu1) natty; urgency=low
+
+ * Upload to natty.
+
+ -- Matthias Klose Fri, 10 Dec 2010 00:17:07 +0100
+
+binutils (2.21-1) experimental; urgency=low
+
+ * binutils 2.21 release.
+
+ [ Marcin Juszkiewicz ]
+
+ * Enable building gold in cross builds. LP: #686530.
+ * Allow to build only the -source package, and include the version
+ in the package name. LP: #682646.
+
+ -- Matthias Klose Thu, 09 Dec 2010 23:24:49 +0100
+
+binutils (2.20.90.20101121-0ubuntu1) natty; urgency=low
+
+ * Update from the binutils 2.21 release branch.
+
+ -- Matthias Klose Sun, 21 Nov 2010 13:53:59 +0100
+
+binutils (2.20.90.20101105-0ubuntu1) natty; urgency=low
+
+ * binutils 2.21 prerelease 1.
+
+ -- Matthias Klose Wed, 10 Nov 2010 01:47:38 +0200
+
+binutils (2.20.51.20101028-0ubuntu1) natty; urgency=low
+
+ * Snapshot, taken from the trunk 20100928.
+
+ -- Matthias Klose Thu, 28 Oct 2010 17:55:49 +0200
+
+binutils (2.20.51.20101014-0ubuntu1) natty; urgency=low
+
+ * Snapshot, taken from the trunk 20100914.
+ * ld: Accept --sysroot again. LP: #660257.
+
+ -- Matthias Klose Thu, 14 Oct 2010 11:10:06 +0200
+
+binutils (2.20.51.20101009-0ubuntu1) natty; urgency=low
+
+ * Snapshot, taken from the trunk 20100909.
+ * For cross builds, build without sysroot support. Closes LP: #598389.
+
+ -- Matthias Klose Sat, 09 Oct 2010 15:08:04 +0200
+
+binutils (2.20.51.20100908-0ubuntu2) maverick; urgency=low
+
+ * debian/patches/216-tilde-in-ar-filenames: Allow ar scripts to contain ~
+ in the filename, fixes u-boot-linaro rc build failures that ended up
+ using pathnames with ~ in them. LP: #641488
+
+ -- Zygmunt Krynicki Fri, 17 Sep 2010 19:20:28 +0200
+
+binutils (2.20.51.20100908-0ubuntu1) maverick; urgency=low
+
+ * Snapshot, taken from the trunk 20100908.
+ * Build binutils-hppa64 in cross builds (Al Viro). Closes: #595319.
+ * Don't build the binutils-hppa64 package for Ubuntu.
+ * Fix some lintian warnings.
+
+ -- Matthias Klose Wed, 08 Sep 2010 15:26:18 +0200
+
+binutils (2.20.51.20100813-1ubuntu3) maverick; urgency=low
+
+ * Add missing patch file.
+
+ -- Matthias Klose Fri, 03 Sep 2010 10:32:25 +0200
+
+binutils (2.20.51.20100813-1ubuntu2) maverick; urgency=low
+
+ * Link executables statically when `static' is passed in DEB_BUILD_OPTIONS
+ (Jim Heck). Closes: #590101.
+ * Apply proposed patch for PR ld/10340 (ld doesn't honor sysroot prefix
+ for ldscripts). LP: #625320.
+
+ -- Matthias Klose Fri, 27 Aug 2010 16:52:19 +0200
+
+binutils (2.20.51.20100813-1ubuntu1) maverick; urgency=low
+
+ * Merge with Debian.
+
+ -- Matthias Klose Fri, 13 Aug 2010 13:26:32 +0200
+
+binutils (2.20.51.20100813-1) experimental; urgency=low
+
+ * Snapshot, taken from the trunk 20100813.
+
+ [ Jonathan Nieder ]
+ * Remove ld.bfd from binutils-multiarch (not that useful without an
+ multiarch assembler).
+
+ [ Marcin Juszkiewicz ]
+ * Revert sysroot to / for cross builds. LP: #598389.
+ * Generate debian/control for native and cross builds. LP: #612629.
+ * Provide packaging rules in -source package. LP: #608745.
+
+ [ Matthias Klose ]
+ * Don't apply patches, when PATCHED_SOURCES is set to `yes'.
+ * Proposed patch for PR11889, readelf crashes for malformed binaries
+ (Dan Rosenberg). LP: #614206.
+
+ -- Matthias Klose Fri, 13 Aug 2010 11:10:14 +0200
+
+binutils (2.20.51.20100710-1ubuntu2) maverick; urgency=low
+
+ * Don't use configury for cross builds for native builds. LP: #604134.
+
+ -- Matthias Klose Sun, 11 Jul 2010 10:15:01 +0200
+
+binutils (2.20.51.20100710-1ubuntu1) maverick; urgency=low
+
+ * Update HJ patches from binutils 2.20.51.0.10.
+
+ -- Matthias Klose Sat, 10 Jul 2010 11:42:27 +0200
+
+binutils (2.20.51.20100710-1) experimental; urgency=low
+
+ * Snapshot, taken from the trunk 20100710.
+ - Fix PR gas/10531. LP: #599485.
+ * debian/rules: Introduce PF macros (Jim Heck). Closes: #588357.
+
+ [ Marcin Juszkiewicz ]
+ * Don't install documentation files in -cross packages. Closes: #586636.
+ * Set sysroot to /usr/$(TARGET) for cross builds. LP: #598389.
+
+ -- Matthias Klose Sat, 10 Jul 2010 10:42:55 +0200
+
+binutils (2.20.51.20100617-0ubuntu1) maverick; urgency=low
+
+ * Snapshot, taken from the trunk 20100617.
+
+ -- Matthias Klose Thu, 17 Jun 2010 15:30:31 +0200
+
+binutils (2.20.51.20100608-0ubuntu1) maverick; urgency=low
+
+ * Snapshot, taken from the trunk 20100608.
+ * Merge 'binary-cross' target into 'binary' one (Marcin Juszkiewicz).
+ LP: #587851.
+ * debian/copyright: Update to GFDL 1.3.
+
+ -- Matthias Klose Tue, 08 Jun 2010 13:26:49 +0200
+
+binutils (2.20.51.20100527-1ubuntu1) maverick; urgency=low
+
+ * Merge with Debian; remaining changes:
+ - Build binutils-static.
+
+ -- Matthias Klose Thu, 27 May 2010 12:32:39 +0200
+
+binutils (2.20.51.20100527-1) experimental; urgency=low
+
+ * Snapshot, taken from the trunk 20100527.
+
+ [ Jonathan Nieder ]
+ * debian/binutils-multiarch.preinst.in: Re-add diversions on reinstall.
+ Closes: #581156.
+ * Remove c++filt from binutils-multiarch.
+ * Rename /usr/bin/ld from multiarch build to ld.bfd. Closes: #582490.
+ LP: #586227.
+
+ -- Matthias Klose Thu, 27 May 2010 10:40:48 +0200
+
+binutils (2.20.51.20100518-1ubuntu1) maverick; urgency=low
+
+ * Snapshot, taken from the trunk 20100518.
+ * Merge with Debian; remaining changes:
+ - Build binutils-static.
+ * Update hjl patches from 2.20.51.0.8.
+
+ -- Matthias Klose Tue, 18 May 2010 14:04:04 +0200
+
+binutils (2.20.51.20100518-1) experimental; urgency=low
+
+ * Snapshot, taken from the trunk 20100518.
+
+ -- Matthias Klose Tue, 18 May 2010 13:29:45 +0200
+
+binutils (2.20.51.20100428-1) experimental; urgency=low
+
+ * Snapshot, taken from the trunk 20100428.
+
+ -- Matthias Klose Wed, 28 Apr 2010 10:07:28 +0200
+
+binutils (2.20.51.20100418-1) experimental; urgency=low
+
+ * Snapshot, taken from the trunk 20100418.
+ * debian/*.shlibs.in: Automate upstream version changes.
+ * Configure native build --with-sysroot=/. Closes: #556126.
+ * Move the ld.gold binary into the binutils package, just keep the
+ diversion (ld) in the binutils-gold package.
+ * Linker selection: ld is used by default, to use the gold linker,
+ pass -fuse-linker-plugin (no other side effects if -flto/-fwhopr
+ is not passed). To force ld.bfd or ld.gold, pass -B/usr/lib/compat-ld
+ for ld.bfd or /usr/lib/gold-ld for ld.gold.
+ * Apply proposed patch for ARM: Add option to disable merging of adjacent
+ exidx unwinder entries.
+
+ [ Jonathan Nieder ]
+ * Clean up diversion handling in binutils-multiarch:
+ - remove diversion of libbfd.a and libopcodes.a. Closes: #545067.
+ - wait for the new version to be unpacked before removing old diversions
+ - avoid messages from re-adding diversions when upgrading from a version
+ that already has them
+ - remove diversions when downgrading to a version that does not have
+ them (for example, when recovering from an upgrade failure)
+ * Add diversion for ld.bfd in binutils-multiarch.
+ * Update comment in debian/rules to acknowledge that binutils-multiarch
+ includes a linker now.
+ * Add c++filt to binutils-multiarch.
+ * Remove elfedit from binutils-multiarch.
+ Its functionality does not depend on the list of supported targets.
+ * Fixup to version changes handling.
+
+ -- Matthias Klose Sun, 18 Apr 2010 14:18:59 +0200
+
+binutils (2.20.51.20100407-0ubuntu1) lucid; urgency=low
+
+ * Snapshot, taken from the trunk 20100407.
+ * debian/*.shlibs: Update to the version from the trunk.
+ * Configure native build --with-sysroot=/. Closes: #556126.
+
+ -- Matthias Klose Thu, 08 Apr 2010 01:31:49 +0200
+
+binutils (2.20.51.20100405-1) experimental; urgency=low
+
+ * Snapshot, taken from the trunk 20100405.
+ * debian/*.shlibs: Update to the version from the trunk.
+ * Mangle the soname of the binutils libraries to be different than
+ the default name. Closes: #557620.
+ Packaged cross builds should do the same.
+ * Add diversion for elfedit in binutils-multiarch (Jonathan Nieder).
+ Closes: #576126.
+ * Convert to quilt (Sedat Dilek).
+ * Update to proposed patch to enable both gold and ld in a single toolchain.
+ The gold binary is now installed as `gold'. Keep the name `ld.gold'.
+
+ -- Matthias Klose Mon, 05 Apr 2010 14:49:46 +0200
+
+binutils (2.20.51.20100227-1) experimental; urgency=low
+
+ * Snapshot, taken from the trunk 20100227.
+ * debian/*.shlibs: Update to the version from the trunk.
+
+ -- Matthias Klose Sat, 27 Feb 2010 08:55:05 +0100
+
+binutils (2.20.51.20100222-1) experimental; urgency=low
+
+ * Snapshot, taken from the trunk 20100222.
+ * debian/*.shlibs: Update to the version from the trunk.
+ * binutils-dev: Install plugin-api.h.
+ * Ignore testsuite regressions on armel.
+
+ -- Matthias Klose Tue, 23 Feb 2010 02:27:28 +0100
+
+binutils (2.20.51.20100216-1) experimental; urgency=low
+
+ * Snapshot, taken from the trunk 20100216.
+ * debian/*.shlibs: Update to the version from the trunk.
+
+ -- Matthias Klose Tue, 16 Feb 2010 17:49:47 +0100
+
+binutils (2.20.51.20100112-1) experimental; urgency=low
+
+ * Snapshot, taken from the trunk 20100112.
+ * debian/*.shlibs: Update to the version from the trunk.
+
+ -- Matthias Klose Tue, 12 Jan 2010 09:06:51 +0100
+
+binutils (2.20.51.20100109-2) experimental; urgency=low
+
+ * Regenerate ld/configure (includes ld in the binutils package).
+
+ -- Matthias Klose Mon, 11 Jan 2010 01:48:09 +0100
+
+binutils (2.20.51.20100109-1) experimental; urgency=low
+
+ * Snapshot, taken from the trunk 20100109.
+ - PR gold/10980: Support more options available by current GNU ld.
+ Closes: #555886.
+ - Fix PR gold/11072: Discard .gnu_debuglink sections, taken from the trunk.
+ Closes: #563366.
+ * debian/*.shlibs: Update to the version from the trunk.
+
+ -- Matthias Klose Sat, 09 Jan 2010 14:32:33 +0100
+
+binutils (2.20.51.20100101-1) experimental; urgency=low
+
+ * Snapshot, taken from the trunk 20100101.
+ * debian/*.shlibs: Update to the version from the trunk.
+ * Remove patches available on the trunk.
+
+ -- Matthias Klose Fri, 01 Jan 2010 18:49:42 +0100
+
+binutils (2.20.1-9ubuntu1) maverick; urgency=low
+
+ * Merge with Debian; remaining changes:
+ - Build binutils-static.
+
+ -- Matthias Klose Thu, 06 May 2010 16:56:40 +0200
+
+binutils (2.20.1-9) unstable; urgency=high
+
+ * [arm] branches to weak symbols, update patch from the trunk.
+
+ -- Matthias Klose Thu, 06 May 2010 15:42:22 +0200
+
+binutils (2.20.1-8ubuntu2) maverick; urgency=low
+
+ * Build gold for powerpc as well.
+
+ -- Matthias Klose Sat, 01 May 2010 14:22:35 +0200
+
+binutils (2.20.1-8ubuntu1) maverick; urgency=low
+
+ * Merge with Debian; remaining changes:
+ - Build binutils-static.
+
+ -- Matthias Klose Thu, 29 Apr 2010 21:40:16 +0200
+
+binutils (2.20.1-8) unstable; urgency=low
+
+ * [arm] branches to weak symbols, patch taken from the trunk.
+
+ -- Matthias Klose Thu, 29 Apr 2010 20:36:07 +0200
+
+binutils (2.20.1-7) unstable; urgency=low
+
+ * Apply proposed patch for ARM: Add option to disable merging of adjacent
+ exidx unwinder entries. Addresses PR libgcj/40860.
+
+ -- Matthias Klose Tue, 20 Apr 2010 22:51:35 +0000
+
+binutils (2.20.1-6) unstable; urgency=low
+
+ * Move the ld.gold binary into the binutils package, just keep the
+ diversion (ld) in the binutils-gold package.
+ * Linker selection: ld is used by default, to use the gold linker,
+ pass -fuse-linker-plugin (no other side effects if -flto/-fwhopr
+ is not passed). To force ld.bfd or ld.gold, pass -B/usr/lib/compat-ld
+ for ld.bfd or /usr/lib/gold-ld for ld.gold.
+ * Disable building gold on arm. Use gold from the trunk, if needed.
+ * Backport fixups of Loongson2F from the trunk.
+
+ -- Matthias Klose Sat, 17 Apr 2010 18:27:45 +0200
+
+binutils (2.20.1-5) unstable; urgency=medium
+
+ * Apply patch for PR gas/11456: Use memcpy to copy overlap memory.
+
+ -- Matthias Klose Fri, 02 Apr 2010 01:36:07 +0200
+
+binutils (2.20.1-4) unstable; urgency=low
+
+ * Mangle the soname of the binutils libraries to be different than
+ the default name. Closes: #557620.
+ Packaged cross builds should do the same.
+ * Reduce ARM linking time (backport from the trunk).
+ * Apply fix for PR ld/11426, taken from the trunk.
+
+ -- Matthias Klose Tue, 30 Mar 2010 22:32:12 +0200
+
+binutils (2.20.1-3ubuntu5) lucid; urgency=low
+
+ * Rebuild statically linked ld.static binary against recent libc.
+
+ -- Matthias Klose Sun, 18 Apr 2010 23:50:53 +0200
+
+binutils (2.20.1-3ubuntu4) lucid; urgency=low
+
+ * Apply patch for PR gas/11456: Use memcpy to copy overlap memory.
+
+ -- Matthias Klose Wed, 31 Mar 2010 19:10:39 +0200
+
+binutils (2.20.1-3ubuntu3) lucid; urgency=low
+
+ * Fix versioned dependency in binutils shlibs file.
+
+ -- Matthias Klose Wed, 31 Mar 2010 04:02:51 +0200
+
+binutils (2.20.1-3ubuntu2) lucid; urgency=low
+
+ * Mangle the soname of the binutils libraries to be different than
+ the default name. Closes: #557620. LP: #548451.
+ Packaged cross builds should do the same.
+ * Apply fix for PR ld/11426, taken from the trunk.
+
+ -- Matthias Klose Tue, 30 Mar 2010 23:46:50 +0200
+
+binutils (2.20.1-3ubuntu1) lucid; urgency=low
+
+ * Merge with Debian; remaining changes:
+ - Build binutils-static.
+
+ -- Matthias Klose Sun, 21 Mar 2010 13:42:52 +0100
+
+binutils (2.20.1-3) unstable; urgency=low
+
+ * binutils-gold: Install the gold binary as `gold' as well, as proposed
+ by a patch to enable both gold and ld in a single toolchain.
+
+ -- Matthias Klose Sun, 21 Mar 2010 06:43:48 +0100
+
+binutils (2.20.1-2ubuntu1) lucid; urgency=low
+
+ * Merge with Debian; remaining changes:
+ - Build binutils-static.
+
+ -- Matthias Klose Mon, 08 Mar 2010 18:25:25 +0100
+
+binutils (2.20.1-2) unstable; urgency=low
+
+ * Fix version in debian/*shlibs to match the release version;
+ the 2.20.1 upstream release identifies as 2.20.1.20100303.
+
+ -- Matthias Klose Mon, 08 Mar 2010 18:01:22 +0100
+
+binutils (2.20.1-1ubuntu1) lucid; urgency=low
+
+ * Merge with Debian; remaining changes:
+ - Build binutils-static.
+
+ -- Matthias Klose Mon, 08 Mar 2010 13:11:53 +0100
+
+binutils (2.20.1-1) unstable; urgency=low
+
+ * New upstream release.
+ * Don't set has_ifunc_symbols if the symbol comes from a shared library
+ (backport from the trunk).
+ * Don't include documentation files in the -cross packages.
+ Closes: #571522. LP: #514509.
+ * Fix typo in ld documentation. LP: #497923.
+ * Add readelf --unwind support for ARM.
+
+ -- Matthias Klose Mon, 08 Mar 2010 04:47:46 +0100
+
+binutils (2.20-6ubuntu3) lucid; urgency=low
+
+ * Apply updates from the 2.20 branch up to 20100216
+ - Apply patch to fix R_ARM_THM_JUMP24 relocation truncated bug.
+ * Don't set has_ifunc_symbols if the symbol comes from a shared library
+ (backport from the trunk).
+
+ -- Matthias Klose Fri, 19 Feb 2010 17:19:09 +0100
+
+binutils (2.20-6ubuntu2) lucid; urgency=low
+
+ * Apply updates from the 2.20 branch up to 20100216
+ - Fix broken global Thumb to ARM branches.
+
+ -- Matthias Klose Tue, 16 Feb 2010 18:32:35 +0100
+
+binutils (2.20-6ubuntu1) lucid; urgency=low
+
+ * Merge with Debian; remaining changes:
+ - Build binutils-static.
+
+ -- Matthias Klose Fri, 05 Feb 2010 20:30:59 +0100
+
+binutils (2.20-6) unstable; urgency=low
+
+ * Apply updates from the 2.20 branch up to 20100205
+ - 135_arm_dis_thumb2.dpatch: Remove, applied upstream.
+ - 136_gold_gnu_debuglink.dpatch: Remove, applied upstream.
+ * armel: Fix ld-shared/shared.exp and ld-elfvsb/elfvsb.exp failures
+ (proposed patch, Matthew Gretton-Dann). Closes: #564685. LP: #446478.
+ * Fix PR other/42602: demangling a global constructors symbol.
+ Closes: #561150.
+
+ -- Matthias Klose Fri, 05 Feb 2010 20:01:20 +0100
+
+binutils (2.20-5ubuntu1) lucid; urgency=low
+
+ * Merge with Debian; remaining changes:
+ - Build binutils-static.
+
+ -- Matthias Klose Sat, 09 Jan 2010 12:13:43 +0100
+
+binutils (2.20-5) unstable; urgency=low
+
+ * Apply updates from the 2.20 branch up to 20100109
+ * Apply patches from the trunk:
+ - [arm] Prevent disassembler from aborting on an invalid Thumb2 instruction.
+ - Fix PR gold/11072: Discard .gnu_debuglink sections. Closes: #563366.
+ - Fix PR ld/11138: internal error when DSO is before object files.
+ Closes: #562822.
+ - Fix PR gold/11042: COPY relocs need for the dynamic object.
+ Closes: #559183.
+ - Fix PR gold/10916: Fix --exclude-libs with undefined symbol.
+ Closes: #555012.
+ - Fix PR gold/10979: gold linker crashes. Closes: #553916.
+ - Fix PR gas/10740: Intel syntax far jumps broken. Closes: #541535.
+
+ -- Matthias Klose Sat, 09 Jan 2010 10:43:04 +0100
+
+binutils (2.20-4ubuntu4) lucid; urgency=low
+
+ * ARM - Fix b / bl ranges for Thumb2 (Ramana Radhakrishnan).
+
+ -- Matthias Klose Mon, 21 Dec 2009 13:38:09 +0100
+
+binutils (2.20-4ubuntu3) lucid; urgency=low
+
+ * [arm] Prevent disassembler from aborting on an invalid Thumb2 instruction,
+ taken from the trunk.
+
+ -- Matthias Klose Thu, 19 Nov 2009 18:48:28 +0100
+
+binutils (2.20-4ubuntu1) lucid; urgency=low
+
+ * On armel build with -marm; the testsuite is not ready to be run with
+ -mthumb.
+
+ -- Matthias Klose Thu, 12 Nov 2009 01:10:33 +0100
+
+binutils (2.20-4) unstable; urgency=low
+
+ * Fix binutils-gold update. Closes: #555734.
+ * Don't configure gold for spu on powerpc.
+
+ -- Matthias Klose Wed, 11 Nov 2009 23:33:20 +0100
+
+binutils (2.20-3ubuntu1) lucid; urgency=low
+
+ * Merge with Debian; remaining changes:
+ - Build binutils-static.
+
+ -- Matthias Klose Tue, 10 Nov 2009 11:14:38 +0100
+
+binutils (2.20-3) unstable; urgency=low
+
+ * Apply updates from the 2.20 branch up to 20091108:
+ - Fix PR gold/10876 (closes: #553435), PR gold/10910, PR gold/10860,
+ PR gold/10880 (closes: #553512, #553436), PR gold/10887,
+ PR gold/10893, PR gold/10895 (thanks to Peter Fritzsche for tracking
+ the gold reports).
+ * Fix libiberty build failure on sh4 (Nobuhiro Iwamatsu). Closes: #550810.
+ * PR ld/10858: Fix pie on mips/mipsel. Closes: #526961.
+ * Ignore regressions on sparc; the proper fix is to fix the testcases
+ for v9.
+ * Remove the conflict between binutils-multiarch and binutils-gold.
+ Closes: #521106.
+
+ -- Matthias Klose Tue, 10 Nov 2009 02:15:41 +0100
+
+binutils (2.20-2) unstable; urgency=high
+
+ * Apply updates from the 2.20 branch up to 20091028:
+ - Fix PR binutils/10802, PR binutils/10793, PR binutils/10792,
+ PR gas/10856.
+ - Remove local patches now in the branch.
+ * Ignore regressions on armel when building with gcc-4.4; the proper fix
+ is to build the testcases using -fno-section-anchors.
+
+ -- Matthias Klose Thu, 29 Oct 2009 22:17:42 +0100
+
+binutils (2.20-1ubuntu3) lucid; urgency=low
+
+ * Work around build failure on powerpc, disable the gold build; re-enable
+ it later with a proper fix.
+ * Ignore regressions on sparc; the proper fix is to fix the testcases
+ for v9.
+
+ -- Matthias Klose Sat, 31 Oct 2009 12:21:59 +0100
+
+binutils (2.20-1ubuntu2) lucid; urgency=low
+
+ * Don't build just on armel and i386.
+
+ -- Matthias Klose Fri, 30 Oct 2009 14:51:13 +0100
+
+binutils (2.20-1ubuntu1) lucid; urgency=low
+
+ * Apply updates from the 2.20 branch up to 20091028:
+ - Fix PR binutils/10802, PR binutils/10793, PR binutils/10792,
+ PR gas/10856.
+ - Remove local patches now in the branch.
+ * Ignore regressions on armel; the proper fix is to build the
+ testcases using -fno-section-anchors.
+
+ -- Matthias Klose Fri, 30 Oct 2009 01:27:43 +0100
+
+binutils (2.20-1) unstable; urgency=low
+
+ * binutils 2.20 final release.
+ - Fix PR binutils/10785, memory corruptions.
+ - PR ld/10749, ia64 linker failure.
+ - PR gas/2117, ia64 assembler fix.
+ - gold updates.
+ * Configure with --enable-plugins. Closes: #550088.
+ * debian/test-suite-compare.py: Don't count untested test cases as
+ regressions.
+ * binutils-gold: Install /usr/lib/compat-ld/ld to point to the
+ old linker. To use the old linker when gold is installed, use
+ gcc -B/usr/lib/compat-ld/ (including the trailing slash).
+
+ -- Matthias Klose Sat, 17 Oct 2009 12:22:30 +0200
+
+binutils (2.20-0ubuntu2) karmic-proposed; urgency=low
+
+ * Fix PR gas/10856, wrong code with assembler files in intel syntax.
+ Patch taken from the 2.20 branch. LP: #461303.
+
+ -- Matthias Klose Wed, 28 Oct 2009 09:46:50 +0100
+
+binutils (2.20-0ubuntu1) karmic; urgency=low
+
+ * binutils 2.20 final release.
+ - Fix PR binutils/10785, memory corruptions.
+ - gold updates. LP: #453278.
+ * debian/*.shlibs: Update to the release version. LP: #452526.
+ * Fix build failure on arm, building from the release tarball.
+
+ -- Matthias Klose Sat, 17 Oct 2009 11:14:00 +0200
+
+binutils (2.19.91.20091014-0ubuntu1) karmic; urgency=low
+
+ * Snapshot, taken from the 2.20 release branch 20091014.
+ - PR ld/10749, ia64 linker failure.
+ - PR gas/2117, ia64 assembler fix.
+ * debian/*.shlibs: Update to the version from the branch.
+ * Fix build failures for cross build.
+
+ -- Matthias Klose Wed, 14 Oct 2009 14:55:40 +0200
+
+binutils (2.19.91.20091006-0ubuntu1) karmic; urgency=low
+
+ * Snapshot, taken from the 2.20 release branch 20091006.
+ - cfi_sections changes applied, remove 129_cfi_sections.dpatch.
+ * debian/*.shlibs: Update to the version from the branch.
+ * binutils-gold: Build the testsuite as part of the check target
+ instead of the build target to avoid build failures when the
+ installed binutils soname is the same as the one which is built
+ (gas is segfaulting). Just a workaround, not a solution.
+
+ -- Matthias Klose Tue, 06 Oct 2009 18:14:37 +0200
+
+binutils (2.19.91.20091005-0ubuntu2) karmic; urgency=low
+
+ * Really re-enable the binutils-gold build on powerpc.
+
+ -- Matthias Klose Tue, 06 Oct 2009 13:53:22 +0200
+
+binutils (2.19.91.20091005-0ubuntu1) karmic; urgency=low
+
+ * Snapshot, taken from the 2.20 release branch 20091005.
+ - no changes, bump the soname only.
+ * debian/*.shlibs: Update to the version from the branch.
+ * Re-enable the binutils-gold build on powerpc.
+ * Add 129_cfi_sections.dpatch, support for .cfi_sections, taken
+ from the trunk. LP: #440172.
+ * Add 150_gold_copyrelocs.dpatch, add -z copyrelocs option for gold.
+
+ -- Matthias Klose Tue, 06 Oct 2009 10:31:58 +0200
+
+binutils (2.19.91.20091003-0ubuntu1) karmic; urgency=low
+
+ * Snapshot, taken from the 2.20 release branch 20091003.
+ - powerpc fixes.
+ * debian/*.shlibs: Update to the version from the branch.
+ * Reenable binutils-gold build on armel (build failures on just
+ one buildd).
+ * Disable binutils-gold build on powerpc, fails to build with the
+ version in the archive.
+ * binutils-source: Depend on texinfo, zlib1g-dev.
+
+ -- Matthias Klose Tue, 06 Oct 2009 10:16:47 +0200
+
+binutils (2.19.91.20091001-0ubuntu2) karmic; urgency=low
+
+ * Don't build binutils-gold for armel, currently ftbfs.
+
+ -- Matthias Klose Thu, 01 Oct 2009 23:54:41 +0200
+
+binutils (2.19.91.20091001-0ubuntu1) karmic; urgency=low
+
+ * Snapshot, taken from the 2.20 release branch 20091001.
+ - Fix PR ld/9863, regression in testsuite on armel.
+ - Fix regressions seen in the GCC/libjava testsuite.
+ * debian/*.shlibs: Update to the version from the branch.
+ * No need to build libiberty_pic.a twice.
+
+ -- Matthias Klose Thu, 01 Oct 2009 16:53:04 +0200
+
+binutils (2.19.91.20090923-0ubuntu1) karmic; urgency=low
+
+ * Snapshot, taken from the 2.20 release branch 20090923 (last upload
+ was taken from the trunk)..
+ * debian/*.shlibs: Update to the version from the branch.
+
+ -- Matthias Klose Wed, 23 Sep 2009 09:44:40 +0200
+
+binutils (2.19.91.20090922-0ubuntu1) karmic; urgency=low
+
+ * Snapshot, taken from the 2.20 release branch 20090922.
+ * debian/*.shlibs: Update to the version from the branch.
+
+ -- Matthias Klose Tue, 22 Sep 2009 22:01:19 +0200
+
+binutils (2.19.91.20090910-0ubuntu1) karmic; urgency=low
+
+ * Snapshot, taken from the 2.20 release branch 20090910, corresponding
+ to the 2.19.90 upstream snapshot.
+ * Fix Thumb-2 shared libraries (Daniel Jacobowitz), patch taken
+ from the trunk.
+ * Update binutils-sec64k patch (H.J. Lu).
+
+ -- Matthias Klose Thu, 10 Sep 2009 17:21:56 +0200
+
+binutils (2.19.90.20090909-0ubuntu1) karmic; urgency=low
+
+ * Snapshot, taken from the 2.20 release branch 20090909.
+ * debian/*.shlibs: Update to the version from the branch.
+
+ -- Matthias Klose Wed, 09 Sep 2009 10:01:29 +0200
+
+binutils (2.19.51.20090827-1ubuntu1) karmic; urgency=low
+
+ * Merge with Debian unstable; remaining changes:
+ - Build binutils-static and binutils-static-udeb packages.
+ - Apply patches derived from the binutils HJL release.
+
+ -- Matthias Klose Fri, 28 Aug 2009 13:49:57 +0200
+
+binutils (2.19.51.20090827-1) unstable; urgency=low
+
+ * Snapshot, taken from the trunk 20090827.
+ - Fix PR ld/10518: In linker scripts override a "*" match by any other
+ wildcard match. Closes: #540751.
+ * debian/*.shlibs: Update to the version from the trunk. Closes: #540800.
+ * Add sysroot support for cross builds (Hector Oron). Closes: #522480.
+ * Update long description of binutils-doc. Closes: #428764.
+ * Update build-dependency on autoconf.
+ * Fix some lintian warnings.
+
+ -- Matthias Klose Thu, 27 Aug 2009 17:09:28 +0200
+
+binutils (2.19.51.20090805-1ubuntu1) karmic; urgency=low
+
+ * Snapshot, taken from the trunk 20090805.
+ * debian/*.shlibs: Update to the version from the trunk.
+ - Fix PR binutils/10364, strip not failing on unwritable files.
+ Closes: #276428.
+ - Fix PR binutils/10363, objdump -T crashing on corrupted file.
+ Closes: #487963.
+ * 129_cortex_a8.dpatch: Fix a couple of cortex-a8 erratum bugs.
+
+ -- Matthias Klose Wed, 05 Aug 2009 10:29:44 +0200
+
+binutils (2.19.51.20090723-1ubuntu1) karmic; urgency=low
+
+ * Snapshot, taken from the trunk 20090723.
+ * debian/*.shlibs: Update to the version from the trunk.
+ * Apply build-id patch to avoid memory corruption (taken from Fedora).
+
+ -- Matthias Klose Thu, 23 Jul 2009 13:47:19 +0200
+
+binutils (2.19.51.20090714-0ubuntu1) karmic; urgency=low
+
+ * Snapshot, taken from the trunk 20090714.
+ - Fix PR gas/10387 (branch instruction with no operand causes gas
+ to segfault on armel). LP: #396049.
+ - 128_arm_eabi_align64.dpatch: Remove, integrated upstream.
+ * debian/*.shlibs: Update to the version from the trunk.
+
+ -- Matthias Klose Tue, 14 Jul 2009 12:48:09 -0400
+
+binutils (2.19.51.20090713-0ubuntu1) karmic; urgency=low
+
+ * Snapshot, taken from the trunk 20090713.
+ * debian/*.shlibs: Update to the version from the trunk.
+ * 128_arm_eabi_align64.dpatch: Adjust expected output to changed objdump
+ output. LP: #398732.
+
+ -- Matthias Klose Mon, 13 Jul 2009 13:21:56 -0400
+
+binutils (2.19.51.20090704-1ubuntu1) karmic; urgency=low
+
+ * Snapshot, taken from the trunk 20090704.
+ * debian/*.shlibs: Update to the version from the trunk.
+
+ -- Matthias Klose Sat, 04 Jul 2009 11:46:03 +0200
+
+binutils (2.19.51.20090704-1) unstable; urgency=low
+
+ * Snapshot, taken from the trunk 20090704.
+ - debian/patches/128_arm_eabi_auto_it.dpatch: Remove, applied upstream.
+ * debian/*.shlibs: Update to the version from the trunk.
+ * Bump standards version.
+
+ -- Matthias Klose Sat, 04 Jul 2009 10:37:18 +0200
+
+binutils (2.19.51.20090622-0ubuntu1) karmic; urgency=low
+
+ * Snapshot, taken from the trunk 20090622.
+ - debian/patches/128_arm_eabi_auto_it.dpatch: Remove, applied upstream.
+ * debian/*.shlibs: Update to the version from the trunk.
+
+ -- Matthias Klose Tue, 23 Jun 2009 01:36:34 +0200
+
+binutils (2.19.51.20090620-0ubuntu1) karmic; urgency=low
+
+ * Snapshot, taken from the trunk 20090620.
+ * debian/*.shlibs: Update to the version from the trunk.
+ * Build the binutils-gold package on armel.
+ * Update hjl patches from the binutils-2.19.51.0.10 release.
+
+ -- Matthias Klose Sat, 20 Jun 2009 22:56:32 +0200
+
+binutils (2.19.51.20090616reallz0515-0ubuntu1) karmic; urgency=low
+
+ * Reupload snapshot from trunk 20090515.
+ * Apply proposed patch to augment maximum alignment size to 64 (ARM gas).
+ * Apply proposed patch for new option for automatically generating IT blocks.
+
+ -- Matthias Klose Wed, 17 Jun 2009 23:02:25 +0000
+
+binutils (2.19.51.20090515-0ubuntu1) karmic; urgency=low
+
+ * Snapshot, taken from the trunk 20090515.
+ - Fix PR ld/10152. LP: #375991.
+ * Revert work-around from last upload.
+ * debian/*.shlibs: Update to the version from the trunk.
+ * Build the binutils-gold package again.
+
+ -- Matthias Klose Fri, 15 May 2009 16:34:56 +0200
+
+binutils (2.19.51.20090508-0ubuntu2) karmic; urgency=low
+
+ * Revert change for ARM unwind table linker processing. Addresses #375991.
+
+ -- Matthias Klose Wed, 13 May 2009 17:46:20 +0200
+
+binutils (2.19.51.20090508-0ubuntu1) karmic; urgency=low
+
+ * Snapshot, taken from the trunk 20090508.
+ * debian/*.shlibs: Update to the version from the trunk.
+
+ -- Matthias Klose Fri, 08 May 2009 11:22:40 +0200
+
+binutils (2.19.51.20090423-0ubuntu2) karmic; urgency=low
+
+ * Snapshot, taken from the trunk 20090423.
+ * debian/*.shlibs: Update to the version from the trunk.
+ * Fix build failure when building with -Os.
+ * debian/patches/013_bash_in_ld_testsuite.dpatch: Update.
+
+ -- Matthias Klose Fri, 24 Apr 2009 12:29:23 +0200
+
+binutils (2.19.1-0ubuntu3) jaunty; urgency=low
+
+ * Re-add -a to dpkg-architecture call; the addition of -f is all what's
+ needed to ignore the dpkg-architecture env set by dpkg-buildpackage (since
+ we don't care about the DEB_BUILD_* or DEB_HOST_* arches but only about
+ the TARGET arch).
+
+ -- Loic Minier Tue, 10 Feb 2009 16:42:28 +0100
+
+binutils (2.19.1-0ubuntu2) jaunty; urgency=low
+
+ * binutils-source: Make .dpatch files executable.
+ * Use dpkg-architecture -f instead of -a for cross builds.
+ * Call pkg_create_dbgsym explicitly to build debug symbols packages.
+ LP: #322243.
+
+ -- Matthias Klose Tue, 10 Feb 2009 12:05:51 +0100
+
+binutils (2.19.1-0ubuntu1) jaunty; urgency=low
+
+ * Binutils 2.19.1 release.
+ - 128_arm_relocs_against_weak.dpatch 129_scale-DW_CFA_advance_loc.dpatch:
+ Remove, applied upstream.
+ * debian/*.shlibs: Update to the release version.
+
+ -- Matthias Klose Wed, 04 Feb 2009 10:14:33 +0100
+
+binutils (2.19.0.20090110-0ubuntu1) jaunty; urgency=low
+
+ * Update to the binutils-2_19-branch 20090110.
+ - Fix PR binutils/7011. LP: #254790.
+ * debian/*.shlibs: Update to the version from the branch.
+
+ -- Matthias Klose Sat, 10 Jan 2009 13:47:35 +0100
+
+binutils (2.19-0ubuntu3) jaunty; urgency=low
+
+ * debian/patches/129_scale-DW_CFA_advance_loc.dpatch: Scale
+ DW_CFA_advance_loc[124] output values.
+ * debian/patches/128_arm_relocs_against_weak.dpatch: Fix R_ARM_THM_CALL
+ relocations against undefined weak symbols in shared libraries.
+
+ -- Matthias Klose Sat, 29 Nov 2008 11:25:22 +0100
+
+binutils (2.19-0ubuntu2) jaunty; urgency=low
+
+ * No-change rebuild to remove translations from the binary package,
+ accidentally included due to a misbuild.
+
+ -- Steve Langasek Fri, 21 Nov 2008 04:35:45 +0000
+
+binutils (2.19-0ubuntu1) jaunty; urgency=low
+
+ * Binutils 2.19 release.
+ * debian/*.shlibs: Update to the release version.
+ * debian/control: Update to GPL3, reference the GFDL.
+ * Make lintian more happy.
+
+ -- Matthias Klose Thu, 30 Oct 2008 15:37:05 +0100
+
+binutils (2.18.93.20081009-0ubuntu1) intrepid; urgency=low
+
+ * Snapshot, taken from the 2.19 branch 20081009 (corresponding to the
+ 2.18.93 upstream snapshot.
+ * debian/*.shlibs: Update to the version from the branch.
+ * In gprof(1), remove references to monitor(3) and profil(2).
+
+ -- Matthias Klose Wed, 08 Oct 2008 15:27:50 +0200
+
+binutils (2.18.92.20081003-0ubuntu2) intrepid; urgency=low
+
+ * Add build dependency on zlib1g-dev.
+
+ -- Matthias Klose Tue, 07 Oct 2008 12:52:33 +0200
+
+binutils (2.18.92.20081003-0ubuntu1) intrepid; urgency=low
+
+ * Snapshot, taken from the 2.19 branch 20081003 (corresponding to the
+ 2.18.92 upstream snapshot.
+ * Stop building binutils-gold for the intrepid release (still
+ experimental).
+ * debian/*.shlibs: Update to the version from the branch.
+
+ -- Matthias Klose Fri, 03 Oct 2008 11:16:43 +0000
+
+binutils (2.18.91.20080923-0ubuntu1) intrepid; urgency=low
+
+ * Snapshot, taken from the 2.19 branch 20080923 (corresponding to the
+ 2.18.91 upstream snapshot.
+ * debian/*.shlibs: Update to the version from the branch.
+ * debian/patches/201-hjl-bfd-ref_addr.dpatch: Remove, integrated upstream.
+ * Fail the build if the testsuite shows regressions compared to the
+ last (installed) build.
+
+ -- Matthias Klose Tue, 23 Sep 2008 13:22:34 +0200
+
+binutils (2.18.90.20080910-0ubuntu1) intrepid; urgency=low
+
+ * Snapshot, taken from the 2.19 branch 20080910.
+ - No testsuite regressions on amd64, i386, lpia, sparc.
+ * debian/*.shlibs: Update to the version from the branch.
+ * debian/patches/201-hjl-bfd-ref_addr.dpatch: Update.
+
+ -- Matthias Klose Sat, 13 Sep 2008 19:40:31 +0200
+
+binutils (2.18.50.20080814-0ubuntu1) intrepid; urgency=low
+
+ * Snapshot, taken from the trunk 20080814.
+ * debian/*.shlibs: Update to the version from the trunk.
+ * debian/patches/201-hjl-bfd-ref_addr.dpatch: Update.
+ * debian/patches/209-hjl-binutils-error.dpatch: Likewise.
+
+ -- Matthias Klose Thu, 14 Aug 2008 16:37:01 +0000
+
+binutils (2.18.50.20080806-0ubuntu1) intrepid; urgency=low
+
+ * Snapshot, taken from the trunk 20080806.
+ - Fix PR ld/6656, disable gas generated debug info if compiler generated
+ debug info is seen. LP: #240884. Closes: #481592.
+ * debian/*.shlibs: Update to the version from the trunk.
+ * Build binutils-gold for powerpc.
+
+ -- Matthias Klose Wed, 06 Aug 2008 08:39:52 +0200
+
+binutils (2.18.50.20080707-0ubuntu1) intrepid; urgency=low
+
+ * Snapshot, taken from the trunk 20080707.
+ * debian/*.shlibs: Update to the version from the trunk.
+ * include/safe-ctype.h: Add #include of ctype.h before redefining
+ the ctype.h macros (proposed for the trunk).
+
+ -- Matthias Klose Mon, 07 Jul 2008 10:21:30 +0000
+
+binutils (2.18.50.20080610-0ubuntu1) intrepid; urgency=low
+
+ * Snapshot, taken from the trunk 20080610.
+ * debian/*.shlibs: Update to the version from the trunk. LP: #237461.
+
+ -- Matthias Klose Tue, 10 Jun 2008 17:18:50 +0200
+
+binutils (2.18.50.20080530-0ubuntu1) intrepid; urgency=low
+
+ * Snapshot, taken from the trunk 20080530.
+ - gold recognizes -z relro and -z norelro.
+ * debian/rules: Explicitely set SHELL to /bin/bash, build-depend on bash.
+ * debian/rules: Fix setting of TARGET for cross builds.
+ * binutils-static: Remove dependency on libc6. LP: #184582.
+
+ -- Matthias Klose Fri, 30 May 2008 23:55:07 +0200
+
+binutils (2.18.50.20080509-0ubuntu1) intrepid; urgency=low
+
+ * Snapshot, taken from the trunk 20080509.
+ * Add -Wno-format-security to CFLAGS, CXXFLAGS, due to picky default
+ hardening options.
+ * Let gold ignore -z relro and -z norelro for now.
+ * Build gold with -Wno-error.
+
+ -- Matthias Klose Fri, 09 May 2008 11:09:24 +0200
+
+binutils (2.18.50.20080507-0ubuntu1) intrepid; urgency=low
+
+ * Snapshot, taken from the trunk 20080507.
+ * Remove patches applied upstream: 304_pr4476.dpatch, 305_arm-dis.dpatch,
+ 306_pr4453.dpatch, 307_ld-pic.dpatch, 308_mips-pic.dpatch,
+ 311_pr5006.dpatch, 312_pr5011.dpatch, 313_pr5025.dpatch.
+ * Update patches from the hjl releases: 200-hjl-ld-env (not applied),
+ 206-hjl-binutils-shr.dpatch (not applied),
+ * Remove patches from the hjl release: 204-hjl-binutils-tls-relro.dpatch,
+ 208-hjl-libtool-relink.dpatch, 209-hjl-binutils-error.dpatch,
+ 210-hjl-binutils-signed.dpatch,
+ * New patches from the hjl release: 212-hjl-bfd-64k.dpatch.
+ * debian/*.shlibs: Update to the version from the trunk.
+ * On amd64, i386, lpia and sparc, build a binutils-gold package,
+ diverting /usr/bin/ld.
+
+ -- Matthias Klose Wed, 07 May 2008 17:41:05 +0200
+
+binutils (2.18.1~cvs20080103-4ubuntu1) hardy; urgency=low
+
+ * Merge with Debian unstable; remaining changes:
+ - Build binutils-static and binutils-static-udeb packages.
+
+ -- Matthias Klose Tue, 22 Apr 2008 12:02:51 +0200
+
+binutils (2.18.1~cvs20080103-4) unstable; urgency=medium
+
+ * debian-rules: Remove libiberty in /usr/lib64; workaround for
+ `gcc -print-multi-os-directory' printing the symlink.
+ Closes: #473665, #473591.
+ * Don't include development fiiles in binutils-spu.
+ * Fix binutils-spu build on ppc64 (Andreas Jochens). Closes: #474116.
+ * Build libiberty with -fPIC on mips/mipsel (Aurelian Jarno).
+
+ -- Matthias Klose Sat, 05 Apr 2008 11:21:08 +0200
+
+binutils (2.18.1~cvs20080103-3) unstable; urgency=low
+
+ [ Arthur Loiret ]
+ * Build a binutils for spu-elf target on powerpc and ppc64.
+ - debian/control: Add a binutils-spu package.
+ - debian/binutils-spu.{postinst,postrm,shlibs}: Add.
+ * Add sh64-linux-gnu to multiarch targets.
+ * Fix cross-compilation support.
+ * Make lintian happier:
+ - Use ${source:Version}, ${binary:Version} variables.
+ - Remove -1 from Build-Depends revisions.
+ - Bump Standards-Version to 3.7.3.
+
+ [ Matthias Klose ]
+ * Keep the spu elfscripts in bintutils, remove them from binutils-spu.
+ * debian/patches/307_ld-pic.dpatch: Fix failing ld-shared tests when built
+ with gcc-4.3.
+
+ -- Matthias Klose Sat, 29 Mar 2008 20:32:35 +0100
+
+binutils (2.18.1~cvs20080103-2) unstable; urgency=low
+
+ * debian/patches/306_pr4453.dpatch: Fix PR binutils/4453, taken from
+ the trunk (Aurelian Jarno). Closes: #363423.
+
+ -- Matthias Klose Fri, 21 Mar 2008 20:49:17 +0100
+
+binutils (2.18.1~cvs20080103-0ubuntu1) hardy; urgency=low
+
+ * Update to 20080103 from the binutils-2_18-branch.
+ - Set version number to 2.18.0 (smaller than the one from the trunk).
+ * debian/*.shlibs: Update to version from the branch.
+ * debian/patches/305_arm-dis.dpatch: Fix segfault when disassembling ARM
+ code. Closes: #438956.
+
+ -- Matthias Klose Thu, 03 Jan 2008 21:26:56 +0000
+
+binutils (2.18.1~cvs20071027-1ubuntu2) hardy; urgency=low
+
+ * Do not include static libraries in the multiarch package.
+ * Install a libiberty compiled with -fPIC as libiberty_pic.a.
+ LP: #50512.
+ * Don't include /usr/lib64 for cross packages. Closes: #450429.
+
+ -- Matthias Klose Fri, 23 Nov 2007 12:14:31 +0000
+
+binutils (2.18.1~cvs20071027-1ubuntu1) hardy; urgency=low
+
+ * Update to 20071027 from the binutils-2_18-branch.
+ - Fix PR ld/4988, assertion failures in ld. Closes: #440015.
+ * debian/*.shlibs: Update to version from the branch.
+ * Drop the build dependency on expect-tcl8.3, don't run the
+ testsuite on hppa.
+
+ -- Matthias Klose Sat, 27 Oct 2007 17:33:13 +0000
+
+binutils (2.18-1ubuntu1) hardy; urgency=low
+
+ * Rebuild using gcc-4.2.
+
+ -- Matthias Klose Sun, 21 Oct 2007 08:31:26 +0000
+
+binutils (2.18-1) unstable; urgency=low
+
+ [ Matthias Klose ]
+ * New upstream release.
+ - Remove patches applied upstream: 100_warning_arm, 400_gcc42_fix,
+ 401_builddoc.
+ * debian/*.shlibs: Update to release version.
+
+ -- Matthias Klose Wed, 29 Aug 2007 01:07:31 +0200
+
+binutils (2.18-0ubuntu3) gutsy; urgency=low
+
+ * Apply patches for:
+ - PR binutils/5011, readelf reads past end of buffer.
+ - PR ld/5025, downgrade error to a warning if .note.gnu.build-id
+ has been discarded.
+
+ -- Matthias Klose Wed, 19 Sep 2007 00:31:23 +0200
+
+binutils (2.18-0ubuntu2) gutsy; urgency=low
+
+ * Apply fix for PR ld/5008, taken from the trunk.
+
+ -- Matthias Klose Sun, 09 Sep 2007 22:08:19 +0200
+
+binutils (2.18-0ubuntu1) gutsy; urgency=low
+
+ * Final 2.18 release.
+ * debian/*.shlibs: Update to release version.
+
+ -- Matthias Klose Wed, 29 Aug 2007 13:22:09 +0200
+
+binutils (2.18~cvs20070827-0ubuntu1) gutsy; urgency=low
+
+ * New upstream CVS snapshot, taken from the binutils-2_18-branch.
+ - Remove patches applied upstream: 311_sse4_intel_mode, 400_gcc42_fix,
+ 401_builddoc.
+ * debian/*.shlibs: Update to snapshot version.
+
+ -- Matthias Klose Mon, 27 Aug 2007 19:30:21 +0200
+
+binutils (2.18~cvs20070812-0ubuntu1) gutsy; urgency=low
+
+ * New upstream CVS snapshot, taken from the binutils-2_18-branch.
+ * debian/rules: Support parallel= with comma separated keywords
+ in DEB_BUILD_OPTIONS.
+ * debian/rules (clean): Remove stamp files.
+ * debian/*.shlibs: Update to snapshot version.
+ * debian/patches/401_builddoc.dpatch: Fix doc build failure on the branch.
+ * debian/patches/311_sse4_intel_mode.dpatch: Fix SSE4 for Intel mode.
+ * Update patches: 200-hjl-ld-env (not applied), 203-hjl-binutils-indirect,
+ 204-hjl-binutils-tls-relro, 209-hjl-binutils-error,
+ * Remove patches: 201-hjl-bfd-dwarf-dup.dpatch, 201-hjl-bfd-dwarf-dup,
+ 205-hjl-bfd-kept, 208-hjl-libtool-relink.
+ * New patches: 210-hjl-binutils-signed, 211-hjl-binutils-weakdef.
+
+ -- Matthias Klose Sun, 12 Aug 2007 12:42:57 +0200
+
+binutils (2.17.20070804cvs-0ubuntu1) gutsy; urgency=low
+
+ * New upstream CVS snapshot.
+ - PR binutils/4888, fixes objcopy --only-keep-debug. Closes: #435444.
+ * debian/rules: Support parallel= in DEB_BUILD_OPTIONS (see #209008).
+ * debian/*.shlibs: Update to snapshot version.
+ * Build using the default compiler on all architectures.
+
+ -- Matthias Klose Sat, 04 Aug 2007 11:29:10 +0000
+
+binutils (2.17.20070801cvs-0ubuntu2) gutsy; urgency=low
+
+ * Build-depend on gcc-4.1 on lpia, since we're calling it explicitly.
+
+ -- Adam Conrad Fri, 3 Aug 2007 13:24:26 +1000
+
+binutils (2.17.20070801cvs-0ubuntu1) gutsy; urgency=low
+
+ * CVS snapshot 20070801, taken from the trunk.
+ - Fixes objcopy --only-keep-debug on amd64.
+
+ -- Matthias Klose Wed, 01 Aug 2007 18:46:10 +0200
+
+binutils (2.17.20070718cvs-0ubuntu2) gutsy; urgency=low
+
+ * debian/patches/305_ungetc.dpatch: Allow UNGETC to work with empty buffer,
+ taken from CVS HEAD.
+
+ -- Matthias Klose Fri, 20 Jul 2007 12:47:44 +0200
+
+binutils (2.17.20070718cvs-0ubuntu1) gutsy; urgency=low
+
+ * CVS snapshot 20070718, taken from the trunk.
+ * Fix cross build failure while stripping binaries. Closes: #432907.
+
+ -- Matthias Klose Wed, 18 Jul 2007 15:19:15 +0000
+
+binutils (2.17.20070713cvs-0ubuntu2) gutsy; urgency=low
+
+ * Fix build failure with gcc-4.2.
+
+ -- Matthias Klose Tue, 17 Jul 2007 11:09:25 +0000
+
+binutils (2.17.20070713cvs-0ubuntu1) gutsy; urgency=low
+
+ * CVS snapshot 20070713, taken from the trunk.
+ - Remove patches applied upstream: 301_pr4436.dpatch, 302_pr4448.dpatch,
+ 303_pr4454.dpatch, 305_pr4497.dpatch, 306_ld_demangler_segfault.dpatch,
+ 307_pr4558.dpatch.
+ * Update hjl patches:
+ - Remove 207-hjl-libtool-archive.dpatch.
+ - Add 201-hjl-bfd-dwarf-dup.dpatch, 209-hjl-binutils-error.dpatch.
+ - Update 200-hjl-ld-env.dpatch, 201-hjl-bfd-ref_addr.dpatch,
+ 204-hjl-binutils-tls-relro.dpatch, hjl-binutils-shr.dpatch.
+ * debian/copyright: Include GPL-3.
+ * debian/rules: Fix version extraction.
+ * debian/rules: Honor `noopt' in DEB_BUILD_OPTIONS. Closes LP: #65607.
+ * debian/patches/013_bash_in_ld_testsuite.dpatch: Use bash in the ld
+ testsuite. Closes LP: #124435.
+
+ -- Matthias Klose Fri, 13 Jul 2007 15:43:07 +0200
+
+binutils (2.17.20070426cvs-7ubuntu2) gutsy; urgency=low
+
+ * Fix PR gas/4558.
+
+ -- Matthias Klose Mon, 28 May 2007 08:48:33 +0000
+
+binutils (2.17.20070426cvs-7ubuntu1) gutsy; urgency=low
+
+ * Merge with Debian.
+
+ -- Matthias Klose Fri, 25 May 2007 08:24:08 +0200
+
+binutils (2.17cvs20070426-7) unstable; urgency=low
+
+ * 306_ld_demangler_segfault.dpatch: new CVS patch from Alan Modra to fix
+ segfaults in ld seen when building, e.g. openipmi.
+
+ * debian/copyright: update source location and copyright years.
+ * debian/rules: idem.
+
+ -- James Troup Wed, 23 May 2007 02:19:09 +0100
+
+binutils (2.17cvs20070426-6) unstable; urgency=low
+
+ * Fix PR ld/4497, regression introduced with the fix for PR ld/4454.
+ Closes: #423496.
+ * Fix binutils/4476, readelf support for --hash-style=gnu. Closes: #421790.
+
+ -- Matthias Klose Mon, 14 May 2007 10:51:40 +0200
+
+binutils (2.17cvs20070426-5) unstable; urgency=low
+
+ * Fix PR ld/4454.
+
+ -- Matthias Klose Sun, 06 May 2007 09:50:29 +0200
+
+binutils (2.17cvs20070426-4) unstable; urgency=low
+
+ * Fix PR gas/4448, overstrict check for powerpc lswi. Closes: #421799.
+
+ -- Matthias Klose Wed, 2 May 2007 18:26:03 +0200
+
+binutils (2.17cvs20070426-3) unstable; urgency=low
+
+ * Update debian/*.shlibs files. Closes: #421454.
+ * Fix PR gas/4436, wrong reject in powerpc opcode table checks.
+ Closes: #421455.
+ * Fix build failure on arm (Aurelian Jarno). Closes: #421365.
+ * Compare testsuite results of the installed binutils with the built one.
+
+ -- Matthias Klose Mon, 30 Apr 2007 07:47:09 +0200
+
+binutils (2.17.20070426cvs-2ubuntu7) gutsy; urgency=low
+
+ * Fix PR ld/4497, regression introduced with the fix for PR ld/4454.
+
+ -- Matthias Klose Mon, 14 May 2007 08:13:50 +0000
+
+binutils (2.17.20070426cvs-2ubuntu6) gutsy; urgency=low
+
+ * Fix binutils/4476, readelf support for --hash-style=gnu.
+
+ -- Matthias Klose Thu, 10 May 2007 07:32:28 +0000
+
+binutils (2.17.20070426cvs-2ubuntu5) gutsy; urgency=low
+
+ * Fix PR ld/4454.
+
+ -- Matthias Klose Sun, 06 May 2007 13:02:11 +0000
+
+binutils (2.17.20070426cvs-2ubuntu4) gutsy; urgency=low
+
+ * Fix PR gas/4448, overstrict check for powerpc lswi.
+
+ -- Matthias Klose Wed, 2 May 2007 13:42:10 +0200
+
+binutils (2.17.20070426cvs-2ubuntu3) gutsy; urgency=low
+
+ * Update debian/*.shlibs files.
+ * Fix PR gas/4436, wrong reject in powerpc opcode table checks.
+
+ -- Matthias Klose Mon, 30 Apr 2007 08:02:30 +0200
+
+binutils (2.17.20070426cvs-2ubuntu2) gutsy; urgency=low
+
+ * Add binutils-udeb as a dist file with priority optional.
+
+ -- Matthias Klose Fri, 27 Apr 2007 17:27:23 +0200
+
+binutils (2.17.20070426cvs-2ubuntu1) gutsy; urgency=low
+
+ * Merge with Debian.
+
+ -- Matthias Klose Fri, 27 Apr 2007 10:16:54 +0200
+
+binutils (2.17cvs20070426-2) unstable; urgency=low
+
+ * Fix typo preparing the binutils-hppa64 package. Closes: #421199.
+ * Compare testsuite results of the installed binutils with the built one.
+
+ -- Matthias Klose Fri, 27 Apr 2007 08:06:49 +0200
+
+binutils (2.17cvs20070426-1) unstable; urgency=low
+
+ [ James Troup ]
+ * New upstream CVS snapshot.
+ * debian/test-suite-compare.py: simplistic comparator for binutils test
+ suite runs.
+
+ [ Matthias Klose ]
+ * Merge changes from the experimental uploads:
+ * debian/patches/121_i386_x86_64_biarch.dpatch: Remove, applied upstream.
+ * Build a binutils-source package (containing the patched sources).
+ * Check for a working expect before building the package.
+ * Configure the multiarch build for x86_64-linux-gnu instead of
+ x86_64-linux.
+ * debian/rules: Don't strip binaries if nostrip is in DEB_BUILD_OPTIONS.
+ * debian/rules: Don't try to strip shell scripts.
+ * Configure --with-pkgversion to include the distribution name.
+ * debian/patches/000_print_debian_version.dpatch: Remove.
+ * debian/control: Build-depend on lsb-release.
+ * Enable spu target in powerpc and binutils-multiarch build.
+ * Don't include embedspu in binutils-multiarch on powerpc.
+ * debian/control: Set priority for source package to optional.
+
+ -- James Troup Fri, 27 Apr 2007 01:29:57 +0100
+
+binutils (2.17.20070420cvs-0ubuntu1) gutsy; urgency=low
+
+ * CVS snapshot 20070420, taken from the trunk.
+ - debian/patches/007_binutils_soversion.dpatch: Remove, applied upstream.
+
+ -- Matthias Klose Fri, 20 Apr 2007 13:46:05 +0200
+
+binutils (2.17.20070406cvs-0ubuntu1) toolchain-test; urgency=low
+
+ * CVS snapshot 20070406, taken from the trunk.
+ * Do not apply: 200-hjl-ld-env.
+ * Enable spu target in powerpc, ppc64 builds and in the
+ binutils-multiarch build.
+ * Don't include embedspu in binutils-multiarch on powerpc, ppc64.
+ Closes: #411486.
+
+ -- Matthias Klose Fri, 6 Apr 2007 06:57:41 +0200
+
+binutils (2.17.20070329cvs-0ubuntu1) toolchain-test; urgency=low
+
+ * CVS snapshot 20070329, taken from the trunk.
+ * Patches from the hjl 2.17.50.0.13 release:
+ - 202-hjl-binutils-check-phdr: Remove, applied upstream.
+ - 205-hjl-bfd-kept.dpatch: Address the link speed issue by caching
+ the result of _bfd_elf_check_kept_section.
+ - 206-hjl-binutils-shr.dpatch: Implementation of ELF sharable section
+ proposal (not applied by default).
+ - 208-hjl-libtool-relink.dpatch: Avoid unnecessary linker messages
+ when running "make check".
+
+ -- Matthias Klose Thu, 29 Mar 2007 07:16:28 +0200
+
+binutils (2.17.20070321cvs-0ubuntu2) toolchain-test; urgency=low
+
+ * Configure --with-pkgversion, not including the package version,
+ which may break ld version detection in configure scripts.
+ * debian/patches/000_cvs_version_string.dpatch: Remove.
+ * debian/patches/007_binutils_soversion.dpatch: Use date for non-release
+ builds in soversion.
+
+ -- Matthias Klose Thu, 22 Mar 2007 07:01:14 +0100
+
+binutils (2.17.20070321cvs-0ubuntu1) toolchain-test; urgency=low
+
+ * CVS snapshot 20070321, taken from the trunk.
+ * debian/patches/000_print_{debian,ubuntu}_version.dpatch: Remove.
+ * debian/control: Build-depend on lsb-release.
+ * Configure --with-pkgversion to include the distribution name.
+ * Apply patches from the hjl 2.17.50.0.13 release:
+ - 200-hjl-ld-env.dpatch: Handle LD_SYMBOLIC and LD_SYMBOLIC_FUNCTIONS
+ env vars.
+ - 201-hjl-bfd-ref_addr.dpatch: Support DW_FORM_ref_addr in Dwarf 2 reader
+ in linker.
+ - 202-hjl-binutils-check-phdr.dpatch: Fix PR ld/4007: Linker failed
+ to issue an error on bad section in segment.
+ - 203-hjl-binutils-indirect.dpatch: PR ld/3351; avoid linker crash on ia64.
+ - 204-hjl-binutils-tls-relro.dpatch: PR binutils/3281; objcopy changes
+ PT_GNU_RELRO when there is PT_TLS.
+ - 207-hjl-libtool-archive.dpatch: Allow linking against an archive when
+ building a shared library.
+ * Set Ubuntu maintainer address.
+
+ -- Matthias Klose Wed, 21 Mar 2007 09:17:21 +0100
+
+binutils (2.17.20070210cvs-1ubuntu1) toolchain-test; urgency=low
+
+ * Merge with Debian experimental; remaining changes:
+ - Build binutils-static and binutils-static-udeb packages.
+
+ -- Matthias Klose Mon, 12 Feb 2007 16:03:23 +0100
+
+binutils (2.17.20070210cvs-1) experimental; urgency=low
+
+ * CVS snapshot 20070210, taken from the trunk.
+ * debian/rules: Don't try to strip shell scripts.
+
+ -- Matthias Klose Sat, 10 Feb 2007 15:59:45 +0100
+
+binutils (2.17.20070103cvs-2) experimental; urgency=low
+
+ * Overwrite the VERSION string (date) from the snapshot with
+ a parsable version string (2.17.50), as found on the trunk.
+
+ -- Matthias Klose Fri, 5 Jan 2007 10:06:09 +0100
+
+binutils (2.17.20070103cvs-1) experimental; urgency=low
+
+ * binutils snapshot 20070103, taken from
+ ftp://sourceware.org/pub/binutils/snapshots/
+ * Build a binutils-source package (containing the patched sources).
+ * Check for a working expect before building the package.
+ * Configure binutils-multiarch for i486-gnu as well.
+ * Configure the multiarch build for x86_64-linux-gnu instead of
+ x86_64-linux.
+ * debian/rules: Don't strip binaries if nostrip is in DEB_BUILD_OPTIONS.
+
+ -- Matthias Klose Thu, 4 Jan 2007 22:13:54 +0100
+
+binutils (2.17.20070103cvs-0ubuntu1) feisty; urgency=low
+
+ * binutils snapshot 20070103, taken from
+ ftp://sourceware.org/pub/binutils/snapshots/
+ * Merge with Debian experimental; remaining changes:
+ - Build binutils-static and binutils-static-udeb packages.
+ - Build a binutils-source package (containing the patched
+ sources).
+ - Check for a working expect before building the package.
+ - Configure binutils-multiarch for i486-gnu as well.
+ * Configure the multiarch build for x86_64-linux-gnu instead of
+ x86_64-linux.
+ * debian/rules: Don't strip binaries if nostrip is in DEB_BUILD_OPTIONS.
+ * Strip binaries in binutils-static and in the binutils udeb.
+
+ -- Matthias Klose Thu, 4 Jan 2007 15:17:45 +0100
+
+binutils (2.17.20061210cvs-1) experimental; urgency=low
+
+ * CVS snapshot 20061210, taken from the trunk.
+ * debian/patches/121_i386_x86_64_biarch.dpatch: Remove, applied upstream.
+
+ -- Matthias Klose Sun, 10 Dec 2006 20:43:41 +0100
+
+binutils (2.17.20070103cvs-0ubuntu2) feisty; urgency=low
+
+ * Overwrite the VERSION string (date) from the snapshot with
+ a parsable version string (2.17.50), as found on the trunk.
+
+ -- Matthias Klose Fri, 5 Jan 2007 09:02:06 +0000
+
+binutils (2.17.50.0.6-0ubuntu1) feisty; urgency=low
+
+ [Fabio M. Di Nitto]
+
+ * we are supposed to upload to feisty, aren't we? ;)
+
+ [Jeff Bailey]
+
+ * New upstream snapshot from HJ Lu.
+ * debian/patches/121_i386_x86_64_biarch: Drop, merged upstream.
+
+ -- Fabio M. Di Nitto Tue, 31 Oct 2006 15:43:58 +0100
+
+binutils (2.17-3) unstable; urgency=low
+
+ * debian/rules (configure-multi-stamp): drop i486-kfreebsd-gnu again as
+ it breaks objdump for i386 on amd64. Closes: #380539
+
+ -- James Troup Tue, 3 Oct 2006 00:53:17 +0100
+
+binutils (2.17-2) unstable; urgency=low
+
+ * The "Laisse le Wookie gagner" release.
+
+ * 127_x86_64_i386_biarch.dpatch: new patch from Aurelien Jarno
+ to add (/usr)/lib32 to the search paths on
+ amd64. Closes: #369052
+
+ * debian/rules (configure-multi-stamp): add i486-kfreebsd-gnu at request
+ of Aurelien Jarno. Closes: #315306
+
+ -- James Troup Wed, 26 Jul 2006 20:33:13 +0100
+
+binutils (2.17-1ubuntu1) edgy; urgency=low
+
+ * New upstream release.
+ - ld checks for libs in the same order as ld.so does. Ubuntu #40214.
+ * Synchronise with Debian unstable.
+ * Remove patch 122_sparc64_UA2005_instruction_set.dpatch, integrated
+ upstream.
+ * Remove patch 130_tekhex_buffer_overflow.dpatch, integrated upstream.
+ * 122_x86_64_i386_biarch.dpatch: New, search libraries in (/usr)/lib32 on
+ amd64. Closes: #369052.
+ * Build a binutils-source package; obsoletes toolchain-source package.
+
+ -- Matthias Klose Wed, 28 Jun 2006 10:29:16 +0200
+
+binutils (2.17-1) unstable; urgency=low
+
+ * New upstream release.
+ * 120_mips_xgot_multigot_workaround.dpatch: removed - superseded by a
+ proper fix upstream. Closes: #274738
+ * debian/binutils.shlibs, debian/binutils-multiarch.shlibs,
+ debian/binutils-hppa64.shlibs: updated SONAME to 2.17.
+
+ -- James Troup Mon, 26 Jun 2006 13:17:36 +0100
+
+binutils (2.16.1cvs20060507-1) unstable; urgency=low
+
+ * New upstream CVS snapshot of 'binutils-2_17-branch'.
+
+ * debian/control (Standards-Version): bump to 3.7.2.0.
+
+ -- James Troup Sun, 7 May 2006 19:57:08 +0100
+
+binutils (2.16.1cvs20060413-1) unstable; urgency=low
+
+ * New upstream CVS snapshot.
+ * 120_mips_xgot_multigot_workaround.dpatch: updated to work with CVS
+ r1.163 of bfd/elfxx-mips.c, pass 'info' instead of 'output_bfd' to
+ MIPS_ELF_GOT_MAX_SIZE().
+
+ * Patch from NIIBE Yutaka in #280884:
+ * debian/rules (configure-multi-stamp): Support m32r-linux. Closes:
+ #340264
+ * debian/rules: Run 'make check' only if build == host.
+
+ * debian/rules: Also don't run 'make check' if nocheck is in
+ DEB_BUILD_OPTIONS. Based on a patch from Michael Banck
+ . Closes: #315290
+
+ * Integrate most of a patch to build arbitrary binutils-$TARGET
+ cross-packages from #231707. Thanks to Nikita V. Youshchenko
+ and Josh Triplett .
+
+ * debian/copyright: update to include GFDL. Closes: #81950
+ * debian/copyright: update FSF address.
+
+ * debian/rules: move non-architecture specific conflicts (gas,
+ elf-binutils, modutils (<< 2.4.19-1)) out of a substitued variable and
+ into the control file. Rename variable to extraConflicts.
+ * debian/control: likewise.
+
+ -- James Troup Sat, 15 Apr 2006 03:05:41 +0100
+
+binutils (2.16.1cvs20060117-1ubuntu2.1) dapper-security; urgency=low
+
+ * SECURITY UPDATE: Crash and possible arbitrary code execution in apps using
+ libbfd (such as 'strings').
+ * Add debian/patches/130_tekhex_buffer_overflow.dpatch:
+ - Fix buffer overflow on hexadecimal number parsing in the Tektronix Hex
+ Format BFD library backend.
+ - Patch ported from CVS HEAD.
+ * CVE-2006-2362
+
+ -- Martin Pitt Tue, 6 Jun 2006 11:35:55 +0200
+
+binutils (2.16.1cvs20060117-1ubuntu2) dapper; urgency=low
+
+ * [SPARC64] Add support for new UA2005 instruction set:
+ - Add patch 122_sparc64_UA2005_instruction_set.dpatch.
+ (Thanks David S. Miller for providing the patch)
+
+ NOTE: the patch is sparc specific and does NOT touch any other code.
+ It is a plain rebuild on all other arches.
+
+ -- Fabio M. Di Nitto Sat, 25 Feb 2006 07:11:28 +0100
+
+binutils (2.16.1cvs20060117-1ubuntu1) dapper; urgency=low
+
+ * Synchronise with Debian untstable.
+
+ -- Matthias Klose Thu, 19 Jan 2006 09:21:47 +0100
+
+binutils (2.16.1cvs20060117-1) unstable; urgency=low
+
+ * New upstream CVS snapshot.
+
+ * 118_arm_pass_all.dpatch, 125_fix_tc_arm_cast.dpatch: merged upstream -
+ removed.
+
+ -- James Troup Wed, 18 Jan 2006 02:25:25 +0000
+
+binutils (2.16.1cvs20051214-1ubuntu1) dapper; urgency=low
+
+ * Synchronise with Debian unstable.
+
+ -- Matthias Klose Thu, 15 Dec 2005 00:11:16 +0000
+
+binutils (2.16.1cvs20051214-1) unstable; urgency=low
+
+ * New upstream CVS snapshot.
+ * Fix ld segfaults on ia64. Closes: #342777
+
+ * 126_fix_PROVIDE_HIDDEN.dpatch: merged upstream - removed.
+
+ -- James Troup Wed, 14 Dec 2005 08:06:37 +0000
+
+binutils (2.16.1cvs20051206-1) unstable; urgency=low
+
+ * New upstream CVS snapshot.
+ * Fixes linking of qemu. Closes: #340328
+
+ * 126_fix_PROVIDE_HIDDEN.dpatch: new patch from Thiemo Seufer to fix
+ handling of hidden symbols which were provided by a linker
+ script. Closes: #342307
+
+ * debian/control (Standards-Version): updated to 3.6.2.1.
+
+ -- James Troup Sat, 10 Dec 2005 05:23:34 +0000
+
+binutils (2.16.1cvs20051117-1ubuntu1) dapper; urgency=low
+
+ * Synchronise with Debian unstable.
+
+ -- Matthias Klose Fri, 18 Nov 2005 14:09:29 +0100
+
+binutils (2.16.1cvs20051117-1) unstable; urgency=low
+
+ * New upstream CVS snapshot.
+ * Fixes c++filt's flushing of stdout which broke gcj. Closes: #339287
+
+ * debian/control (Build-Depends): switch from expect to expect-tcl8.3
+ since tcl8.4's broken threading causes the testsuite to fail entirely
+ on hppa. Closes: #339509
+
+ -- James Troup Thu, 17 Nov 2005 13:15:15 +0000
+
+binutils (2.16.1cvs20051109-1ubuntu1) dapper; urgency=low
+
+ * Synchronise with Debian unstable.
+ * Reenable the testsuite on hppa and sparc.
+ * debian/control:
+ - Set standards version to 3.6.2 (no changes).
+ - Add alternative build dependency on expect-tcl8.3.
+
+ -- Matthias Klose Mon, 14 Nov 2005 10:52:27 +0100
+
+binutils (2.16.1cvs20051109-1) unstable; urgency=low
+
+ * New upstream CVS snapshot.
+ * Fixes broken PLT handling on m68k. Closes: #327780
+ * Don't compile flex files with -Werror, fixing mips builds.
+ Closes: #333980
+ * Don't check undefined symbols introduced by "ld -u" for TLS. Closes:
+ #326103
+
+ * 117_mips_symbolic_link.dpatch: merged upstream - removed.
+
+ * debian/rules: pass --disable-werror on ia64 as current gcc generates
+ too many false positives. Closes: #336939
+
+ * 125_fix_tc_arm_cast.dpatch: new patch from Lennert Buytenhek to fix
+ cast warning and arm builds. Closes: #336175
+
+ * 121_i386_x86_64_biarch.dpatch: imported from Ubuntu at request of
+ Daniel Jacobwitz to fix biarch linking on i386/amd64. Closes:
+ #334626, #334673
+
+ * debian/rules: remove any reference to pkgstriptranslations - an
+ Ubuntu-ism that shouldn't have been in the Debian package in the first
+ place but that isn't needed in Ubuntu any more in any event.
+
+ * debian/rules: MAKEOVERRIDES is now clobbered by the top level
+ Makefile, so switch to overriding MAKE itself (sic) to pass the
+ customized VERSION variable/string down to sub-directories for
+ -multiarch and -hppa64 builds. Thanks to Daniel Silverstone for the
+ suggestion.
+
+ -- James Troup Fri, 11 Nov 2005 20:38:22 +0000
+
+binutils (2.16.1cvs20050902-1) unstable; urgency=low
+
+ * New upstream CVS snapshot.
+ * Fixes --as-needed on sparc and hppa. Closes: #320697
+ * Fixes buffer overflows and other crashes. Closes: #311975
+
+ * 124_readelf_robustify.dpatch: merged upstream - removed.
+ * 001_ld_makefile_patch: regenerated with help of wiggle.
+
+ * debian/*.shlibs: update to version 2.16.91.
+
+ * debian/copyright: use canonical GNU URL. Update copyright years.
+ * debian/rules: update version and copyright.
+
+ * debian/rules (pre-build): not relevant with a CVS snapshot which
+ doesn't have pre-generated info files - removed.
+ * debian/rules (clean): don't save info files for the same reason, in
+ fact explicitly remove them.
+ * debian/rules (build_stamps): drop pre-build.
+
+ -- James Troup Sat, 3 Sep 2005 00:30:56 +0100
+
+binutils (2.16.1-3) unstable; urgency=low
+
+ * debian/rules: remove powerpc libc header hack.
+ * debian/include/sys/procfs.h: remove.
+
+ * 124_readelf_robustify.dpatch: new patch from Jakub Jelinek to
+ robustify readelf. Thanks to Thiemo Seufer .
+ Closes: #318344
+
+ -- James Troup