Skip to content
  1. Dec 13, 2013
    • 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