Commit a65c4284 by Jeff Law

pa.h (DO_GLOBAL_DTORS_BODY): Fix pointer -> integer assignment problem.

	* pa.h (DO_GLOBAL_DTORS_BODY): Fix pointer -> integer assignment
	problem.

From-SVN: r9313
parent 6f7775d5
...@@ -2167,10 +2167,12 @@ extern struct rtx_def *hppa_save_pic_table_rtx; ...@@ -2167,10 +2167,12 @@ extern struct rtx_def *hppa_save_pic_table_rtx;
CONST_DOUBLE, CONST, HIGH}}, CONST_DOUBLE, CONST, HIGH}},
#endif #endif
/* We want __gcc_plt_call to appear in every program built by
gcc, so we make a reference to it out of __main. */
#define DO_GLOBAL_DTORS_BODY \ #define DO_GLOBAL_DTORS_BODY \
do { \ do { \
extern void __gcc_plt_call (); \ extern void __gcc_plt_call (); \
volatile int reference = &__gcc_plt_call; \ void (*reference)() = &__gcc_plt_call; \
func_ptr *p; \ func_ptr *p; \
for (p = __DTOR_LIST__ + 1; *p; ) \ for (p = __DTOR_LIST__ + 1; *p; ) \
(*p++) (); \ (*p++) (); \
......
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