Page MenuHomeFreeBSD

Do not strip all when stripping an explicit symbol
ClosedPublic

Authored by emaste on Dec 16 2014, 10:44 PM.
Tags
None
Referenced Files
Unknown Object (File)
Jan 22 2024, 11:51 AM
Unknown Object (File)
Dec 23 2023, 4:54 AM
Unknown Object (File)
Dec 20 2023, 5:06 AM
Unknown Object (File)
Dec 19 2023, 10:28 PM
Unknown Object (File)
Dec 9 2023, 1:26 AM
Unknown Object (File)
Dec 2 2023, 8:43 PM
Unknown Object (File)
Sep 29 2023, 7:36 AM
Unknown Object (File)
Sep 13 2023, 9:51 PM

Details

Summary

When asked to strip a specific symbol (-N) elftoolchain strip still defaulted to STRIP_ALL. In this case binutils defaults to stripping nothing (other than the requested symbol(s), of course), which makes a lot more sense.

PR 196038
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196038

Test Plan
  • reduced test case from PR
  • build ffmpeg port

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

emaste retitled this revision from to Do not strip all when stripping an explicit symbol.
emaste updated this object.
emaste edited the test plan for this revision. (Show Details)
emaste updated this object.
emaste added a subscriber: Unknown Object (MLST).
imp added a reviewer: imp.
imp added a subscriber: imp.

Looks good to me.

This revision is now accepted and ready to land.Dec 16 2014, 10:50 PM
emaste updated this revision to Diff 2778.

Closed by commit rS275862 (authored by @emaste).