aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2001-07-22 18:11:29 +0000
committerH.J. Lu <hjl.tools@gmail.com>2001-07-22 18:11:29 +0000
commit2b3c5a5dc1fd065e5e019292b2267b5c5e8b379f (patch)
tree8b637ce7203533d6f39b92ecdf2f9c2267bb5434
parent1a12f22f5759324fc70c38590757d55b20ac36bc (diff)
downloadgdb-2b3c5a5dc1fd065e5e019292b2267b5c5e8b379f.zip
gdb-2b3c5a5dc1fd065e5e019292b2267b5c5e8b379f.tar.gz
gdb-2b3c5a5dc1fd065e5e019292b2267b5c5e8b379f.tar.bz2
2001-07-22 H.J. Lu <hjl@gnu.org>
* config/tc-mips.c (s_mips_end): Remove unused variables. (s_mips_frame): Add ATTRIBUTE_UNUSED.
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/config/tc-mips.c4
2 files changed, 6 insertions, 3 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index d665ac4..a0e312d 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,8 @@
+2001-07-22 H.J. Lu <hjl@gnu.org>
+
+ * config/tc-mips.c (s_mips_end): Remove unused variables.
+ (s_mips_frame): Add ATTRIBUTE_UNUSED.
+
2001-07-17 Andreas Schwab <schwab@suse.de>
* config/tc-m68k.c (md_pseudo_table) [OBJ_ELF]: Add .file and
diff --git a/gas/config/tc-mips.c b/gas/config/tc-mips.c
index d1e6e9f..82c7564 100644
--- a/gas/config/tc-mips.c
+++ b/gas/config/tc-mips.c
@@ -11841,9 +11841,7 @@ s_mips_end (x)
{
segT saved_seg = now_seg;
subsegT saved_subseg = now_subseg;
- fragS *saved_frag = frag_now;
valueT dot;
- segT seg;
expressionS exp;
char *fragp;
@@ -11938,7 +11936,7 @@ s_mips_ent (aent)
static void
s_mips_frame (ignore)
- int ignore;
+ int ignore ATTRIBUTE_UNUSED;
{
#ifdef MIPS_STABS_ELF