* cygwin.sc.in (.text.*): Fold into .text on all platforms.

(.eh_frame): Add section.
	* environ.cc (my_findenv): Drop __stdcall attribute.
	(getearly): Ditto.
	(findenv_func): Drop cast.
This commit is contained in:
Corinna Vinschen
2013-07-10 12:15:32 +00:00
parent 2d66e62c39
commit e3d9d8dfdc
3 changed files with 15 additions and 5 deletions

View File

@@ -15,9 +15,7 @@ SECTIONS
{
*(.init)
*(.text)
#ifdef __x86_64__
*(.text.*)
#endif
*(SORT(.text$*))
*(.glue_7t)
*(.glue_7)
@@ -64,6 +62,10 @@ SECTIONS
*(.eh_frame)
*(.rdata_cygwin_nocopy)
}
.eh_frame ALIGN(__section_alignment__) :
{
*(.eh_frame*)
}
.pdata ALIGN(__section_alignment__) :
{
*(.pdata*)