aboutsummaryrefslogtreecommitdiff
path: root/bfd/cache.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2001-01-14 07:03:49 +0000
committerAlan Modra <amodra@gmail.com>2001-01-14 07:03:49 +0000
commitc46b75158b4d6682705d556b9f69bd7fb6c11a18 (patch)
tree0e84f15fdb0c957f9c98e02f49619c6977cba1eb /bfd/cache.c
parentd768008d61d1d6b5d437d6f5f5546a7ce953ff1c (diff)
downloadgdb-c46b75158b4d6682705d556b9f69bd7fb6c11a18.zip
gdb-c46b75158b4d6682705d556b9f69bd7fb6c11a18.tar.gz
gdb-c46b75158b4d6682705d556b9f69bd7fb6c11a18.tar.bz2
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 c4becf8..063373c 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;