comparison gcc/config/i386/cygming-crtbegin.c @ 69:1b10fe6932e1

merge 69
author Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
date Sun, 21 Aug 2011 07:53:12 +0900
parents f6334be47118
children
comparison
equal deleted inserted replaced
66:b362627d71ba 69:1b10fe6932e1
1 /* crtbegin object for windows32 targets. 1 /* crtbegin object for windows32 targets.
2 Copyright (C) 2007, 2009 Free Software Foundation, Inc. 2 Copyright (C) 2007, 2009, 2010 Free Software Foundation, Inc.
3 3
4 Contributed by Danny Smith <dannysmith@users.sourceforge.net> 4 Contributed by Danny Smith <dannysmith@users.sourceforge.net>
5 5
6 This file is part of GCC. 6 This file is part of GCC.
7 7
62 62
63 /* Stick a label at the beginning of the frame unwind info so we can 63 /* Stick a label at the beginning of the frame unwind info so we can
64 register/deregister it with the exception handling library code. */ 64 register/deregister it with the exception handling library code. */
65 #if DWARF2_UNWIND_INFO 65 #if DWARF2_UNWIND_INFO
66 static EH_FRAME_SECTION_CONST char __EH_FRAME_BEGIN__[] 66 static EH_FRAME_SECTION_CONST char __EH_FRAME_BEGIN__[]
67 __attribute__((section(EH_FRAME_SECTION_NAME), aligned(4))) 67 __attribute__((used, section(EH_FRAME_SECTION_NAME), aligned(4)))
68 = { }; 68 = { };
69 69
70 static struct object obj; 70 static struct object obj;
71 #endif 71 #endif
72 72
73 #if TARGET_USE_JCR_SECTION 73 #if TARGET_USE_JCR_SECTION
74 static void *__JCR_LIST__[] 74 static void *__JCR_LIST__[]
75 __attribute__ ((unused, section(JCR_SECTION_NAME), aligned(4))) 75 __attribute__ ((used, section(JCR_SECTION_NAME), aligned(4)))
76 = { }; 76 = { };
77 #endif 77 #endif
78 78
79 /* Pull in references from libgcc.a(unwind-dw2-fde.o) in the 79 /* Pull in references from libgcc.a(unwind-dw2-fde.o) in the
80 startfile. These are referenced by a ctor and dtor in crtend.o. */ 80 startfile. These are referenced by a ctor and dtor in crtend.o. */