summaryrefslogtreecommitdiffstats
path: root/0.153
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2014-01-28 13:04:48 -0800
committerColin Cross <ccross@android.com>2014-01-28 13:04:48 -0800
commit3eb691e0e98cc559e10500c002956fec2b5f6a53 (patch)
tree53789b4b8ea709f5d14ae82e5b06b762be25baf8 /0.153
parent71b19bbd8d3c3b27f2d2f526394b9473049d620a (diff)
downloadandroid_external_elfutils-3eb691e0e98cc559e10500c002956fec2b5f6a53.tar.gz
android_external_elfutils-3eb691e0e98cc559e10500c002956fec2b5f6a53.tar.bz2
android_external_elfutils-3eb691e0e98cc559e10500c002956fec2b5f6a53.zip
elfutils: fix build with bfd linker
The bfd linker optimizes out less code, and is therefore more sensitive to missing symbols in code that is never called. Replace the dgettext symbol, which is used but never called and doesn't exist, with a macro. Change-Id: I7f840813892c9cc847b805d66cf53f581c114dc8
Diffstat (limited to '0.153')
-rw-r--r--0.153/bionic-fixup/libintl.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/0.153/bionic-fixup/libintl.h b/0.153/bionic-fixup/libintl.h
index 27f5e306..c35a06d4 100644
--- a/0.153/bionic-fixup/libintl.h
+++ b/0.153/bionic-fixup/libintl.h
@@ -19,7 +19,6 @@
/* no internalization */
#define gettext(x) (x)
-
-char * dgettext (const char * domainname, const char * msgid);
+#define dgettext(x,y) (y)
#endif /* ELFUTILS_LIBINTL_H */