(MAYBE_VMS_FUNCTION_PROLOGUE): Adjust stack pointer by 4 prior to calling C$MAIN_ARGS...
(MAYBE_VMS_FUNCTION_PROLOGUE): Adjust stack pointer by 4 prior to calling C$MAIN_ARGS, otherwise POSIX edition of that routine dies. From-SVN: r4703
This commit is contained in:
parent
aaf44ca2f1
commit
630ef4bf34
@ -108,12 +108,12 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
|
||||
int is_main = strcmp ("main", p) == 0; \
|
||||
while (!is_main && *p != '\0') \
|
||||
{ \
|
||||
if (*p == *__MAIN_NAME \
|
||||
&& strncmp (p, __MAIN_NAME, sizeof __MAIN_NAME - sizeof "") == 0) \
|
||||
is_main = 1; \
|
||||
else \
|
||||
p++; \
|
||||
} \
|
||||
if (*p == *__MAIN_NAME \
|
||||
&& strncmp (p, __MAIN_NAME, sizeof __MAIN_NAME - sizeof "") == 0) \
|
||||
is_main = 1; \
|
||||
else \
|
||||
p++; \
|
||||
} \
|
||||
if (is_main) \
|
||||
fprintf (FILE, "\t%s\n\t%s\n", "clrl -(sp)", "jsb _C$MAIN_ARGS"); \
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user