From: Nick Clifton Date: Wed, 9 Oct 2013 16:30:02 +0000 (+0000) Subject: PR ld/16028 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d9313f4f43f9bb23fb1ef3a93c4879c706d5e881;p=binutils-gdb.git PR ld/16028 * ldmain.c (add_keepsyms_file): Close file at end of function. --- diff --git a/ld/ChangeLog b/ld/ChangeLog index 75f21fd3576..1b2f88c2e33 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,8 @@ +2013-10-09 Nick Clifton + + PR ld/16028 + * ldmain.c (add_keepsyms_file): Close file at end of function. + 2013-10-03 Will Newton * emulparams/aarch64elf.sh: Add IREL_IN_PLT. diff --git a/ld/ldmain.c b/ld/ldmain.c index 6a53667db1e..019df71a2c4 100644 --- a/ld/ldmain.c +++ b/ld/ldmain.c @@ -744,6 +744,7 @@ add_keepsyms_file (const char *filename) free (buf); link_info.strip = strip_some; + fclose (file); } /* Callbacks from the BFD linker routines. */