OSDN Git Service

* config/i386/i386.c (i386_solaris_elf_named_section): Mark with
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 18 Nov 2004 01:55:21 +0000 (01:55 +0000)
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 18 Nov 2004 01:55:21 +0000 (01:55 +0000)
ATTRIBUTE_UNUSED.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@90841 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/i386/i386.c

index 1e2265c..fd5b6b7 100644 (file)
@@ -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.
index cb807b0..a605584 100644 (file)
@@ -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