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: unassignedb...@nondot.org
          Reporter: rafael.espind...@gmail.com
                CC: llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to