projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
77c3607
)
(VMS_write_object_file): While looking for register mask, skip empty fill frags
author
Ken Raeburn
<raeburn@cygnus>
Tue, 19 Apr 1994 01:12:48 +0000
(
01:12
+0000)
committer
Ken Raeburn
<raeburn@cygnus>
Tue, 19 Apr 1994 01:12:48 +0000
(
01:12
+0000)
caused by enabling listing output.
gas/config/obj-vms.c
patch
|
blob
|
history
diff --git
a/gas/config/obj-vms.c
b/gas/config/obj-vms.c
index ee3e34cf2acf9caaa58361170beba541b5ec8960..10b7fd26ece0c0f8af36629b6902016b27b0492b 100644
(file)
--- 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 ();