* symbols.h (local_symbol_make): Declare.
* as.c (main): Define __GAS_VERSION__.
+2011-10-12 Alan Modra <amodra@gmail.com>
+
+ * symbols.c (local_symbol_make): Make global.
+ * symbols.h (local_symbol_make): Declare.
+ * as.c (main): Define __GAS_VERSION__.
+
2011-10-10 Nick Clifton <nickc@redhat.com>
* po/es.po: Updated Spanish translation.
dwarf2_init ();
+ local_symbol_make ("__GAS_VERSION__", absolute_section,
+ BFD_VERSION / 10000UL, &zero_address_frag);
+
/* Now that we have fully initialized, and have created the output
file, define any symbols requested by --defsym command line
arguments. */
/* #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
/* 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;
fragS * frag);
symbolS *symbol_create (const char *name, segT segment, valueT value,
fragS * frag);
+struct local_symbol *local_symbol_make (const char *name, segT section,
+ valueT val, fragS *frag);
symbolS *symbol_clone (symbolS *, int);
#undef symbol_clone_if_forward_ref
symbolS *symbol_clone_if_forward_ref (symbolS *, int);