summaryrefslogtreecommitdiffstats
path: root/gcc
diff options
context:
space:
mode:
authorkorbb <korbb@138bc75d-0d04-0410-961f-82ee72b054a4>2001-07-17 03:02:52 +0000
committerkorbb <korbb@138bc75d-0d04-0410-961f-82ee72b054a4>2001-07-17 03:02:52 +0000
commit97803087606433a9e4a4b81afa55b5a3e11a1718 (patch)
tree0ec1c3534536efdd2ccc5a4ead251b20a6b2db71 /gcc
parented51db7792b3b8b44bfad57605bca44aa88b9689 (diff)
downloadppe42-gcc-97803087606433a9e4a4b81afa55b5a3e11a1718.tar.gz
ppe42-gcc-97803087606433a9e4a4b81afa55b5a3e11a1718.zip
HPUX-es vsnprintf and Ultrix-es atexit declaration
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44058 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog9
-rw-r--r--gcc/fixinc/inclhack.def33
2 files changed, 42 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index f012bdae56c..ae9789bd0b4 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,12 @@
+2001-07-16 John David Anglin <dave@hiauly1.hia.nrc.ca>
+
+ * inclhack.def (ultrix_atexit_param): New hack to fix ultrix 4.3
+ atexit declaration in stdlib.h.
+
+2001-07-16 Richard Begg <Richard.Begg@colesmyer.com.au>
+
+ * fixinc/inclhack.def(hpux_vsnprintf): brokenness in stdio.h
+
Mon Jul 16 22:48:00 CEST 2001 Jan Hubicka <jh@suse.cz>
* basic-block.h (CLEANUP_PRE_SIBCALL): New constant.
diff --git a/gcc/fixinc/inclhack.def b/gcc/fixinc/inclhack.def
index 510bb792368..21e83663eeb 100644
--- a/gcc/fixinc/inclhack.def
+++ b/gcc/fixinc/inclhack.def
@@ -1244,6 +1244,24 @@ fix = {
/*
+ * Fix hpux 11.00 broken vsnprintf declaration
+ */
+fix = {
+ hackname = hpux11_vsnprintf;
+ files = stdio.h;
+ select = 'extern int vsnprintf\(char \*, __size_t, const char \*,'
+ ' __va__list\);';
+
+ c_fix = format;
+ c_fix_arg = "extern int vsnprintf(char *, __size_t, const char *,"
+ " __va_list);";
+
+ test_text = 'extern int vsnprintf(char *, __size_t, const char *,'
+ ' __va__list);';
+};
+
+
+/*
* get rid of bogus inline definitions in HP-UX 8.0
*/
fix = {
@@ -2869,6 +2887,21 @@ fix = {
/*
+ * function parameter to atexit is missing "void" on VAX Ultrix 4.3.
+ */
+fix = {
+ hackname = ultrix_atexit_param;
+ files = stdlib.h;
+ select = 'atexit\(.*\(\)';
+
+ c_fix = format;
+ c_fix_arg = "atexit( void (*__func)( void )";
+
+ test_text = "int atexit( void (*__func)() );\n";
+};
+
+
+/*
* parameter to atof not const on DECstation Ultrix V4.0 and NEWS-OS 4.2R.
*/
fix = {
OpenPOWER on IntegriCloud