diff options
-rw-r--r-- | gas/ChangeLog | 10 | ||||
-rw-r--r-- | gas/as.c | 16 |
2 files changed, 16 insertions, 10 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 415f7fc..9094135 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,13 @@ +Mon Dec 20 10:37:48 1993 Ken Raeburn (raeburn@cujo.cygnus.com) + + * as.c (main): Call listing_print before BFD gets closed, when + symbol data hasn't been freed up yet. + +Sun Dec 19 00:37:20 1993 Ken Raeburn (raeburn@cambridge.cygnus.com) + + * config/tc-sparc.c (tc_gen_reloc): Test of pcrel_offset had sense + reversed. + Thu Dec 16 21:13:11 1993 Jeffrey A. Law (law@snake.cs.utah.edu) * config/tc-hppa.c (md_begin): Initialize "dummy_label". @@ -268,13 +268,7 @@ main (argc, argv) case 'R': /* -R means put data into text segment */ -#ifdef NO_FOLD_DATA_AND_TEXT - as_warn ("-R option not supported on this target."); - flag_readonly_data_in_text = 0; - flagseen['R'] = 0; -#else flag_readonly_data_in_text = 1; -#endif break; case 'v': @@ -341,6 +335,11 @@ main (argc, argv) #ifdef TC_I960 brtab_emit (); #endif + +#ifndef NO_LISTING + listing_print (""); +#endif + if (seen_at_least_1_file () && !((had_warnings () && flag_always_generate_output) || had_errors () > 0)) @@ -358,10 +357,6 @@ main (argc, argv) input_scrub_end (); md_end (); /* MACHINE.c */ -#ifndef NO_LISTING - listing_print (""); -#endif - if ((had_warnings () && flagseen['Z']) || had_errors () > 0) return EXIT_FAILURE; @@ -432,6 +427,7 @@ perform_an_assembly_pass (argc, argv) bfd_set_section_flags (stdoutput, data_section, applicable & (SEC_ALLOC | SEC_LOAD | SEC_RELOC)); bfd_set_section_flags (stdoutput, bss_section, applicable & SEC_ALLOC); + seg_info (bss_section)->bss = 1; subseg_new (BFD_ABS_SECTION_NAME, 0); subseg_new (BFD_UND_SECTION_NAME, 0); reg_section = subseg_new ("*GAS `reg' section*", 0); |