summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/sh/crtn.S
diff options
context:
space:
mode:
authorDavid McCullough <davidm@snapgear.com>2002-08-09 12:58:02 +0000
committerDavid McCullough <davidm@snapgear.com>2002-08-09 12:58:02 +0000
commit54e4a312a7ac8609604d922950d29f618d1cb04c (patch)
tree623097d3a64b440b1404d98480ef91b6467bee41 /libc/sysdeps/linux/sh/crtn.S
parentdad8611e7a0345c2cfa472489b36d5be79bcc6d2 (diff)
pread and pwrite were broken in several ways:
* pwrite was using the write system call. * SYSCALL_INLINE was only defined for pread and reused by pwrite meaning pwrite did a pread :-). * The kernel pread/pwrite interfaces always take a 64bit value. So the libc versions must do the LONG_LONG_PAIR stuff otherwise the pread/pwrite calls will not work. These guys are working now for SH at least (and I can format my DiskOnChip again ;-)
Diffstat (limited to 'libc/sysdeps/linux/sh/crtn.S')
0 files changed, 0 insertions, 0 deletions