This is an archive of the discontinued LLVM Phabricator instance.

Ensure __executable_start is added to executables
AbandonedPublic

Authored by thomasanderson on Dec 21 2018, 1:07 PM.

Diff Detail

Event Timeline

thomasanderson created this revision.Dec 21 2018, 1:07 PM

+pcc
no idea if this is the right fix

pcc requested changes to this revision.Dec 21 2018, 1:18 PM
pcc added subscribers: ruiu, llvm-commits.

This would seem to add the reserved symbols to object file outputs (i.e. ld -r), which isn't correct.

This revision now requires changes to proceed.Dec 21 2018, 1:18 PM
thomasanderson abandoned this revision.Dec 27 2018, 12:33 PM

Turns out this patch doesn't even fix the bug, but I've debugged it and I think I know what the issue is now. I'll send out a better patch soon