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
    Classification: Unclassified

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


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

Reply via email to