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

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


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: Two small fixes for s/390.




> >      * 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

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


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