diff options
| -rw-r--r-- | gcc/ChangeLog | 5 | ||||
| -rw-r--r-- | gcc/config/i386/i386.c | 4 |
2 files changed, 8 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1e2265c..fd5b6b7 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2004-11-17 Mark Mitchell <mark@codesourcery.com> + + * config/i386/i386.c (i386_solaris_elf_named_section): Mark with + ATTRIBUTE_UNUSED. + 2004-11-17 Zack Weinberg <zack@codesourcery.com> * defaults.h, config/darwin.h: Don't define TARGET_SUPPORTS_HIDDEN. diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index cb807b0..a605584 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -927,7 +927,9 @@ static bool ix86_pass_by_reference (CUMULATIVE_ARGS *, enum machine_mode, #if defined (DO_GLOBAL_CTORS_BODY) && defined (HAS_INIT_SECTION) static void ix86_svr3_asm_out_constructor (rtx, int); #endif -static void i386_solaris_elf_named_section (const char *, unsigned int, tree); +/* This function is only used on Solaris. */ +static void i386_solaris_elf_named_section (const char *, unsigned int, tree) + ATTRIBUTE_UNUSED; /* Register class used for passing given 64bit part of the argument. These represent classes as documented by the PS ABI, with the exception |
