elfutils: Don't try to use dgettext on Android

dgettext doesn't seem to be in bionic, causing perf to fail to link
when linking to the static libelf built here

Change-Id: I4cda6df902a6c6c05863c5485da4cc7e46299052
Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
Un-nest nested functions

This is for compatibility with clang

Change-Id: I06944f90c479f12f648052c08a3e255545ebbf02
Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
Fix gcc 4.8 warning introduced by clang build fix

Change-Id: I2ff9040f860983fa3ee84f4478e34ad03e5de900
Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
Fix more gcc 4.8 warnings

Change-Id: I81b5ef173b3b78609726d370aed5d2dca2b08db6
Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
Merge branch 'linaro' into HEAD

Conflicts:
	libdw/dwarf_entry_breakpoints.c
	libdw/dwarf_getscopevar.c
	libdw/libdw_visit_scopes.c
	libdwfl/dwfl_module.c
	libdwfl/relocate.c
	libelf/elf_begin.c

Change-Id: I1102af3d92b653d82bb91b3f687fde6e7696eacb
Signed-off-by: DHOMD <DHO@dho.im>