S/390: Add SIZE_TYPE comment.

gcc/ChangeLog:

2017-02-06  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>

	* config/s390/linux.h(SIZE_TYPE): Add comment.

From-SVN: r245204
This commit is contained in:
Andreas Krebbel 2017-02-06 10:25:05 +00:00 committed by Andreas Krebbel
parent f192030dd1
commit df9e7ffb63
2 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2017-02-06 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
* config/s390/linux.h(SIZE_TYPE): Add comment.
2017-02-06 Julian Brown <julian@codesourcery.com>
Naveen H.S <Naveen.Hurugalawadi@cavium.com>
Virendra Pathak <virendra.pathak@broadcom.com>

View File

@ -24,9 +24,12 @@ along with GCC; see the file COPYING3. If not see
/* Target specific type definitions. */
/* ??? Do we really want long as size_t on 31-bit? */
/* For 31 bit our size type differs from most other targets (where it
is "unsigned int"). The difference tends to cause trouble e.g.:
Glibc BZ #16712, GCC BZ #79358 but cannot be changed due to ABI
issues. */
#undef SIZE_TYPE
#define SIZE_TYPE (TARGET_64BIT ? "long unsigned int" : "long unsigned int")
#define SIZE_TYPE "long unsigned int"
#undef PTRDIFF_TYPE
#define PTRDIFF_TYPE (TARGET_64BIT ? "long int" : "int")