aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1993-04-19 18:34:55 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1993-04-19 18:34:55 +0000
commit3f06498af4db5abb4e7e877ffbb487cd03897290 (patch)
treec15ad1cfa6cf705208d7382bf72a3e6ab80a624e /bfd
parent058eb7667b8ca3526ad6ab8f3fdc86a34d88412e (diff)
downloadgdb-3f06498af4db5abb4e7e877ffbb487cd03897290.zip
gdb-3f06498af4db5abb4e7e877ffbb487cd03897290.tar.gz
gdb-3f06498af4db5abb4e7e877ffbb487cd03897290.tar.bz2
changes for SVR3.2
Diffstat (limited to 'bfd')
-rw-r--r--bfd/ChangeLog5
-rw-r--r--bfd/hosts/hp300.h8
-rw-r--r--bfd/hosts/i386isc.h2
-rw-r--r--bfd/hosts/i386v.h2
4 files changed, 5 insertions, 12 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 881a374..945a303 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,5 +1,10 @@
Mon Apr 19 06:09:41 1993 Jim Kingdon (kingdon@cygnus.com)
+ * bfd-in.h: Insert comment about SVR3 compiler warnings.
+
+ * hosts/{hp300,i386isc,i386v}.h: Remove unused #defines of {r,}index
+ (bfd uses strchr and the broken SVR3.2 cpp loses with the defines).
+
* libbfd.c: bfd_put*: Remove casts to bfd_vma.
Fri Apr 16 17:49:27 1993 Jim Kingdon (kingdon@cygnus.com)
diff --git a/bfd/hosts/hp300.h b/bfd/hosts/hp300.h
index 8e5cc63..e9d764a 100644
--- a/bfd/hosts/hp300.h
+++ b/bfd/hosts/hp300.h
@@ -33,14 +33,6 @@ rename(from, to)
}
#endif
-/*
- * Might not need these. Leave them out for now.
- *
-#include <string.h>
-#define index(s,c) strchr(s,c)
-#define rindex(s,c) strrchr(s,c)
- */
-
/* EXACT TYPES */
typedef char int8e_type;
typedef unsigned char uint8e_type;
diff --git a/bfd/hosts/i386isc.h b/bfd/hosts/i386isc.h
index c16cf9c..67d74f7 100644
--- a/bfd/hosts/i386isc.h
+++ b/bfd/hosts/i386isc.h
@@ -28,8 +28,6 @@
#define bzero(s,n) memset(s,0,n)
#include <string.h>
-#define index(s,c) strchr(s,c)
-#define rindex(s,c) strrchr(s,c)
#ifndef DONTDECLARE_MALLOC
extern PTR EXFUN(malloc,(unsigned));
diff --git a/bfd/hosts/i386v.h b/bfd/hosts/i386v.h
index d6b0063..a971991 100644
--- a/bfd/hosts/i386v.h
+++ b/bfd/hosts/i386v.h
@@ -26,8 +26,6 @@
#define bzero(s,n) memset(s,0,n)
#include <string.h>
-#define index(s,c) strchr(s,c)
-#define rindex(s,c) strrchr(s,c)
#ifndef DONTDECLARE_MALLOC
extern PTR EXFUN(malloc,(unsigned));