This is an archive of the discontinued LLVM Phabricator instance.

[Driver][Android] Removed obsoleted --warn-shared-textrel
ClosedPublic

Authored by MaskRay on Feb 3 2022, 1:11 PM.

Details

Summary

--warn-shared-textrel is ignored in ld.lld and obsoleted in GNU ld
(https://sourceware.org/bugzilla/show_bug.cgi?id=22909).

Note: binutils can be configured with --enable-textrel-check=[yes|error]
to make GNU ld error for text relocations by default, like ld.lld.

Diff Detail

Event Timeline

MaskRay created this revision.Feb 3 2022, 1:11 PM
MaskRay requested review of this revision.Feb 3 2022, 1:11 PM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 3 2022, 1:11 PM
Herald added a subscriber: cfe-commits. · View Herald Transcript
srhines accepted this revision.Feb 3 2022, 3:02 PM
This revision is now accepted and ready to land.Feb 3 2022, 3:02 PM
This revision was landed with ongoing or failed builds.Feb 4 2022, 9:30 AM
This revision was automatically updated to reflect the committed changes.