4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-03-02 13:05:42 +08:00

* cygwin.sc: Don't output .reloc or .rsrc sections. Clean up stuff around

.cygheap and use a workaround to get things working with newer
(broken?) binutils.
This commit is contained in:
Christopher Faylor 2005-06-01 04:42:44 +00:00
parent 5d4a672193
commit 8d05cca34b
2 changed files with 12 additions and 4 deletions

View File

@ -1,3 +1,9 @@
2005-06-01 Christopher Faylor <cgf@timesys.com>
* cygwin.sc: Don't output .reloc or .rsrc sections. Clean up stuff
around .cygheap and use a workaround to get things working with newer
(broken?) binutils.
2005-05-31 Christopher Faylor <cgf@timesys.com> 2005-05-31 Christopher Faylor <cgf@timesys.com>
* cygheap.cc (cygheap_end): Remove bogus section attribute. * cygheap.cc (cygheap_end): Remove bogus section attribute.

View File

@ -63,6 +63,8 @@ SECTIONS
*(.debug$T) *(.debug$T)
*(.debug$F) *(.debug$F)
*(.drectve) *(.drectve)
*(.reloc)
*(.rsrc)
} }
.stab ALIGN(__section_alignment__) (NOLOAD) : .stab ALIGN(__section_alignment__) (NOLOAD) :
{ {
@ -100,13 +102,13 @@ SECTIONS
. = ALIGN(16); . = ALIGN(16);
__cygheap_start = ABSOLUTE(.); __cygheap_start = ABSOLUTE(.);
} }
osection_alignment = __section_alignment__; .cygheap ALIGN(__section_alignment__):
__section_alignment__ = 64 * 1024;
.cygheap ALIGN(4096):
{ {
__cygheap_mid = ABSOLUTE(.); __cygheap_mid = .;
*(.cygheap)
. = ALIGN(512 * 1024, 0x10000); . = ALIGN(512 * 1024, 0x10000);
. += 8192; /* inexplicably needed for alignment on 64K boundary?!? */ . += 8192; /* inexplicably needed for alignment on 64K boundary?!? */
} }
__cygheap_end = ABSOLUTE(.); __cygheap_end = ABSOLUTE(.);
__cygheap_end1 = __cygheap_mid + SIZEOF(.cygheap);
} }