From: Ian Lance Taylor Date: Mon, 2 Nov 1992 20:41:14 +0000 (+0000) Subject: I'm eliminating the use of USG from binutils/ar.c, and nothing else in X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3fd7451e399d1b8bb12e86822752b53587a12124;p=binutils-gdb.git 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. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 7692dd6f649..d26c6d69fc4 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 4337d22f65c..2632705449f 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 629d8327c4b..8e5cc63ce0c 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 ad2f1024d82..6597cd099a0 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 4ffebd7dc00..d6b0063127e 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. */