Mercurial > hg > CbC > CbC_gcc
comparison gcc/libgcc2.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 | 77e2b8dfacca |
children |
comparison
equal
deleted
inserted
replaced
65:65488c3d617d | 67:f6334be47118 |
---|---|
1 /* More subroutines needed by GCC output code on some machines. */ | 1 /* More subroutines needed by GCC output code on some machines. */ |
2 /* Compile this one with gcc. */ | 2 /* Compile this one with gcc. */ |
3 /* Copyright (C) 1989, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, | 3 /* Copyright (C) 1989, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, |
4 2000, 2001, 2002, 2003, 2004, 2005, 2007, 2008, 2009 | 4 2000, 2001, 2002, 2003, 2004, 2005, 2007, 2008, 2009, 2010 |
5 Free Software Foundation, Inc. | 5 Free Software Foundation, Inc. |
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 |
34 #define ATTRIBUTE_HIDDEN __attribute__ ((__visibility__ ("hidden"))) | 34 #define ATTRIBUTE_HIDDEN __attribute__ ((__visibility__ ("hidden"))) |
35 #else | 35 #else |
36 #define ATTRIBUTE_HIDDEN | 36 #define ATTRIBUTE_HIDDEN |
37 #endif | 37 #endif |
38 | 38 |
39 #ifndef MIN_UNITS_PER_WORD | |
40 #define MIN_UNITS_PER_WORD UNITS_PER_WORD | |
41 #endif | |
42 | |
43 /* Work out the largest "word" size that we can deal with on this target. */ | 39 /* Work out the largest "word" size that we can deal with on this target. */ |
44 #if MIN_UNITS_PER_WORD > 4 | 40 #if MIN_UNITS_PER_WORD > 4 |
45 # define LIBGCC2_MAX_UNITS_PER_WORD 8 | 41 # define LIBGCC2_MAX_UNITS_PER_WORD 8 |
46 #elif (MIN_UNITS_PER_WORD > 2 \ | 42 #elif (MIN_UNITS_PER_WORD > 2 \ |
47 || (MIN_UNITS_PER_WORD > 1 && LONG_LONG_TYPE_SIZE > 32)) | 43 || (MIN_UNITS_PER_WORD > 1 && __SIZEOF_LONG_LONG__ > 4)) |
48 # define LIBGCC2_MAX_UNITS_PER_WORD 4 | 44 # define LIBGCC2_MAX_UNITS_PER_WORD 4 |
49 #else | 45 #else |
50 # define LIBGCC2_MAX_UNITS_PER_WORD MIN_UNITS_PER_WORD | 46 # define LIBGCC2_MAX_UNITS_PER_WORD MIN_UNITS_PER_WORD |
51 #endif | 47 #endif |
52 | 48 |