binutils: Fix format string error with --enable-targets=all

Change-Id: Ic2abcfac5072650a8157ac5f7bd538d82ec6ce02
Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
binutils: Fix possible use of uninitialized variable

We're building for Android with -Wall -Werror...

Change-Id: I5d423c5b6ff38cfe3397021402ad4aa01d787888
Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
binutils: Port to Android

Change-Id: Ib47c28cbde7a6165206675e75b52c0fdb86dff59
Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
binutils: Fix build with some STL versions

Some STL versions, including Android's STLport, seem to prefer the
non-const_reverse_iterator version of rend() over the
const_reverse_iterator version, and not provide implicit casts to
const_reverse_iterator, causing the build to fail.

Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
gold: Add workaround for some compiler versions

Some versions of gcc can't or won't resolve Address into
elfcpp::Elf_types<size>::Elf_Addr -- so use that
type directly.

Some versions of gcc also warn about firsttype$defined and
firsttype$index being used uninitialized.

Change-Id: I25cb061e9e947843a328b0479fd9a8d6e40b1846
Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>

Conflicts:
	gold/powerpc.cc
Build mkstemps.c unconditionally

Build mkstemps.c unconditionally - while glibc has it, it still leads
to linkage problems w/ opannotate

Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>