aboutsummaryrefslogtreecommitdiff
path: root/gas/as.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2011-10-12 02:57:07 +0000
committerAlan Modra <amodra@gmail.com>2011-10-12 02:57:07 +0000
commit00ce9deb436f0546db143c24c05964f68e2fa7c1 (patch)
treed6bcf63547653ededa2b242d8d6bd33e0eedded5 /gas/as.c
parent729b865260773262bb1f1017fbcf724e07814b66 (diff)
downloadgdb-00ce9deb436f0546db143c24c05964f68e2fa7c1.zip
gdb-00ce9deb436f0546db143c24c05964f68e2fa7c1.tar.gz
gdb-00ce9deb436f0546db143c24c05964f68e2fa7c1.tar.bz2
* symbols.c (local_symbol_make): Make global.
* symbols.h (local_symbol_make): Declare. * as.c (main): Define __GAS_VERSION__.
Diffstat (limited to 'gas/as.c')
-rw-r--r--gas/as.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gas/as.c b/gas/as.c
index e58d861..650c4f2 100644
--- a/gas/as.c
+++ b/gas/as.c
@@ -1206,6 +1206,9 @@ main (int argc, char ** argv)
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. */