* cygwin.sc.in: (Temporarily?) workaround serious ld bug which

truncates symbols in certain computations to 32 bit.  See
	https://sourceware.org/bugzilla/show_bug.cgi?id=16821
This commit is contained in:
Corinna Vinschen 2014-04-08 14:13:59 +00:00
parent 1704af644d
commit 236f226893
2 changed files with 12 additions and 10 deletions

View File

@ -1,3 +1,9 @@
2014-04-08 Corinna Vinschen <corinna@vinschen.de>
* cygwin.sc.in: (Temporarily?) workaround serious ld bug which
truncates symbols in certain computations to 32 bit. See
https://sourceware.org/bugzilla/show_bug.cgi?id=16821
2014-04-07 Corinna Vinschen <corinna@vinschen.de> 2014-04-07 Corinna Vinschen <corinna@vinschen.de>
* cygserver_ipc.h (ipc_set_proc_info): Add bool parameter to specify * cygserver_ipc.h (ipc_set_proc_info): Add bool parameter to specify

View File

@ -60,16 +60,12 @@ SECTIONS
*(.rdata) *(.rdata)
*(SORT(.rdata$*)) *(SORT(.rdata$*))
*(.rdata_cygwin_nocopy) *(.rdata_cygwin_nocopy)
__rt_psrelocs_start = .; ___RUNTIME_PSEUDO_RELOC_LIST__ = .;
__RUNTIME_PSEUDO_RELOC_LIST__ = .;
*(.rdata_runtime_pseudo_reloc) *(.rdata_runtime_pseudo_reloc)
__rt_psrelocs_end = .; ___RUNTIME_PSEUDO_RELOC_LIST_END__ = .;
__RUNTIME_PSEUDO_RELOC_LIST_END__ = .;
} }
__rt_psrelocs_size = __rt_psrelocs_end - __rt_psrelocs_start;
___RUNTIME_PSEUDO_RELOC_LIST_END__ = .;
__RUNTIME_PSEUDO_RELOC_LIST_END__ = .;
___RUNTIME_PSEUDO_RELOC_LIST__ = . - __rt_psrelocs_size;
__RUNTIME_PSEUDO_RELOC_LIST__ = . - __rt_psrelocs_size;
.eh_frame ALIGN(__section_alignment__) : .eh_frame ALIGN(__section_alignment__) :
{ {
*(.eh_frame*) *(.eh_frame*)
@ -137,7 +133,7 @@ SECTIONS
{ {
*(.rsrc) *(.rsrc)
*(SORT(.rsrc$*)) *(SORT(.rsrc$*))
_SYM (_cygheap_start) = ABSOLUTE(.); _SYM (_cygheap_start) = .;
} }
.cygheap ALIGN(__section_alignment__) : .cygheap ALIGN(__section_alignment__) :
{ {
@ -147,7 +143,7 @@ SECTIONS
. = . + (2048 * 1024); . = . + (2048 * 1024);
#endif #endif
. = ALIGN(0x10000); . = ALIGN(0x10000);
_SYM (_cygheap_end) = ABSOLUTE(.); _SYM (_cygheap_end) = .;
} }
/DISCARD/ : /DISCARD/ :
{ {