Commit 74433c0f authored by Paolo 'Blaisorblade' Giarrusso's avatar Paolo 'Blaisorblade' Giarrusso Committed by Linus Torvalds
Browse files

[PATCH] Hostfs: update for new glibc - add missing symbol exports

Today, when compiling UML, I got warnings for two used unexported symbols:
readdir64 and truncate64. Indeed, my glibc headers are aliasing readdir to
readdir64 and truncate to truncate64 (and so on).

I'm then adding additional exports. Since I've no idea if the symbols where
always provided in the supported glibc's, I've added weak definitions too.
Signed-off-by: default avatarPaolo 'Blaisorblade' Giarrusso <>
Signed-off-by: default avatarLinus Torvalds <>
parent 30f04a4e
......@@ -34,6 +34,11 @@ EXPORT_SYMBOL(strstr);
int sym(void); \
extern void readdir64(void) __attribute__((weak));
extern void truncate64(void) __attribute__((weak));
#ifdef SUBARCH_i386
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment