Closed
Bug 187732
Opened 22 years ago
Closed 22 years ago
limit exported symbols for components
Categories
(SeaMonkey :: Build Config, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: bryner, Assigned: bryner)
Details
Attachments
(1 file, 2 obsolete files)
|
1.06 KB,
patch
|
netscape
:
review+
|
Details | Diff | Splinter Review |
We need to hook up build/unix/components-mapfile, components-version-script, or an equivalent for mach-o. This may improve startup performance a bit. Unlike ELF systems, it doesn't sound like it will help at runtime, because symbol references (even for exported symbols) are resolved at link time.
| Assignee | ||
Comment 1•22 years ago
|
||
So, the mach-o linker gives an error if any of the symbols listed in the export list don't exist in the library. Most of our components only define NSGetModule. I don't believe NSRegisterSelf and NSUnregisterSelf are used any more in any of our components. We have one factory (liveconnect) which uses NSGetFactory. If we converted that to NSModule, then we could just use an exported symbol list containing only NSGetModule.
| Assignee | ||
Comment 2•22 years ago
|
||
Actually, I don't think we need to change liveconnect. There's no way the NSGetFactory entry point is going to be used; the library isn't a component.
| Assignee | ||
Comment 3•22 years ago
|
||
| Assignee | ||
Updated•22 years ago
|
Attachment #110676 -
Flags: review?(seawood)
Comment 4•22 years ago
|
||
Comment on attachment 110676 [details] [diff] [review] patch r=cls
Attachment #110676 -
Flags: review?(seawood) → review+
| Assignee | ||
Comment 5•22 years ago
|
||
checked in.
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
| Assignee | ||
Comment 6•22 years ago
|
||
i had to back out the configure change. the exported_symbols_list linker flag was just added in the december 2002 developer tools, which is not currently a build requirement. i'll come up with a new patch to do the same thing by postprocessing the library with nmedit.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
| Assignee | ||
Comment 7•22 years ago
|
||
Attachment #110676 -
Attachment is obsolete: true
| Assignee | ||
Updated•22 years ago
|
Attachment #110743 -
Flags: review?(seawood)
| Assignee | ||
Comment 8•22 years ago
|
||
fixed a problem linking libxpcom
Attachment #110743 -
Attachment is obsolete: true
| Assignee | ||
Updated•22 years ago
|
Attachment #110743 -
Flags: review?(seawood)
| Assignee | ||
Updated•22 years ago
|
Attachment #110749 -
Flags: review?(seawood)
Comment 9•22 years ago
|
||
Comment on attachment 110749 [details] [diff] [review] one more try r=cls
Attachment #110749 -
Flags: review?(seawood) → review+
| Assignee | ||
Comment 10•22 years ago
|
||
it's in for real now.
Status: REOPENED → RESOLVED
Closed: 22 years ago → 22 years ago
Resolution: --- → FIXED
Updated•20 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•