[PATCH] D13561: [ELF2] Make the system page size a target-dependent property

hfinkel@anl.gov via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 8 09:58:28 PDT 2015


hfinkel created this revision.
hfinkel added reviewers: ruiu, rafael.
hfinkel added a subscriber: llvm-commits.
hfinkel added a project: lld.

The required page alignment is different on different targets. On PowerPC, for example, we need 64K pages (the loader won't set different permissions on a finer granularity than that). I've set the existing targets to what I believe to be the correct values, and have updated the regression tests accordingly.


http://reviews.llvm.org/D13561

Files:
  ELF/Target.cpp
  ELF/Target.h
  ELF/Writer.cpp
  test/elf2/basic-mips.s
  test/elf2/basic32be.s
  test/elf2/basic64be.s
  test/elf2/emulation.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D13561.36868.patch
Type: text/x-patch
Size: 16087 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151008/c52b3d84/attachment.bin>


More information about the llvm-commits mailing list