diff options
author | Alan Modra <amodra@gmail.com> | 2002-05-01 00:33:09 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2002-05-01 00:33:09 +0000 |
commit | 3f3cdb030204d24387194ff4e77438cd7141dceb (patch) | |
tree | 2d57bfdfe22e3371e2d69cc7ae845429bd3561e5 /gas/write.c | |
parent | 880d85fa11cde78d9eac101a03241c0c94f75d6f (diff) | |
download | gdb-3f3cdb030204d24387194ff4e77438cd7141dceb.zip gdb-3f3cdb030204d24387194ff4e77438cd7141dceb.tar.gz gdb-3f3cdb030204d24387194ff4e77438cd7141dceb.tar.bz2 |
* write.c (cvt_frag_to_fill): Set fr_offset to zero on .org
backwards to prevent cascading errors.
Diffstat (limited to 'gas/write.c')
-rw-r--r-- | gas/write.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gas/write.c b/gas/write.c index f4dc2ae..5d5e4c9 100644 --- a/gas/write.c +++ b/gas/write.c @@ -527,6 +527,7 @@ cvt_frag_to_fill (headersP, sec, fragP) as_bad_where (fragP->fr_file, fragP->fr_line, _("attempt to .org/.space backwards? (%ld)"), (long) fragP->fr_offset); + fragP->fr_offset = 0; } fragP->fr_type = rs_fill; break; |