The lorder utility uses nm to determine interdependencies in the list of object files specified on the command line. lorder outputs a list of file names where the first file contains a symbol which is defined by the second file.