[PATCH] D73424: [ELF][PPC32] Support range extension thunk with addends

Brandon Bergren via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Jan 25 22:21:57 PST 2020


Bdragon28 accepted this revision.
Bdragon28 added a comment.
This revision is now accepted and ready to land.

This is necessary to run large programs like clang on FreeBSD powerpc32 when built with lld, because of REL24 branches in the crt startup code (done on purpose for object reusability reasons -- the csu objects need to work on both non-pic and pic, so they just use a plain bl and rely on the link editor to do a thunk if necessary.)

Looks good to me from a functionality standpoint on powerpc32.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D73424





More information about the llvm-commits mailing list