diff options
author | Ken Raeburn <raeburn@cygnus> | 1994-04-19 01:12:48 +0000 |
---|---|---|
committer | Ken Raeburn <raeburn@cygnus> | 1994-04-19 01:12:48 +0000 |
commit | ad8019e829a3fa34f27434d87e50d991e5649da2 (patch) | |
tree | e9b7300646f6866eee8e188895d018a9fdceea58 | |
parent | 77c36070dd3e132020f47f2a1e6cb5fd7a377b46 (diff) | |
download | gdb-ad8019e829a3fa34f27434d87e50d991e5649da2.zip gdb-ad8019e829a3fa34f27434d87e50d991e5649da2.tar.gz gdb-ad8019e829a3fa34f27434d87e50d991e5649da2.tar.bz2 |
(VMS_write_object_file): While looking for register mask, skip empty fill frags
caused by enabling listing output.
-rw-r--r-- | gas/config/obj-vms.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gas/config/obj-vms.c b/gas/config/obj-vms.c index ee3e34c..10b7fd2 100644 --- a/gas/config/obj-vms.c +++ b/gas/config/obj-vms.c @@ -4736,6 +4736,11 @@ VMS_write_object_file (text_siz, data_siz, bss_siz, text_frag_root, If you can find a test case that triggers this, report it (and tell me what the entry mask field ought to be), and I'll try to fix it. KR */ + /* First frag might be empty if we're generating listings. + So skip empty rs_fill frags. */ + while (fragP && fragP->fr_type == rs_fill && fragP->fr_fix == 0) + fragP = fragP->fr_next; + if (fragP->fr_fix < 2) abort (); |