mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-21 12:30:06 +00:00
hurd: Avoid PLT for dirfd
* include/dirent.h (dirfd): Add hidden proto. * dirent/dirfd.c (dirfd): Add hidden def. * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def. * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
This commit is contained in:
parent
e5f9508a32
commit
c120981d72
@ -3,6 +3,10 @@
|
||||
* include/setjmp.h (longjmp, siglongjmp): Add hidden protos.
|
||||
* setjmp/longjmp.c (longjmp, siglongjmp): Add hidden defs.
|
||||
* sysdeps/s390/longjmp.c (longjmp, siglongjmp): Add hidden defs.
|
||||
* include/dirent.h (dirfd): Add hidden proto.
|
||||
* dirent/dirfd.c (dirfd): Add hidden def.
|
||||
* sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
|
||||
* sysdeps/posix/dirfd.c (dirfd): Add hidden def.
|
||||
|
||||
2018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
|
||||
|
||||
|
@ -29,3 +29,4 @@ __dirfd (DIR *dirp)
|
||||
|
||||
weak_alias (__dirfd, dirfd)
|
||||
stub_warning (dirfd)
|
||||
libc_hidden_def (dirfd)
|
||||
|
@ -49,6 +49,7 @@ extern DIR *__alloc_dir (int fd, bool close_fd, int flags,
|
||||
extern __typeof (rewinddir) __rewinddir;
|
||||
extern __typeof (seekdir) __seekdir;
|
||||
extern __typeof (dirfd) __dirfd;
|
||||
libc_hidden_proto (dirfd);
|
||||
|
||||
extern void __scandir_cancel_handler (void *arg) attribute_hidden;
|
||||
extern int __scandir_tail (DIR *dp,
|
||||
|
@ -43,3 +43,4 @@ __dirfd (DIR *dirp)
|
||||
}
|
||||
|
||||
weak_alias (__dirfd, dirfd)
|
||||
libc_hidden_def (dirfd)
|
||||
|
@ -28,3 +28,4 @@ __dirfd (DIR *dirp)
|
||||
}
|
||||
|
||||
weak_alias (__dirfd, dirfd)
|
||||
libc_hidden_def (dirfd)
|
||||
|
Loading…
Reference in New Issue
Block a user