1996-03-14 19:20:02 +08:00
|
|
|
# Linux/m68k uses Motorola asm syntax and the ELF format.
|
|
|
|
|
|
|
|
m68k-syntax-flag = -DMOTOROLA_SYNTAX
|
1996-12-18 11:23:36 +08:00
|
|
|
|
|
|
|
ifeq ($(subdir),misc)
|
2002-10-13 Roland McGrath <roland@frob.com>
* posix/unistd.h [__USE_GNU] (getresuid, getresgid, setresuid,
setresgid): Declare them.
* NEWS: Mention it.
* include/unistd.h
(__getresuid, __getresgid, __setresuid, __setresgid): Declare them,
add libc_hidden_proto.
* posix/Versions (libc: GLIBC_2.3.2): New set. Add
getresuid, getresgid, setresuid, setresgid here.
* Versions.def (libc): Define GLIBC_2.3.2 set.
* sysdeps/generic/getresuid.c (__getresuid): Fix argument types.
Add libc_hidden_def.
* sysdeps/generic/getresgid.c (__getresgid): Likewise.
* sysdeps/generic/setresgid.c: New file.
* sysdeps/generic/setresuid.c: New file.
* sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
(sysdep_routines): Don't add getresuid and getresgid here.
* sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = misc]
(sysdep_routines): Don't add setresuid and setresgid here.
* sysdeps/unix/sysv/linux/cris/Makefile: Likewise.
* sysdeps/unix/sysv/linux/sh/Makefile: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Likewise.
* sysdeps/unix/sysv/linux/i386/Makefile: Likewise.
* sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
* posix/Makefile (routines): Add them all here instead.
* sysdeps/unix/sysv/linux/i386/getresuid.c (getresuid): Renamed to
__getresuid. Add libc_hidden_def for that, and weak alias to old name.
* sysdeps/unix/sysv/linux/i386/getresgid.c (getresgid): Renamed to
__getresgid. Add libc_hidden_def for that, and weak alias to old name.
* sysdeps/unix/sysv/linux/i386/setresuid.c: Add libc_hidden_def.
[! __NR_setresuid]: Include generic file.
* sysdeps/unix/sysv/linux/i386/setresgid.c (setresgid): Renamed to
__setresgid. Add libc_hidden_def for that, and weak alias to old name.
[! __NR_setresuid]: Include generic file.
* sysdeps/unix/sysv/linux/syscalls.list (setresuid, setresgid):
Caller is - now, not EXTRA.
* sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list
(setresuid, setresgid, getresuid, getresgid): Likewise.
* sysdeps/unix/sysv/linux/syscalls.list (getresuid, getresgid):
Add these calls here.
* sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove them here.
* sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
(sysdep_routines): Add setfsuid and setfsgid here.
* sysdeps/unix/sysv/linux/arm/Makefile: Not here.
* sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Likewise.
* sysdeps/unix/sysv/linux/cris/Makefile: Likewise.
* sysdeps/unix/sysv/linux/sh/Makefile: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Likewise.
* sysdeps/unix/sysv/linux/i386/Makefile: Likewise.
* sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
2002-10-14 09:02:53 +08:00
|
|
|
sysdep_routines += mremap
|
1998-08-24 09:42:29 +08:00
|
|
|
sysdep_headers += sys/reg.h
|
1996-12-18 11:23:36 +08:00
|
|
|
endif
|
1998-04-01 08:53:13 +08:00
|
|
|
|
|
|
|
ifeq ($(subdir),elf)
|
1998-05-08 23:02:44 +08:00
|
|
|
sysdep-others += lddlibc4
|
1998-04-01 08:53:13 +08:00
|
|
|
install-bin += lddlibc4
|
|
|
|
endif
|
2000-10-13 Michael Fedrowitz <michael@fedrowitz.de>
* sysdeps/unix/sysv/linux/m68k/alphasort64.c: New file.
* sysdeps/unix/sysv/linux/m68k/fcntl.c: New file.
* sysdeps/unix/sysv/linux/m68k/getdents64.c: New file.
* sysdeps/unix/sysv/linux/m68k/getrlimit.c: New file.
* sysdeps/unix/sysv/linux/m68k/getrlimit64.c: New file.
* sysdeps/unix/sysv/linux/m68k/glob64.c: New file.
* sysdeps/unix/sysv/linux/m68k/lockf64.c: New file.
* sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: New file.
* sysdeps/unix/sysv/linux/m68k/readdir64.c: New file.
* sysdeps/unix/sysv/linux/m68k/readdir64_r.c: New file.
* sysdeps/unix/sysv/linux/m68k/scandir64.c: New file.
* sysdeps/unix/sysv/linux/m68k/setrlimit.c: New file.
* sysdeps/unix/sysv/linux/m68k/versionsort64.c: New file.
* sysdeps/unix/sysv/linux/m68k/Dist: Add oldgetrlimit64.c.
* sysdeps/unix/sysv/linux/m68k/Makefile: Add oldgetrlimit64.
* sysdeps/unix/sysv/linux/m68k/Versions: Export __xstat64,
__fxstat64, __lxstat64, alphasort64, glob64, getrlimit, setrlimit,
getrlimit64, readdir64, readdir64_r, scandir64, versionsort64 at
GLIBC_2.2.
* sysdeps/unix/sysv/linux/m68k/syscalls.list: Add oldgetrlimit,
oldsetrlimit for GLIBC_2.0.
2000-10-15 01:50:13 +08:00
|
|
|
|
|
|
|
ifeq ($(subdir),resource)
|
|
|
|
sysdep_routines += oldgetrlimit64
|
|
|
|
endif
|