Page MenuHomeFreeBSD

elfcopy: exclude extension when converting from binary
ClosedPublic

Authored by emaste on Nov 20 2015, 9:46 PM.
Tags
None
Referenced Files
Unknown Object (File)
Feb 11 2024, 1:47 PM
Unknown Object (File)
Jan 9 2024, 12:01 PM
Unknown Object (File)
Jan 5 2024, 6:21 PM
Unknown Object (File)
Dec 27 2023, 9:02 PM
Unknown Object (File)
Dec 21 2023, 4:08 PM
Unknown Object (File)
Dec 20 2023, 12:37 AM
Unknown Object (File)
Oct 2 2023, 12:02 PM
Unknown Object (File)
Aug 30 2023, 8:50 PM
Subscribers
None

Details

Summary

When converting from binary to ELF, elfcopy creates symbols _binary_<filename>_start_, _binary_<filename>_end, and _binary_<filename>_size. For compatibility with GNU objcopy (and to produce sensible symbol names) the extension must be stripped off.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

emaste retitled this revision from to elfcopy: exclude extension when converting from binary.
emaste updated this object.
emaste edited the test plan for this revision. (Show Details)
emaste added a reviewer: imp.
imp edited edge metadata.

looks good to me. At least one test I ran with this a few weeks ago worked.

This revision is now accepted and ready to land.Dec 7 2015, 8:12 PM
This revision was automatically updated to reflect the committed changes.