Lines Matching refs:info_header
111 itm_info_hdr_t *info_header; in assemble() local
160 info_header = malloc_vital(sizeof (itm_info_hdr_t)); in assemble()
161 (void) memset(info_header, 0, sizeof (itm_info_hdr_t)); in assemble()
163 relocation_I(itm_header, info_header); in assemble()
164 relocation_II(itm_header, info_header); in assemble()
181 analysis(info_header); in assemble()
189 output(itm_header, info_header); in assemble()
199 relocation_I(itm_hdr_t *itm_header, itm_info_hdr_t *info_header) in relocation_I() argument
215 info_header->str_plc_tbl.size = ((sizeof (itm_data_t)) * sec_num); in relocation_I()
216 info_header->str_plc_tbl.number = sec_num; in relocation_I()
217 info_header->str_sec.size = sec_size; in relocation_I()
218 info_header->str_sec.number = sec_num; in relocation_I()
224 info_header->direc_plc_tbl.size = sec_num * (sizeof (itm_place_t)); in relocation_I()
225 info_header->direc_plc_tbl.number = sec_num; in relocation_I()
226 info_header->direc_tbl_sec.size = sec_size; in relocation_I()
227 info_header->direc_tbl_sec.number = sec_num; in relocation_I()
233 info_header->cond_plc_tbl.size = sec_num * (sizeof (itm_place_t)); in relocation_I()
234 info_header->cond_plc_tbl.number = sec_num; in relocation_I()
235 info_header->cond_tbl_sec.size = sec_size; in relocation_I()
236 info_header->cond_tbl_sec.number = sec_num; in relocation_I()
243 info_header->map_plc_tbl.size = sec_num * (sizeof (itm_place_t)); in relocation_I()
244 info_header->map_plc_tbl.number = sec_num; in relocation_I()
245 info_header->map_tbl_sec.size = sec_size; in relocation_I()
246 info_header->map_tbl_sec.number = sec_num; in relocation_I()
253 info_header->op_plc_tbl.size = sec_num * (sizeof (itm_place_t)); in relocation_I()
254 info_header->op_plc_tbl.number = sec_num; in relocation_I()
255 info_header->op_tbl_sec.size = sec_size; in relocation_I()
256 info_header->op_tbl_sec.number = sec_num; in relocation_I()
262 info_header->range_plc_tbl.size = sec_num * (sizeof (itm_place_t)); in relocation_I()
263 info_header->range_plc_tbl.number = sec_num; in relocation_I()
264 info_header->range_tbl_sec.size = sec_size; in relocation_I()
265 info_header->range_tbl_sec.number = sec_num; in relocation_I()
271 info_header->escapeseq_plc_tbl.size = sec_num * (sizeof (itm_place_t)); in relocation_I()
272 info_header->escapeseq_plc_tbl.number = sec_num; in relocation_I()
273 info_header->escapeseq_tbl_sec.size = sec_size; in relocation_I()
274 info_header->escapeseq_tbl_sec.number = sec_num; in relocation_I()
282 info_header->data_plc_tbl.size = ((sizeof (itm_place_t)) * sec_num); in relocation_I()
283 info_header->data_plc_tbl.number = sec_num; in relocation_I()
284 info_header->data_sec.size = sec_size; in relocation_I()
285 info_header->data_sec.number = sec_num; in relocation_I()
301 info_header->name_plc_tbl.size = ((sizeof (itm_data_t)) * sec_num); in relocation_I()
302 info_header->name_plc_tbl.number = sec_num; in relocation_I()
315 info_header->reg_plc_tbl.size = in relocation_I()
317 info_header->reg_plc_tbl.number = itm_header->reg_num; in relocation_I()
319 info_header->name_sec.size = sec_size; in relocation_I()
320 info_header->name_sec.number = sec_num2; in relocation_I()
325 info_header->str_sec.place.itm_ptr = in relocation_I()
328 info_header->direc_tbl_sec.place.itm_ptr = in relocation_I()
329 info_header->str_sec.place.itm_ptr + in relocation_I()
330 info_header->str_sec.size; in relocation_I()
331 info_header->cond_tbl_sec.place.itm_ptr = in relocation_I()
332 info_header->direc_tbl_sec.place.itm_ptr + in relocation_I()
333 info_header->direc_tbl_sec.size; in relocation_I()
334 info_header->map_tbl_sec.place.itm_ptr = in relocation_I()
335 info_header->cond_tbl_sec.place.itm_ptr + in relocation_I()
336 info_header->cond_tbl_sec.size; in relocation_I()
337 info_header->op_tbl_sec.place.itm_ptr = in relocation_I()
338 info_header->map_tbl_sec.place.itm_ptr + in relocation_I()
339 info_header->map_tbl_sec.size; in relocation_I()
341 info_header->range_tbl_sec.place.itm_ptr = in relocation_I()
342 info_header->op_tbl_sec.place.itm_ptr + in relocation_I()
343 info_header->op_tbl_sec.size; in relocation_I()
345 info_header->escapeseq_tbl_sec.place.itm_ptr = in relocation_I()
346 info_header->range_tbl_sec.place.itm_ptr + in relocation_I()
347 info_header->range_tbl_sec.size; in relocation_I()
349 info_header->data_sec.place.itm_ptr = in relocation_I()
350 info_header->escapeseq_tbl_sec.place.itm_ptr + in relocation_I()
351 info_header->escapeseq_tbl_sec.size; in relocation_I()
359 info_header->data_sec.place.itm_ptr + in relocation_I()
360 info_header->data_sec.size; in relocation_I()
362 info_header->direc_plc_tbl.place.itm_ptr = in relocation_I()
365 info_header->cond_plc_tbl.place.itm_ptr = in relocation_I()
366 info_header->direc_plc_tbl.place.itm_ptr + in relocation_I()
367 info_header->direc_plc_tbl.size; in relocation_I()
368 info_header->map_plc_tbl.place.itm_ptr = in relocation_I()
369 info_header->cond_plc_tbl.place.itm_ptr + in relocation_I()
370 info_header->cond_plc_tbl.size; in relocation_I()
371 info_header->op_plc_tbl.place.itm_ptr = in relocation_I()
372 info_header->map_plc_tbl.place.itm_ptr + in relocation_I()
373 info_header->map_plc_tbl.size; in relocation_I()
375 info_header->str_plc_tbl.place.itm_ptr = in relocation_I()
376 info_header->op_plc_tbl.place.itm_ptr + in relocation_I()
377 info_header->op_plc_tbl.size; in relocation_I()
378 info_header->range_plc_tbl.place.itm_ptr = in relocation_I()
379 info_header->str_plc_tbl.place.itm_ptr + in relocation_I()
380 info_header->str_plc_tbl.size; in relocation_I()
381 info_header->escapeseq_plc_tbl.place.itm_ptr = in relocation_I()
382 info_header->range_plc_tbl.place.itm_ptr + in relocation_I()
383 info_header->range_plc_tbl.size; in relocation_I()
384 info_header->data_plc_tbl.place.itm_ptr = in relocation_I()
385 info_header->escapeseq_plc_tbl.place.itm_ptr + in relocation_I()
386 info_header->escapeseq_plc_tbl.size; in relocation_I()
387 info_header->name_plc_tbl.place.itm_ptr = in relocation_I()
388 info_header->data_plc_tbl.place.itm_ptr + in relocation_I()
389 info_header->data_plc_tbl.size; in relocation_I()
390 info_header->reg_plc_tbl.place.itm_ptr = in relocation_I()
391 info_header->name_plc_tbl.place.itm_ptr + in relocation_I()
392 info_header->name_plc_tbl.size; in relocation_I()
395 info_header->name_sec.place.itm_ptr = in relocation_I()
396 info_header->reg_plc_tbl.place.itm_ptr + in relocation_I()
397 info_header->reg_plc_tbl.size; in relocation_I()
406 info_header->name_sec.place.itm_ptr + in relocation_I()
407 info_header->name_sec.size; in relocation_I()
410 info_header->data_sec.place.itm_ptr + in relocation_I()
411 info_header->data_sec.size; in relocation_I()
420 dump_itm_header(itm_header, info_header); in relocation_I()
430 relocation_II(itm_hdr_t *itm_header, itm_info_hdr_t *info_header) in relocation_II() argument
444 place = info_header->str_sec.place.itm_ptr; in relocation_II()
452 place = info_header->direc_tbl_sec.place.itm_ptr; in relocation_II()
460 place = info_header->cond_tbl_sec.place.itm_ptr; in relocation_II()
468 place = info_header->map_tbl_sec.place.itm_ptr; in relocation_II()
476 place = info_header->op_tbl_sec.place.itm_ptr; in relocation_II()
483 place = info_header->range_tbl_sec.place.itm_ptr; in relocation_II()
490 place = info_header->escapeseq_tbl_sec.place.itm_ptr; in relocation_II()
497 place = info_header->data_sec.place.itm_ptr; in relocation_II()
509 place = info_header->name_plc_tbl.place.itm_ptr; in relocation_II()
510 n_plc = info_header->name_sec.place.itm_ptr; in relocation_II()
527 place = info_header->reg_plc_tbl.place.itm_ptr; in relocation_II()
661 analysis(itm_info_hdr_t *info_header) in analysis() argument
670 place = info_header->str_sec.place.itm_ptr; in analysis()
898 output(itm_hdr_t *itm_header, itm_info_hdr_t *info_header) in output() argument
955 (void) fseek(fp, info_header->str_sec.place.itm_ptr, SEEK_SET); in output()
957 info_header->str_sec.place.itm_ptr)); in output()
963 (void) fseek(fp, info_header->direc_tbl_sec.place.itm_ptr, SEEK_SET); in output()
965 info_header->direc_tbl_sec.place.itm_ptr)); in output()
971 (void) fseek(fp, info_header->cond_tbl_sec.place.itm_ptr, SEEK_SET); in output()
973 info_header->cond_tbl_sec.place.itm_ptr)); in output()
979 (void) fseek(fp, info_header->map_tbl_sec.place.itm_ptr, SEEK_SET); in output()
981 info_header->map_tbl_sec.place.itm_ptr)); in output()
987 (void) fseek(fp, info_header->op_tbl_sec.place.itm_ptr, SEEK_SET); in output()
989 info_header->op_tbl_sec.place.itm_ptr)); in output()
995 (void) fseek(fp, info_header->range_tbl_sec.place.itm_ptr, SEEK_SET); in output()
997 info_header->range_tbl_sec.place.itm_ptr)); in output()
1003 (void) fseek(fp, info_header->escapeseq_tbl_sec.place.itm_ptr, in output()
1006 info_header->escapeseq_tbl_sec.place.itm_ptr)); in output()
1013 (void) fseek(fp, info_header->data_sec.place.itm_ptr, SEEK_SET); in output()
1015 info_header->data_sec.place.itm_ptr)); in output()
1025 if (sec_size < info_header->data_sec.size) { in output()
1027 info_header->data_sec.size - sec_size, fp); in output()
1035 (void) fwrite(info_header, sizeof (itm_info_hdr_t), 1, fp); in output()
1037 (void) fseek(fp, info_header->direc_plc_tbl.place.itm_ptr, in output()
1040 info_header->direc_plc_tbl.place.itm_ptr)); in output()
1046 (void) fseek(fp, info_header->cond_plc_tbl.place.itm_ptr, in output()
1049 info_header->cond_plc_tbl.place.itm_ptr)); in output()
1056 (void) fseek(fp, info_header->map_plc_tbl.place.itm_ptr, in output()
1059 info_header->map_plc_tbl.place.itm_ptr)); in output()
1066 (void) fseek(fp, info_header->op_plc_tbl.place.itm_ptr, in output()
1069 info_header->op_plc_tbl.place.itm_ptr)); in output()
1075 (void) fseek(fp, info_header->str_plc_tbl.place.itm_ptr, in output()
1078 info_header->str_plc_tbl.place.itm_ptr)); in output()
1091 (void) fseek(fp, info_header->range_plc_tbl.place.itm_ptr, in output()
1094 info_header->range_plc_tbl.place.itm_ptr)); in output()
1099 (void) fseek(fp, info_header->escapeseq_plc_tbl.place.itm_ptr, in output()
1102 info_header->escapeseq_plc_tbl.place.itm_ptr)); in output()
1109 (void) fseek(fp, info_header->data_plc_tbl.place.itm_ptr, in output()
1112 info_header->data_plc_tbl.place.itm_ptr)); in output()
1122 (void) fseek(fp, info_header->name_plc_tbl.place.itm_ptr, in output()
1125 info_header->name_plc_tbl.place.itm_ptr)); in output()
1148 (void) fseek(fp, info_header->reg_plc_tbl.place.itm_ptr, in output()
1151 info_header->reg_plc_tbl.place.itm_ptr)); in output()
1176 (void) fseek(fp, info_header->name_sec.place.itm_ptr, SEEK_SET); in output()
1178 info_header->name_sec.place.itm_ptr)); in output()
1198 if (sec_size < info_header->name_sec.size) { in output()
1200 info_header->name_sec.size - sec_size, fp); in output()