summaryrefslogtreecommitdiff
path: root/gas/symbols.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2011-10-12 02:57:07 +0000
committerAlan Modra <amodra@bigpond.net.au>2011-10-12 02:57:07 +0000
commit9d6f7f519d052c82f0fc4fe0ca873891d4aac809 (patch)
tree567b21d1d66938884c00abed654d87555192cf21 /gas/symbols.c
parent60ef262333e49e9cf2c1c5cedd6d124a1ea2b101 (diff)
downloadbinutils-redhat-9d6f7f519d052c82f0fc4fe0ca873891d4aac809.tar.gz
* symbols.c (local_symbol_make): Make global.
* symbols.h (local_symbol_make): Declare. * as.c (main): Define __GAS_VERSION__.
Diffstat (limited to 'gas/symbols.c')
-rw-r--r--gas/symbols.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/gas/symbols.c b/gas/symbols.c
index fc475caec0..b5d5a43b2f 100644
--- a/gas/symbols.c
+++ b/gas/symbols.c
@@ -23,11 +23,9 @@
/* #define DEBUG_SYMS / * to debug symbol list maintenance. */
#include "as.h"
-
#include "safe-ctype.h"
#include "obstack.h" /* For "symbols.h" */
#include "subsegs.h"
-
#include "struc-symbol.h"
/* This is non-zero if symbols are case sensitive, which is the
@@ -191,7 +189,7 @@ static unsigned long local_symbol_conversion_count;
/* Create a local symbol and insert it into the local hash table. */
-static struct local_symbol *
+struct local_symbol *
local_symbol_make (const char *name, segT section, valueT val, fragS *frag)
{
char *name_copy;