diff options
Diffstat (limited to 'app-arch/lld/files/patches-0/0002-SharedLibraryAtom-symbolness.patch')
| -rw-r--r-- | app-arch/lld/files/patches-0/0002-SharedLibraryAtom-symbolness.patch | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/app-arch/lld/files/patches-0/0002-SharedLibraryAtom-symbolness.patch b/app-arch/lld/files/patches-0/0002-SharedLibraryAtom-symbolness.patch deleted file mode 100644 index 2ff4f37f..00000000 --- a/app-arch/lld/files/patches-0/0002-SharedLibraryAtom-symbolness.patch +++ /dev/null @@ -1,27 +0,0 @@ -From a59ad615abd97376779958da473f3c65308f7d82 Mon Sep 17 00:00:00 2001 -From: "Michael J. Spencer" <bigcheesegs@gmail.com> -Date: Tue, 12 Feb 2013 00:24:05 -0800 -Subject: [PATCH 02/13] SharedLibraryAtom symbolness. - ---- - lib/ReaderWriter/ELF/SectionChunks.h | 4 ++++ - 1 file changed, 4 insertions(+) - -diff --git a/lib/ReaderWriter/ELF/SectionChunks.h b/lib/ReaderWriter/ELF/SectionChunks.h -index a809875..553972e 100644 ---- a/lib/ReaderWriter/ELF/SectionChunks.h -+++ b/lib/ReaderWriter/ELF/SectionChunks.h -@@ -638,6 +638,10 @@ void SymbolTable<ELFT>::addSymbol(const Atom *atom, int32_t sectionIndex, - break; - } - symbol->st_value = addr; -+ } else if (isa<const SharedLibraryAtom>(atom)) { -+ type = llvm::ELF::STT_FUNC; -+ symbol->st_shndx = llvm::ELF::SHN_UNDEF; -+ binding = llvm::ELF::STB_GLOBAL; - } else { - symbol->st_value = 0; - type = llvm::ELF::STT_NOTYPE; --- -1.8.1.2 - |
