Bug 67413 - [build] do not use dead code
Summary: [build] do not use dead code
Status: RESOLVED FIXED
Alias: None
Product: p11-glue
Classification: Unclassified
Component: p11-kit (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Stef Walter
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-27 20:09 UTC by Alon Bar-Lev
Modified: 2013-07-29 08:44 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
p11-kit-optimized-configure.patch (1.02 KB, text/plain)
2013-07-27 20:09 UTC, Alon Bar-Lev
Details
p11-kit-optimized-configure.patch (1.02 KB, patch)
2013-07-27 20:12 UTC, Alon Bar-Lev
Details | Splinter Review
p11-kit-0.19.3-build.patch (1.03 KB, patch)
2013-07-27 20:22 UTC, Alon Bar-Lev
Details | Splinter Review

Description Alon Bar-Lev 2013-07-27 20:09:48 UTC
Created attachment 83100 [details]
p11-kit-optimized-configure.patch

Compiler removes dead code before linkage, so dead code cannot be used.

Example:

extern int __libc_enable_secure; void main() { }
Comment 1 Alon Bar-Lev 2013-07-27 20:12:30 UTC
Created attachment 83101 [details] [review]
p11-kit-optimized-configure.patch
Comment 2 Alon Bar-Lev 2013-07-27 20:22:09 UTC
Created attachment 83102 [details] [review]
p11-kit-0.19.3-build.patch

Sorry, had error.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.