Home | History | Annotate | Download | only in ld

Lines Matching defs:out

85     there's a place where it pokes nose out of, but in practice it works).
436 them out by pages. */
838 /* Convenience, but watch out for it changing. */
922 out. */
1563 /* Given the exiting def_file structure, print out a .DEF file that
1603 FILE *out = fopen (pe_out_def_filename, "w");
1605 if (out == NULL)
1615 fprintf (out, "LIBRARY ");
1617 fprintf (out, "NAME ");
1619 quoteput (pe_def_file->name, out, 1);
1623 fprintf (out, " BASE=0x");
1624 fprintf_vma (out, ((bfd_vma) pe_data (link_info.output_bfd)->pe_opthdr.ImageBase));
1626 fprintf (out, "\n");
1631 fprintf (out, "DESCRIPTION ");
1632 quoteput (pe_def_file->description, out, 1);
1633 fprintf (out, "\n");
1637 fprintf (out, "VERSION %d.%d\n", pe_def_file->version_major,
1640 fprintf (out, "VERSION %d\n", pe_def_file->version_major);
1643 fprintf (out, "\n");
1646 fprintf (out, "STACKSIZE 0x%x,0x%x\n",
1649 fprintf (out, "STACKSIZE 0x%x\n", pe_def_file->stack_reserve);
1652 fprintf (out, "HEAPSIZE 0x%x,0x%x\n",
1655 fprintf (out, "HEAPSIZE 0x%x\n", pe_def_file->heap_reserve);
1659 fprintf (out, "\nSECTIONS\n\n");
1663 fprintf (out, " ");
1664 quoteput (pe_def_file->section_defs[i].name, out, 0);
1668 fprintf (out, " CLASS ");
1669 quoteput (pe_def_file->section_defs[i].class, out, 0);
1673 fprintf (out, " READ");
1676 fprintf (out, " WRITE");
1679 fprintf (out, " EXECUTE");
1682 fprintf (out, " SHARED");
1684 fprintf (out, "\n");
1690 fprintf (out, "EXPORTS\n");
1695 fprintf (out, " ");
1696 quoteput (e->name, out, 0);
1700 fprintf (out, " = ");
1701 quoteput (e->internal_name, out, 0);
1705 fprintf (out, " @%d", e->ordinal);
1708 fprintf (out, " PRIVATE");
1711 fprintf (out, " CONSTANT");
1714 fprintf (out, " NONAME");
1717 fprintf (out, " DATA");
1719 fprintf (out, "\n");
1725 fprintf (out, "\nIMPORTS\n\n");
1730 fprintf (out, " ");
1735 quoteput (im->internal_name, out, 0);
1736 fprintf (out, " = ");
1739 quoteput (im->module->name, out, 0);
1740 fprintf (out, ".");
1743 quoteput (im->name, out, 0);
1745 fprintf (out, "%d", im->ordinal);
1749 fprintf (out, " == ");
1750 quoteput (im->its_name, out, 0);
1753 fprintf (out, "\n");
1758 out, _("; no contents available\n"));
1760 if (fclose (out) == EOF)
2726 /* Work out a reasonable size of things to put onto one line. */