[lld] [llvm] Add initial support for Xtensa to LLD (PR #202926)
Alexey Gerenkov via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 5 08:02:18 PDT 2026
================
@@ -1225,6 +1226,58 @@ sortISDBySectionOrder(Ctx &ctx, InputSectionDescription *isd,
isd->sections.push_back(isec);
}
+// Sort Xtensa literal sections in OutputSection. For each literal section we
+// try to find by name text(code) section, which uses these literals. The
+// literal section should always be placed before code section. Also we try to
+// place literal section just before code section.
+static void sortSectionXtensa(OutputSection &osec) {
----------------
gerekon wrote:
Yes, you are right. Removed that part.
Thanks!
https://github.com/llvm/llvm-project/pull/202926
More information about the llvm-commits
mailing list