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:29:17 +0000 |
| commit | a0a2eed0f2f4b3f4a0a988b58f594adb8a1c24bf (patch) | |
| tree | 505fbe6e9917f665d1e1452e51d929445ad22e9c | |
| parent | 6a8a11dae192e2c5c5aa030603e9b62e34ba6786 (diff) | |
Fix calling initializers, const seems to upset the dynlinker
| -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; |
