summaryrefslogtreecommitdiffstats
path: root/trunk/src/prelink.h
diff options
context:
space:
mode:
Diffstat (limited to 'trunk/src/prelink.h')
-rw-r--r--trunk/src/prelink.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/trunk/src/prelink.h b/trunk/src/prelink.h
index 117d266..741f0a4 100644
--- a/trunk/src/prelink.h
+++ b/trunk/src/prelink.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2009
+/* Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2009, 2010
Red Hat, Inc.
Copyright (C) 2008 CodeSourcery.
Written by Jakub Jelinek <jakub@redhat.com>, 2001.
@@ -119,6 +119,15 @@ typedef uint8_t Elf64_Byte;
#define R_X86_64_IRELATIVE 37
#endif
+#ifndef R_PPC_IRELATIVE
+#define R_PPC_IRELATIVE 248
+#endif
+
+#ifndef R_PPC64_JMP_IREL
+#define R_PPC64_JMP_IREL 247
+#define R_PPC64_IRELATIVE 248
+#endif
+
struct prelink_entry;
struct prelink_info;
struct PLArch;
@@ -517,6 +526,7 @@ int is_ldso_soname (const char *soname);
int prelink_undo (DSO *dso);
int prelink_verify (const char *filename);
+ssize_t send_file (int outfd, int infd, off_t *poff, size_t count);
int gather_object (const char *dir, int deref, int onefs);
int read_config (const char *config);