]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
cygming-crtend.c (__FRAME_END__): Replace attribute "unused" with attribute "used".
authorDave Korn <dave.korn.cygwin@gmail.com>
Wed, 14 Jul 2010 16:54:14 +0000 (16:54 +0000)
committerDave Korn <davek@gcc.gnu.org>
Wed, 14 Jul 2010 16:54:14 +0000 (16:54 +0000)
* config/i386/cygming-crtend.c (__FRAME_END__): Replace attribute
"unused" with attribute "used".
(__JCR_END__): Likewise.
* config/i386/cygming-crtbegin.c (__EH_FRAME_BEGIN__): Add missing
"used" attribute.
(__JCR_LIST__): Replace attribute "unused" with attribute "used".

From-SVN: r162186

gcc/ChangeLog
gcc/config/i386/cygming-crtbegin.c
gcc/config/i386/cygming-crtend.c

index bacd3d4c846ebc4e8cadf9e5e75648838cfe0dd7..f4f535b21a606bf5f6b5593e0ba2ee9979bcdfff 100644 (file)
@@ -1,3 +1,12 @@
+2010-07-14  Dave Korn  <dave.korn.cygwin@gmail.com>
+
+       * config/i386/cygming-crtend.c (__FRAME_END__): Replace attribute
+       "unused" with attribute "used".
+       (__JCR_END__): Likewise.
+       * config/i386/cygming-crtbegin.c (__EH_FRAME_BEGIN__): Add missing
+       "used" attribute.
+       (__JCR_LIST__): Replace attribute "unused" with attribute "used".
+
 2010-07-14  Richard Guenther  <rguenther@suse.de>
 
        * lto-streamer-in.c (maybe_fixup_handled_component): Remove.
index 367a4bbff5115e4a0884b70437ce0b65920fc71b..73043ad0dcda4675b28b607381f3d72da51e79e7 100644 (file)
@@ -64,7 +64,7 @@ extern void _Jv_RegisterClasses (const void *) TARGET_ATTRIBUTE_WEAK;
    register/deregister it with the exception handling library code.  */
 #if DWARF2_UNWIND_INFO
 static EH_FRAME_SECTION_CONST char __EH_FRAME_BEGIN__[]
-  __attribute__((section(EH_FRAME_SECTION_NAME), aligned(4)))
+  __attribute__((used, section(EH_FRAME_SECTION_NAME), aligned(4)))
   = { };
 
 static struct object obj;
@@ -72,7 +72,7 @@ static struct object obj;
 
 #if TARGET_USE_JCR_SECTION
 static void *__JCR_LIST__[]
-  __attribute__ ((unused, section(JCR_SECTION_NAME), aligned(4)))
+  __attribute__ ((used, section(JCR_SECTION_NAME), aligned(4)))
   = { };
 #endif
 
index 8c853bfa732bb027f7ec6af0dbc9ec4b856323c4..068f4b63613a63b85244da1a36d7126277fab2f6 100644 (file)
@@ -47,7 +47,7 @@ see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see
    this would be the 'length' field in a real FDE.  */
 
 static EH_FRAME_SECTION_CONST int __FRAME_END__[]
-  __attribute__ ((unused,  section(EH_FRAME_SECTION_NAME),
+  __attribute__ ((used,  section(EH_FRAME_SECTION_NAME),
                  aligned(4)))
   = { 0 };
 #endif
@@ -55,7 +55,7 @@ static EH_FRAME_SECTION_CONST int __FRAME_END__[]
 #if TARGET_USE_JCR_SECTION
 /* Null terminate the .jcr section array.  */
 static void *__JCR_END__[1] 
-   __attribute__ ((unused, section(JCR_SECTION_NAME),
+   __attribute__ ((used, section(JCR_SECTION_NAME),
                   aligned(sizeof(void *))))
    = { 0 };
 #endif