summaryrefslogtreecommitdiff
path: root/bfd/cache.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2001-01-14 07:03:49 +0000
committerAlan Modra <amodra@bigpond.net.au>2001-01-14 07:03:49 +0000
commit5b9ec38aa38eb4d0c2bd52d6ed98be4b74974049 (patch)
treef9ecc6603dfd28668eff8e220051fc4056b60d5f /bfd/cache.c
parent7d54c8220c3d146dcb1d8d7fa3a422b7006ee6c8 (diff)
downloadbinutils-redhat-5b9ec38aa38eb4d0c2bd52d6ed98be4b74974049.tar.gz
Use SEGREL32 relocs for elf32-hppa unwind.
Diffstat (limited to 'bfd/cache.c')
-rw-r--r--bfd/cache.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/cache.c b/bfd/cache.c
index c4becf8e32..063373c7f4 100644
--- a/bfd/cache.c
+++ b/bfd/cache.c
@@ -1,5 +1,5 @@
/* BFD library -- caching of file descriptors.
- Copyright 1990, 91, 92, 93, 94, 95, 1996, 2000
+ Copyright 1990, 91, 92, 93, 94, 95, 1996, 2000, 2001
Free Software Foundation, Inc.
Hacked by Steve Chamberlain of Cygnus Support (steve@cygnus.com).
@@ -311,7 +311,7 @@ bfd_open_file (abfd)
if (stat (abfd->filename, &s) == 0 && s.st_size != 0)
unlink (abfd->filename);
#endif
- abfd->iostream = (PTR) fopen (abfd->filename, FOPEN_WB);
+ abfd->iostream = (PTR) fopen (abfd->filename, FOPEN_WUB);
abfd->opened_once = true;
}
break;