diff options
author | Mark Mitchell <mark@codesourcery.com> | 2004-11-18 01:55:21 +0000 |
---|---|---|
committer | Mark Mitchell <mmitchel@gcc.gnu.org> | 2004-11-18 01:55:21 +0000 |
commit | 7915fbaa19b94cfe53f288d4d5d4f9350136a13e (patch) | |
tree | 722e9cbdcb604b08b29760136f11bdd2d5e9e452 | |
parent | cf249358ead1dbecd809ab4766e0d1dac26f3cb8 (diff) | |
download | gcc-7915fbaa19b94cfe53f288d4d5d4f9350136a13e.zip gcc-7915fbaa19b94cfe53f288d4d5d4f9350136a13e.tar.gz gcc-7915fbaa19b94cfe53f288d4d5d4f9350136a13e.tar.bz2 |
i386.c (i386_solaris_elf_named_section): Mark with ATTRIBUTE_UNUSED.
* config/i386/i386.c (i386_solaris_elf_named_section): Mark with
ATTRIBUTE_UNUSED.
From-SVN: r90841
-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 |