diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2024-12-04 17:27:59 -0600 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2024-12-04 17:27:59 -0600 |
commit | a52113d2368551dc2c530b765f656e724fcd7739 (patch) | |
tree | e29c2aa61e7685cff165f23a043421de485ac9fe /user/llvm14/macho32.patch | |
parent | 9286e92e196082d80499e286c154086d0d302188 (diff) | |
download | packages-a52113d2368551dc2c530b765f656e724fcd7739.tar.gz packages-a52113d2368551dc2c530b765f656e724fcd7739.tar.bz2 packages-a52113d2368551dc2c530b765f656e724fcd7739.tar.xz packages-a52113d2368551dc2c530b765f656e724fcd7739.zip |
user/llvm14: Move to bootstrap/
Package is only needed by Rust bootstrap packages.
Diffstat (limited to 'user/llvm14/macho32.patch')
-rw-r--r-- | user/llvm14/macho32.patch | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/user/llvm14/macho32.patch b/user/llvm14/macho32.patch deleted file mode 100644 index 31279d502..000000000 --- a/user/llvm14/macho32.patch +++ /dev/null @@ -1,17 +0,0 @@ -Use integer offset math instead of pointer math to determine load -command bounds. - -Upstream-URL: https://github.com/llvm/llvm-project/issues/56746 - ---- llvm-14.0.6.src/lib/Object/MachOObjectFile.cpp.old 2022-06-22 16:46:24.000000000 +0000 -+++ llvm-14.0.6.src/lib/Object/MachOObjectFile.cpp 2022-11-28 04:21:02.730211841 +0000 -@@ -190,7 +190,8 @@ - getLoadCommandInfo(const MachOObjectFile &Obj, const char *Ptr, - uint32_t LoadCommandIndex) { - if (auto CmdOrErr = getStructOrErr<MachO::load_command>(Obj, Ptr)) { -- if (CmdOrErr->cmdsize + Ptr > Obj.getData().end()) -+ uint64_t Offset = Ptr - Obj.getData().begin(); -+ if (CmdOrErr->cmdsize + Offset > Obj.getData().size()) - return malformedError("load command " + Twine(LoadCommandIndex) + - " extends past end of file"); - if (CmdOrErr->cmdsize < 8) |