aboutsummaryrefslogtreecommitdiff
path: root/gas/config/obj-vms.c
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1992-12-30 21:39:51 +0000
committerIan Lance Taylor <ian@airs.com>1992-12-30 21:39:51 +0000
commit9a75dc1f76e4cb4130059dd9395dc4afe6b9cb8a (patch)
tree7825ac952c33c3800cda82cbe4f1a11795117745 /gas/config/obj-vms.c
parent7b4eaa0ee6c0e12d295ec9b4416f65c3867e7385 (diff)
downloadgdb-9a75dc1f76e4cb4130059dd9395dc4afe6b9cb8a.zip
gdb-9a75dc1f76e4cb4130059dd9395dc4afe6b9cb8a.tar.gz
gdb-9a75dc1f76e4cb4130059dd9395dc4afe6b9cb8a.tar.bz2
A bunch of changes to COFF support. See the ChangeLog.
Diffstat (limited to 'gas/config/obj-vms.c')
-rw-r--r--gas/config/obj-vms.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/gas/config/obj-vms.c b/gas/config/obj-vms.c
index 619fe4a..af88458 100644
--- a/gas/config/obj-vms.c
+++ b/gas/config/obj-vms.c
@@ -4488,9 +4488,11 @@ VMS_Check_For_Main ()
/*
* Write a VAX/VMS object file (everything else has been done!)
*/
-VMS_write_object_file (text_siz, data_siz, text_frag_root, data_frag_root)
+VMS_write_object_file (text_siz, data_siz, bss_siz, text_frag_root,
+ data_frag_root)
unsigned text_siz;
unsigned data_siz;
+ unsigned bss_siz;
struct frag *text_frag_root;
struct frag *data_frag_root;
{
@@ -4581,11 +4583,10 @@ VMS_write_object_file (text_siz, data_siz, text_frag_root, data_frag_root)
/*
* Define the BSS Psect
*/
- if (local_bss_counter > 0)
+ if (bss_siz > 0)
{
Bss_Psect = Psect_Number++;
- VMS_Psect_Spec ("$uninitialized_data", local_bss_counter, "DATA",
- 0);
+ VMS_Psect_Spec ("$uninitialized_data", bss_siz, "DATA", 0);
}
#ifndef gxx_bug_fixed
/*