Commit f25b1930 by John David Anglin Committed by John David Anglin

* som.h (DO_GLOBAL_DTORS_BODY): Change to C90 declaration.

From-SVN: r73193
parent 4043d9c1
...@@ -10,6 +10,8 @@ ...@@ -10,6 +10,8 @@
2003-11-01 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> 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. * libgcc2.c (SYMBOL__MAIN): Provide C90 declaration.
* collect2.c (scan_libraries): Fix typos. * collect2.c (scan_libraries): Fix typos.
......
...@@ -332,8 +332,8 @@ readonly_data (void) \ ...@@ -332,8 +332,8 @@ readonly_data (void) \
#define DO_GLOBAL_DTORS_BODY \ #define DO_GLOBAL_DTORS_BODY \
do { \ do { \
extern void __gcc_plt_call (); \ extern void __gcc_plt_call (void); \
void (*reference)() = &__gcc_plt_call; \ void (*reference)(void) = &__gcc_plt_call; \
func_ptr *p; \ func_ptr *p; \
__asm__ ("" : : "r" (reference)); \ __asm__ ("" : : "r" (reference)); \
for (p = __DTOR_LIST__ + 1; *p; ) \ for (p = __DTOR_LIST__ + 1; *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