Lines Matching refs:tv
27 extern enum ld_plugin_status onload (struct ld_plugin_tv *tv);
341 dump_tv_tag (size_t n, struct ld_plugin_tv *tv)
348 if (tag_names[tag].tag == tv->tv_tag)
350 sprintf (unknownbuf, "unknown tag #%d", tv->tv_tag);
352 switch (tv->tv_tag)
356 TV_MESSAGE (LDPL_INFO, "tv[%d]: %s '%s'", n, name,
357 tv->tv_u.tv_string);
370 TV_MESSAGE (LDPL_INFO, "tv[%d]: %s func@0x%p", n, name,
371 (void *)(tv->tv_u.tv_message));
379 TV_MESSAGE (LDPL_INFO, "tv[%d]: %s value %W (%d)", n, name,
380 (bfd_vma)tv->tv_u.tv_val, tv->tv_u.tv_val);
387 parse_tv_tag (struct ld_plugin_tv *tv)
389 #define SETVAR(x) x = tv->tv_u.x
390 switch (tv->tv_tag)
393 return parse_option (tv->tv_u.tv_string);
401 output_name = tv->tv_u.tv_string;
404 linker_output = tv->tv_u.tv_val;
447 parse_and_dump_tv_tag (size_t n, struct ld_plugin_tv *tv)
449 enum ld_plugin_status rv = parse_tv_tag (tv);
450 dump_tv_tag (n, tv);
456 onload (struct ld_plugin_tv *tv)
461 /* This plugin does nothing but dump the tv array. It would
463 if (!tv)
468 if (tv[0].tv_tag == LDPT_MESSAGE)
469 tv_message = tv[0].tv_u.tv_message;
475 if ((rv = parse_and_dump_tv_tag (n++, tv)) != LDPS_OK)
477 while ((tv++)->tv_tag != LDPT_NULL);