tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kmodule: absolute symbols



Hi,


Index: sys/sys/kobj.h
===================================================================
RCS file: /cvsroot/src/sys/sys/kobj.h,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -p -r1.16 -r1.17
--- sys/sys/kobj.h      13 Aug 2011 21:04:07 -0000      1.16
+++ sys/sys/kobj.h      3 Nov 2017 09:59:07 -0000       1.17
@@ -44,7 +44,7 @@ int           kobj_stat(kobj_t, vaddr_t *, size_t
 int            kobj_find_section(kobj_t, const char *, void **, size_t *);

 /* MI-MD interface. */
-uintptr_t      kobj_sym_lookup(kobj_t, uintptr_t);
+int            kobj_sym_lookup(kobj_t, uintptr_t, uintptr_t *);
 int            kobj_reloc(kobj_t, uintptr_t, const void *, bool, bool);
 int            kobj_machdep(kobj_t, void *, size_t, bool);

This broke the arm builds

Why uintptr_t * and not Elf_Addr *?

Nick



Home | Main Index | Thread Index | Old Index