Signed-off-by: Andy Whitcroft <[EMAIL PROTECTED]>
---
 elf32ppclinux.c         |    2 ++
 elf64ppc.c              |    2 ++
 libhugetlbfs_internal.h |    3 +++
 3 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/elf32ppclinux.c b/elf32ppclinux.c
index eb54411..24adaf1 100644
--- a/elf32ppclinux.c
+++ b/elf32ppclinux.c
@@ -20,6 +20,8 @@
 #include <elf.h>
 #include <link.h>
 
+#include "libhugetlbfs_internal.h"
+
 /*
  * The powerpc 32-bit ELF ABI defines the location and size of the plt as
  * follows (see the ELF ABI and powerpc32 supplement for details):
diff --git a/elf64ppc.c b/elf64ppc.c
index 5f6e592..a6638db 100644
--- a/elf64ppc.c
+++ b/elf64ppc.c
@@ -20,6 +20,8 @@
 #include <elf.h>
 #include <link.h>
 
+#include "libhugetlbfs_internal.h"
+
 /*
  * The powerpc 64-bit ELF ABI defines the location and size of the plt as
  * follows (see the ELF ABI and powerpc64 supplement for details):
diff --git a/libhugetlbfs_internal.h b/libhugetlbfs_internal.h
index 77f8fcc..8d745eb 100644
--- a/libhugetlbfs_internal.h
+++ b/libhugetlbfs_internal.h
@@ -147,4 +147,7 @@ long hugetlbfs_test_pagesize(const char *mount);
 #define dump_proc_pid_maps __lh_dump_proc_pid_maps
 long dump_proc_pid_maps(void);
 
+#define plt_extrasz __lh_plt_extrasz
+ElfW(Word) plt_extrasz(ElfW(Dyn) *dyntab);
+
 #endif /* _LIBHUGETLBFS_INTERNAL_H */
-- 
1.6.0.2.711.gf1ba4


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Libhugetlbfs-devel mailing list
Libhugetlbfs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libhugetlbfs-devel

Reply via email to