bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/24576] Feature request: error out when passed the same linker sc


From: nickc at redhat dot com
Subject: [Bug ld/24576] Feature request: error out when passed the same linker script with -T and as an object file
Date: Wed, 22 May 2019 15:08:51 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=24576

Nick Clifton <nickc at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED

--- Comment #6 from Nick Clifton <nickc at redhat dot com> ---
Right - it really has gone in this time.

The problem was that ldfile_open_command_file_1() can legitimately be
called multiple times for the same input file.  This happens for example
when the linker is processing an archive.  So it was necessary to
distinguish between attempts to open a file as a user-specified script
file, (or an unrecognised input file) and other types of access.  I added
the code to do this, and the check now appears to working properly.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]