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
This commit is contained in:
Jeff Law 1995-04-04 15:26:02 -06:00
parent 6f7775d58f
commit a65c428438
1 changed files with 3 additions and 1 deletions

View File

@ -2167,10 +2167,12 @@ extern struct rtx_def *hppa_save_pic_table_rtx;
CONST_DOUBLE, CONST, HIGH}},
#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 \
do { \
extern void __gcc_plt_call (); \
volatile int reference = &__gcc_plt_call; \
void (*reference)() = &__gcc_plt_call; \
func_ptr *p; \
for (p = __DTOR_LIST__ + 1; *p; ) \
(*p++) (); \