Initial commit

This commit is contained in:
Eagle517
2026-01-14 10:27:57 -06:00
commit c1576fee30
11290 changed files with 1552799 additions and 0 deletions

View File

@@ -0,0 +1,83 @@
/* Script for ld -Ur: link w/out relocation, do create constructors */
OUTPUT_FORMAT(pe-i386)
SEARCH_DIR("/mingw/mingw32/lib"); SEARCH_DIR("/mingw/lib"); SEARCH_DIR("/usr/local/lib"); SEARCH_DIR("/lib"); SEARCH_DIR("/usr/lib");
ENTRY(_mainCRTStartup)
SECTIONS
{
.text :
{
*(.text)
*(.glue_7t)
*(.glue_7)
___CTOR_LIST__ = .; __CTOR_LIST__ = . ;
LONG (-1); *(SORT(.ctors.*)); *(.ctors); *(.ctor); LONG (0);
___DTOR_LIST__ = .; __DTOR_LIST__ = . ;
LONG (-1); *(SORT(.dtors.*)); *(.dtors); *(.dtor); LONG (0);
/* ??? Why is .gcc_exc here? */
*(.gcc_except_table)
}
/* The Cygwin32 library uses a section to avoid copying certain data
on fork. This used to be named ".data". The linker used
to include this between __data_start__ and __data_end__, but that
breaks building the cygwin32 dll. Instead, we name the section
".data_cygwin_nocopy" and explictly include it after __data_end__. */
.data :
{
*(.data)
*(.data2)
}
.rdata :
{
*(.rdata)
*(.eh_frame)
*(.rdata_runtime_pseudo_reloc)
}
.pdata :
{
*(.pdata)
}
.bss :
{
*(.bss)
*(COMMON)
}
.edata :
{
*(.edata)
}
/DISCARD/ :
{
*(.debug$S)
*(.debug$T)
*(.debug$F)
*(.drectve)
}
.idata :
{
/* This cannot currently be handled with grouped sections.
See pe.em:sort_sections. */
}
.CRT :
{
}
.endjunk :
{
/* end is deprecated, don't use it */
}
.rsrc :
{
*(.rsrc)
}
.reloc :
{
*(.reloc)
}
.stab :
{
[ .stab ]
}
.stabstr :
{
[ .stabstr ]
}
}