aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>1999-07-07 09:34:14 +0000
committerNick Clifton <nickc@redhat.com>1999-07-07 09:34:14 +0000
commitcac58fa6efdb5e3fd4b19c40a5378516155ad8ff (patch)
tree7aeb34be00e8c098d403faebf355be38a75797a0
parent37afc161ab0fc07e7938428e88cbdb61922f483b (diff)
downloadgdb-cac58fa6efdb5e3fd4b19c40a5378516155ad8ff.zip
gdb-cac58fa6efdb5e3fd4b19c40a5378516155ad8ff.tar.gz
gdb-cac58fa6efdb5e3fd4b19c40a5378516155ad8ff.tar.bz2
Use symbol_get_obj() rather than accessing symbolP directly.
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/config/tc-v850.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 090ba17..97e3785 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,8 @@
+1999-07-07 Nick Clifton <nickc@cygnus.com>
+
+ * config/tc-v850.c (v850_comm): Use symbol_get_obj() ratehr than
+ accessing symbolP directly.
+
Tue Jul 6 10:41:42 1999 Jeffrey A Law (law@cygnus.com)
* config/tc-hppa.h (tc_frob_symbol): Always punt "$global$" symbol
diff --git a/gas/config/tc-v850.c b/gas/config/tc-v850.c
index 7d4a91f..c8d308c 100644
--- a/gas/config/tc-v850.c
+++ b/gas/config/tc-v850.c
@@ -323,7 +323,7 @@ v850_comm (area)
}
}
- if (symbolP->local)
+ if (symbol_get_obj (symbolP)->local)
{
segT old_sec;
int old_subsec;
@@ -435,7 +435,7 @@ v850_comm (area)
break;
default:
- abort();
+ abort ();
}
symbol_set_frag (symbolP, frag_now);