[PATCH] D48406: [ELF] Make non-writable non-executable PROGBITS sections closer to .text

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 21 14:49:38 PDT 2018


MaskRay added a comment.

  [12] .rodata           PROGBITS        0000000000200560 000560 000403 00 AMS  0   0 16
  [13] .eh_frame_hdr     PROGBITS        0000000000200964 000964 00002c 00   A  0   0  4
  [14] .eh_frame         PROGBITS        0000000000200990 000990 0000cc 00   A  0   0  8
  [15] .text             PROGBITS        0000000000201000 001000 0001a2 00  AX  0   0 16

I want to make `.rodata` and `.text` back-to-back, but not sure how to make such heuristic more general...


Repository:
  rLLD LLVM Linker

https://reviews.llvm.org/D48406





More information about the llvm-commits mailing list