diff options
author | ab196087 <none@none> | 2007-05-22 11:10:09 -0700 |
---|---|---|
committer | ab196087 <none@none> | 2007-05-22 11:10:09 -0700 |
commit | dfb96a4f56fb431b915bc67e5d9d5c8d4f4f6679 (patch) | |
tree | a0fde61c9974b5921c04a9ccbaec72dd9abdc8ad /usr/src/lib/libc/port/gen/seekdir.c | |
parent | 4edabff493bc4820f4297f981943f11de1cbf3be (diff) | |
download | illumos-gate-dfb96a4f56fb431b915bc67e5d9d5c8d4f4f6679.tar.gz |
6518331 Eliminate duplicate addresses from ON ELF symbol sort sections
Diffstat (limited to 'usr/src/lib/libc/port/gen/seekdir.c')
-rw-r--r-- | usr/src/lib/libc/port/gen/seekdir.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/usr/src/lib/libc/port/gen/seekdir.c b/usr/src/lib/libc/port/gen/seekdir.c index 29d1c0f491..1920d6ec7a 100644 --- a/usr/src/lib/libc/port/gen/seekdir.c +++ b/usr/src/lib/libc/port/gen/seekdir.c @@ -77,7 +77,12 @@ seekdir(DIR *dirp, long loc) #else /* _LP64 */ -static void +/* + * Note: Instead of making this function static, we reduce it to local + * scope in the mapfile. That allows the linker to prevent it from + * appearing in the .SUNW_dynsymsort section. + */ +void seekdir64(DIR *dirp, off64_t loc) { private_DIR *pdirp = (private_DIR *)(uintptr_t)dirp; |