Bug 197341 - [exp-run] ld: emit symbols for orphaned ELF sections whose names contain a period
Summary: [exp-run] ld: emit symbols for orphaned ELF sections whose names contain a pe...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Ports Framework (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Mark Johnston
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-05 05:08 UTC by Mark Johnston
Modified: 2015-05-06 01:38 UTC (History)
2 users (show)

See Also:


Attachments
proposed patch (1.99 KB, patch)
2015-02-05 05:08 UTC, Mark Johnston
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Johnston freebsd_committer freebsd_triage 2015-02-05 05:08:04 UTC
Created attachment 152570 [details]
proposed patch

I'd like to make a small enhancement to ld(1) to have it generate symbols for the start and end of ELF sections whose names contain a period. At the moment, ld(1) only does this if the section's name is representable in C, but we'd like to use this feature for a DTrace-related section named ".SUNW_dof".

I highly doubt that this change will affect ports in any way since ld(1) only emits these symbols for orphaned sections, but I'd like to request an exp-run just to be sure.

This post contains some context on the motivation for the change: https://lists.freebsd.org/pipermail/freebsd-dtrace/2015-January/000342.html
Comment 1 Antoine Brodin freebsd_committer freebsd_triage 2015-02-06 14:21:30 UTC
Take
Comment 3 Ed Maste freebsd_committer freebsd_triage 2015-05-06 01:26:55 UTC
Mark - do we still want to pursue this change, or is it all sorted out now?
Comment 4 Mark Johnston freebsd_committer freebsd_triage 2015-05-06 01:38:34 UTC
(In reply to Ed Maste from comment #3)
No, it's not necessary anymore - I just forgot to close the PR.

Thank you for the exp-run!