Skip to content
  1. May 11, 2017
  2. May 10, 2017
  3. May 09, 2017
  4. May 08, 2017
    • Rafael Espindola's avatar
      Simplify orphan section positioning. · b5de5b93
      Rafael Espindola authored
      The code following this one already considers every possible insertion
      point for orphan sections, there is no point in sorting them before.
      
      llvm-svn: 302441
      b5de5b93
    • George Rimar's avatar
      [ELF] - Set DF_STATIC_TLS flag for i386 target. · 1564122b
      George Rimar authored
      This is PR32437.
      
      DF_STATIC_TLS
      If set in a shared object or executable, this flag instructs the 
      dynamic linker to reject attempts to load this file dynamically. 
      It indicates that the shared object or executable contains code 
      using a static thread-local storage scheme. Implementations need 
      not support any form of thread-local storage.
      
      Patch checks if IE/LE relocations were used to check if code uses
      static model. If so it sets the DF_STATIC_TLS flag.
      
      Differential revision: https://reviews.llvm.org/D32354
      
      llvm-svn: 302414
      1564122b
    • George Rimar's avatar
      [ELF] - Linkerscript: support combination of linkerscript and --compress-debug-sections. · d86a4e50
      George Rimar authored
      Previously it was impossible to use linkerscript with --compress-debug-sections 
      because of assert failture:
      Assertion failed: isFinalized(), file C:\llvm\lib\MC\StringTableBuilder.cpp, line 64
      
      Patch fixes the issue
      
      llvm-svn: 302413
      d86a4e50
  5. May 07, 2017
  6. May 06, 2017
  7. May 05, 2017
  8. May 04, 2017
    • Rafael Espindola's avatar
      Simplify the header allocation. · 02ed7575
      Rafael Espindola authored
      In the non linker script case we would try very early to find out if
      we could allocate the headers. Failing to do that would add extra
      alignment to the first ro section, since we would set PageAlign
      thinking it was the first section in the PT_LOAD.
      
      In the linker script case the header allocation must be done in the
      end, causing some duplication.
      
      We now tentatively add the headers to the first PT_LOAD and if it
      turns out they don't fit, remove them. With this we only need to
      allocate the headers in one place in the code.
      
      llvm-svn: 302186
      02ed7575
Loading