Alpha, S390 on 2.2.5pre1
Martin Schwidefsky
schwidefsky@de.ibm.com
Thu Jan 17 13:51:00 GMT 2002
> I am currently testing it again to make sure that I have not overlooked a
patch
> or something. With my current luck I wouldn't wonder ...
My bad luck is holding. make tests on 64 bit revealed a bug in
swapcontest.S.
"lr" only moves the lower half of a register, we need to use "lgr" to move a
pointer. A mistake of the same kind is in getcontext.S, "slr" just clears the
lower half but we need to clear all of the register with "slgr" to get a NULL
pointer. And last but not least the 64 bit ABI says that a return registers
is always extended to 64 bit so "slr %r2,%r2" to return 0 is not enough either.
Ok, ChangeLog and Patch follow. This time I attach a copy of the ChangeLog since
I suspect that Lotus Bloates is stealing my tabs...
2002-01-17 Martin Schwidefsky <schwidefsky@de.ibm.com>
* sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Use 64 bit
instructions for pointer operations.
* sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
(See attached file: context-s390x.ChangeLog)(See attached file: context-s390x.diff)
With this additional patch the glibc-2-2-branch in the CVS compiles with gcc 2.95.3
for 31 and 64 bit and make tests runs without any error.
Uli Weigand with his gcc 3.1 experiments found another one. make tests failed
for elf/filter because libgcc_s.so could not be found. The reason is that the
link rule for filtmod1.so misses $(static-libgcc).
2002-01-17 Martin Schwidefsky <schwidefsky@de.ibm.com>
* elf/Makefile ($(objpfx)filtmod1.so): Add $(static-libgcc).
(See attached file: static-libgcc.ChangeLog)(See attached file: static-libgcc.diff)
blue skies,
Martin
Linux/390 Design & Development, IBM Deutschland Entwicklung GmbH
Schönaicherstr. 220, D-71032 Böblingen, Telefon: 49 - (0)7031 - 16-2247
E-Mail: schwidefsky@de.ibm.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: context-s390x.ChangeLog
Type: application/octet-stream
Size: 227 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20020117/fbaf30c3/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: context-s390x.diff
Type: application/octet-stream
Size: 1549 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20020117/fbaf30c3/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: static-libgcc.ChangeLog
Type: application/octet-stream
Size: 120 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20020117/fbaf30c3/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: static-libgcc.diff
Type: application/octet-stream
Size: 557 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20020117/fbaf30c3/attachment-0003.obj>
More information about the Libc-alpha
mailing list