This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.
Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
With a static build, I got a segmentation fault since _dl_hwcap was referenced. The appended patch fixes this, Andreas 2000-11-14 Andreas Jaeger <aj@suse.de> * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Fix access to _dl_hwcap. ============================================================ Index: sysdeps/generic/dl-cache.c --- sysdeps/generic/dl-cache.c 2000/11/07 00:15:04 1.26 +++ sysdeps/generic/dl-cache.c 2000/11/14 14:54:33 @@ -220,7 +220,7 @@ hwcap = &_dl_hwcap; #define HWCAP_CHECK \ - if (hwcap && (cache_new->libs[middle].hwcap & *hwcap) > _dl_hwcap) \ + if (hwcap && (cache_new->libs[middle].hwcap & *hwcap) > *hwcap) \ continue SEARCH_CACHE (cache_new); } -- Andreas Jaeger SuSE Labs aj@suse.de private aj@arthur.inka.de http://www.suse.de/~aj
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |