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

2021-07-28 Thread i at maskray dot me
https://sourceware.org/bugzilla/show_bug.cgi?id=1 Fangrui Song changed: What|Removed |Added CC||i at maskray dot me --- Comment #5 fro

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

2017-09-28 Thread markus at trippelsdorf dot de
https://sourceware.org/bugzilla/show_bug.cgi?id=1 --- Comment #4 from Markus Trippelsdorf --- (In reply to Cary Coutant from comment #3) > 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 >

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

2017-09-27 Thread ccoutant at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=1 --- Comment #3 from Cary Coutant --- 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 do

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

2017-09-27 Thread markus at trippelsdorf dot de
https://sourceware.org/bugzilla/show_bug.cgi?id=1 --- Comment #2 from Markus Trippelsdorf --- The following produces an static-pie executable that crashes on startup when it calls __pthread_initialize_minimal(): diff --git a/gold/gold.cc b/gold/gold.cc index a76d155f940a..a2dd31816acc 10

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

2017-09-27 Thread markus at trippelsdorf dot de
https://sourceware.org/bugzilla/show_bug.cgi?id=1 --- Comment #1 from Markus Trippelsdorf --- So perhaps: diff --git a/gold/layout.cc b/gold/layout.cc index 5f25faea5532..4fe4d6825223 100644 --- a/gold/layout.cc +++ b/gold/layout.cc @@ -2749,7 +2749,8 @@ Layout::finalize(const Input_objects*