Author: aurel32
Date: 2007-02-10 13:42:47 +0100 (Sat, 10 Feb 2007)
New Revision: 1970
Added:
glibc-package/branches/glibc-2.5/debian/patches/m68k/cvs-m68k-update.diff
Modified:
glibc-package/branches/glibc-2.5/debian/changelog
glibc-package/branches/glibc-2.5/debian/patches/series
Log:
* m68k/cvs-m68k-update.diff: new patch (bits from CVS).
Modified: glibc-package/branches/glibc-2.5/debian/changelog
===
--- glibc-package/branches/glibc-2.5/debian/changelog 2007-02-10 10:20:43 UTC
(rev 1969)
+++ glibc-package/branches/glibc-2.5/debian/changelog 2007-02-10 12:42:47 UTC
(rev 1970)
@@ -112,6 +112,7 @@
(workaround the missing MSG_NOSIGNAL support).
* kfreebsd/local-amd64-dl-machine.diff: new patch from Petr Salinger (fix
ld.so segfault on GNU/kFreeBSD amd64).
+ * m68k/cvs-m68k-update.diff: new patch (bits from CVS).
[ Denis Barbier ]
* Remove localedata/locale-en_NZ.diff (merged upstream).
Added: glibc-package/branches/glibc-2.5/debian/patches/m68k/cvs-m68k-update.diff
===
--- glibc-package/branches/glibc-2.5/debian/patches/m68k/cvs-m68k-update.diff
2007-02-10 10:20:43 UTC (rev 1969)
+++ glibc-package/branches/glibc-2.5/debian/patches/m68k/cvs-m68k-update.diff
2007-02-10 12:42:47 UTC (rev 1970)
@@ -0,0 +1,433 @@
+diff -Nurd ports/ChangeLog.m68k ports/ChangeLog.m68k
+--- ports/ChangeLog.m68k 2006-02-28 11:12:50.0 +0100
ports/ChangeLog.m68k 2007-02-10 13:35:42.0 +0100
+@@ -1,3 +1,25 @@
++2006-10-03 Richard Sandiford [EMAIL PROTECTED]
++
++ * sysdeps/m68k/dl-trampoline.S (_dl_runtime_profile): Round up the
++ frame size to longword rather than word alignment. Add missing
++ initialization of lrv_a0 and restore a0 from it after calling
++ _dl_call_pltexit. Adjust the stack offsets of later data accordingly,
++ fixing a previously incorrect offset for the inregs parameter.
++ * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Add missing
++ libm_hidden_def.
++ * sysdeps/m68k/fpu/fesetround.c (fesetround): Add missing
++ libm_hidden_def.
++ * sysdeps/unix/sysv/linux/m68k/sysdep.h: Guard against multiple
++ inclusion.
++ * sysdeps/m68k/ldsodefs.h: New file.
++ * sysdeps/m68k/tst-audit.h: New file.
++ * sysdeps/m68k/wcpcpy.c: Likewise.
++ * sysdeps/m68k/wcpcpy_chk.c: Likewise.
++* sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (fpregset): Sync field
++ order with linux.
++ (ucontext): Sync field order with linux.
++ * sysdeps/unix/sysv/linux/m68k/bits/siginfo.h: New file.
++
+ 2006-02-28 Roland McGrath [EMAIL PROTECTED]
+
+ * sysdeps/m68k/preconfigure: New file.
+diff -Nurd ports/sysdeps/m68k/dl-trampoline.S
ports/sysdeps/m68k/dl-trampoline.S
+--- ports/sysdeps/m68k/dl-trampoline.S 2005-01-16 03:07:28.0 +0100
ports/sysdeps/m68k/dl-trampoline.S 2007-02-10 13:21:53.0 +0100
+@@ -79,14 +79,14 @@
+ move.l %sp, %a2
+ move.l %sp, %a0
+ lea 28(%sp), %a1
+- | Round framesize up to even
+- addq.l #1, %d1
+- lsr #1, %d1
+- sub.l %d1, %a0
++ | Round framesize up to longword alignment
++ addq.l #3, %d1
++ and.l #-3, %d1
+ sub.l %d1, %a0
+ move.l %a0, %sp
++ lsr.l #2,%d1
+ jra 2f
+-1:move.w (%a1)+, (%a0)+
++1:move.l (%a1)+, (%a0)+
+ 2:dbra %d1,1b
+ /*
+ %a2+24 return address
+@@ -113,16 +113,18 @@
+ %sp %a0
+ */
+ fmove.x %fp0, -(%sp)
++ move.l %a0, -(%sp)
+ move.l %d1, -(%sp)
+ move.l %d0, -(%sp)
+ pea (%sp)
+- pea 20(%sp)
+- move.l 40(%sp), -(%sp)
+- move.l 40(%sp), -(%sp)
++ pea 28(%sp)
++ move.l 44(%sp), -(%sp)
++ move.l 44(%sp), -(%sp)
+ jbsr _dl_call_pltexit
+ lea 16(%sp), %sp
+ move.l (%sp)+, %d0
+ move.l (%sp)+, %d1
++ move.l (%sp)+, %a0
+ fmove.x (%sp)+, %fp0
+ lea 20(%sp), %sp
+ rts
+diff -Nurd ports/sysdeps/m68k/fpu/feholdexcpt.c
ports/sysdeps/m68k/fpu/feholdexcpt.c
+--- ports/sysdeps/m68k/fpu/feholdexcpt.c 2001-07-06 06:55:55.0
+0200
ports/sysdeps/m68k/fpu/feholdexcpt.c 2007-02-10 13:15:01.0
+0100
+@@ -37,3 +37,4 @@
+
+ return 0;
+ }
++libm_hidden_def (feholdexcept);
+diff -Nurd ports/sysdeps/m68k/fpu/fesetround.c
ports/sysdeps/m68k/fpu/fesetround.c
+--- ports/sysdeps/m68k/fpu/fesetround.c2001-07-06 06:55:55.0
+0200
ports/sysdeps/m68k/fpu/fesetround.c2007-02-10 13:13:37.0
+0100
+@@ -36,3 +36,4 @@
+
+ return 0;
+ }
++libm_hidden_def (fesetround);
+diff -Nurd ports/sysdeps/m68k/ldsodefs.h ports/sysdeps/m68k/ldsodefs.h
+--- ports/sysdeps/m68k/ldsodefs.h 1970-01-01 01:00:00.0 +0100
ports/sysdeps/m68k/ldsodefs.h 2007-02-10 13:26:21.0 +0100
+@@ -0,0 +1,43 @@