From: SourceForge.net <no...@so...> - 2004-06-17 18:53:59
|
Bugs item #974910, was opened at 2004-06-17 20:51 Message generated for change (Settings changed) made by jetset You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=100599&aid=974910&group_id=599 >Category: Run Time Library Group: None Status: Open Resolution: None Priority: 5 Submitted By: Josef Pavlik (jetset) Assigned to: Nobody/Anonymous (nobody) Summary: library problem when using --stack-auto Initial Comment: hello I found, that many of library functions are compiled with static calling convention. This fact causes many problems when I want to compile my project with option --stack-auto enabled. All functions including library functions are called with parameters on the stack, but the library function expects the parameters in the memory. This is true for almost all string/memory functions and for many other functions too. One example: memset. My suggestion is: compile the libraries 4 times - one time for any combination of small/large and reentrant/non reentrant. The linker should use only the library compiled for with the given option. The linker may need some option if is not possible to know it from the *.rel files. bye ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=100599&aid=974910&group_id=599 |