aboutsummaryrefslogtreecommitdiff
path: root/gas/as.c
diff options
context:
space:
mode:
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. */