Skip to content
  1. Dec 04, 2013
  2. Dec 03, 2013
  3. Dec 02, 2013
  4. Dec 01, 2013
    • Rui Ueyama's avatar
      [PECOFF] Fix /debug option. · 8de2250a
      Rui Ueyama authored
      /DEBUG option is to make the linker to emit debug information to the resulting
      executable. It's not for enable debugging of the linker itself.
      
      llvm-svn: 196040
      8de2250a
  5. Nov 28, 2013
  6. Nov 27, 2013
    • Rui Ueyama's avatar
      [PECOFF] Improve /merge option handling. · 615b200c
      Rui Ueyama authored
      /MERGE option is a bit complicated for many reasons. Firstly, it takes both
      positive and negative arguments. That means we have to have one of three
      distinctive values (set, clear or unchange) for each permission bit. In this
      patch we represent the three values using two bitmasks.
      
      Secondly, the permissions specified by the parameter is bitwise or-ed with the
      default permissions of a section. There is an exception for that rule; if one
      of READ, WRITE or EXECUTE bit is specified, unspecified bits need to be
      cleared. (So if you specify only WRITE for example, the resulting section will
      not have WRITE nor EXECUTE bits.)
      
      Lastly, multiple /merge options are allowed.
      
      llvm-svn: 195882
      615b200c
    • Rui Ueyama's avatar
      Refactor tests by using short identifiers. · ccb8f168
      Rui Ueyama authored
      This patch is to improve the readability of the tests before making a change
      to /merge option.
      
      llvm-svn: 195863
      ccb8f168
    • Rui Ueyama's avatar
      [PECOFF] Implement /merge option. · a5e09c84
      Rui Ueyama authored
      /MERGE:foo=bar command line option merges section foo to section bar. If
      section bar does not exist, foo is just renamed as bar.
      
      llvm-svn: 195856
      a5e09c84
    • Rui Ueyama's avatar
      [PECOFF] Rename getFinalSectionName -> getOutputSectionName. · 951dd1d4
      Rui Ueyama authored
      llvm-svn: 195855
      951dd1d4
    • Rui Ueyama's avatar
      [PECOFF] Remove extraneous command line options from tests. · 26c191ae
      Rui Ueyama authored
      llvm-svn: 195854
      26c191ae
    • Rui Ueyama's avatar
      [PECOFF] Add a test for r195797. · 60bbba65
      Rui Ueyama authored
      llvm-svn: 195853
      60bbba65
    • Rui Ueyama's avatar
      [PECOFF] Fix atom ordinals. · 878a8c90
      Rui Ueyama authored
      Atom ordinals are the indeces in a file. Currently the PECOFF reader assigns
      ordinals for each section, so it's (incorrectly) assigning duplicate ordinals.
      
      llvm-svn: 195852
      878a8c90
    • Rui Ueyama's avatar
      Print a bit more information before aborting. · cd480759
      Rui Ueyama authored
      llvm-svn: 195801
      cd480759
    • Rui Ueyama's avatar
      [PECOFF] Add a generic section writer. · 3e873b05
      Rui Ueyama authored
      Instead of having multiple SectionChunks for each section (.text, .data,
      .rdata and .bss), we could have one chunk writer that can emit any sections.
      This patch does that -- removing all section-sepcific chunk writers and
      replace them with one "generic" writer.
      
      This change should simplify the code because it eliminates similar-but-
      slightly-different classes.
      
      It also fixes an issue in the previous design. Before this patch, we could
      emit only limited set of sections (i.e. .text, .data, .rdata and .bss). With
      this patch, we can emit any sections.
      
      llvm-svn: 195797
      3e873b05
    • Rui Ueyama's avatar
      Revert "WriterPECOFF" · 57b4da58
      Rui Ueyama authored
      This reverts accidental commit r195794.
      
      llvm-svn: 195795
      57b4da58
    • Rui Ueyama's avatar
      WriterPECOFF · 6dc6d18f
      Rui Ueyama authored
      llvm-svn: 195794
      6dc6d18f
  7. Nov 26, 2013
  8. Nov 25, 2013
Loading