Checking patch elf/Makefile... error: while searching for: dl-find_object \ dl-fini \ dl-init \ dl-load \ dl-lookup \ dl-lookup-direct \ error: patch failed: elf/Makefile:63 error: elf/Makefile: patch does not apply Checking patch elf/dl-cache.c... Checking patch elf/dl-close.c... error: while searching for: _dl_debug_printf ("\nfile=%s [%lu]; destroying link map\n", imap->l_public.l_name, imap->l_ns); /* This name always is allocated. */ free (imap->l_public.l_name); /* Remove the list with all the names of the shared object. */ struct libname_list *lnp = imap->l_libname; do { struct libname_list *this = lnp; lnp = lnp->next; if (!this->dont_free) free (this); } while (lnp != NULL); /* Remove the searchlists. */ free (imap->l_initfini); error: patch failed: elf/dl-close.c:686 error: elf/dl-close.c: patch does not apply Checking patch elf/dl-libc_freeres.c... error: while searching for: { for (l = GL(dl_ns)[ns]._ns_loaded; l != NULL; l = l_next (l)) { struct libname_list *lnp = l->l_libname->next; l->l_libname->next = NULL; /* Remove all additional names added to the objects. */ while (lnp != NULL) { struct libname_list *old = lnp; lnp = lnp->next; if (! old->dont_free) free (old); } /* Free the initfini dependency list. */ if (l->l_free_initfini) free (l->l_initfini); error: patch failed: elf/dl-libc_freeres.c:70 error: elf/dl-libc_freeres.c: patch does not apply Checking patch elf/dl-libname.c... Checking patch elf/dl-libname.h... Checking patch elf/dl-load.c... error: while searching for: #include #include #include /* Type for the buffer we put the ELF header and hopefully the program header. This buffer does not really have to be too large. In most error: patch failed: elf/dl-load.c:34 error: elf/dl-load.c: patch does not apply Checking patch elf/dl-misc.c... error: while searching for: return result; } /* Test whether given NAME matches any of the names of the given object. */ int _dl_name_match_p (const char *name, const struct link_map_private *map) { if (strcmp (name, map->l_public.l_name) == 0) return 1; struct libname_list *runp = map->l_libname; while (runp != NULL) if (strcmp (name, runp->name) == 0) return 1; else runp = runp->next; return 0; } unsigned long int _dl_higher_prime_number (unsigned long int n) { error: patch failed: elf/dl-misc.c:62 error: elf/dl-misc.c: patch does not apply Checking patch elf/dl-object.c... error: while searching for: #include #include #include #include error: patch failed: elf/dl-object.c:22 error: elf/dl-object.c: patch does not apply Checking patch elf/dl-open.c... error: while searching for: #include #include #include #include error: patch failed: elf/dl-open.c:38 error: elf/dl-open.c: patch does not apply Checking patch elf/dl-support.c... error: while searching for: /* Nonzero if runtime lookup should not update the .got/.plt. */ int _dl_bind_not; /* A dummy link map for the executable, used by dlopen to access the global scope. We don't export any symbols ourselves, so this can be minimal. */ static struct link_map_private _dl_main_map = error: patch failed: elf/dl-support.c:76 error: elf/dl-support.c: patch does not apply Checking patch elf/dl-version.c... error: while searching for: __attribute ((always_inline)) find_needed (const char *name, struct link_map_private *map) { struct link_map_private *tmap; for (tmap = GL(dl_ns)[map->l_ns]._ns_loaded; tmap != NULL; tmap = l_next (tmap)) if (_dl_name_match_p (name, tmap)) return tmap; struct dl_exception exception; _dl_exception_create_format error: patch failed: elf/dl-version.c:30 error: elf/dl-version.c: patch does not apply Checking patch elf/pldd-xx.c... Checking patch elf/pldd.c... Checking patch elf/rtld.c... Hunk #2 succeeded at 387 (offset 1 line). error: while searching for: dlopen call or DT_NEEDED entry, for something that wants to link against the dynamic linker as a shared library, will know that the shared object is already loaded. */ _dl_rtld_libname.name = ((const char *) main_map->l_public.l_addr + ph->p_vaddr); /* _dl_rtld_libname.next = NULL; Already zero. */ GLPM(dl_rtld_map).l_libname = &_dl_rtld_libname; has_interp = true; break; error: patch failed: elf/rtld.c:1178 error: elf/rtld.c: patch does not apply Checking patch elf/setup-vdso.h... error: while searching for: better be, since it's read-only and so we couldn't relocate it). We just want our data structures to describe it as if we had just mapped and relocated it normally. */ struct link_map_private *l = _dl_new_object ((char *) "", "", lt_library, NULL, __RTLD_VDSO, LM_ID_BASE); if (__glibc_likely (l != NULL)) { l->l_phdr = ((const void *) GLRO(dl_sysinfo_dso) + GLRO(dl_sysinfo_dso)->e_phoff); error: patch failed: elf/setup-vdso.h:29 error: elf/setup-vdso.h: patch does not apply Checking patch elf/sotruss-lib.c... error: while searching for: int result = 0; const char *print_name = NULL; for (struct libname_list *l = l_private (map)->l_libname; l != NULL; l = l->next) { if (print_name == NULL || (print_name[0] == '/' && l->name[0] != '/')) print_name = l->name; error: patch failed: elf/sotruss-lib.c:173 error: elf/sotruss-lib.c: patch does not apply Checking patch include/link.h... Hunk #1 succeeded at 54 (offset 8 lines). Hunk #2 succeeded at 114 (offset -59 lines). Hunk #3 succeeded at 189 (offset -55 lines). Checking patch sysdeps/generic/ldsodefs.h... Hunk #1 succeeded at 216 (offset -13 lines). error: while searching for: _dlfo_loaded_mappings_version in dl-find_object.c. */ EXTERN struct dlfo_mappings_segment *_dlfo_loaded_mappings[2]; #ifdef SHARED }; #endif /* SHARED */ error: patch failed: sysdeps/generic/ldsodefs.h:540 error: sysdeps/generic/ldsodefs.h: patch does not apply