bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gold/22221] add --no-dynamic-linker option


From: ccoutant at gmail dot com
Subject: [Bug gold/22221] add --no-dynamic-linker option
Date: Thu, 28 Sep 2017 00:46:19 +0000

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

--- Comment #3 from Cary Coutant <ccoutant at gmail dot com> ---
I'm not sure I understand exactly what this option is for. If "-static -pie"
will produce a static-pie executable, wouldn't such an executable already lack
a dynamic linker? That's (part of) what -static does.

What does the option have to do with the PT_PHDR header and segment? From the
name & description, it sounds like it's intended to suppress the PT_INTERP
header.

If the option is also supposed to suppress the PT_PHDR header, shouldn't we
issue a warning or an error if this option is used and we see a PHDRS clause in
the linker script?

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]