diff options
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/varasm.c | 6 |
2 files changed, 10 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 7535b4c..e621fdb 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2004-10-27 Andreas Schwab <schwab@suse.de> + + * varasm.c (default_stabs_asm_out_destructor): Mark symbol as + unused. + (default_stabs_asm_out_constructor): Likewise. + 2004-10-26 Geoffrey Keating <geoffk@apple.com> * builtins.c (fold_builtin_unordered_cmp): Always bring both diff --git a/gcc/varasm.c b/gcc/varasm.c index acc5e18..df97f9e 100644 --- a/gcc/varasm.c +++ b/gcc/varasm.c @@ -1017,7 +1017,8 @@ assemble_asm (tree string) between 0 and MAX_INIT_PRIORITY. */ void -default_stabs_asm_out_destructor (rtx symbol, int priority ATTRIBUTE_UNUSED) +default_stabs_asm_out_destructor (rtx symbol ATTRIBUTE_UNUSED, + int priority ATTRIBUTE_UNUSED) { #if defined DBX_DEBUGGING_INFO || defined XCOFF_DEBUGGING_INFO /* Tell GNU LD that this is part of the static destructor set. @@ -1077,7 +1078,8 @@ default_dtor_section_asm_out_destructor (rtx symbol, /* Likewise for global constructors. */ void -default_stabs_asm_out_constructor (rtx symbol, int priority ATTRIBUTE_UNUSED) +default_stabs_asm_out_constructor (rtx symbol ATTRIBUTE_UNUSED, + int priority ATTRIBUTE_UNUSED) { #if defined DBX_DEBUGGING_INFO || defined XCOFF_DEBUGGING_INFO /* Tell GNU LD that this is part of the static destructor set. |