surpport seeking the recorded video
[vuplus_openembedded] / recipes / glibc / glibc-2.3.2 / dyn-ldconfig.diff
1 --- elf/Makefile        13 Mar 2003 21:50:57 -0000      1.258
2 +++ elf/Makefile        27 Mar 2003 20:36:07 -0000
3 @@ -109,12 +109,13 @@
4  
5  ifeq (yes,$(use-ldconfig))
6  ifeq (yes,$(build-shared))
7 -others-static  += ldconfig
8 +#others-static += ldconfig
9  others         += ldconfig
10  install-rootsbin += ldconfig
11  
12  ldconfig-modules := cache readlib xmalloc xstrdup chroot_canon
13  extra-objs     += $(ldconfig-modules:=.o)
14 +CPPFLAGS-readlib.c = -DNOT_IN_libc=1
15  
16  # To find xmalloc.c and xstrdup.c
17  vpath %.c ../locale/programs
18 --- elf/ldconfig.c      13 Jan 2003 08:53:14 -0000      1.31
19 +++ elf/ldconfig.c      27 Mar 2003 20:36:09 -0000
20 @@ -149,6 +149,9 @@
21  static int
22  is_hwcap_platform (const char *name)
23  {
24 +#if 1
25 +  return 0;
26 +#else
27    int hwcap_idx = _dl_string_hwcap (name);
28  
29    if (hwcap_idx != -1 && ((1 << hwcap_idx) & hwcap_mask))
30 @@ -164,6 +167,7 @@
31  #endif
32  
33    return 0;
34 +#endif
35  }
36  
37  /* Get hwcap (including platform) encoding of path.  */
38 @@ -175,6 +179,7 @@
39    uint64_t hwcap = 0;
40    uint64_t h;
41  
42 +#if 0
43    size_t len;
44  
45    len = strlen (str);
46 @@ -210,6 +215,7 @@
47        *ptr = '\0';
48      }
49  
50 +#endif
51    free (str);
52    return hwcap;
53  }
54 --- elf/Versions.old   Fri Oct  1 06:32:06 2004
55 +++ elf/Versions       Fri Oct  1 06:44:13 2004
56 @@ -54,5 +54,6 @@
57      _rtld_global; _dl_tls_symaddr; _dl_allocate_tls; _dl_deallocate_tls;
58      _dl_get_tls_static_info; _dl_allocate_tls_init;
59      _dl_get_origin; _dl_tls_setup; _dl_rtld_di_serinfo;
60 +    _dl_cache_libcmp;
61    }
62  }