3 linker.hints file consists from the one or more records,
4 and is processed by sys/kern/kern_linker.c::linker_hints_lookup()
6 First record of file is special and determines its version:
10 All subsequent records have following format:
13 int length; /* length of following data */
17 Each record is aligned on sizeof(int) boundary. First integer of the field
18 'data' determines its type:
21 int type; /* type of data. currently MDT_* values */
24 The rest of record depends on the type.
27 uint8_t length; /* length of string */
28 char val[]; /* string itself (no terminating zero) */
31 struct data_mdt_version {
32 int type = MDT_VERSION;
33 struct string modname;
36 struct string kldname;
40 struct data_mdt_module {
41 int type = MDT_MODULE;
42 struct string modname;
43 struct string kldname;