Skip to content
  1. Oct 12, 2017
    • Rui Ueyama's avatar
      Rename P -> Pieces. · 36d8db42
      Rui Ueyama authored
      Conventionally, an array of SectionPieces is named Pieces.
      It is better to follow the convention.
      
      llvm-svn: 315543
      36d8db42
    • NAKAMURA Takumi's avatar
      lld: Prune unused libdeps. · b6d34522
      NAKAMURA Takumi authored
      llvm-svn: 315537
      b6d34522
    • NAKAMURA Takumi's avatar
      lld: Reorder libdeps. · d791eaa5
      NAKAMURA Takumi authored
      Differential Revision: https://reviews.llvm.org/D38828
      
      llvm-svn: 315529
      d791eaa5
    • Rui Ueyama's avatar
      Define RelType to represent relocation types. · 67533a2c
      Rui Ueyama authored
      We were using uint32_t as the type of relocation kind. It has a
      readability issue because what Type really means in `uint32_t Type`
      is not obvious. It could be a section type, a symbol type or a
      relocation type.
      
      Since we do not do any arithemetic operations on relocation types
      (e.g. adding one to R_X86_64_PC32 doesn't make sense), it would be
      more natural if they are represented as enums. Unfortunately, that
      is not doable because relocation type definitions are spread into
      multiple header files.
      
      So I decided to use typedef. This still should be better than the
      plain uint32_t because the intended type is now obvious.
      
      llvm-svn: 315525
      67533a2c
  2. Oct 11, 2017
  3. Oct 10, 2017
    • Rafael Espindola's avatar
      Don't create a dummy __tls_get_addr. · 97c57b9e
      Rafael Espindola authored
      We just don't need one with the current setup.
      
      We only error on undefined references that are used by some
      relocation.
      
      If we managed to relax all uses of __tls_get_addr, no relocation uses
      it and we don't produce an error.
      
      This is less code and fixes the case were we fail to relax. Before we
      would produce a broken output, but now we produce an error.
      
      llvm-svn: 315334
      97c57b9e
Loading