From https://sourceware.org/binutils/docs/ld/File-Commands.html:
The file will be searched for in the current directory, and in any
directory specified with the -L option.
Details
Details
Diff Detail
Diff Detail
- Build Status
Buildable 2206 Build 2206: arc lint + arc unit
Event Timeline
Comment Actions
I was attempting to build FreeBSD (mips64) with lld and I get this error from the following script: https://github.com/freebsd/freebsd/blob/master/sys/boot/mips/beri/boot2/flashboot.ldscript
Comment Actions
I'm sorry but it needs a test. Please take a look at test/ELF/linkerscript/linkerscript.s. We have one test for INCLUDE. You want to add one more for this patch.
Comment Actions
LGTM
test/ELF/linkerscript/linkerscript.s | ||
---|---|---|
43 ↗ | (On Diff #81747) | You don't need this readobj. |
Comment Actions
This patch reveals an issue we have in LLD, looks some memory corruption or we free a buffer that still using.
Alexander, I know you do not have commit permission yet. I am investigating the issue above and commit this for you after fix it.
Hope in next few hours. Thanks !
Please avoid auto and use StringRef as its type is not obvious by RHS.