[llvm-bugs] [Bug 40339] New: [yaml2obj]DynamicSymbols presence should not prevent explicit addresses for .dynsym and .dynstr

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Jan 16 08:19:46 PST 2019


            Bug ID: 40339
           Summary: [yaml2obj]DynamicSymbols presence should not prevent
                    explicit addresses for .dynsym and .dynstr
           Product: new-bugs
           Version: unspecified
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: jh7370.2008 at my.bristol.ac.uk
                CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org

The following yaml input for yaml2obj will result in an address of 0 for both
.dynsym and .dynstr despite the explicit address value. There is no good reason
for this that I can think of:

  Class:           ELFCLASS64
  Data:            ELFDATA2LSB
  Type:            ET_DYN
  Machine:         EM_X86_64
  - Name:         .dynstr
    Type:         SHT_STRTAB
    Flags:        [ SHF_ALLOC ]
    Address:      0x1000
    EntSize:      0x1
  - Name:         .dynsym
    Type:         SHT_DYNSYM
    Flags:        [ SHF_ALLOC ]
    Address:      0x2000
    EntSize:      0x18
    - Name: foo

You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20190116/a5acf132/attachment.html>

More information about the llvm-bugs mailing list