[llvm-bugs] [Bug 30444] New: PT_LOAD not aligned with linker scripts

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Sep 19 08:36:02 PDT 2016


https://llvm.org/bugs/show_bug.cgi?id=30444

            Bug ID: 30444
           Summary: PT_LOAD not aligned with linker scripts
           Product: lld
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: ELF
          Assignee: unassignedbugs at nondot.org
          Reporter: rafael.espindola at gmail.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

Linking an empty .s file into a shared library with the script

SECTIONS { } 

lld produces

  LOAD           0x000000 0x0000000000000000 0x0000000000000000 0x0001f1
0x0001f1 R   0x1000
  LOAD           0x0001f4 0x00000000000001f4 0x00000000000001f4 0x000000
0x000000 R E 0x1000
  LOAD           0x0001f8 0x00000000000001f8 0x00000000000001f8 0x000060
0x000060 RW  0x1000

-- 
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/20160919/f5ddadec/attachment.html>


More information about the llvm-bugs mailing list