aboutsummaryrefslogtreecommitdiff
path: root/gas/config/obj-coffbfd.c
diff options
context:
space:
mode:
authorStan Shebs <shebs@codesourcery.com>1993-09-07 17:39:56 +0000
committerStan Shebs <shebs@codesourcery.com>1993-09-07 17:39:56 +0000
commit4064305ec08e84f8857e65e3281e389a3dffed45 (patch)
tree405eba3c65bc39c5789ce00caf92c9afe4049cb2 /gas/config/obj-coffbfd.c
parentf3e8b15d8e4ac6ff46fefe7ae67dda956285f6cb (diff)
downloadgdb-4064305ec08e84f8857e65e3281e389a3dffed45.zip
gdb-4064305ec08e84f8857e65e3281e389a3dffed45.tar.gz
gdb-4064305ec08e84f8857e65e3281e389a3dffed45.tar.bz2
Changes to support stabs-in-coff
Diffstat (limited to 'gas/config/obj-coffbfd.c')
-rw-r--r--gas/config/obj-coffbfd.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/gas/config/obj-coffbfd.c b/gas/config/obj-coffbfd.c
index 301806a..85414ca 100644
--- a/gas/config/obj-coffbfd.c
+++ b/gas/config/obj-coffbfd.c
@@ -31,7 +31,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
Hacked for BFDness by steve chamberlain
- This object module now supports the Hitachi H8/{3|5}00 and the AMD 29k
+ This object module now supports everything but the i960 and i860.
sac@cygnus.com
*/
@@ -80,6 +80,12 @@ const short seg_N_TYPE[] =
int function_lineoff = -1; /* Offset in line#s where the last function
started (the odd entry for line #0) */
+/* This is used along with macros in the .h file to fake the .stabX
+ directive reader into thinking it's working on a real symbol, when
+ it's actually only a temporary that will get converted into a
+ stab-section symbol later. */
+
+symbolS current_stab_symbol;
static symbolS *last_line_symbol;
@@ -149,7 +155,6 @@ void EXFUN (obj_coff_section, (void));
static void EXFUN (tag_init, (void));
static void EXFUN (tag_insert, (char *name, symbolS * symbolP));
-
static struct hash_control *tag_hash;
static symbolS *def_symbol_in_progress = NULL;