annotate src/s/cygwin.sc @ 1648:712931b4b71d

[xemacs-hg @ 2003-08-27 18:06:54 by youngs] 2003-08-28 Steve Youngs <youngs@xemacs.org> * README.packages: Update. 2003-08-28 Steve Youngs <youngs@xemacs.org> * PACKAGES: Update. 2003-08-28 Steve Youngs <youngs@xemacs.org> * xemacs-faq.texi (Q2.0.2): Rewrite, mentioning the correct way to remove a package. (Q3.8.2): big-menubar is in the edit-utils package. (Q4.3.2): Add a comment about not needing TM for things like Gnus, MH-E and VM. (Q5.3.3): State correct location of ps-print.el. * xemacs/packages.texi (Packages): Remove "Creating Packages" menu entry. (Package Terminology): Whitespace clean up. (Installing Packages): Whitespace clean up and add some @code formatters. Re-organise the menu so that installation via PUI is first and Sumo is last. (Automatically): mule-base is no longer a requirement for using PUI. Mention optionally requiring mailcrypt. (Note): Removed. (Manually): Move to below the PUI installation method. (Sumo): Move to below the manual installation method. (Which Packages): Add mailcrypt. (Building Packages): Remove duplicated stuff that is in lispref/packaging.texi, xref to it instead. (Local.rules File): xref to the appropriate node in lispref/packaging.texi. (Available Packages): Update to current reality. (all): Removed. (srckit): Removed. (binkit): Removed. * xemacs/reading.texi (Reading Mail): Mention Gnus and MEW. * new-users-guide/custom2.texi (Init File): big-menubar.el is in the edit-utils package. * lispref/packaging.texi (Packaging): (The User View): (The Library Maintainer View): (Infrastructure): (Control Files): (Obtaining): (The Package Release Engineer View): (Package Terminology): (Building Packages): (Makefile Targets): (packages): New. (Local.rules File): (XEMACS_PACKAGES): Removed. (XEMACS_INSTALLED_PACKAGES_ROOT): New. (NONMULE_PACKAGES): New. (EXCLUDES): New. (Creating Packages): (BATCH): New. (VERSION): Removed. (AUTHOR_VERSION): Removed. (MAINTAINER): Removed. (PACKAGE): Removed. (PKG_TYPE): Removed. (REQUIRES): Removed. (CATEGORY): Removed. (ELS): Removed. (ELCS): Removed. (all): Removed. (srckit): Removed. (binkit): Removed. (are): New. (STANDARD_DOCS): New. (ELCS_1_DEST): New. (example): New. (PACKAGE_SUPPRESS): New. (EXPLICIT_DOCS): New. (DATA_DEST): New. (Documenting Packages): Not quite a total rewrite, but a fairly thorough audit nonetheless.
author youngs
date Wed, 27 Aug 2003 18:07:10 +0000
parents 1ab9c4a77230
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1213
1ab9c4a77230 [xemacs-hg @ 2003-01-15 08:46:18 by youngs]
youngs
parents:
diff changeset
1 /* Default linker script, for normal executables */
1ab9c4a77230 [xemacs-hg @ 2003-01-15 08:46:18 by youngs]
youngs
parents:
diff changeset
2 OUTPUT_FORMAT(pei-i386)
1ab9c4a77230 [xemacs-hg @ 2003-01-15 08:46:18 by youngs]
youngs
parents:
diff changeset
3 SEARCH_DIR("/usr/i686-pc-cygwin/lib"); SEARCH_DIR("/usr/lib"); SEARCH_DIR("/usr/lib/w32api");
1ab9c4a77230 [xemacs-hg @ 2003-01-15 08:46:18 by youngs]
youngs
parents:
diff changeset
4 ENTRY(_mainCRTStartup)
1ab9c4a77230 [xemacs-hg @ 2003-01-15 08:46:18 by youngs]
youngs
parents:
diff changeset
5 SECTIONS
1ab9c4a77230 [xemacs-hg @ 2003-01-15 08:46:18 by youngs]
youngs
parents:
diff changeset
6 {
1ab9c4a77230 [xemacs-hg @ 2003-01-15 08:46:18 by youngs]
youngs
parents:
diff changeset
7 .text __image_base__ + __section_alignment__ :
1ab9c4a77230 [xemacs-hg @ 2003-01-15 08:46:18 by youngs]
youngs
parents:
diff changeset
8 {
1ab9c4a77230 [xemacs-hg @ 2003-01-15 08:46:18 by youngs]
youngs
parents:
diff changeset
9 *(.init)
1ab9c4a77230 [xemacs-hg @ 2003-01-15 08:46:18 by youngs]
youngs
parents:
diff changeset
10 *(.text)
1ab9c4a77230 [xemacs-hg @ 2003-01-15 08:46:18 by youngs]
youngs
parents:
diff changeset
11 *(SORT(.text$*))
1ab9c4a77230 [xemacs-hg @ 2003-01-15 08:46:18 by youngs]
youngs
parents:
diff changeset
12 *(.glue_7t)
1ab9c4a77230 [xemacs-hg @ 2003-01-15 08:46:18 by youngs]
youngs
parents:
diff changeset
13 *(.glue_7)
1ab9c4a77230 [xemacs-hg @ 2003-01-15 08:46:18 by youngs]
youngs
parents:
diff changeset
14 ___CTOR_LIST__ = .; __CTOR_LIST__ = . ;
1ab9c4a77230 [xemacs-hg @ 2003-01-15 08:46:18 by youngs]
youngs
parents:
diff changeset
15 LONG (-1); *(SORT(.ctors.*)); *(.ctors); *(.ctor); LONG (0);
1ab9c4a77230 [xemacs-hg @ 2003-01-15 08:46:18 by youngs]
youngs
parents:
diff changeset
16 ___DTOR_LIST__ = .; __DTOR_LIST__ = . ;
1ab9c4a77230 [xemacs-hg @ 2003-01-15 08:46:18 by youngs]
youngs
parents:
diff changeset
17 LONG (-1); *(SORT(.dtors.*)); *(.dtors); *(.dtor); LONG (0);
1ab9c4a77230 [xemacs-hg @ 2003-01-15 08:46:18 by youngs]
youngs
parents:
diff changeset
18 *(.fini)
1ab9c4a77230 [xemacs-hg @ 2003-01-15 08:46:18 by youngs]
youngs
parents:
diff changeset
19 /* ??? Why is .gcc_exc here? */
1ab9c4a77230 [xemacs-hg @ 2003-01-15 08:46:18 by youngs]
youngs
parents:
diff changeset
20 *(.gcc_exc)
1ab9c4a77230 [xemacs-hg @ 2003-01-15 08:46:18 by youngs]
youngs
parents:
diff changeset
21 etext = .;
1ab9c4a77230 [xemacs-hg @ 2003-01-15 08:46:18 by youngs]
youngs
parents:
diff changeset
22 *(.gcc_except_table)
1ab9c4a77230 [xemacs-hg @ 2003-01-15 08:46:18 by youngs]
youngs
parents:
diff changeset
23 }
1ab9c4a77230 [xemacs-hg @ 2003-01-15 08:46:18 by youngs]
youngs
parents:
diff changeset
24 /* The Cygwin32 library uses a section to avoid copying certain data
1ab9c4a77230 [xemacs-hg @ 2003-01-15 08:46:18 by youngs]
youngs
parents:
diff changeset
25 on fork. This used to be named ".data". The linker used
1ab9c4a77230 [xemacs-hg @ 2003-01-15 08:46:18 by youngs]
youngs
parents:
diff changeset
26 to include this between __data_start__ and __data_end__, but that
1ab9c4a77230 [xemacs-hg @ 2003-01-15 08:46:18 by youngs]
youngs
parents:
diff changeset
27 breaks building the cygwin32 dll. Instead, we name the section
1ab9c4a77230 [xemacs-hg @ 2003-01-15 08:46:18 by youngs]
youngs
parents:
diff changeset
28 ".data_cygwin_nocopy" and explictly include it after __data_end__. */
1ab9c4a77230 [xemacs-hg @ 2003-01-15 08:46:18 by youngs]
youngs
parents:
diff changeset
29 .data BLOCK(__section_alignment__) :
1ab9c4a77230 [xemacs-hg @ 2003-01-15 08:46:18 by youngs]
youngs
parents:
diff changeset
30 {
1ab9c4a77230 [xemacs-hg @ 2003-01-15 08:46:18 by youngs]
youngs
parents:
diff changeset
31 __data_start__ = . ;
1ab9c4a77230 [xemacs-hg @ 2003-01-15 08:46:18 by youngs]
youngs
parents:
diff changeset
32 *(.data)
1ab9c4a77230 [xemacs-hg @ 2003-01-15 08:46:18 by youngs]
youngs
parents:
diff changeset
33 *(.data2)
1ab9c4a77230 [xemacs-hg @ 2003-01-15 08:46:18 by youngs]
youngs
parents:
diff changeset
34 *(SORT(.data$*))
1ab9c4a77230 [xemacs-hg @ 2003-01-15 08:46:18 by youngs]
youngs
parents:
diff changeset
35 __data_end__ = . ;
1ab9c4a77230 [xemacs-hg @ 2003-01-15 08:46:18 by youngs]
youngs
parents:
diff changeset
36 *(.data_cygwin_nocopy)
1ab9c4a77230 [xemacs-hg @ 2003-01-15 08:46:18 by youngs]
youngs
parents:
diff changeset
37 }
1ab9c4a77230 [xemacs-hg @ 2003-01-15 08:46:18 by youngs]
youngs
parents:
diff changeset
38 .bss BLOCK(__section_alignment__) :
1ab9c4a77230 [xemacs-hg @ 2003-01-15 08:46:18 by youngs]
youngs
parents:
diff changeset
39 {
1ab9c4a77230 [xemacs-hg @ 2003-01-15 08:46:18 by youngs]
youngs
parents:
diff changeset
40 __bss_start__ = . ;
1ab9c4a77230 [xemacs-hg @ 2003-01-15 08:46:18 by youngs]
youngs
parents:
diff changeset
41 *(.bss)
1ab9c4a77230 [xemacs-hg @ 2003-01-15 08:46:18 by youngs]
youngs
parents:
diff changeset
42 *(COMMON)
1ab9c4a77230 [xemacs-hg @ 2003-01-15 08:46:18 by youngs]
youngs
parents:
diff changeset
43 __bss_end__ = . ;
1ab9c4a77230 [xemacs-hg @ 2003-01-15 08:46:18 by youngs]
youngs
parents:
diff changeset
44 }
1ab9c4a77230 [xemacs-hg @ 2003-01-15 08:46:18 by youngs]
youngs
parents:
diff changeset
45 .rdata BLOCK(__section_alignment__) :
1ab9c4a77230 [xemacs-hg @ 2003-01-15 08:46:18 by youngs]
youngs
parents:
diff changeset
46 {
1ab9c4a77230 [xemacs-hg @ 2003-01-15 08:46:18 by youngs]
youngs
parents:
diff changeset
47 *(.rdata)
1ab9c4a77230 [xemacs-hg @ 2003-01-15 08:46:18 by youngs]
youngs
parents:
diff changeset
48 *(SORT(.rdata$*))
1ab9c4a77230 [xemacs-hg @ 2003-01-15 08:46:18 by youngs]
youngs
parents:
diff changeset
49 *(.eh_frame)
1ab9c4a77230 [xemacs-hg @ 2003-01-15 08:46:18 by youngs]
youngs
parents:
diff changeset
50 ___RUNTIME_PSEUDO_RELOC_LIST__ = .;
1ab9c4a77230 [xemacs-hg @ 2003-01-15 08:46:18 by youngs]
youngs
parents:
diff changeset
51 __RUNTIME_PSEUDO_RELOC_LIST__ = .;
1ab9c4a77230 [xemacs-hg @ 2003-01-15 08:46:18 by youngs]
youngs
parents:
diff changeset
52 *(.rdata_runtime_pseudo_reloc)
1ab9c4a77230 [xemacs-hg @ 2003-01-15 08:46:18 by youngs]
youngs
parents:
diff changeset
53 ___RUNTIME_PSEUDO_RELOC_LIST_END__ = .;
1ab9c4a77230 [xemacs-hg @ 2003-01-15 08:46:18 by youngs]
youngs
parents:
diff changeset
54 __RUNTIME_PSEUDO_RELOC_LIST_END__ = .;
1ab9c4a77230 [xemacs-hg @ 2003-01-15 08:46:18 by youngs]
youngs
parents:
diff changeset
55 }
1ab9c4a77230 [xemacs-hg @ 2003-01-15 08:46:18 by youngs]
youngs
parents:
diff changeset
56 .pdata BLOCK(__section_alignment__) :
1ab9c4a77230 [xemacs-hg @ 2003-01-15 08:46:18 by youngs]
youngs
parents:
diff changeset
57 {
1ab9c4a77230 [xemacs-hg @ 2003-01-15 08:46:18 by youngs]
youngs
parents:
diff changeset
58 *(.pdata)
1ab9c4a77230 [xemacs-hg @ 2003-01-15 08:46:18 by youngs]
youngs
parents:
diff changeset
59 }
1ab9c4a77230 [xemacs-hg @ 2003-01-15 08:46:18 by youngs]
youngs
parents:
diff changeset
60 .edata BLOCK(__section_alignment__) :
1ab9c4a77230 [xemacs-hg @ 2003-01-15 08:46:18 by youngs]
youngs
parents:
diff changeset
61 {
1ab9c4a77230 [xemacs-hg @ 2003-01-15 08:46:18 by youngs]
youngs
parents:
diff changeset
62 *(.edata)
1ab9c4a77230 [xemacs-hg @ 2003-01-15 08:46:18 by youngs]
youngs
parents:
diff changeset
63 }
1ab9c4a77230 [xemacs-hg @ 2003-01-15 08:46:18 by youngs]
youngs
parents:
diff changeset
64 /DISCARD/ :
1ab9c4a77230 [xemacs-hg @ 2003-01-15 08:46:18 by youngs]
youngs
parents:
diff changeset
65 {
1ab9c4a77230 [xemacs-hg @ 2003-01-15 08:46:18 by youngs]
youngs
parents:
diff changeset
66 *(.debug$S)
1ab9c4a77230 [xemacs-hg @ 2003-01-15 08:46:18 by youngs]
youngs
parents:
diff changeset
67 *(.debug$T)
1ab9c4a77230 [xemacs-hg @ 2003-01-15 08:46:18 by youngs]
youngs
parents:
diff changeset
68 *(.debug$F)
1ab9c4a77230 [xemacs-hg @ 2003-01-15 08:46:18 by youngs]
youngs
parents:
diff changeset
69 *(.drectve)
1ab9c4a77230 [xemacs-hg @ 2003-01-15 08:46:18 by youngs]
youngs
parents:
diff changeset
70 }
1ab9c4a77230 [xemacs-hg @ 2003-01-15 08:46:18 by youngs]
youngs
parents:
diff changeset
71 .idata BLOCK(__section_alignment__) :
1ab9c4a77230 [xemacs-hg @ 2003-01-15 08:46:18 by youngs]
youngs
parents:
diff changeset
72 {
1ab9c4a77230 [xemacs-hg @ 2003-01-15 08:46:18 by youngs]
youngs
parents:
diff changeset
73 /* This cannot currently be handled with grouped sections.
1ab9c4a77230 [xemacs-hg @ 2003-01-15 08:46:18 by youngs]
youngs
parents:
diff changeset
74 See pe.em:sort_sections. */
1ab9c4a77230 [xemacs-hg @ 2003-01-15 08:46:18 by youngs]
youngs
parents:
diff changeset
75 SORT(*)(.idata$2)
1ab9c4a77230 [xemacs-hg @ 2003-01-15 08:46:18 by youngs]
youngs
parents:
diff changeset
76 SORT(*)(.idata$3)
1ab9c4a77230 [xemacs-hg @ 2003-01-15 08:46:18 by youngs]
youngs
parents:
diff changeset
77 /* These zeroes mark the end of the import list. */
1ab9c4a77230 [xemacs-hg @ 2003-01-15 08:46:18 by youngs]
youngs
parents:
diff changeset
78 LONG (0); LONG (0); LONG (0); LONG (0); LONG (0);
1ab9c4a77230 [xemacs-hg @ 2003-01-15 08:46:18 by youngs]
youngs
parents:
diff changeset
79 SORT(*)(.idata$4)
1ab9c4a77230 [xemacs-hg @ 2003-01-15 08:46:18 by youngs]
youngs
parents:
diff changeset
80 SORT(*)(.idata$5)
1ab9c4a77230 [xemacs-hg @ 2003-01-15 08:46:18 by youngs]
youngs
parents:
diff changeset
81 SORT(*)(.idata$6)
1ab9c4a77230 [xemacs-hg @ 2003-01-15 08:46:18 by youngs]
youngs
parents:
diff changeset
82 SORT(*)(.idata$7)
1ab9c4a77230 [xemacs-hg @ 2003-01-15 08:46:18 by youngs]
youngs
parents:
diff changeset
83 }
1ab9c4a77230 [xemacs-hg @ 2003-01-15 08:46:18 by youngs]
youngs
parents:
diff changeset
84 .CRT BLOCK(__section_alignment__) :
1ab9c4a77230 [xemacs-hg @ 2003-01-15 08:46:18 by youngs]
youngs
parents:
diff changeset
85 {
1ab9c4a77230 [xemacs-hg @ 2003-01-15 08:46:18 by youngs]
youngs
parents:
diff changeset
86 *(SORT(.CRT$*))
1ab9c4a77230 [xemacs-hg @ 2003-01-15 08:46:18 by youngs]
youngs
parents:
diff changeset
87 }
1ab9c4a77230 [xemacs-hg @ 2003-01-15 08:46:18 by youngs]
youngs
parents:
diff changeset
88 .endjunk BLOCK(__section_alignment__) :
1ab9c4a77230 [xemacs-hg @ 2003-01-15 08:46:18 by youngs]
youngs
parents:
diff changeset
89 {
1ab9c4a77230 [xemacs-hg @ 2003-01-15 08:46:18 by youngs]
youngs
parents:
diff changeset
90 /* end is deprecated, don't use it */
1ab9c4a77230 [xemacs-hg @ 2003-01-15 08:46:18 by youngs]
youngs
parents:
diff changeset
91 end = .;
1ab9c4a77230 [xemacs-hg @ 2003-01-15 08:46:18 by youngs]
youngs
parents:
diff changeset
92 _end = .;
1ab9c4a77230 [xemacs-hg @ 2003-01-15 08:46:18 by youngs]
youngs
parents:
diff changeset
93 __end__ = .;
1ab9c4a77230 [xemacs-hg @ 2003-01-15 08:46:18 by youngs]
youngs
parents:
diff changeset
94 }
1ab9c4a77230 [xemacs-hg @ 2003-01-15 08:46:18 by youngs]
youngs
parents:
diff changeset
95 .rsrc BLOCK(__section_alignment__) :
1ab9c4a77230 [xemacs-hg @ 2003-01-15 08:46:18 by youngs]
youngs
parents:
diff changeset
96 {
1ab9c4a77230 [xemacs-hg @ 2003-01-15 08:46:18 by youngs]
youngs
parents:
diff changeset
97 *(.rsrc)
1ab9c4a77230 [xemacs-hg @ 2003-01-15 08:46:18 by youngs]
youngs
parents:
diff changeset
98 *(SORT(.rsrc$*))
1ab9c4a77230 [xemacs-hg @ 2003-01-15 08:46:18 by youngs]
youngs
parents:
diff changeset
99 }
1ab9c4a77230 [xemacs-hg @ 2003-01-15 08:46:18 by youngs]
youngs
parents:
diff changeset
100 .reloc BLOCK(__section_alignment__) :
1ab9c4a77230 [xemacs-hg @ 2003-01-15 08:46:18 by youngs]
youngs
parents:
diff changeset
101 {
1ab9c4a77230 [xemacs-hg @ 2003-01-15 08:46:18 by youngs]
youngs
parents:
diff changeset
102 *(.reloc)
1ab9c4a77230 [xemacs-hg @ 2003-01-15 08:46:18 by youngs]
youngs
parents:
diff changeset
103 }
1ab9c4a77230 [xemacs-hg @ 2003-01-15 08:46:18 by youngs]
youngs
parents:
diff changeset
104 .stab BLOCK(__section_alignment__) (NOLOAD) :
1ab9c4a77230 [xemacs-hg @ 2003-01-15 08:46:18 by youngs]
youngs
parents:
diff changeset
105 {
1ab9c4a77230 [xemacs-hg @ 2003-01-15 08:46:18 by youngs]
youngs
parents:
diff changeset
106 [ .stab ]
1ab9c4a77230 [xemacs-hg @ 2003-01-15 08:46:18 by youngs]
youngs
parents:
diff changeset
107 }
1ab9c4a77230 [xemacs-hg @ 2003-01-15 08:46:18 by youngs]
youngs
parents:
diff changeset
108 .stabstr BLOCK(__section_alignment__) (NOLOAD) :
1ab9c4a77230 [xemacs-hg @ 2003-01-15 08:46:18 by youngs]
youngs
parents:
diff changeset
109 {
1ab9c4a77230 [xemacs-hg @ 2003-01-15 08:46:18 by youngs]
youngs
parents:
diff changeset
110 [ .stabstr ]
1ab9c4a77230 [xemacs-hg @ 2003-01-15 08:46:18 by youngs]
youngs
parents:
diff changeset
111 }
1ab9c4a77230 [xemacs-hg @ 2003-01-15 08:46:18 by youngs]
youngs
parents:
diff changeset
112 }