From 7915fbaa19b94cfe53f288d4d5d4f9350136a13e Mon Sep 17 00:00:00 2001 From: Mark Mitchell Date: Thu, 18 Nov 2004 01:55:21 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 5 +++++ gcc/config/i386/i386.c | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1e2265ce8748..fd5b6b7d012d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2004-11-17 Mark Mitchell + + * config/i386/i386.c (i386_solaris_elf_named_section): Mark with + ATTRIBUTE_UNUSED. + 2004-11-17 Zack Weinberg * 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 cb807b05ee50..a60558448cab 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