Two small fixes for s/390.
Martin Schwidefsky
schwidefsky@de.ibm.com
Thu Dec 20 02:11:00 GMT 2001
> > * sysdeps/unix/sysv/linux/s390/profile_counter.h (profil_counter)
:
> > Remove high order bit from the program counter for 31 bit.
>
> This part isn't OK. We don't use #ifdefs to distinguish between
> architectures. Create a separate file or move the existing to 390-64
> and create a new one in s390-32.
Here is the cleanup patch for the ifdef stuff:
2001-12-19 Martin Schwidefsky <schwidefsky@de.ibm.com>
* sysdeps/s390/bits/string.h: Move/copy to ...
* sysdeps/s390/s390-32/bits/string.h: ... here, remove s390x ifdefs.
* sysdeps/s390/s390-64/bits/string.h: ... here, remove s390x ifdefs.
* sysdeps/unix/sysv/linux/s390/profile-counter.h: Move/copy to ...
* sysdeps/unix/sysv/linux/s390/s390-32/profile-counter.h: ... here,
remove high order bit from the program counter.
* sysdeps/unix/sysv/linux/s390/s390-64/profile-counter.h: ... here.
(See attached file: ifdefcleanup.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: ifdefcleanup.diff
Type: application/octet-stream
Size: 24491 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-hacker/attachments/20011220/81cf5244/attachment.obj>
More information about the Libc-hacker
mailing list