diff options
author | Dave Korn <dave.korn.cygwin@gmail.com> | 2010-07-14 16:54:14 +0000 |
---|---|---|
committer | Dave Korn <davek@gcc.gnu.org> | 2010-07-14 16:54:14 +0000 |
commit | a9c5db803f4921a59f8a97307df66bd0f546ff42 (patch) | |
tree | 0c537878b6124b3dbb18a6070e4c11da42428400 /gcc/config | |
parent | 61593e5e75091d5bc53c16a42c791a32014f74eb (diff) | |
download | gcc-a9c5db803f4921a59f8a97307df66bd0f546ff42.zip gcc-a9c5db803f4921a59f8a97307df66bd0f546ff42.tar.gz gcc-a9c5db803f4921a59f8a97307df66bd0f546ff42.tar.bz2 |
cygming-crtend.c (__FRAME_END__): Replace attribute "unused" with attribute "used".
* 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
Diffstat (limited to 'gcc/config')
-rw-r--r-- | gcc/config/i386/cygming-crtbegin.c | 4 | ||||
-rw-r--r-- | gcc/config/i386/cygming-crtend.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/gcc/config/i386/cygming-crtbegin.c b/gcc/config/i386/cygming-crtbegin.c index 367a4bb..73043ad 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 diff --git a/gcc/config/i386/cygming-crtend.c b/gcc/config/i386/cygming-crtend.c index 8c853bf..068f4b6 100644 --- a/gcc/config/i386/cygming-crtend.c +++ b/gcc/config/i386/cygming-crtend.c @@ -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 |