diff options
author | Christopher Faylor <me@cgf.cx> | 2011-02-11 19:05:26 +0300 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2011-02-11 19:05:26 +0300 |
commit | cc25fb36412a2535f5759280a5be1692d35b9a7e (patch) | |
tree | 1b1fbe52f5c6e459c4a2ccbe7cc1de7e0fab8a35 /winsup/cygwin/cygwin.sc | |
parent | 5ec0839c12fd572d476c16459a297df2e0c0d011 (diff) |
* 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.
Diffstat (limited to 'winsup/cygwin/cygwin.sc')
-rw-r--r-- | winsup/cygwin/cygwin.sc | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/winsup/cygwin/cygwin.sc b/winsup/cygwin/cygwin.sc index 1a27f1a94..88b86e432 100644 --- a/winsup/cygwin/cygwin.sc +++ b/winsup/cygwin/cygwin.sc @@ -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) |