Date: Wed, 16 Aug 2006 22:03:55 GMT From: John Birrell <jb@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 104306 for review Message-ID: <200608162203.k7GM3tjm079621@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=104306 Change 104306 by jb@jb_freebsd2 on 2006/08/16 22:03:02 Add more shell functions so that the DTrace programs have stubs for all the functions that they require. This establishes the minimum libelf functionality that DTrace requires on FreeBSD at it's current state of development. Affected files ... .. //depot/projects/dtrace/src/lib/libelf/Makefile#9 edit .. //depot/projects/dtrace/src/lib/libelf/elf_flagelf.c#2 edit .. //depot/projects/dtrace/src/lib/libelf/gelf_getshdr.c#2 edit .. //depot/projects/dtrace/src/lib/libelf/gelf_rel.c#1 add .. //depot/projects/dtrace/src/lib/libelf/gelf_rela.c#1 add Differences ... ==== //depot/projects/dtrace/src/lib/libelf/Makefile#9 (text+ko) ==== @@ -35,6 +35,8 @@ gelf_getshdr.c \ gelf_getsym.c \ gelf_newphdr.c \ + gelf_rel.c \ + gelf_rela.c \ gelf_update_ehdr.c \ gelf_update_phdr.c \ gelf_update_shdr.c \ ==== //depot/projects/dtrace/src/lib/libelf/elf_flagelf.c#2 (text+ko) ==== @@ -38,3 +38,10 @@ printf("%s: not implemented\n", __FUNCTION__); return (0); } + +unsigned int +elf_flagdata(__unused Elf_Data *data, __unused Elf_Cmd cmd, __unused unsigned int flags) +{ + printf("%s: not implemented\n", __FUNCTION__); + return (0); +} ==== //depot/projects/dtrace/src/lib/libelf/gelf_getshdr.c#2 (text+ko) ==== @@ -53,3 +53,10 @@ printf("%s: not implemented\n", __FUNCTION__); return (0); } + +int +elf_getshstrndx(__unused Elf *elf, __unused size_t *dst) +{ + printf("%s: not implemented\n", __FUNCTION__); + return (0); +}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200608162203.k7GM3tjm079621>