summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--Makefile5
-rw-r--r--scripts/data/c++-types-powerpc-linux-gnu.data58
-rw-r--r--scripts/data/c++-types-powerpc64-linux-gnu.data58
4 files changed, 128 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 8d963e4618..a9bf18e9ef 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2003-10-09 Steven Munroe <sjmunroe@us.ibm.com>
+
+ * Makefile: Allow for c++-types-$(config-machine)-$(config-os).data in
+ addition to c++-types-$(base-machine)-$(config-os).data.
+ * scripts/data/c++-types-powerpc-linux-gnu.data: New file.
+ * scripts/data/c++-types-powerpc64-linux-gnu.data: New file.
+
2003-11-28 Ulrich Drepper <drepper@redhat.com>
* misc/mntent_r.c (decode_name): Fix decoding of tab, add decoding
diff --git a/Makefile b/Makefile
index 19a1f883f6..a261be265b 100644
--- a/Makefile
+++ b/Makefile
@@ -230,6 +230,10 @@ tests-clean:
tests: $(objpfx)c++-types-check.out
ifneq ($(CXX),no)
+ifneq (,$(wildcard scripts/data/c++-types-$(config-machine)-$(config-os).data))
+$(objpfx)c++-types-check.out: scripts/data/c++-types-$(config-machine)-$(config-os).data
+ scripts/check-c++-types.sh $^ $(CXX) $(filter-out -std=gnu99,$(CFLAGS)) $(CPPFLAGS) > $@
+else
ifneq (,$(wildcard scripts/data/c++-types-$(base-machine)-$(config-os).data))
$(objpfx)c++-types-check.out: scripts/data/c++-types-$(base-machine)-$(config-os).data
scripts/check-c++-types.sh $^ $(CXX) $(filter-out -std=gnu99,$(CFLAGS)) $(CPPFLAGS) > $@
@@ -239,6 +243,7 @@ $(objpfx)c++-types-check.out:
@echo "not run" > $@
endif
endif
+endif
# The realclean target is just like distclean for the parent, but we want
# the subdirs to know the difference in case they care.
diff --git a/scripts/data/c++-types-powerpc-linux-gnu.data b/scripts/data/c++-types-powerpc-linux-gnu.data
new file mode 100644
index 0000000000..aa3666cab1
--- /dev/null
+++ b/scripts/data/c++-types-powerpc-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
diff --git a/scripts/data/c++-types-powerpc64-linux-gnu.data b/scripts/data/c++-types-powerpc64-linux-gnu.data
new file mode 100644
index 0000000000..9072e891f2
--- /dev/null
+++ b/scripts/data/c++-types-powerpc64-linux-gnu.data
@@ -0,0 +1,58 @@
+blkcnt64_t:l
+blkcnt_t:l
+blksize_t:l
+caddr_t:Pc
+clockid_t:i
+clock_t:l
+daddr_t:i
+dev_t:m
+fd_mask:l
+fsblkcnt64_t:m
+fsblkcnt_t:m
+fsfilcnt64_t:m
+fsfilcnt_t:m
+fsid_t:8__fsid_t
+gid_t:j
+id_t:j
+ino64_t:m
+ino_t:m
+int16_t:s
+int32_t:i
+int64_t:l
+int8_t:a
+intptr_t:l
+key_t:i
+loff_t:l
+mode_t:j
+nlink_t:m
+off64_t:l
+off_t:l
+pid_t:i
+pthread_key_t:j
+pthread_once_t:i
+pthread_spinlock_t:i
+pthread_t:m
+quad_t:l
+register_t:l
+rlim64_t:m
+rlim_t:m
+sigset_t:10__sigset_t
+size_t:m
+socklen_t:j
+ssize_t:l
+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:m
+u_int8_t:h
+ulong:m
+u_long:m
+u_quad_t:m
+useconds_t:j
+ushort:t
+u_short:t