From: Jim Kingdon Date: Mon, 19 Apr 1993 18:34:55 +0000 (+0000) Subject: changes for SVR3.2 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3f06498af4db5abb4e7e877ffbb487cd03897290;p=binutils-gdb.git changes for SVR3.2 --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 881a374b480..945a303bfbe 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 8e5cc63ce0c..e9d764a7400 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 -#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 c16cf9c8c0f..67d74f740c7 100644 --- a/bfd/hosts/i386isc.h +++ b/bfd/hosts/i386isc.h @@ -28,8 +28,6 @@ #define bzero(s,n) memset(s,0,n) #include -#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 d6b0063127e..a971991d02b 100644 --- a/bfd/hosts/i386v.h +++ b/bfd/hosts/i386v.h @@ -26,8 +26,6 @@ #define bzero(s,n) memset(s,0,n) #include -#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/gdb/ChangeLog b/gdb/ChangeLog index 4f3801a8271..1b5c316cb48 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,11 @@ +Mon Apr 19 11:13:34 1993 Jim Kingdon (kingdon@cygnus.com) + + * i387-tdep.c: Remove unused #includes. + + * configure.in: Match i[34]86-*-sysv3.2 not i[34]86-*-sysv32. + + * config/i386/nm-i386v.h: Define NO_PTRACE_H. + Sun Apr 18 10:39:35 1993 Jim Kingdon (kingdon@cygnus.com) * xcoffread.c: Nuke NO_DEFINE_SYMBOL code. There is no going back. diff --git a/gdb/configure.in b/gdb/configure.in index dac8c1fc12c..db75a4f45c7 100644 --- a/gdb/configure.in +++ b/gdb/configure.in @@ -46,7 +46,7 @@ i[34]86-*-sco3.2v4*) gdb_host=i386sco4 ;; i[34]86-*-sco*) gdb_host=i386sco ;; i[34]86-*-solaris*) gdb_host=i386sol2 ;; i[34]86-*-sunos*) gdb_host=sun386 ;; -i[34]86-*-sysv32) gdb_host=i386v32 ;; +i[34]86-*-sysv3.2) gdb_host=i386v32 ;; i[34]86-*-sysv4*) gdb_host=i386v4 ;; i[34]86-*-sysv*) gdb_host=i386v ;; diff --git a/gdb/i387-tdep.c b/gdb/i387-tdep.c index a93052d6d49..b0f00880bd1 100644 --- a/gdb/i387-tdep.c +++ b/gdb/i387-tdep.c @@ -24,21 +24,6 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #include "gdbcore.h" #include "ieee-float.h" -#ifdef USG -#include -#endif - -#include -#include -#include -#include -#include - -#include -#include - -#include - struct ext_format ext_format_i387 = { /* tot sbyte smask expbyte manbyte */ 10, 9, 0x80, 9,8, 4,0 /* i387 */ diff --git a/readline/ChangeLog b/readline/ChangeLog index 25dcc021712..be85a773176 100644 --- a/readline/ChangeLog +++ b/readline/ChangeLog @@ -1,3 +1,10 @@ +Sat Apr 17 00:40:12 1993 Jim Kingdon (kingdon at calvin) + + * readline.c, history.c: Don't include sys/types.h; sysdep.h does. + + * config/mh-sysv: Define TIOCGWINSZ_BROKEN. + readline.c: Check it. + Wed Mar 24 02:06:15 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com) * Makefile.in: add installcheck & dvi targets @@ -5,7 +12,8 @@ Wed Mar 24 02:06:15 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com) Fri Mar 12 18:36:53 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com) * configure.in: recognize *-*-solaris2* instead of *-*-solaris* (a - number of people want to call SunOS 4.1.2 "solaris1.0" and get it right) + number of people want to call SunOS 4.1.2 "solaris1.0" + and get it right) Tue Mar 2 21:25:36 1993 Fred Fish (fnf@cygnus.com)