2005-01-07 Paul Brook <paul@codesourcery.com>

* arm/crt0.S: Call __libc_{init,fini}_array instead of
        _init/_fini if they exist.
This commit is contained in:
Jeff Johnston 2005-01-07 18:01:26 +00:00
parent a3acb4a5ce
commit 35310094a1
2 changed files with 11 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2005-01-07 Paul Brook <paul@codesourcery.com>
* arm/crt0.S: Call __libc_{init,fini}_array instead of
_init/_fini if they exist.
2004-11-26 Paul Brook <paul@codesourcery.com>
* libc/sys/arm/crt0.S (_start): Add .cantunwind annotation.

View File

@ -1,3 +1,4 @@
#include "newlib.h"
#include "swi.h"
/* ANSI concatenation macros. */
@ -10,6 +11,11 @@
#error __USER_LABEL_PREFIX is not defined
#endif
#ifdef HAVE_INITFINI_ARRAY
#define _init __libc_init_array
#define _fini __libc_fini_array
#endif
/* .text is used instead of .section .text so it works with arm-aout too. */
.text
.code 32