plotfi added a comment.

In D60974#1485607 <https://reviews.llvm.org/D60974#1485607>, @jakehehrlich 
wrote:

> The linker doesn't look at section permissions. In fact the only thing it 
> even looks at the section index for is to check for alignment for copy 
> relocations which is something most people don't even use.


Alright, that seems reasonable. Then I will work on emitting something that 
resembles:

  --- !ifo-elf-v1
  Arch: <arch>
  Endian: <endianness> 
  Symbols:
  # One or more symbols here:
    - Name:            <name>
      Type:            <type>
      <Alignment: +[0-9] | empty>
      <Weak: true | empty>
  ...

Along with a tool that merges these "ifo" files.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D60974



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to