diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/emacs.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/emacs.c b/src/emacs.c index 5b2f61674c6..3b2e241f38f 100644 --- a/src/emacs.c +++ b/src/emacs.c | |||
| @@ -183,6 +183,19 @@ extern noshare char **environ; | |||
| 183 | #endif /* LINK_CRTL_SHARE */ | 183 | #endif /* LINK_CRTL_SHARE */ |
| 184 | #endif /* VMS */ | 184 | #endif /* VMS */ |
| 185 | 185 | ||
| 186 | /* We don't include crtbegin.o and crtend.o in the link, | ||
| 187 | so these functions and variables might be missed. | ||
| 188 | Provide dummy definitions to avoid error. | ||
| 189 | (We don't have any real constructors or destructors.) */ | ||
| 190 | #ifdef __GNUC__ | ||
| 191 | __do_clobal_ctors () | ||
| 192 | {} | ||
| 193 | __do_clobal_ctors_aux () | ||
| 194 | {} | ||
| 195 | char * __CTOR_LIST__[1] = { (char *) (-1) }; | ||
| 196 | char * __DTOR_LIST__[1] = { (char *) (-1) }; | ||
| 197 | #endif /* __GNUC__ */ | ||
| 198 | |||
| 186 | /* ARGSUSED */ | 199 | /* ARGSUSED */ |
| 187 | main (argc, argv, envp) | 200 | main (argc, argv, envp) |
| 188 | int argc; | 201 | int argc; |