Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/gnu/usr.bin/gcc/arch/arm The config file mentiones that if o...
details: https://anonhg.NetBSD.org/src/rev/0136a4338907
branches: trunk
changeset: 521420:0136a4338907
user: reinoud <reinoud%NetBSD.org@localhost>
date: Wed Jan 30 17:11:44 2002 +0000
description:
The config file mentiones that if off_t isnt defined its defined in gcc as
`long'. This gives rise to defining `off_t' to a signed 64 bit on LP64
machines giving rise to cross compiling errors.
By explicitly setting it to int32_t its forced to use signed 32 bits
integers as required and expected on the ILP32 ARM processor.
This aparently fixes PR 15303
diffstat:
gnu/usr.bin/gcc/arch/arm/auto-host.h | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diffs (11 lines):
diff -r 6d964b97573a -r 0136a4338907 gnu/usr.bin/gcc/arch/arm/auto-host.h
--- a/gnu/usr.bin/gcc/arch/arm/auto-host.h Wed Jan 30 16:10:08 2002 +0000
+++ b/gnu/usr.bin/gcc/arch/arm/auto-host.h Wed Jan 30 17:11:44 2002 +0000
@@ -169,6 +169,7 @@
/* #undef inline */
/* Define to `long' if <sys/types.h> doesn't define. */
+#define off_t int32_t
/* #undef off_t */
/* Define to `int' if <sys/types.h> doesn't define. */
Home |
Main Index |
Thread Index |
Old Index