https://sourceware.org/bugzilla/show_bug.cgi?id=31795

            Bug ID: 31795
           Summary: ld.bfd makes elf type ET_EXEC for PIEs when load
                    address non-0
           Product: binutils
           Version: 2.42
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: ld
          Assignee: unassigned at sourceware dot org
          Reporter: mintsuki at protonmail dot com
  Target Milestone: ---

When linking a static-pie kernel with ld.lld (from LLVM) or ld.gold, the output
ELF file type is always ET_DYN (as I believe is correct), but, when linking
using ld.bfd, the output ELF type is ET_DYN only if the load address of the
PHDRs starts at 0, but gets set to ET_EXEC if the load address is a non-0
value.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to