Skip to content
  1. Sep 12, 2017
    • Simon Atanasyan's avatar
      [MIPS] Initial support of microMIPS code linking · 4f70b30d
      Simon Atanasyan authored
      The patch implements initial support of microMIPS code linking:
        - Handle microMIPS specific relocations.
        - Emit both R1-R5 and R6 microMIPS PLT records.
      
      For now linking mixed set of regular and microMIPS object files is not
      supported. Also the patch does not handle (setup and clear) the
      least-significant bit of an address which is utilized as the ISA mode
      bit and allows to make jump between regular and microMIPS code without
      any thunks.
      
      Differential revision: https://reviews.llvm.org/D37335
      
      llvm-svn: 313028
      4f70b30d
    • Peter Smith's avatar
      [ELF] Rename variables and add comments to getISThunkSec [NFC] · 38029d3c
      Peter Smith authored
      Replace OutputSection *Cmd to OutputSection *OS. The Commands vector was
      moved to OutputSection but the names of the variables were not. This patch
      changes the names to match.
      
      Differential Revision: https://reviews.llvm.org/D37627
      
      llvm-svn: 313015
      38029d3c
    • Rafael Espindola's avatar
      Align addresses, not offsets. · a6acd23c
      Rafael Espindola authored
      This fixes two more cases where we were aligning the offset in a
      section, instead of the final address.
      
      llvm-svn: 312983
      a6acd23c
    • Rafael Espindola's avatar
      Correct ALIGN expression when inside a section. · b7147ad3
      Rafael Espindola authored
      When given
      
      foobar = ALIGN(., 0x100);
      
      my expectation from what the manual says is that the final address of
      foobar will be aligned. It seems that bfd aligns the offset in the
      section, which causes some odd results if the section is not 0x100
      aligned. Gold aligns the address.
      
      This changes lld to align the final address.
      
      llvm-svn: 312979
      b7147ad3
  2. Sep 11, 2017
  3. Sep 08, 2017
  4. Sep 07, 2017
  5. Sep 06, 2017
  6. Sep 05, 2017
  7. Sep 04, 2017
  8. Sep 01, 2017
    • Petr Hosek's avatar
      [ELF] Set p_memsz to p_filesz when aligning the last segment to page boundary · 7ab9f7be
      Petr Hosek authored
      Having p_filesz different from p_memsz is confusing some tools.
      
      Differential Revision: https://reviews.llvm.org/D37369
      
      llvm-svn: 312384
      7ab9f7be
    • George Rimar's avatar
      [ELF] - Never call splitIntoPieces() twice. NFC. · e89c5bfb
      George Rimar authored
      Previously it was called twice for .comment synthetic section.
      That created 2 pieces of data, which was deduplicated anyways,
      but was not clean.
      
      llvm-svn: 312327
      e89c5bfb
    • Petr Hosek's avatar
      [ELF] Generate symbol assignments for predefined symbols · 18821b60
      Petr Hosek authored
      The problem with symbol assignments in implicit linker scripts is that
      they can refer synthetic symbols such as _end, _etext or _edata. The
      value of these symbols is currently fixed only after all linker script
      commands are processed, so these assignments will be using non-final and
      hence invalid value.
      
      Rather than fixing the symbol values after all command processing have
      finished, we instead change the logic to generate symbol assignment
      commands that set the value of these symbols while processing the
      commands, this ensures that the value is going to be correct by the time
      any reference to these symbol is processed and is equivalent to defining
      these symbols explicitly in linker script as BFD ld does.
      
      Differential Revision: https://reviews.llvm.org/D36986
      
      llvm-svn: 312305
      18821b60
  9. Aug 31, 2017
Loading