diff options
author | Torbjörn SVENSSON <torbjorn.svensson@foss.st.com> | 2025-07-18 17:04:09 +0200 |
---|---|---|
committer | Torbjörn SVENSSON <torbjorn.svensson@foss.st.com> | 2025-07-22 16:39:50 +0200 |
commit | 233cd5946413108bf4902b22a9cb23ad0a468f5e (patch) | |
tree | a6b4374c281430e9a6b4b2ac59ad2ce716e3ba56 /libctf | |
parent | 9087bd989b5ff3c02386fc66afc187f37d31aa34 (diff) | |
download | binutils-233cd5946413108bf4902b22a9cb23ad0a468f5e.zip binutils-233cd5946413108bf4902b22a9cb23ad0a468f5e.tar.gz binutils-233cd5946413108bf4902b22a9cb23ad0a468f5e.tar.bz2 |
ld: Rename a file on Windows fails if target already exists
To rename a file on Windows, the target name cannot exist. Removing file
prior to renaming ensures this is handled.
To remove a file on Windows, the file cannot be open. Closing the bfd
handle ensures this is handled.
Moved call to free on isympp / osympp to after bfd is closed to align
with comment earlier in the cmdline_add_object_only_section function.
Signed-off-by: Torbjörn SVENSSON <torbjorn.svensson@foss.st.com>
Diffstat (limited to 'libctf')
0 files changed, 0 insertions, 0 deletions