aboutsummaryrefslogtreecommitdiff
path: root/gas/as.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2011-10-12 21:07:07 +0000
committerAlan Modra <amodra@gmail.com>2011-10-12 21:07:07 +0000
commit6885131b49b28d67e4dc4758edb7e765b8b9f8b7 (patch)
tree8490fe62a6376d5398dfc36ec34d6e0abb27621c /gas/as.c
parentadabb602f9140476a47dec04581214e644b52bc6 (diff)
downloadgdb-6885131b49b28d67e4dc4758edb7e765b8b9f8b7.zip
gdb-6885131b49b28d67e4dc4758edb7e765b8b9f8b7.tar.gz
gdb-6885131b49b28d67e4dc4758edb7e765b8b9f8b7.tar.bz2
* as.c (main): Define .gasversion. rather than __GAS_VERSION__.
* frags.h (bss_address_frag): Delete (predefined_address_frag): New. * frags.c (frag_init): Init predefined_address_frag. Delete ref to bss_addres_frag. * symbols.c (S_CAN_BE_REDEFINED): New function. * symbols.h (S_CAN_BE_REDEFINED): Declare. * read.c (assign_symbol): Use S_CAN_BE_REDEFINED.
Diffstat (limited to 'gas/as.c')
-rw-r--r--gas/as.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gas/as.c b/gas/as.c
index 650c4f2..b99ea1e 100644
--- a/gas/as.c
+++ b/gas/as.c
@@ -1206,8 +1206,8 @@ main (int argc, char ** argv)
dwarf2_init ();
- local_symbol_make ("__GAS_VERSION__", absolute_section,
- BFD_VERSION / 10000UL, &zero_address_frag);
+ local_symbol_make (".gasversion.", absolute_section,
+ BFD_VERSION / 10000UL, &predefined_address_frag);
/* Now that we have fully initialized, and have created the output
file, define any symbols requested by --defsym command line