[PATCH] D24363: [ELF] Fix DT_NEEDED value

Davide Italiano via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 8 13:03:46 PDT 2016


davide added a comment.

Also, the shared.s change is a side effect.
We can't do `CHECK-NEXT`

  Section {
    Index: 7
    Name: .dynamic (46)
    Type: SHT_DYNAMIC (0x6)
    Flags [ (0x3)
      SHF_ALLOC (0x2)
      SHF_WRITE (0x1)
    ]
    Address: 0x12000
    Offset: 0x2000
    Size: 96
    Link: 4
    Info: 0
    AddressAlignment: 4
    EntrySize: 8
    SectionData (
      0000: 1D000000 10000000 01000000 18000000  |................|
      0010: 11000000 E4010100 12000000 10000000  |................|
      0020: 13000000 08000000 06000000 50010100  |............P...|
      0030: 0B000000 10000000 05000000 B8010100  |................|
      0040: 0A000000 29000000 04000000 90010100  |....)...........|
      0050: 15000000 00000000 00000000 00000000  |................|
    )
  }

because the section data already contains a `)`.


https://reviews.llvm.org/D24363





More information about the llvm-commits mailing list