bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/29819] New: ld testsuite of --version-script relies on -L


From: mliska at suse dot cz
Subject: [Bug binutils/29819] New: ld testsuite of --version-script relies on -L option
Date: Tue, 22 Nov 2022 12:35:14 +0000

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

            Bug ID: 29819
           Summary: ld testsuite of --version-script relies on -L option
           Product: binutils
           Version: 2.40 (HEAD)
            Status: NEW
          Severity: normal
          Priority: P2
         Component: binutils
          Assignee: unassigned at sourceware dot org
          Reporter: mliska at suse dot cz
                CC: nickc at sourceware dot org
  Target Milestone: ---

Apparently, as originally reported here:
https://github.com/rui314/mold/issues/822

ld.{bfd,gold} load version scripts from paths that are specified with -L
option:

$ mkdir aaa
$ echo "FOO {};" > aaa/aaa.map
$ echo '' | gcc-12 -Wl,--version-script=aaa.map -shared -fPIC -Laaa -x c -
(OK)

Is it something documented or specified? The same behavior is mimicked by lld.

-- 
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]