From 3fd7451e399d1b8bb12e86822752b53587a12124 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Mon, 2 Nov 1992 20:41:14 +0000 Subject: [PATCH] I'm eliminating the use of USG from binutils/ar.c, and nothing else in binutils, bfd or opcodes uses it. Mon Nov 2 12:36:14 1992 Ian Lance Taylor (ian@cygnus.com) * config/delta88.mh, config/hp300.mh, config/hppahpux.mh, config/i386v.mh: removed -DUSG from HDEFINES. hosts/delta88.h, hosts/hp300.h, hosts/hppahpux.h, hosts/i386v.h: defined USE_UTIME. hosts/i386v.h: don't define POSIX_UTIME. --- bfd/ChangeLog | 8 ++++++++ bfd/hosts/delta88.h | 4 +++- bfd/hosts/hp300.h | 2 ++ bfd/hosts/hppahpux.h | 2 ++ bfd/hosts/i386v.h | 2 +- 5 files changed, 16 insertions(+), 2 deletions(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 7692dd6..d26c6d6 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,11 @@ +Mon Nov 2 12:36:14 1992 Ian Lance Taylor (ian@cygnus.com) + + * config/delta88.mh, config/hp300.mh, config/hppahpux.mh, + config/i386v.mh: removed -DUSG from HDEFINES. + hosts/delta88.h, hosts/hp300.h, hosts/hppahpux.h, hosts/i386v.h: + defined USE_UTIME. + hosts/i386v.h: don't define POSIX_UTIME. + Fri Oct 30 16:13:52 1992 Steve Chamberlain (sac@thepub.cygnus.com) * ieee.c (ieee_slurp_sections): make a private copy of the diff --git a/bfd/hosts/delta88.h b/bfd/hosts/delta88.h index 4337d22..2632705 100644 --- a/bfd/hosts/delta88.h +++ b/bfd/hosts/delta88.h @@ -10,6 +10,8 @@ #include +#define USE_UTIME + #ifndef DONTDECLARE_MALLOC extern PTR EXFUN(malloc,(unsigned)); extern PTR EXFUN(realloc, (PTR, unsigned)); @@ -52,7 +54,7 @@ extern char *ctime(); extern int _flsbuf(); extern int fclose(); extern int time(); -extern int utimes(); +extern int utime(); extern int vfprintf(); extern long atol(); extern char *getenv(); diff --git a/bfd/hosts/hp300.h b/bfd/hosts/hp300.h index 629d832..8e5cc63 100644 --- a/bfd/hosts/hp300.h +++ b/bfd/hosts/hp300.h @@ -12,6 +12,8 @@ #define SEEK_SET 0 #define SEEK_CUR 1 +#define USE_UTIME + void free(); /* Some things that need to be defined in order to make code written for diff --git a/bfd/hosts/hppahpux.h b/bfd/hosts/hppahpux.h index ad2f102..6597cd0 100644 --- a/bfd/hosts/hppahpux.h +++ b/bfd/hosts/hppahpux.h @@ -20,6 +20,8 @@ void free(); #define NATIVE_HPPAHPUX_COMPILER #endif +#define USE_UTIME + #if 0 static int rename(from, to) diff --git a/bfd/hosts/i386v.h b/bfd/hosts/i386v.h index 4ffebd7..d6b0063 100644 --- a/bfd/hosts/i386v.h +++ b/bfd/hosts/i386v.h @@ -15,7 +15,7 @@ #define SEEK_CUR 1 #endif -#define POSIX_UTIME +#define USE_UTIME /* Some things that need to be defined in order to make code written for BSD Unix compile under System V Unix. */ -- 2.7.4