PERFORCE change 95302 for review
John Birrell
jb at FreeBSD.org
Sat Apr 15 02:40:59 UTC 2006
http://perforce.freebsd.org/chv.cgi?CH=95302
Change 95302 by jb at jb_freebsd2 on 2006/04/15 02:40:48
More weak references.
Affected files ...
.. //depot/projects/dtrace/src/contrib/opensolaris/cmd/sgs/libelf/common/newehdr.c#2 edit
.. //depot/projects/dtrace/src/contrib/opensolaris/cmd/sgs/libelf/common/update.c#3 edit
Differences ...
==== //depot/projects/dtrace/src/contrib/opensolaris/cmd/sgs/libelf/common/newehdr.c#2 (text) ====
@@ -30,9 +30,14 @@
#pragma ident "@(#)newehdr.c 1.17 05/06/08 SMI"
+#if defined(sun)
#if !defined(_ELF64)
#pragma weak elf32_newehdr = _elf32_newehdr
#endif
+#else
+#include <sys/cdefs.h>
+__weak_reference(_elf32_newehdr,elf32_newehdr);
+#endif
#include "syn.h"
#include <stdlib.h>
==== //depot/projects/dtrace/src/contrib/opensolaris/cmd/sgs/libelf/common/update.c#3 (text) ====
@@ -30,9 +30,14 @@
#pragma ident "@(#)update.c 1.26 06/03/24 SMI"
+#if defined(sun)
#if !defined(_ELF64)
#pragma weak elf_update = _elf_update
#endif
+#else
+#include <sys/cdefs.h>
+__weak_reference(_elf_update,elf_update);
+#endif
#include "syn.h"
#include <memory.h>
More information about the p4-projects
mailing list