https://bugs.llvm.org/show_bug.cgi?id=45385
Bug ID: 45385
Summary: Re-introduce support for elf32-sparc for OUTPUT_FORMAT
Product: lld
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P
Component: ELF
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
Hello!
My request is related to this review here https://reviews.llvm.org/D53495,
quote:
"Since I'm not 100% confident with BFD names you can use in the directive
for all architectures, I added only a few in this patch. We can add
other names for other archtiectures later."
I've migrated my linker to LLVM 9 and noticed that there is no support for
'elf32-sparc' as an option for the OUTPUT_FORMAT() command in the linkerscript.
This can be easily fixed in file:
https://github.com/llvm/llvm-project/blob/release/9.x/lld/ELF/ScriptParser.cpp,
by inserting:
.Case("elf32-sparc", {ELF32LEKind, EM_SPARC})
before the default case, at line 407.
Seems that the corresponding code is still there, so I guess it's just
inaccessible, it's not planned to be thrown out.
There is no change in the master branch, so I suppose nobody asked for
elf32-sparc support until now.
Let me know if I should add more detail.
Thanks,
Cristiana
--
You are receiving this mail because:
You are on the CC list for the bug._______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs