This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [v3] limits cleanups: move to cpu_limits.h, os/cpu sep, removal
- To: Benjamin Kosnik <bkoz at redhat dot com>
- Subject: Re: [v3] limits cleanups: move to cpu_limits.h, os/cpu sep, removal
- From: "Ulrich Weigand" <Ulrich dot Weigand at de dot ibm dot com>
- Date: Wed, 24 Oct 2001 19:32:26 +0200
- Cc: gcc-patches at gcc dot gnu dot org
Benjamin Kosnik wrote:
>> We could either keep the #ifdef or make a new s390x/ subdirectory;
>> I didn't do that originally only because the atomicity.h file can
>> be used on both s390 and s390x without changes, so there was no
>> necessity ...
>
>Let's try to avoid a new directory. What #ifdef?
This should work (similar to what you have for powerpc64):
#ifdef __s390x__
#define __glibcpp_long_bits 64
#endif
B.t.w. why did you keep the powerpc64 and sparc64 cases in the generic
gnu-linux/bits/os_define.h instead of using the arch headers? Do we need
to do this for s390x as well or can the #ifdef be in
s390/bits/cpu_limits.h?
Mit freundlichen Gruessen / Best Regards
Ulrich Weigand
--
Dr. Ulrich Weigand
Linux for S/390 Design & Development
IBM Deutschland Entwicklung GmbH, Schoenaicher Str. 220, 71032 Boeblingen
Phone: +49-7031/16-3727 --- Email: Ulrich.Weigand@de.ibm.com