Original ld could INPUT a file relative to the current directory.  For example
the script 'dist/ld.script' containing

  INPUT(dist/source1.o dist/source2.o)

can be linked using: ld dist/ld.script

Gold will work if the script is changed to contain
  
  INPUT(source1.o source2.o)

ie., it resolves relative to the script file, but then the old ld can not find
the files.

-- 
           Summary: gold can't find a scripted INPUT when both script and
                    input are in a subdirectory
           Product: binutils
           Version: 2.20
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gold
        AssignedTo: ian at airs dot com
        ReportedBy: rohan dot hart17 at gmail dot com
                CC: bug-binutils at gnu dot org


http://sourceware.org/bugzilla/show_bug.cgi?id=11182

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to