[PATCH] D158911: [BOLT] Support input binaries that use R_X86_GOTPC64

Rafael Auler via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 11 17:25:03 PDT 2023


rafauler updated this revision to Diff 556509.
rafauler added a comment.

Fix stack alignment in testcases, which caused libc's puts() stack to
crash in ubuntu systems because libc was using movaps in malloc
initialization.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D158911/new/

https://reviews.llvm.org/D158911

Files:
  bolt/include/bolt/Core/BinaryContext.h
  bolt/include/bolt/Core/Relocation.h
  bolt/lib/Core/BinaryContext.cpp
  bolt/lib/Core/Relocation.cpp
  bolt/lib/Rewrite/JITLinkLinker.cpp
  bolt/lib/Rewrite/RewriteInstance.cpp
  bolt/lib/Target/X86/X86MCPlusBuilder.cpp
  bolt/lib/Target/X86/X86MCSymbolizer.cpp
  bolt/lib/Target/X86/X86MCSymbolizer.h
  bolt/test/runtime/X86/gotoff-large-code-model-2.s
  bolt/test/runtime/X86/gotoff-large-code-model.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D158911.556509.patch
Type: text/x-patch
Size: 11691 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230912/3803868a/attachment.bin>


More information about the llvm-commits mailing list