aboutsummaryrefslogtreecommitdiff
path: root/gas/config/obj-ecoff.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2001-05-03 02:07:02 +0000
committerAlan Modra <amodra@gmail.com>2001-05-03 02:07:02 +0000
commit3438adb37d385801575ac0f14a8312d1486daa63 (patch)
treea24f0993c270502e60a0995ec33db2228e7f134e /gas/config/obj-ecoff.c
parent636c26b044901d23dd7277276dd00a346001ec66 (diff)
downloadgdb-3438adb37d385801575ac0f14a8312d1486daa63.zip
gdb-3438adb37d385801575ac0f14a8312d1486daa63.tar.gz
gdb-3438adb37d385801575ac0f14a8312d1486daa63.tar.bz2
Warning fixes and configure/makefile tweaks by Thiemo Seufer.
Diffstat (limited to 'gas/config/obj-ecoff.c')
-rw-r--r--gas/config/obj-ecoff.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/gas/config/obj-ecoff.c b/gas/config/obj-ecoff.c
index 986c828..d1eabce 100644
--- a/gas/config/obj-ecoff.c
+++ b/gas/config/obj-ecoff.c
@@ -1,5 +1,5 @@
/* ECOFF object file format.
- Copyright 1993, 1994, 1995, 1996, 1998, 1999, 2000
+ Copyright 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
Free Software Foundation, Inc.
Contributed by Cygnus Support.
This file was put together by Ian Lance Taylor <ian@cygnus.com>.
@@ -95,7 +95,7 @@ const pseudo_typeS obj_pseudo_table[] =
{ "verstamp", s_ignore, 0 },
/* Sentinel. */
- { NULL }
+ { NULL, s_ignore, 0 }
};
/* Swap out the symbols and debugging information for BFD. */
@@ -141,7 +141,7 @@ ecoff_frob_file ()
/* bss segment */
".sbss", ".bss",
};
-#define n_names (sizeof (names) / sizeof (names[0]))
+#define n_names ((int) (sizeof (names) / sizeof (names[0])))
addr = 0;
{
@@ -272,7 +272,7 @@ obj_ecoff_set_ext (sym, ext)
static int
ecoff_sec_sym_ok_for_reloc (sec)
- asection *sec;
+ asection *sec ATTRIBUTE_UNUSED;
{
return 1;
}
@@ -280,7 +280,7 @@ ecoff_sec_sym_ok_for_reloc (sec)
static void
obj_ecoff_frob_symbol (sym, puntp)
symbolS *sym;
- int *puntp;
+ int *puntp ATTRIBUTE_UNUSED;
{
ecoff_frob_symbol (sym);
}