mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
* elf/sofini.c (__FRAME_END__): Mark as const.
* elf/soinit.c (__EH_FRAME_BEGIN__): Likewise. Add used attribute.
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user