comparison gcc/crtstuff.c @ 67:f6334be47118

update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
author nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
date Tue, 22 Mar 2011 17:18:12 +0900
parents b7f97abdc517
children
comparison
equal deleted inserted replaced
65:65488c3d617d 67:f6334be47118
1 /* Specialized bits of code needed to support construction and 1 /* Specialized bits of code needed to support construction and
2 destruction of file-scope objects in C++ code. 2 destruction of file-scope objects in C++ code.
3 Copyright (C) 1991, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001 3 Copyright (C) 1991, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
4 2002, 2003, 2004, 2005, 2006, 2007, 2009 Free Software Foundation, Inc. 4 2002, 2003, 2004, 2005, 2006, 2007, 2009, 2010 Free Software Foundation, Inc.
5 Contributed by Ron Guilmette (rfg@monkeys.com). 5 Contributed by Ron Guilmette (rfg@monkeys.com).
6 6
7 This file is part of GCC. 7 This file is part of GCC.
8 8
9 GCC is free software; you can redistribute it and/or modify it under 9 GCC is free software; you can redistribute it and/or modify it under
82 #if defined(OBJECT_FORMAT_ELF) \ 82 #if defined(OBJECT_FORMAT_ELF) \
83 && !defined(OBJECT_FORMAT_FLAT) \ 83 && !defined(OBJECT_FORMAT_FLAT) \
84 && defined(HAVE_LD_EH_FRAME_HDR) \ 84 && defined(HAVE_LD_EH_FRAME_HDR) \
85 && !defined(inhibit_libc) && !defined(CRTSTUFFT_O) \ 85 && !defined(inhibit_libc) && !defined(CRTSTUFFT_O) \
86 && defined(__FreeBSD__) && __FreeBSD__ >= 7 86 && defined(__FreeBSD__) && __FreeBSD__ >= 7
87 #include <link.h>
88 # define USE_PT_GNU_EH_FRAME
89 #endif
90
91 #if defined(OBJECT_FORMAT_ELF) \
92 && !defined(OBJECT_FORMAT_FLAT) \
93 && defined(HAVE_LD_EH_FRAME_HDR) && defined(TARGET_DL_ITERATE_PHDR) \
94 && !defined(inhibit_libc) && !defined(CRTSTUFFT_O) \
95 && defined(__sun__) && defined(__svr4__)
87 #include <link.h> 96 #include <link.h>
88 # define USE_PT_GNU_EH_FRAME 97 # define USE_PT_GNU_EH_FRAME
89 #endif 98 #endif
90 99
91 #if defined(OBJECT_FORMAT_ELF) \ 100 #if defined(OBJECT_FORMAT_ELF) \