diff options
author | Ian Lance Taylor <ian@airs.com> | 1996-10-07 15:25:58 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1996-10-07 15:25:58 +0000 |
commit | 0bd28bc4f44cf35d3844554ceb638664c04cdded (patch) | |
tree | bda9fc87e30fcfc55ca64329d39a77aed6b5401e /gas/as.c | |
parent | f2b435665b8a4f05807020dd399e1ecfce49d72d (diff) | |
download | gdb-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.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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--) |