3 linker.hints file consists from the one or more records. First record of
4 file is special and determines its version:
8 All subsequent records have following format:
11 int length; /* length of following data */
15 Each record is aligned on sizeof(int) boundary. First integer of the field
16 'data' determines its type:
19 int type; /* type of data. currently MTD_* values */
22 The rest of record depends on the type.
25 int length; /* length of string */
26 char val[]; /* string itself (no terminating zero) */
29 struct data_mdt_version {
30 int type = MDT_VERSION;
31 struct string modname;
33 struct string kldname;
36 struct data_mdt_module {
37 int type = MDT_VERSION;
38 struct string modname;
39 struct string kldname;