Mercurial > emacs
comparison src/emacs.c @ 6467:53c14a4f9307
(__do_global_ctors, __do_global_ctors_aux)
(__do_global_dtors): Don't define if GCC_CTORS_IN_LIBC.
(__CTOR_LIST__, __DTOR_LIST__): Likewise.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Tue, 22 Mar 1994 20:18:06 +0000 |
parents | 633b2d7d12df |
children | e4299463079d |
comparison
equal
deleted
inserted
replaced
6466:4b3c537e1169 | 6467:53c14a4f9307 |
---|---|
316 /* We don't include crtbegin.o and crtend.o in the link, | 316 /* We don't include crtbegin.o and crtend.o in the link, |
317 so these functions and variables might be missed. | 317 so these functions and variables might be missed. |
318 Provide dummy definitions to avoid error. | 318 Provide dummy definitions to avoid error. |
319 (We don't have any real constructors or destructors.) */ | 319 (We don't have any real constructors or destructors.) */ |
320 #ifdef __GNUC__ | 320 #ifdef __GNUC__ |
321 #ifndef GCC_CTORS_IN_LIBC | |
321 __do_global_ctors () | 322 __do_global_ctors () |
322 {} | 323 {} |
323 __do_global_ctors_aux () | 324 __do_global_ctors_aux () |
324 {} | 325 {} |
325 __do_global_dtors () | 326 __do_global_dtors () |
327 /* Linux has a bug in its library; avoid an error. */ | 328 /* Linux has a bug in its library; avoid an error. */ |
328 #ifndef LINUX | 329 #ifndef LINUX |
329 char * __CTOR_LIST__[2] = { (char *) (-1), 0 }; | 330 char * __CTOR_LIST__[2] = { (char *) (-1), 0 }; |
330 #endif | 331 #endif |
331 char * __DTOR_LIST__[2] = { (char *) (-1), 0 }; | 332 char * __DTOR_LIST__[2] = { (char *) (-1), 0 }; |
333 #endif /* GCC_CTORS_IN_LIBC */ | |
332 __main () | 334 __main () |
333 {} | 335 {} |
334 #endif /* __GNUC__ */ | 336 #endif /* __GNUC__ */ |
335 #endif /* ORDINARY_LINK */ | 337 #endif /* ORDINARY_LINK */ |
336 | 338 |