aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-09-09 00:07:08 +0000
committerUlrich Drepper <drepper@redhat.com>2003-09-09 00:07:08 +0000
commit806e4a4a010f0c7e008a13e72c50136ee12b187f (patch)
tree9c3ca9da663afd040ada8484cbefe3b3c0ac8f1f /scripts
parent603368864cb040295387822b6f47bbff73f15e44 (diff)
downloadglibc-806e4a4a010f0c7e008a13e72c50136ee12b187f.tar
glibc-806e4a4a010f0c7e008a13e72c50136ee12b187f.tar.gz
glibc-806e4a4a010f0c7e008a13e72c50136ee12b187f.tar.bz2
glibc-806e4a4a010f0c7e008a13e72c50136ee12b187f.zip
Update.
2003-09-08 Jakub Jelinek <jakub@redhat.com> * sysdeps/generic/bits/types.h (__quad_t): Make long int if 64-bit. (__u_quad_t): Make unsigned long int if 64-bit. (__SQUAD_TYPE): Make long int if 64-bit. (__UQUAD_TYPE): Make unsigned long int if 64-bit. * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Remove. 2003-09-08 Ulrich Drepper <drepper@redhat.com> * Makefile (tests): Run check-c++-types.sh if possible. * scripts/check-c++-types.h: New file. * scripts/data/c++-ctypes-i386-linux-gnu.data: New file. contiguous case. Bug report from Prem Gopalan <prem@mazunetworks.com>.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/check-c++-types.sh6
-rw-r--r--scripts/data/c++-types-i386-linux-gnu.data58
2 files changed, 61 insertions, 3 deletions
diff --git a/scripts/check-c++-types.sh b/scripts/check-c++-types.sh
index 68af8091b2..1992705e0f 100755
--- a/scripts/check-c++-types.sh
+++ b/scripts/check-c++-types.sh
@@ -30,8 +30,9 @@
# egrep -v '^_' |
# sort -u
#
-cxx=$1
-data=$2
+data=$1
+shift
+cxx="$*"
while read t; do
echo -n "$t:"
$cxx -S -xc++ -o - -D_GNU_SOURCE <(cat <<EOF
@@ -87,7 +88,6 @@ size_t
socklen_t
ssize_t
suseconds_t
-timer_t
time_t
u_char
uid_t
diff --git a/scripts/data/c++-types-i386-linux-gnu.data b/scripts/data/c++-types-i386-linux-gnu.data
new file mode 100644
index 0000000000..aa3666cab1
--- /dev/null
+++ b/scripts/data/c++-types-i386-linux-gnu.data
@@ -0,0 +1,58 @@
+blkcnt64_t:x
+blkcnt_t:l
+blksize_t:l
+caddr_t:Pc
+clockid_t:i
+clock_t:l
+daddr_t:i
+dev_t:y
+fd_mask:l
+fsblkcnt64_t:y
+fsblkcnt_t:m
+fsfilcnt64_t:y
+fsfilcnt_t:m
+fsid_t:8__fsid_t
+gid_t:j
+id_t:j
+ino64_t:y
+ino_t:m
+int16_t:s
+int32_t:i
+int64_t:x
+int8_t:a
+intptr_t:i
+key_t:i
+loff_t:x
+mode_t:j
+nlink_t:j
+off64_t:x
+off_t:l
+pid_t:i
+pthread_key_t:j
+pthread_once_t:i
+pthread_spinlock_t:i
+pthread_t:m
+quad_t:x
+register_t:i
+rlim64_t:y
+rlim_t:m
+sigset_t:10__sigset_t
+size_t:j
+socklen_t:j
+ssize_t:i
+suseconds_t:l
+time_t:l
+u_char:h
+uid_t:j
+uint:j
+u_int:j
+u_int16_t:t
+u_int32_t:j
+u_int64_t:y
+u_int8_t:h
+ulong:m
+u_long:m
+u_quad_t:y
+useconds_t:j
+ushort:t
+u_short:t