* struc-symbol.h (struct local_symbol): New TC_LOCAL_SYMFIELD_TYPE.
authorAlexandre Oliva <aoliva@redhat.com>
Sat, 14 Apr 2001 06:57:28 +0000 (06:57 +0000)
committerAlexandre Oliva <aoliva@redhat.com>
Sat, 14 Apr 2001 06:57:28 +0000 (06:57 +0000)
* symbols.c (local_symbol_convert): Call TC_LOCAL_SYMFIELD_CONVERT.

gas/ChangeLog
gas/struc-symbol.h
gas/symbols.c

index afec94369095d63c5b59148ce4bed2052da0bd8d..44f4ec0770d8bffe0efa562461792055c0706f2b 100644 (file)
@@ -1,5 +1,8 @@
 2001-04-14  Alexandre Oliva  <aoliva@redhat.com>
 
+       * struc-symbol.h (struct local_symbol): New TC_LOCAL_SYMFIELD_TYPE.
+       * symbols.c (local_symbol_convert): Call TC_LOCAL_SYMFIELD_CONVERT.
+
        * config/tc-mn10300.c (md_assemble): Simplify offset adjustment of
        pc-relative relocations not placed at the end of the instruction.
 
index 6573f2c2a3f4dd293ee23ed57fceed41455851ba..01c8b4f343ff56d450b9e10d61301a4875369a08 100644 (file)
@@ -139,6 +139,10 @@ struct local_symbol
 
   /* The offset within the frag.  */
   valueT lsy_offset;
+
+#ifdef TC_LOCAL_SYMFIELD_TYPE
+  TC_LOCAL_SYMFIELD_TYPE lsy_tc;
+#endif
 };
 
 #define local_symbol_converted_p(l) ((l)->lsy_section == reg_section)
index 913686cd8c596610185790f918a63b0676674391..98623eb7005c9ca8af60e817250be232a81069e2 100644 (file)
@@ -255,6 +255,10 @@ local_symbol_convert (locsym)
   /* Local symbols are always either defined or used.  */
   ret->sy_used = 1;
 
+#ifdef TC_LOCAL_SYMFIELD_CONVERT
+  TC_LOCAL_SYMFIELD_CONVERT (locsym, ret);
+#endif
+
   symbol_table_insert (ret);
 
   local_symbol_mark_converted (locsym);