[PATCH] D150510: [ELF] x86-64: place .lrodata, .lbss, and .ldata away from code sections

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 24 13:24:51 PDT 2023


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

Add Co-authored-by and thanks to Arthur Eubanks

Add a SECTIONS test. Compared with https://github.com/llvm/llvm-project/commit/1ef68439208701146384d04f58286cdb94623452 , this version intentionally doesn't special case SECTIONS commands.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D150510

Files:
  lld/ELF/LinkerScript.cpp
  lld/ELF/Writer.cpp
  lld/test/ELF/linkerscript/sections-nonalloc.s
  lld/test/ELF/linkerscript/sections.s
  lld/test/ELF/phdr-align.s
  lld/test/ELF/x86-64-section-layout.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D150510.525319.patch
Type: text/x-patch
Size: 11027 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230524/d5f3e3da/attachment.bin>


More information about the llvm-commits mailing list