public inbox for libc-hacker@sourceware.org
 help / color / mirror / Atom feed
* __libc_pread etc for alpha
@ 1999-12-22 13:04 Andreas Jaeger
  1999-12-23  0:23 ` Jakub Jelinek
  0 siblings, 1 reply; 2+ messages in thread
From: Andreas Jaeger @ 1999-12-22 13:04 UTC (permalink / raw)
  To: GNU libc hacker

It seems that the __libc_pread etc functions are not declared on
alpha.  Appended is an untested patch.

Andreas

1999-12-22  Andreas Jaeger  <aj@suse.de>

	* sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __libc_lseek64,
	__libc_pread, __libc_pread64, __libc_pwrite and __libc_pwrite64.

============================================================
Index: sysdeps/unix/sysv/linux/alpha/syscalls.list
--- sysdeps/unix/sysv/linux/alpha/syscalls.list	1999/12/02 08:18:33	1.34
+++ sysdeps/unix/sysv/linux/alpha/syscalls.list	1999/12/22 21:01:20
@@ -22,9 +22,9 @@
 getpeername	-	getpeername	3	__getpeername	getpeername
 getpriority	-	getpriority	2	__getpriority	getpriority
 mmap		-	mmap		6	__mmap		mmap __mmap64 mmap64
-llseek		EXTRA	lseek		3	__llseek	llseek __lseek64 lseek64
-pread		-	pread		4	__pread		pread __pread64 pread64
-pwrite		-	pwrite		4	__pwrite	pwrite __pwrite64 pwrite64
+llseek		EXTRA	lseek		3	__libc_lseek64	__llseek llseek __lseek64 lseek64
+pread		-	pread		4	__libc_pread	__libc_pread64 __pread pread __pread64 pread64
+pwrite		-	pwrite		4	__libc_pwrite	__libc_pwrite64__pwrite pwrite __pwrite64 pwrite64
 fstatfs		-	fstatfs		2	__fstatfs	fstatfs fstatfs64
 statfs		-	statfs		2	__statfs	statfs statfs64
 getrlimit	-	getrlimit	2	__getrlimit	getrlimit getrlimit64

-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.rhein-neckar.de

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: __libc_pread etc for alpha
  1999-12-22 13:04 __libc_pread etc for alpha Andreas Jaeger
@ 1999-12-23  0:23 ` Jakub Jelinek
  0 siblings, 0 replies; 2+ messages in thread
From: Jakub Jelinek @ 1999-12-23  0:23 UTC (permalink / raw)
  To: Andreas Jaeger; +Cc: GNU libc hacker

On Wed, Dec 22, 1999 at 10:01:39PM +0100, Andreas Jaeger wrote:
> 
> It seems that the __libc_pread etc functions are not declared on
> alpha.  Appended is an untested patch.
			 ^^^^^^^^
Seems like that :)

> +llseek		EXTRA	lseek		3	__libc_lseek64	__llseek llseek __lseek64 lseek64
> +pread		-	pread		4	__libc_pread	__libc_pread64 __pread pread __pread64 pread64
> +pwrite		-	pwrite		4	__libc_pwrite	__libc_pwrite64__pwrite pwrite __pwrite64 pwrite64
										       ^
										missing space

BTW: sparc64-linux needs something similar, I'll post it once I finish
libc compilation together with some other changes.

Cheers,
    Jakub
___________________________________________________________________
Jakub Jelinek | jakub@redhat.com | http://sunsite.mff.cuni.cz/~jj
Linux version 2.3.34 on a sparc64 machine (1343.49 BogoMips)
___________________________________________________________________

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1999-12-23  0:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-12-22 13:04 __libc_pread etc for alpha Andreas Jaeger
1999-12-23  0:23 ` Jakub Jelinek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).