From 9d6f7f519d052c82f0fc4fe0ca873891d4aac809 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Wed, 12 Oct 2011 02:57:07 +0000 Subject: * symbols.c (local_symbol_make): Make global. * symbols.h (local_symbol_make): Declare. * as.c (main): Define __GAS_VERSION__. --- gas/as.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gas/as.c') diff --git a/gas/as.c b/gas/as.c index e58d861c83..650c4f2543 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. */ -- cgit v1.2.1