The linker -m option generates a load map that displays library linking information. The routines linked during the building of the executable binary program are listed together with the libraries that they come from.
Example: Using -m to generate a load map:
demo% setenv LD_OPTIONS '-m' demo% f77 any.f any.f: MAIN: LINK EDITOR MEMORY MAP output input virtual section section address size .interp 100d4 11 .interp 100d4 11 (null) .hash 100e8 2e8 .hash 100e8 2e8 (null) .dynsym 103d0 650 .dynsym 103d0 650 (null) .dynstr 10a20 366 .dynstr 10a20 366 (null) .text 10c90 1e70 .text 10c90 00 /opt/SUNWspro/SC5.0/lib/crti.o .text 10c90 f4 /opt/SUNWspro/SC5.0/lib/crt1.o .text 10d84 00 /opt/SUNWspro/SC5.0/lib/values-xi.o .text 10d88 d20 sparse.o ...