Skip to content
  1. Aug 10, 2017
  2. Aug 09, 2017
  3. Aug 05, 2017
  4. Aug 04, 2017
  5. Aug 03, 2017
  6. Aug 02, 2017
    • Rafael Espindola's avatar
      Use more consistent names · 3a8e4d98
      Rafael Espindola authored
      Reviewing another change I noticed that we use "getSymbols" to mean
      different things in different files. Depending on the file it can
      return
      
      ArrayRef<StringRef>
      ArrayRef<SymbolBody*>
      ArrayRef<Symbol*>
      ArrayRef<Elf_Sym>
      
      With this change it always returns an ArrayRef<SymbolBody*>. The other
      functions are renamed getELFsyms() and getSymbolNames().
      
      Note that we cannot return ArrayRef<Symbol*> instead of
      ArreyRef<SymbolBody*> because local symbols have a SymbolBody but not
      a Symbol.
      
      llvm-svn: 309840
      3a8e4d98
    • Petr Hosek's avatar
      [ELF] When the code segment is the last, align it to the page boundary · edd6c358
      Petr Hosek authored
      When the data segment is the last segment, it is correct to leave
      it unaligned. However, when the code segment is the last segment,
      it should be aligned to the page boundary to avoid loading the
      non-segment parts of the ELF file at the end of the file.
      
      Differential Revision: https://reviews.llvm.org/D33630
      
      llvm-svn: 309829
      edd6c358
    • George Rimar's avatar
      [ELF] - Recommit r309252 "[ELF] - Fix missing relocation when linking... · b0d9fbee
      George Rimar authored
      [ELF] - Recommit r309252 "[ELF] - Fix missing relocation when linking executable with --unresolved-symbols=ignore-all"
      
      With fix for undefined weak symbols in executable.
      
      Original commit message:
      This is PR32112. Previously when we linked executable with 
      --unresolved-symbols=ignore-all and undefined symbols, like:
      
      _start:
      callq und@PLT
      
      we did not create relocations, though it looks in that case
      we should delegate handling of such symbols to runtime linker,
      hence should emit them. Patch fixes that.
      
      Differential revision: https://reviews.llvm.org/D35724
      
      llvm-svn: 309796
      b0d9fbee
  7. Aug 01, 2017
  8. Jul 31, 2017
  9. Jul 28, 2017
  10. Jul 27, 2017
  11. Jul 26, 2017
Loading