aboutsummaryrefslogtreecommitdiff
path: root/gas/as.c
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1996-10-07 15:25:58 +0000
committerIan Lance Taylor <ian@airs.com>1996-10-07 15:25:58 +0000
commit0bd28bc4f44cf35d3844554ceb638664c04cdded (patch)
treebda9fc87e30fcfc55ca64329d39a77aed6b5401e /gas/as.c
parentf2b435665b8a4f05807020dd399e1ecfce49d72d (diff)
downloadgdb-0bd28bc4f44cf35d3844554ceb638664c04cdded.zip
gdb-0bd28bc4f44cf35d3844554ceb638664c04cdded.tar.gz
gdb-0bd28bc4f44cf35d3844554ceb638664c04cdded.tar.bz2
* config/obj-elf.c (elf_begin): New function.
(obj_elf_section): Add the section symbol to the symbol table. * config/obj-elf.h (obj_begin): Define. (elf_begin): Declare. * as.c (perform_an_assembly_pass): Call obj_begin if it is defined.
Diffstat (limited to 'gas/as.c')
-rw-r--r--gas/as.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gas/as.c b/gas/as.c
index 21caa20..475fa8e 100644
--- a/gas/as.c
+++ b/gas/as.c
@@ -788,6 +788,10 @@ perform_an_assembly_pass (argc, argv)
and sections already created, in BFD_ASSEMBLER mode. */
md_begin ();
+#ifdef obj_begin
+ obj_begin ();
+#endif
+
argv++; /* skip argv[0] */
argc--; /* skip argv[0] */
while (argc--)