[cfe-dev] [PATCH] options -ffunction-sections and -fdata-sections

Sylvere Teissier st at invia.fr
Wed Apr 7 12:45:06 PDT 2010


Hi,

This is a patch that implements "-ffunction-sections" and
"-fdata-sections" options.
These options place each functions and data into its own section in the
output file.
Currently it works only for elf format backend, for other object formats
these options are ignored.

This patch is separated for clang tree and llvm tree.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: function-data-sections.patch
Type: text/x-patch
Size: 6008 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20100407/74767b10/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: function-data-sections-clang.patch
Type: text/x-patch
Size: 3959 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20100407/74767b10/attachment-0001.bin>


More information about the cfe-dev mailing list