Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F105737994
D1069.id5629.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D1069.id5629.diff
View Options
Index: head/sys/compat/linux/linux_vdso.h
===================================================================
--- head/sys/compat/linux/linux_vdso.h
+++ head/sys/compat/linux/linux_vdso.h
@@ -41,7 +41,7 @@
vm_object_t __elfN(linux_shared_page_init)(char **);
void __elfN(linux_shared_page_fini)(vm_object_t);
void __elfN(linux_vdso_fixup)(struct sysentvec *);
-void __elfN(linux_vdso_reloc)(struct sysentvec *, int);
+void __elfN(linux_vdso_reloc)(struct sysentvec *, long);
void __elfN(linux_vdso_sym_init)(struct linux_vdso_sym *);
#define LINUX_VDSO_SYM_INTPTR(name) \
Index: head/sys/compat/linux/linux_vdso.c
===================================================================
--- head/sys/compat/linux/linux_vdso.c
+++ head/sys/compat/linux/linux_vdso.c
@@ -29,7 +29,11 @@
#include "opt_compat.h"
+#if defined(__i386__) || (defined(__amd64__) && defined(COMPAT_LINUX32))
#define __ELF_WORD_SIZE 32
+#else
+#define __ELF_WORD_SIZE 64
+#endif
#include <sys/param.h>
#include <sys/systm.h>
@@ -135,7 +139,7 @@
}
void
-__elfN(linux_vdso_reloc)(struct sysentvec *sv, int vdso_adjust)
+__elfN(linux_vdso_reloc)(struct sysentvec *sv, long vdso_adjust)
{
struct linux_vdso_sym *lsym;
Elf_Ehdr *ehdr;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Dec 20, 10:47 PM (17 h, 11 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15536189
Default Alt Text
D1069.id5629.diff (1 KB)
Attached To
Mode
D1069: Add 64 bit support to the vdso.
Attached
Detach File
Event Timeline
Log In to Comment