aboutsummaryrefslogtreecommitdiff
path: root/elf/sofini.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2006-02-24 22:57:38 +0000
committerRoland McGrath <roland@gnu.org>2006-02-24 22:57:38 +0000
commit03e81bcee66fe606d4f2b4b363b0fff47a29b247 (patch)
tree8023a402c262b0f742f97d4ace4172b0a00f1fa1 /elf/sofini.c
parentc5132ca1c35e1c0e93b9ba8eda575bb57c892b78 (diff)
downloadglibc-03e81bcee66fe606d4f2b4b363b0fff47a29b247.tar
glibc-03e81bcee66fe606d4f2b4b363b0fff47a29b247.tar.gz
glibc-03e81bcee66fe606d4f2b4b363b0fff47a29b247.tar.bz2
glibc-03e81bcee66fe606d4f2b4b363b0fff47a29b247.zip
* elf/sofini.c (__FRAME_END__): Mark as const.
* elf/soinit.c (__EH_FRAME_BEGIN__): Likewise. Add used attribute.
Diffstat (limited to 'elf/sofini.c')
-rw-r--r--elf/sofini.c6
1 files changed, 3 insertions, 3 deletions
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 };