aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/sh/elf/initfini.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-10-26 02:34:17 +0000
committerUlrich Drepper <drepper@redhat.com>2000-10-26 02:34:17 +0000
commit876f9634403d1ab7ff1860c285bfe098d81b7d04 (patch)
tree2f91b466dd8ecbdb39ef957694f0c9903ad13b8d /sysdeps/sh/elf/initfini.c
parent85471284c726eec22a38f2652cde279678381ab9 (diff)
downloadglibc-876f9634403d1ab7ff1860c285bfe098d81b7d04.tar
glibc-876f9634403d1ab7ff1860c285bfe098d81b7d04.tar.gz
glibc-876f9634403d1ab7ff1860c285bfe098d81b7d04.tar.bz2
glibc-876f9634403d1ab7ff1860c285bfe098d81b7d04.zip
Update.
2000-10-26 Kazumoto Kojima <kkojima@rr.iij4u.or.jp> Yutaka Niibe <gniibe@chroot.org> * sysdeps/sh/dl-machine.h (elf_machine_rela): Handle in place relocation which is generated by new ld. * sysdeps/sh/elf/initfini.c (_init): Preseted __fpscr_values. (_fini): Delete an obsolete register prefix. * sysdeps/unix/sysv/linux/sh/Versions: Add __xstat64, __fxstat64, __lxstat64, alphasort64, glob64, readdir64, readdir64_r, scandir64 and versionsort64 as the 2.2-versioned symbols. * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: New file. * sysdeps/unix/sysv/linux/sh/brk.c: Changes for the new system call calling convention of the kernel. * sysdeps/unix/sysv/linux/sh/pipe.S: Likewise. * sysdeps/unix/sysv/linux/sh/socket.S: Likewise. * sysdeps/unix/sysv/linux/sh/clone.S: Likewise. * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise. * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise. * sysdeps/unix/sysv/linux/sh/fcntl.c: New file. * sysdeps/unix/sysv/linux/sh/lockf64.c: New file. * sysdeps/unix/sysv/linux/sh/sys/user.h: Include the kernel header file and delete the definitions of struct user and user_fp. * sysdeps/unix/sysv/linux/sh/syscall.S: New file. * sysdeps/unix/sysv/linux/sh/syscalls.list: Remove entries for s_ioctl, s_ipc, s_llseek, s_chown, s_fchown, s_lchown, s_execve, rt_sigaction, rt_sigpending, rt_sigprocmask, rt_sigqueueinfo, rt_sigsuspend, rt_sigtimedwait, s_getcwd, s_getdents, s_getgroups, s_getpriority, s_getegid, s_geteuid, s_getuid, getresgid, getresuid, s_getrlimit, s_poll, s_pread64, s_ptrace, s_pwrite64, s_reboot, s_setrlimit, s_sigaction, s_sigpending, s_sigprocmask, s_sigsuspend, s_setfsgid, s_setfsuid, s_setgid, s_setgroups, s_setregid, s_setresgid, s_setresuid, s_setreuid, s_setuid, s_sysctl, s_ugetrlimit, s_ustat, sys_fstat, sys_lstat, sys_mknod, sys_readv, sys_stat, sys_writev and syscall.
Diffstat (limited to 'sysdeps/sh/elf/initfini.c')
-rw-r--r--sysdeps/sh/elf/initfini.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/sysdeps/sh/elf/initfini.c b/sysdeps/sh/elf/initfini.c
index 0660c2cd8c..e1ec92176e 100644
--- a/sysdeps/sh/elf/initfini.c
+++ b/sysdeps/sh/elf/initfini.c
@@ -80,6 +80,12 @@ _init:
.L23:
.long __gmon_start__
#endif
+ .data
+ .global __fpscr_values
+__fpscr_values:
+ .long 0
+ .long 0x80000
+ .previous
1:
ALIGN
END_INIT
@@ -114,7 +120,7 @@ __gmon_start__:
.global _fini
.type _fini,@function
_fini:
- mov.l r12,@-$r15
+ mov.l r12,@-r15
mov.l r14,@-r15
sts.l pr,@-r15
#ifdef SHARED