Skip to content
  1. Dec 14, 2013
  2. Dec 13, 2013
    • Rui Ueyama's avatar
      Run clang-format on the new files. · c4123a57
      Rui Ueyama authored
      I should have run it before submitting but forgot to do that. Doing it now...
      
      llvm-svn: 197214
      c4123a57
    • Rui Ueyama's avatar
      [PECOFF] Align .edata fields on natural boundaries. · 3a136547
      Rui Ueyama authored
      The only data in .edata whose length varies is the string. This patch moves
      all the strings to the end of the section, so that 16-bit or 32-bit integers
      are aligned on correct boundaries.
      
      llvm-svn: 197213
      3a136547
    • Rui Ueyama's avatar
      [PECOFF] Create .edata section for the DLL export table. · c91c24e3
      Rui Ueyama authored
      This is the first patch to emit data for the DLL export table. The DLL export
      table is the data used by the Windows loader to find the address of exported
      function from DLL. With this patch, LLD is able to emit a valid DLL export
      table which the Windows loader can interpret and load.
      
      The data structure of the DLL export table is described in the Microsoft
      PE/COFF Specification, section 5.3.
      
      DLL support is not complete yet; the linker needs to emit an import library
      for a DLL, otherwise the linker cannot link against the DLL. We also do not
      support export-only-by-ordinal yet.
      
      llvm-svn: 197212
      c91c24e3
Loading