[PATCH] D64903: [ELF] Pad the last page of last PF_X PT_LOAD with traps when -z separate-code is specified

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 18 04:40:17 PDT 2019


MaskRay updated this revision to Diff 210528.
MaskRay edited the summary of this revision.
MaskRay added a comment.

> Would it also be possible to define what -zseparate-code is supposed to do in LLD?

Update description to explain -z separate-code


Repository:
  rLLD LLVM Linker

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

https://reviews.llvm.org/D64903

Files:
  ELF/Config.h
  ELF/Driver.cpp
  ELF/Writer.cpp
  test/ELF/avoid-empty-program-headers.s
  test/ELF/basic-aarch64.s
  test/ELF/basic-i386.s
  test/ELF/basic-ppc.s
  test/ELF/basic-sparcv9.s
  test/ELF/basic.s
  test/ELF/build-id.s
  test/ELF/common-page.s
  test/ELF/fill-trap-ppc.s
  test/ELF/fill-trap.s
  test/ELF/image-base.s
  test/ELF/msp430.s
  test/ELF/partition-synthetic-sections.s
  test/ELF/relocatable.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D64903.210528.patch
Type: text/x-patch
Size: 20529 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190718/67f411be/attachment.bin>


More information about the llvm-commits mailing list