summaryrefslogtreecommitdiff
path: root/gcc/config/i386/cygming-crtbegin.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/i386/cygming-crtbegin.c')
-rw-r--r--gcc/config/i386/cygming-crtbegin.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/config/i386/cygming-crtbegin.c b/gcc/config/i386/cygming-crtbegin.c
index 367a4bbff51..73043ad0dcd 100644
--- a/gcc/config/i386/cygming-crtbegin.c
+++ b/gcc/config/i386/cygming-crtbegin.c
@@ -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