This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Alpha, S390 on 2.2.5pre1




> 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

Attachment: =?iso-8859-1?Q?context-s390x.ChangeLog?=
Description: Binary data

Attachment: =?iso-8859-1?Q?context-s390x.diff?=
Description: Binary data

Attachment: =?iso-8859-1?Q?static-libgcc.ChangeLog?=
Description: Binary data

Attachment: =?iso-8859-1?Q?static-libgcc.diff?=
Description: Binary data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]