[PATCH] D37736: [ELF] - Do not spread specific flags when emiting output sections.

George Rimar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 20 09:06:39 PDT 2017


grimar added a comment.

What about SHF_TLS flag ?
I checked that for script below we also spread it to `my`:

  SECTIONS {
   . = 0x10000;
   .tbss : { *(.tbss) }
  
   .my : { 
     mybegin = .; 
     . += 100;
     myend = .;
     }
  }

And it does not seem correct, bfd does not do that either. And this place
looks appropriate for dropping it, isn't ?


https://reviews.llvm.org/D37736





More information about the llvm-commits mailing list