Page MenuHomeFreeBSD

D23176.diff
No OneTemporary

D23176.diff

Index: head/libexec/rtld-elf/rtld-libc/Makefile.inc
===================================================================
--- head/libexec/rtld-elf/rtld-libc/Makefile.inc
+++ head/libexec/rtld-elf/rtld-libc/Makefile.inc
@@ -40,9 +40,9 @@
# Use the string and memory .o files from libc instead of rebuilding them (they
# might be using optimized assembly and duplicating that logic here is awkward).
-_libc_string_objects= bcmp bcopy memchr memcmp memcpy memmove stpncpy strcat \
- strchr strcmp stpcpy strcpy strcspn strdup strlcat strlcpy strlen strncmp \
- strncpy strrchr strsep strspn strstr strtok
+_libc_string_objects= bcmp bcopy bzero memset memchr memcmp memcpy memmove \
+ stpncpy strcat strchr strcmp stpcpy strcpy strcspn strdup strlcat strlcpy \
+ strlen strncmp strncpy strrchr strsep strspn strstr strtok
# Also use all the syscall .o files from libc_nossp_pic:
_libc_other_objects= sigsetjmp lstat stat fstat fstatat fstatfs syscall \
cerror geteuid getegid munmap mprotect sysarch __sysctl issetugid __getcwd \
Index: head/libexec/rtld-elf/rtld.c
===================================================================
--- head/libexec/rtld-elf/rtld.c
+++ head/libexec/rtld-elf/rtld.c
@@ -5729,28 +5729,6 @@
return (sys_errlist[errnum]);
}
-/*
- * No ifunc relocations.
- */
-void *
-memset(void *dest, int c, size_t len)
-{
- size_t i;
-
- for (i = 0; i < len; i++)
- ((char *)dest)[i] = c;
- return (dest);
-}
-
-void
-bzero(void *dest, size_t len)
-{
- size_t i;
-
- for (i = 0; i < len; i++)
- ((char *)dest)[i] = 0;
-}
-
/* malloc */
void *
malloc(size_t nbytes)

File Metadata

Mime Type
text/plain
Expires
Sat, May 30, 7:47 AM (5 h, 50 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
33630812
Default Alt Text
D23176.diff (1 KB)

Event Timeline