* cygheap.cc (_cygheap_mid): Drop unneeded section attribute.
(cygheap_init): Just zero cygheap structure. * cygwin.sc: Keep 16 byte alignment but drop all other alignments related to cygheap. Eliminate unused __cygheap_end1.
This commit is contained in:
@@ -100,17 +100,13 @@ SECTIONS
|
||||
SORT(*)(.idata$7)
|
||||
. = ALIGN(16);
|
||||
__cygheap_start = ABSOLUTE(.);
|
||||
. = ALIGN(0x10000);
|
||||
}
|
||||
.cygheap ALIGN(__section_alignment__) :
|
||||
{
|
||||
__cygheap_mid = .;
|
||||
*(.cygheap)
|
||||
. = . + (1024 * 1024);
|
||||
. = ALIGN(0x10000);
|
||||
__cygheap_end = ABSOLUTE(.);
|
||||
}
|
||||
__cygheap_end = ABSOLUTE(.);
|
||||
__cygheap_end1 = __cygheap_mid + SIZEOF(.cygheap);
|
||||
/DISCARD/ :
|
||||
{
|
||||
*(.debug$S)
|
||||
|
Reference in New Issue
Block a user