OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
2009-10-30 Rafael Avila de Espindola <espindola@google.com>
[pf3gnuchains/gcc-fork.git]
/
lto-plugin
/
lto-plugin.c
diff --git
a/lto-plugin/lto-plugin.c
b/lto-plugin/lto-plugin.c
index
3a51441
..
c92ac06
100644
(file)
--- a/
lto-plugin/lto-plugin.c
+++ b/
lto-plugin/lto-plugin.c
@@
-635,6
+635,9
@@
claim_file_handler (const struct ld_plugin_input_file *file, int *claimed)
if (elf)
elf_end (elf);
+ if (file->offset != 0)
+ close (lto_file_fd);
+
return LDPS_OK;
}