[PATCH] D59531: [ELF] Produce multiple PT_NOTE segments as needed

Rui Ueyama via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 19 07:22:57 PDT 2019


ruiu added a comment.

In D59531#1434312 <https://reviews.llvm.org/D59531#1434312>, @pcc wrote:

> Is it possible for this to fail with a linker script that looks like:
>
>   SECTIONS {
>     . = SIZEOF_HEADERS;
>     .note1 : { *(.note1) }
>     . = 0x10000;
>     .note2 : { *(.note2) }
>   }
>
>
> ?


Is this realistic? I'm not worried too much about this because it seems you are intentionally creating a large gap between .note sections.


Repository:
  rL LLVM

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

https://reviews.llvm.org/D59531





More information about the llvm-commits mailing list