CVS: src/si/patches glibc-2.2.5.s390.patch,NONE,1.1
Mats Wichmann <[email protected]> Thu, 01 May 2003 14:11:52 -0700
| Newsgroups | gmane.linux.lsb.implementation |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/lsb/src/si/patches
In directory sc8-pr-cvs1:/tmp/cvs-serv22226
Added Files:
glibc-2.2.5.s390.patch
Log Message:
First cut at an s390 patch
--- NEW FILE ---
This patch is a rollup of the IBM patches to glibc-2.2.5:
glibc-2.2.5-s390-1-may2002.diff
glibc-2.2.5-s390-2-may2002.diff
glibc-2.2.5-s390-3-may2002.diff
glibc-2.2.5-s390-may2002.diff
applied to an already patched LSB-si glibc tree
diff -Naurw glibc-2.2.5/elf/Makefile glibc-2.2.5.s390/elf/Makefile
--- glibc-2.2.5/elf/Makefile 2002-01-08 14:38:17.000000000 -0700
+++ glibc-2.2.5.s390/elf/Makefile 2003-04-30 09:39:57.000000000 -0600
@@ -395,7 +395,7 @@
$(objpfx)nodlopen.out: $(objpfx)nodlopenmod.so
$(objpfx)filtmod1.so: $(objpfx)filtmod1.os $(objpfx)filtmod2.so
- $(LINK.o) -shared -o $@ -B$(csu-objpfx) $(LDFLAGS.so) \
+ $(LINK.o) -shared $(static-libgcc) -o $@ -B$(csu-objpfx) $(LDFLAGS.so) \
-L$(subst :, -L,$(rpath-link)) \
-Wl,-rpath-link=$(rpath-link) \
$< -Wl,-F,$(objpfx)filtmod2.so
[...7068 lines suppressed...]
+ __udivmoddi4 (u, v, &w);
+ if (c)
+ w = -w;
+ return w;
+}
+
+UDWtype
+__udivdi3 (UDWtype u, UDWtype v)
+{
+ return __udivmoddi4 (u, v, NULL);
+}
+
+UDWtype
+__umoddi3 (UDWtype u, UDWtype v)
+{
+ UDWtype w;
+
+ __udivmoddi4 (u, v, &w);
+ return w;
+}