* cygwin.sc: Eliminate __cygheap_mid.
* cygheap.cc: Ditto.
This commit is contained in:
		| @@ -1,3 +1,8 @@ | |||||||
|  | 2011-02-11  Christopher Faylor  <me+cygwin@cgf.cx> | ||||||
|  |  | ||||||
|  | 	* cygwin.sc: Eliminate __cygheap_mid. | ||||||
|  | 	* cygheap.cc: Ditto. | ||||||
|  |  | ||||||
| 2011-02-11  Christopher Faylor  <me+cygwin@cgf.cx> | 2011-02-11  Christopher Faylor  <me+cygwin@cgf.cx> | ||||||
|  |  | ||||||
| 	* cygheap.cc (_cygheap_mid): Drop unneeded section attribute. | 	* cygheap.cc (_cygheap_mid): Drop unneeded section attribute. | ||||||
|   | |||||||
| @@ -33,7 +33,6 @@ static mini_cygheap NO_COPY cygheap_at_start = | |||||||
| init_cygheap NO_COPY *cygheap = (init_cygheap *) &cygheap_at_start; | init_cygheap NO_COPY *cygheap = (init_cygheap *) &cygheap_at_start; | ||||||
| void NO_COPY *cygheap_max; | void NO_COPY *cygheap_max; | ||||||
|  |  | ||||||
| extern "C" char  _cygheap_mid[]; |  | ||||||
| extern "C" char  _cygheap_end[]; | extern "C" char  _cygheap_end[]; | ||||||
|  |  | ||||||
| static NO_COPY muto cygheap_protect; | static NO_COPY muto cygheap_protect; | ||||||
|   | |||||||
| @@ -103,7 +103,6 @@ SECTIONS | |||||||
|   } |   } | ||||||
|   .cygheap ALIGN(__section_alignment__) : |   .cygheap ALIGN(__section_alignment__) : | ||||||
|   { |   { | ||||||
|     __cygheap_mid = .; |  | ||||||
|     . = . + (1024 * 1024); |     . = . + (1024 * 1024); | ||||||
|     __cygheap_end = ABSOLUTE(.); |     __cygheap_end = ABSOLUTE(.); | ||||||
|   } |   } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user