diff options
Diffstat (limited to 'elf/soinit.c')
-rw-r--r-- | elf/soinit.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/elf/soinit.c b/elf/soinit.c index 3656b1d..c0a881e 100644 --- a/elf/soinit.c +++ b/elf/soinit.c @@ -20,9 +20,9 @@ run_hooks (void (*const list[]) (void)) (**list) (); } -static char __EH_FRAME_BEGIN__[] - __attribute__ ((section (".eh_frame"))) - = { }; +static const char __EH_FRAME_BEGIN__[] + __attribute__ ((used, section (".eh_frame"))) + = { }; /* This function will be called from _init in init-first.c. */ void |