diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2012-02-19 01:28:39 +0000 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2012-02-19 01:28:39 +0000 |
commit | 7e76a2bd1ec93f7d272e8eb16542f9c231d55ae9 (patch) | |
tree | 5f96a91aeb3348fb76058e38e33301a2854f7fd7 /libddekit/initcall.c | |
parent | 998885c7f9b23a5576fc11d3d2fc71508d46089d (diff) |
Fix calling initializers, const seems to upset the dynlinker
Diffstat (limited to 'libddekit/initcall.c')
-rw-r--r-- | libddekit/initcall.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libddekit/initcall.c b/libddekit/initcall.c index 78c24146..9195243d 100644 --- a/libddekit/initcall.c +++ b/libddekit/initcall.c @@ -9,7 +9,7 @@ #define SECTION(x) __attribute__((section( x ))) #endif -typedef void (*const crt0_hook)(void); +typedef void (*crt0_hook)(void); static crt0_hook __L4DDE_CTOR_BEG__[1] SECTION(".mark_beg_l4dde_ctors") = BEG; static crt0_hook __l4DDE_CTOR_END__[1] SECTION(".mark_end_l4dde_ctors") = END; |