PR 4713
authorAlan Modra <amodra@gmail.com>
Tue, 3 Jul 2007 03:29:40 +0000 (03:29 +0000)
committerAlan Modra <amodra@gmail.com>
Tue, 3 Jul 2007 03:29:40 +0000 (03:29 +0000)
* config/obj-elf.c (elf_ecoff_set_ext): Make static when OBJ_MAYBE_ELF.
* config/obj-elf.h (obj_ecoff_set_ext): Comment.

gas/ChangeLog
gas/config/obj-elf.c
gas/config/obj-elf.h

index 170934edb8d159a16da9e7b7a9a7fda5a033f8a3..a9b086840ebad77b8fb7a50713f66a070cffad1b 100644 (file)
@@ -1,3 +1,9 @@
+2007-07-03  Alan Modra  <amodra@bigpond.net.au>
+
+       PR 4713
+       * config/obj-elf.c (elf_ecoff_set_ext): Make static when OBJ_MAYBE_ELF.
+       * config/obj-elf.h (obj_ecoff_set_ext): Comment.
+
 2007-07-03  Mikkel Lauritsen  <renard@nospam.dk>
 
        PR 4722
index b826803f9ff0146955394cc69f1a73eeb2a5fa12..2f93990e721df9b014b714e5de0975273cfff186 100644 (file)
@@ -1,6 +1,7 @@
 /* ELF object file format
    Copyright 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
-   2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
+   2001, 2002, 2003, 2004, 2005, 2006, 2007
+   Free Software Foundation, Inc.
 
    This file is part of GAS, the GNU Assembler.
 
@@ -1693,6 +1694,9 @@ adjust_stab_sections (bfd *abfd, asection *sec, void *xxx ATTRIBUTE_UNUSED)
    this at the moment, so we do it ourselves.  We save the information
    in the symbol.  */
 
+#ifdef OBJ_MAYBE_ELF
+static
+#endif
 void
 elf_ecoff_set_ext (symbolS *sym, struct ecoff_extr *ext)
 {
index 6fc08d4b6639485a4aedcba2347e37e4d5b2fe5f..29356ab3b06a040f968e8820e6c62914ecb82807 100644 (file)
@@ -1,6 +1,6 @@
 /* ELF object file format.
    Copyright 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001,
-   2002, 2003, 2004, 2006 Free Software Foundation, Inc.
+   2002, 2003, 2004, 2006, 2007 Free Software Foundation, Inc.
 
    This file is part of GAS, the GNU Assembler.
 
@@ -236,6 +236,7 @@ extern void elf_pop_insert (void);
 #endif
 
 #ifndef OBJ_MAYBE_ELF
+/* If OBJ_MAYBE_ELF then obj-multi.h will define obj_ecoff_set_ext.  */
 #define obj_ecoff_set_ext elf_ecoff_set_ext
 struct ecoff_extr;
 extern void elf_ecoff_set_ext (symbolS *, struct ecoff_extr *);
This page took 0.027162 seconds and 4 git commands to generate.