update from main archive 961127

This commit is contained in:
Ulrich Drepper 1996-11-28 04:16:09 +00:00
parent eaff3663c5
commit b120ade020
4 changed files with 22 additions and 13 deletions

View File

@ -0,0 +1,4 @@
ifeq ($(subdir), csu)
extra-objs += crtbegin.o crtend.o
install-lib += crtbegin.o crtend.o
endif

View File

@ -54,6 +54,19 @@ extern unsigned long bus_base_sparse __P ((void)) __attribute__ ((const));
extern int _hae_shift __P ((void)) __attribute__ ((const)); extern int _hae_shift __P ((void)) __attribute__ ((const));
extern int hae_shift __P ((void)) __attribute__ ((const)); extern int hae_shift __P ((void)) __attribute__ ((const));
/* Access PCI space protected from machine checks. */
extern int pciconfig_read __P ((unsigned long int __bus,
unsigned long int __dfn,
unsigned long int __off,
unsigned long int __len,
unsigned char *__buf));
extern int pciconfig_write __P ((unsigned long int __bus,
unsigned long int __dfn,
unsigned long int __off,
unsigned long int __len,
unsigned char *__buf));
__END_DECLS __END_DECLS
#endif /* _SYS_IO_H */ #endif /* _SYS_IO_H */

View File

@ -21,6 +21,7 @@ getdents - getdents 3 __getdirentries getdirentries
getpeername - getpeername 3 __getpeername getpeername getpeername - getpeername 3 __getpeername getpeername
getpriority - getpriority 2 __getpriority getpriority getpriority - getpriority 2 __getpriority getpriority
mmap - mmap 6 __mmap mmap mmap - mmap 6 __mmap mmap
llseek EXTRA lseek 3 llseek
# these are actually common with the x86: # these are actually common with the x86:
fstatfs - fstatfs 2 __fstatfs fstatfs fstatfs - fstatfs 2 __fstatfs fstatfs
@ -46,3 +47,7 @@ setsockopt - setsockopt 5 __setsockopt setsockopt
shutdown - shutdown 2 __shutdown shutdown shutdown - shutdown 2 __shutdown shutdown
socketpair - socketpair 4 __socketpair socketpair socketpair - socketpair 4 __socketpair socketpair
sysctl - _sysctl 6 sysctl sysctl - _sysctl 6 sysctl
# access pci space protected from machine checks:
pciconfig_read EXTRA pciconfig_read 5 pciconfig_read
pciconfig_write EXTRA pciconfig_write 5 pciconfig_write

View File

@ -61,16 +61,3 @@ __syscall_error:
rts rts
END (__syscall_error) END (__syscall_error)
#endif /* PIC */ #endif /* PIC */
.weak __errno_location
.type __errno_location,@function
.align 4
__errno_location:
CALL_MCOUNT
#ifdef PIC
move.l (%pc, errno@GOTPC), %a0
#else
lea errno, %a0
#endif
rts
END (__errno_location)