[PATCH] D80177: [lld-macho] Set __PAGEZERO size to 4GB

Jez Ng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 18 21:09:04 PDT 2020


int3 created this revision.
int3 added reviewers: ruiu, pcc, MaskRay, smeenai, alexshap, gkm, Ktwu, christylee.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

That's what ld64 uses for 64-bit targets. I figured it's best
to make this change sooner rather than later since a bunch of our tests
are relying on hardcoded addresses that depend on this value.

Depends on D80169 <https://reviews.llvm.org/D80169>.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D80177

Files:
  lld/MachO/SyntheticSections.h
  lld/MachO/Target.h
  lld/test/MachO/segments.s
  lld/test/MachO/x86-64-reloc-signed.s
  lld/test/MachO/x86-64-reloc-unsigned.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D80177.264782.patch
Type: text/x-patch
Size: 3456 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200519/6d32b2ae/attachment.bin>


More information about the llvm-commits mailing list