* som.h (DO_GLOBAL_DTORS_BODY): Change to C90 declaration.
From-SVN: r73193
This commit is contained in:
parent
4043d9c130
commit
f25b19304b
2 changed files with 4 additions and 2 deletions
|
@ -10,6 +10,8 @@
|
|||
|
||||
2003-11-01 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
|
||||
|
||||
* som.h (DO_GLOBAL_DTORS_BODY): Change to C90 declaration.
|
||||
|
||||
* libgcc2.c (SYMBOL__MAIN): Provide C90 declaration.
|
||||
|
||||
* collect2.c (scan_libraries): Fix typos.
|
||||
|
|
|
@ -332,8 +332,8 @@ readonly_data (void) \
|
|||
|
||||
#define DO_GLOBAL_DTORS_BODY \
|
||||
do { \
|
||||
extern void __gcc_plt_call (); \
|
||||
void (*reference)() = &__gcc_plt_call; \
|
||||
extern void __gcc_plt_call (void); \
|
||||
void (*reference)(void) = &__gcc_plt_call; \
|
||||
func_ptr *p; \
|
||||
__asm__ ("" : : "r" (reference)); \
|
||||
for (p = __DTOR_LIST__ + 1; *p; ) \
|
||||
|
|
Loading…
Add table
Reference in a new issue