Date: Sat, 15 Apr 2006 02:40:58 GMT From: John Birrell <jb@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 95302 for review Message-ID: <200604150240.k3F2ewcQ020583@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=95302 Change 95302 by jb@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>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200604150240.k3F2ewcQ020583>