gbl-ctors.h (DO_GLOBAL_CTORS_BODY): Use __SIZE_TYPE__ instead of unsigned long.
2009-04-13 Ozkan Sezer <sezeroz@gmail.com> PR/39066 * gbl-ctors.h (DO_GLOBAL_CTORS_BODY): Use __SIZE_TYPE__ instead of unsigned long. From-SVN: r145999
This commit is contained in:
parent
934c2060de
commit
59a1171ffc
|
@ -1,3 +1,9 @@
|
|||
2009-04-13 Ozkan Sezer <sezeroz@gmail.com>
|
||||
|
||||
PR/39066
|
||||
* gbl-ctors.h (DO_GLOBAL_CTORS_BODY): Use __SIZE_TYPE__
|
||||
instead of unsigned long.
|
||||
|
||||
2009-04-13 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
|
||||
|
||||
* config/arm/arm.c (return_used_this_function): Remove.
|
||||
|
|
|
@ -72,9 +72,9 @@ extern void __do_global_dtors (void);
|
|||
#ifndef DO_GLOBAL_CTORS_BODY
|
||||
#define DO_GLOBAL_CTORS_BODY \
|
||||
do { \
|
||||
unsigned long nptrs = (unsigned long) __CTOR_LIST__[0]; \
|
||||
__SIZE_TYPE__ nptrs = (__SIZE_TYPE__) __CTOR_LIST__[0]; \
|
||||
unsigned i; \
|
||||
if (nptrs == (unsigned long)-1) \
|
||||
if (nptrs == (__SIZE_TYPE__)-1) \
|
||||
for (nptrs = 0; __CTOR_LIST__[nptrs + 1] != 0; nptrs++); \
|
||||
for (i = nptrs; i >= 1; i--) \
|
||||
__CTOR_LIST__[i] (); \
|
||||
|
|
Loading…
Reference in New Issue