Commit Graph

824 Commits

Author SHA1 Message Date
Ulrich Drepper
cdbec47f90 Define always __qaddr_t.
__ino64_t should be 32bit unsigned type on sparc32.
Define __off64_t to __quad_t instead of __int64_t.
Make __pic_pid_t unsigned on sparc32.
1999-08-26 03:45:16 +00:00
Ulrich Drepper
26a1ee568c Add checks to make sure we're really dealing with a master pseudo terminal, and
really returning the name of the associated slave pseudo terminal by checking
the device number.
1999-08-25 17:57:57 +00:00
Ulrich Drepper
6e1cc1f501 Add new constants from Linux 2.3.15. 1999-08-24 20:56:40 +00:00
Ulrich Drepper
e069581c70 Add execve syscall. 1999-08-24 20:50:39 +00:00
Ulrich Drepper
b887ee2281 Define SIGCONTEXT_EXTRA_ARGS. 1999-08-23 17:51:34 +00:00
Ulrich Drepper
f91afe2d2d Add execve syscall. 1999-08-23 04:09:18 +00:00
Ulrich Drepper
d56532fe29 Define weak alias execve. 1999-08-21 04:52:27 +00:00
Ulrich Drepper
c7eecb53b2 Undo last change. 1999-08-20 23:45:31 +00:00
Ulrich Drepper
69bb9f499e Correct last patch. 1999-08-20 18:24:42 +00:00
Ulrich Drepper
7c9b5e4d47 Allocate buffer large enough not only if size == 0, but also for size < 0. 1999-08-20 18:07:55 +00:00
Ulrich Drepper
813e69352a Don't allow use with _FILE_OFFSET_BITS=64. 1999-08-20 15:50:15 +00:00
Ulrich Drepper
4d2d58a467 Copy over missing changes from mainline. 1999-08-20 15:45:28 +00:00
Ulrich Drepper
0c7bbb0c5a Linux specific execve implementation. 1999-08-20 00:15:11 +00:00
Ulrich Drepper
d36f40995a Add change from main branch. 1999-08-19 21:00:36 +00:00
Ulrich Drepper
ad48761644 Information about how to access signal context info fro Linux/Alpha. 1999-08-19 19:58:46 +00:00
Ulrich Drepper
a05f4b051e Define O_DSYNC and O_RSYNC. 1999-08-17 01:25:43 +00:00
Ulrich Drepper
0b9cfd5991 Update from main branch. 1999-08-15 20:28:48 +00:00
Ulrich Drepper
19fdfe298d Fix typo (MSG_TRUNC -> MSG_DONTWAIT). 1999-08-06 23:01:27 +00:00
Ulrich Drepper
cd55b09de4 (O_RSYNC, O_DSYNC): Define. 1999-08-05 17:40:36 +00:00
Ulrich Drepper
7e97461d46 Update from main line. 1999-08-04 16:04:20 +00:00
Ulrich Drepper
04d1ae8c4e Update from main line. 1999-08-01 22:23:36 +00:00
Ulrich Drepper
6b30a99829 Add ldd-rewrite.sed. 1999-07-19 01:47:30 +00:00
Ulrich Drepper
d71eb21438 Undo last patch. 1999-07-18 07:17:25 +00:00
Ulrich Drepper
cd1bc5a045 (_inb, _inw, _inl, _outb, _outw, _outl): Added to GLIBC_2.1.2. 1999-07-16 23:23:46 +00:00
Ulrich Drepper
a75a5b6ad6 Remove mmap64 alias for mmap. 1999-07-10 09:56:18 +00:00
Ulrich Drepper
bd09d69b2e Test whether mapped area is in range of mmap. If not fail. 1999-07-10 09:55:58 +00:00
Ulrich Drepper
84dfd1608c Check that /dev/pts is mounted.
(_PATH_DEVPTS, DEVPTS_SUPER_MAGIC): New definitions.
(_PATH_DEVPTMX): Use _PATH_DEV.
1999-07-08 11:50:04 +00:00
Ulrich Drepper
38deee8be7 Add support for some more motherboards. 1999-07-06 16:07:24 +00:00
Ulrich Drepper
54bba98f82 Rewrite fragment for ldd on Linux/SPARC. 1999-07-06 15:52:48 +00:00
Ulrich Drepper
713a6a7218 (__cmsg_nxthdr): "return 0" instead of "return NULL" to make C++ happy. 1999-07-06 15:45:16 +00:00
Ulrich Drepper
3353c7e2b4 Update from main branch. 1999-07-02 11:13:51 +00:00
Roland McGrath
3f584b92ef 1999-06-16 Roland McGrath <roland@baalperazim.frob.com>
* sysdeps/unix/sysv/linux/siglist.c: Moved to ...
	* sysdeps/gnu/siglist.c: ... here.
	Use <siglist.h> instead of "siglist.h", to ensure sysdeps-search.
	Use <bits/wordsize.h> instead of <sizes.h> to determine PTR_SIZE_STR.
	* sysdeps/gnu/siglist.h: New file, contents from linux version.
	Add entry for SIGLOST protected by #ifdef.
	* sysdeps/unix/sysv/linux/siglist.h: Just #include that file,
	and define OLD_SIGLIST_SIZE_STR.
	* sysdeps/mach/hurd/siglist.h: New file, likewise.
1999-06-19 12:15:13 +00:00
Ulrich Drepper
6dcbb40cc0 Add missing line disciplines. 1999-06-17 15:19:56 +00:00
Ulrich Drepper
f02f9c8182 (AX25_PIDINCL): Added. 1999-06-17 12:36:27 +00:00
Ulrich Drepper
e088133a39 Linux/SPARC sysmacros. 1999-06-17 12:36:06 +00:00
Ulrich Drepper
eff9780051 Linux/Alpha sysmacros. 1999-06-17 12:35:52 +00:00
Ulrich Drepper
d5a6cf276e [!__GNUC__]: Use correct word order. 1999-06-17 12:35:18 +00:00
Ulrich Drepper
ce742e78fe Don't fail always when oact is NULL. 1999-06-17 10:45:49 +00:00
Ulrich Drepper
862ff21bcd Add some missing MSG_* flags from Linux 2.2.9. 1999-06-13 09:27:04 +00:00
Ulrich Drepper
b77ab157d4 Update from main branch. 1999-06-13 09:23:55 +00:00
Ulrich Drepper
0e96cac494 Update from main branch. 1999-05-25 12:28:09 +00:00
Ulrich Drepper
1c25bcacbe Update.
1999-05-19  Jakub Jelinek   <jj@ultra.linux.cz>

	* sysdeps/generic/bits/elfclass.h: Version common to
	wordsize-32 and wordsize-64.
	* sysdeps/generic/bits/environments.h: Ditto.
	* sysdeps/generic/stdint.h: Ditto.
	* sysdeps/generic/inttypes.h: Ditto.

	* sysdeps/generic/bits/wordsize.h: New file.
	* stdlib/Makefile: Add bits/wordsize.h to headers.

	* sysdeps/sparc/sparc64/bits/wordsize.h: New file.

	* sysdeps/sparc/sparc64/fpu/bits/fenv.h: Allow the same exported
	headers to be used for 32bit and 64bit ABI compilations.
	* sysdeps/sparc/sparc64/fpu/fpu_control.h: Ditto.
	* sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Ditto.
	* sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Ditto.
	* sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Ditto.
	* sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: Ditto.

	* sysdeps/wordsize-64/bits/elfclass.h: Remove.
	* sysdeps/wordsize-64/bits/environments.h: Remove.
	* sysdeps/wordsize-64/stdint.h: Remove.
	* sysdeps/wordsize-64/inttypes.h: Remove.
	* sysdeps/wordsize-64/bits/wordsize.h: New file.

	* sysdeps/wordsize-32/bits/elfclass.h: Remove.
	* sysdeps/wordsize-32/bits/environments.h: Remove.
	* sysdeps/wordsize-32/stdint.h: Remove.
	* sysdeps/wordsize-32/inttypes.h: Remove.
	* sysdeps/wordsize-32/bits/wordsize.h: New file.

1999-05-19  Jakub Jelinek   <jj@ultra.linux.cz>

	* sysdeps/sparc/sparc64/memcpy.S (__align_cpy_4, __align_cpy_8,
	__align_cpy_16): New functions.
	(__align_cpy_2, __align_cpy_1): New aliases to memcpy.

	* sysdeps/sparc/sparc32/Versions: New file.
	* sysdeps/sparc/sparc64/Versions: New file.
	* sysdeps/sparc/Versions: Remove.

1999-05-19  Jakub Jelinek   <jj@ultra.linux.cz>

	* sysdeps/unix/sysv/linux/configure.in:
	On sparc64-*-linux*, set slibdir to /lib64 if prefix
	is /usr, plus set libdir to ${exec_prefix}/lib64.
	* sysdeps/unix/sysv/linux/configure: Regenerated.
	* config.make.in: Propagate libdir settings from configure
	to the Makefiles.
	* shlib-versions: sparc64-*-linux* dynamic linker is
	/lib64/ld-linux.so.2.
1999-05-19 15:35:26 +00:00
Roland McGrath
e196b7ddf5 1999-05-16 Roland McGrath <roland@baalperazim.frob.com>
* sysdeps/unix/sysv/linux/sys/socketvar.h: Moved to ... 
* sysdeps/generic/sys/socketvar.h: ... here. 
* sysdeps/unix/sysv/linux/netinet/in_systm.h: Moved to ... 
* sysdeps/generic/netinet/in_systm.h: ... here. 
* sysdeps/unix/sysv/linux/Dist: Remove netinet/in_systm.h, 
sys/socketvar.h. 
* sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Likewise. 
* inet/Makefile (headers): Add netinet/in_systm.h here. 
* socket/Makefile (headers): Add sys/socketvar.h here.
1999-05-16 08:52:16 +00:00
Ulrich Drepper
12b5b6b7f7 Update.
1999-05-11  Ulrich Drepper  <drepper@cygnus.com>

	* elf/Versions (ld.so) [GLIBC_2.1.1]: Add _dl_lazy.
	* elf/dl-open.c (_dl_open_worker): Only relocate newly loaded objects
	lazily if LD_BIND_NOW is not set.
	* elf/dl-support.c (_dl_lazy): New variable.
	(non_dynamic_init): Set _dl_lazy according to LD_BIND_NOW envvar.
	* elf/rtld.c (_dl_lazy): new global variable.
	( dl_main): Remove lazy, replace it by _dl_lazy.

1999-05-06  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

	* locale/setlocale.c (new_composite_name): Check also whether the
	first category name differs.

1999-05-11  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

	* sysdeps/unix/sysv/linux/ftime.c: Use the bsd implementation, not
	the generic one.

1999-05-11  Philip Blundell  <pb@nexus.co.uk>

	* sysdeps/generic/bits/socket.h (struct sockaddr_storage): New
	structure; storage suitable for any socket address.
	* sysdeps/unix/sysv/linux/bits/socket.h (struct sockaddr_storage):
	Likewise.
	* sysdeps/unix/sysv/linux/mips/bits/socket.h (struct
	sockaddr_storage): Likewise.

	* inet/netinet/in.h: Use ULONG_MAX not ~0 to test for a 64-bit
	platform.
1999-05-11 13:00:20 +00:00
Ulrich Drepper
42d666a5cb Update.
* sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Set f_frsize to
	f_bsize to help some broken programs.
1999-05-07 16:58:39 +00:00
Ulrich Drepper
607c351a14 Update.
1999-05-06  Ulrich Drepper  <drepper@cygnus.com>

	* nss/digits_dots.c: Correct return value interpretation of
	inet_ntoa.  Fix PR libc/1109.
1999-05-06 23:17:13 +00:00
Ulrich Drepper
dc5efe83c0 Update.
* Versions.def (ld.so): Add GLIBC_2.1.1.
	* elf/Makefile (routines): Add dl-origin.
	(tests): Add origtest.  Add dependencies for the program.
	* elf/Versions (ld.so) [GLIBC_2.1.1]: Add _dl_origin_path,
	_dl_platformlen, _dl_dst_count and _dl_dst_substitute.
	* elf/dl-deps.c (expand_dst): New macro.  Expand DSTs in filename.
	(_dl_map_object_deps): Use expand_dst to expand DSTs in DT_NEEDED,
	DT_AUXILIARY, and DT_FILTER filenames.
	* elf/dl-load.c (expand_dynamic_string_token): Explode into
	two functions and three macros.
	(_dl_dst_count, _dl_dst_substitute): New functions.
	* elf/dl-dst.h: New file.
	* elf/dl-open.c (_dl_open): Take extra parameter with address of
	caller.  Pass address in args structure.
	(dl_open_worker): Recognize and expand DSTs in filename.
	* elf/ldsodefs.h (_dl_open): Adapt prototype.
	* elf/dlopen.c (dlopen_doit): Pass caller address to _dl_open.
	(__dlopen_check): Pass caller address to dlopen_doit in args.
	* elf/dlopendoit.c: Likewise.
	* iconv/gconv_dl.c: Adapt call of _dl_open.
	* nss/nsswitch.c: Likewise.
	* elf/origtest.c: New file.
	* sysdeps/generic/dl-origin.h: Moved to...
	* sysdeps/generic/dl-origin.c: ...here.
	* sysdeps/unix/sysv/linux/dl-origin.h: Moved to...
	* sysdeps/unix/sysv/linux/dl-origin.c: ...here.
1999-05-05 23:29:18 +00:00
Ulrich Drepper
4e9a34c48f Update.
1999-05-03  Ulrich Drepper  <drepper@cygnus.com>

	* sysdeps/unix/sysv/linux/arm/Dist: Add sigrestorer.S.
1999-05-03 12:41:01 +00:00
Ulrich Drepper
e57931a826 Update.
1999-05-02  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

	* sunrpc/Makefile: Generate dependencies for all flavors of
	librpcsvc objects.
	(rpcgen-cmd): Pass -Y flag here and remove it from the macro
	invocations.

1999-05-02  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

	* elf/dlopenold.c: Move #if down after includes to get
	dependencies right.

1999-05-01  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

	* sysdeps/generic/bzero.c: Undefine __bzero.
1999-05-03 08:46:13 +00:00
Ulrich Drepper
2d8e6e74c1 Update.
* sysdeps/unix/sysv/linux/netax25/ax25.h: Update from kernel header.
	* sysdeps/unix/sysv/linux/netrom/netrom.h: Likewise.
	* sysdeps/unix/sysv/linux/netrose/rose.h: Likewise.
	Patch by Craig Small <csmall@scooter.eye-net.com.au>.
1999-05-02 21:09:34 +00:00