[Bug 251251] --cref on ld.lld writes the cref table to stdout even with -Map=filename
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu Nov 19 09:36:35 UTC 2020
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=251251
Bug ID: 251251
Summary: --cref on ld.lld writes the cref table to stdout even
with -Map=filename
Product: Base System
Version: 12.2-RELEASE
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: bin
Assignee: bugs at FreeBSD.org
Reporter: janm at transactionware.com
The --cref option on ld.lld only seems to write to stdout, ignoring the
-Map=filename option. This is a change from GNU ld.
To reproduce, compile and link any code with --cref, for example:
echo 'int main() { return 0; }' > test.c
cc -Wl,-Map=test.map -Wl,--cref test.c
The cross reference table is emitted on stdout instead of being written to
test.map.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list