Site Root : setldorder

setldorder

Purpose

This provides a way to order the functions in your libraries to put them in order of their usage during application startup

Howto

First you need to instrument the target libraries/binaries with the included instrument.c to find out what methods you want to reposition together at the start of the library. How to do that is described in the header of that .c file.

After than, you take the column of output that is the symbol names and from then on compile your library with -ffunction-sections and add to the link line e.g -T ldorder, where "ldorder" is the output of the (one-liner modified) mozilla script mklinkscript.pl on the input of that column of symbol names.

Caolan McNamara (2007) <caolanm@redhat.com>

Download Package

setldorder/setldorder-1.0.0.tar.gz
Last generated at Sat Nov 2 12:10:04 2013 Caolán McNamara <caolan@skynet.ie> Created with WebMake/0.5