csky wants to set up ELF object attributes in its md_begin.
* as.c (perform_an_assembly_pass): Move obj_begin earlier.
* testsuite/gas/mmix/builtin1.d,
* testsuite/gas/mmix/builtin3.d: Adjust expected output.
if (strstr (BFD_VERSION_STRING, "." XSTRING (BFD_VERSION_DATE)) != NULL)
predefine_symbol ("date", BFD_VERSION_DATE);
+#ifdef obj_begin
+ obj_begin ();
+#endif
+
/* This may add symbol table entries, which requires having an open BFD,
and sections already created. */
md_begin ();
-
#ifdef USING_CGEN
gas_cgen_begin ();
#endif
-#ifdef obj_begin
- obj_begin ();
-#endif
/* Skip argv[0]. */
argv++;
.*: file format elf64-mmix
SYMBOL TABLE:
-0+14 l \*ABS\* 0+ rJ
0+ l d \.text 0+ (|\.text)
0+ l d \.data 0+ (|\.data)
0+ l d \.bss 0+ (|\.bss)
+0+14 l \*ABS\* 0+ rJ
0+ g F \.text 0+ Main
.*: file format elf64-mmix
SYMBOL TABLE:
-0+14 l \*ABS\* 0+ rJ
0+ l d \.text 0+ (|\.text)
0+ l d \.data 0+ (|\.data)
0+ l d \.bss 0+ (|\.bss)
+0+14 l \*ABS\* 0+ rJ
0+ g F \.text 0+ Main