forked from Imagelibrary/binutils-gdb
Modified Files:
ChangeLog targets.c Makefile.in cache.c
Added Files:
i386os9k.c
* i386os9k.c : new file to handle os9k format bfd.
* Makefile.in : Handle new file i386os9k.c
* bfd-in2.h : Add bfd_target_os9k_flavour.
* targets.c : Add bfd_target_os9k_flavour and i386os9k_vec.
* cache.c : Initialize cache_sentinel to 0.
This commit is contained in:
@@ -60,7 +60,7 @@ bfd_cache_delete PARAMS ((bfd *));
|
||||
|
||||
static int open_files;
|
||||
|
||||
static bfd *cache_sentinel; /* Chain of BFDs with active fds we've
|
||||
static bfd *cache_sentinel = 0; /* Chain of BFDs with active fds we've
|
||||
opened */
|
||||
|
||||
/*
|
||||
@@ -135,7 +135,7 @@ DEFUN(bfd_cache_delete,(abfd),
|
||||
else
|
||||
{
|
||||
ret = false;
|
||||
bfd_error = system_call_error;
|
||||
bfd_set_error (bfd_error_system_call);
|
||||
}
|
||||
snip (abfd);
|
||||
abfd->iostream = NULL;
|
||||
@@ -216,9 +216,9 @@ SYNOPSIS
|
||||
|
||||
DESCRIPTION
|
||||
Call the OS to open a file for @var{abfd}. Return the <<FILE *>>
|
||||
(possibly NULL) that results from this operation. Set up the
|
||||
(possibly <<NULL>>) that results from this operation. Set up the
|
||||
BFD so that future accesses know the file is open. If the <<FILE *>>
|
||||
returned is NULL, then it won't have been put in the
|
||||
returned is <<NULL>>, then it won't have been put in the
|
||||
cache, so it won't have to be removed from it.
|
||||
*/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user