Commit 976ef4f7 by Jim Wilson

(DO_GLOBAL_CTORS_BODY): Use long instead of

HOST_WIDE_INT.

From-SVN: r7859
parent 26f887e5
...@@ -74,7 +74,7 @@ extern void __do_global_dtors (); ...@@ -74,7 +74,7 @@ extern void __do_global_dtors ();
#ifndef DO_GLOBAL_CTORS_BODY #ifndef DO_GLOBAL_CTORS_BODY
#define DO_GLOBAL_CTORS_BODY \ #define DO_GLOBAL_CTORS_BODY \
do { \ do { \
unsigned nptrs = (unsigned HOST_WIDE_INT) __CTOR_LIST__[0]; \ unsigned long nptrs = (unsigned long) __CTOR_LIST__[0]; \
unsigned i; \ unsigned i; \
if (nptrs == -1) \ if (nptrs == -1) \
for (nptrs = 0; __CTOR_LIST__[nptrs + 1] != 0; nptrs++); \ for (nptrs = 0; __CTOR_LIST__[nptrs + 1] != 0; nptrs++); \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment