* 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.
This commit is contained in:
Ian Lance Taylor
1996-10-07 15:25:58 +00:00
parent f2b435665b
commit 0bd28bc4f4
4 changed files with 55 additions and 10 deletions

View File

@@ -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--)