diff options
author | Ken Raeburn <raeburn@cygnus> | 1993-12-20 15:43:23 +0000 |
---|---|---|
committer | Ken Raeburn <raeburn@cygnus> | 1993-12-20 15:43:23 +0000 |
commit | 8b13fa4e5c0d23aea01573ad05ced3256f4be5c1 (patch) | |
tree | 85ab3132a923df36e2d5b330061dc2cef053b8e0 /gas | |
parent | dbb0309d6cd3ed12c1071a1473823c0eac92113a (diff) | |
download | gdb-8b13fa4e5c0d23aea01573ad05ced3256f4be5c1.zip gdb-8b13fa4e5c0d23aea01573ad05ced3256f4be5c1.tar.gz gdb-8b13fa4e5c0d23aea01573ad05ced3256f4be5c1.tar.bz2 |
* as.c (main): Call listing_print before BFD gets closed, when symbol data
hasn't been freed up yet.
Diffstat (limited to 'gas')
-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); |