Skip to content
  1. Nov 06, 2013
    • Rui Ueyama's avatar
      [PECOFF] Do not expose _noDefaultLibs. No functionality change. · 589276cd
      Rui Ueyama authored
      llvm-svn: 194130
      589276cd
    • Rui Ueyama's avatar
      [PECOFF] Do not add the same library to the input graph more than once. · 249c7b33
      Rui Ueyama authored
      /defaultlib options can be specified implicitly via the .drectve section, and
      it's pretty common that multiple object files add the same library, such as
      user32.lib, to the input. We shouldn't add the same library multiple times.
      
      llvm-svn: 194129
      249c7b33
    • Rui Ueyama's avatar
      Undef a local macro after use. · e1c30a4e
      Rui Ueyama authored
      llvm-svn: 194128
      e1c30a4e
    • Rui Ueyama's avatar
      [PECOFF] Do not wrap the linker internal file with an archive file. · d213a9ed
      Rui Ueyama authored
      We wrapped the linker internal file with a virtual archive file, so that the
      linker internal file was linked only when it's actually used. This was to avoid
      __ImageBase being included to the resulting executable. __ImageBase used to
      occupy four bytes when emitted to executable.
      
      And then it turned out that the implementation of __ImageBase was wrong -- it
      shouldn't have been a regular atom but an absolute atom. Absolute atoms point
      to some memory location, but they don't occupy disk space themselves. So it
      wouldn't increase executable size (except the symbol table.) That means that
      it's OK to link the linker internal file unconditionally.
      
      So this patch does that, removing the wrapper archive file. Doing this
      simplifies the code.
      
      llvm-svn: 194127
      d213a9ed
    • Rui Ueyama's avatar
      [PECOFF] Ignore /disallowlib. · c13f43f4
      Rui Ueyama authored
      msvcrt.lib contains "/disallowlib" command line option in its .drectve section.
      I couldn't spot any documentation for the option. Ignore it for now so that we
      can link the library without error.
      
      llvm-svn: 194114
      c13f43f4
    • Rui Ueyama's avatar
      [PECOFF] Report error if there's unknown flag in .drectve · 7e77a294
      Rui Ueyama authored
      Errors in .drectve section were silently ignored. This patch fixes the issue.
      
      llvm-svn: 194110
      7e77a294
  2. Nov 05, 2013
  3. Nov 04, 2013
  4. Nov 02, 2013
  5. Nov 01, 2013
  6. Oct 31, 2013
  7. Oct 30, 2013
  8. Oct 29, 2013
  9. Oct 28, 2013
Loading