Site Root : setldorder



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


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 on the input of that column of symbol names.

Caolan McNamara (2007) <>

Download Package

Last generated at Sun Feb 7 00:44:57 2016 Caolán McNamara <> Created with WebMake/0.5