Commit 041d1bcf authored by Ian Lynagh's avatar Ian Lynagh
Browse files

Add support for .text.startup sections to the Linker

We get these in a full build on Win64
parent fdc19e64
...@@ -3607,6 +3607,7 @@ ocGetNames_PEi386 ( ObjectCode* oc ) ...@@ -3607,6 +3607,7 @@ ocGetNames_PEi386 ( ObjectCode* oc )
# endif # endif
if (0==strcmp(".text",(char*)secname) || if (0==strcmp(".text",(char*)secname) ||
0==strcmp(".text.startup",(char*)secname) ||
0==strcmp(".rdata",(char*)secname)|| 0==strcmp(".rdata",(char*)secname)||
0==strcmp(".rodata",(char*)secname)) 0==strcmp(".rodata",(char*)secname))
kind = SECTIONKIND_CODE_OR_RODATA; kind = SECTIONKIND_CODE_OR_RODATA;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment