This is an archive of the discontinued LLVM Phabricator instance.

Remove a special handling of AMDGPU entry points.
ClosedPublic

Authored by ruiu on Dec 7 2016, 11:33 AM.

Details

Summary

This is the last peculiar semantics left in the linker, and I'd
like to remove it to streamline it. If you want to always set an
entry point to 0, you can pass -e 0 to the linker. I think
doing it explicitly is much better rather than having special
code for AMDGPU in the linker.

Diff Detail

Repository
rL LLVM

Event Timeline

ruiu updated this revision to Diff 80632.Dec 7 2016, 11:33 AM
ruiu retitled this revision from to Remove a special handling of AMDGPU entry points..
ruiu updated this object.
ruiu added a reviewer: tstellarAMD.
ruiu added a subscriber: llvm-commits.
tstellarAMD accepted this revision.Dec 7 2016, 7:14 PM
tstellarAMD edited edge metadata.

LGTM.

This revision is now accepted and ready to land.Dec 7 2016, 7:14 PM
This revision was automatically updated to reflect the committed changes.
lld/trunk/ELF/Driver.cpp