From 03e81bcee66fe606d4f2b4b363b0fff47a29b247 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Fri, 24 Feb 2006 22:57:38 +0000 Subject: * elf/sofini.c (__FRAME_END__): Mark as const. * elf/soinit.c (__EH_FRAME_BEGIN__): Likewise. Add used attribute. --- elf/sofini.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'elf/sofini.c') diff --git a/elf/sofini.c b/elf/sofini.c index 55b9b1f081..5e06f0ca92 100644 --- a/elf/sofini.c +++ b/elf/sofini.c @@ -12,6 +12,6 @@ static void (*const __DTOR_END__[1]) (void) this would be the 'length' field in a real FDE. */ typedef unsigned int ui32 __attribute__ ((mode (SI))); -static ui32 __FRAME_END__[1] - __attribute__ ((used, section (".eh_frame"))) - = { 0 }; +static const ui32 __FRAME_END__[1] + __attribute__ ((used, section (".eh_frame"))) + = { 0 }; -- cgit v1.2.3