diff options
author | Colin Cross <ccross@android.com> | 2014-01-28 13:04:48 -0800 |
---|---|---|
committer | Colin Cross <ccross@android.com> | 2014-01-28 13:04:48 -0800 |
commit | 3eb691e0e98cc559e10500c002956fec2b5f6a53 (patch) | |
tree | 53789b4b8ea709f5d14ae82e5b06b762be25baf8 /0.153/bionic-fixup | |
parent | 71b19bbd8d3c3b27f2d2f526394b9473049d620a (diff) | |
download | android_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/bionic-fixup')
-rw-r--r-- | 0.153/bionic-fixup/libintl.h | 3 |
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 */ |