mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-11-26 05:20:30 +00:00
Fix i960-elf abort in cvt_frag_to_fill while compiling libc/stdio/vfprintf.c.
* config/tc-i960.c (md_estimate_size_before_relax): Return size of current variable part of frag.
This commit is contained in:
parent
a1b6236b7d
commit
9197546776
@ -1,3 +1,8 @@
|
||||
2002-05-08 Jim Wilson <wilson@redhat.com>
|
||||
|
||||
* config/tc-i960.c (md_estimate_size_before_relax): Return size of
|
||||
current variable part of frag.
|
||||
|
||||
2002-05-08 Kazu Hirata <kazu@cs.umass.edu>
|
||||
|
||||
* config/tc-mmix.c: Fix formatting.
|
||||
|
@ -1085,7 +1085,8 @@ md_estimate_size_before_relax (fragP, segment_type)
|
||||
relax_cobr (fragP);
|
||||
return 4;
|
||||
}
|
||||
return 0;
|
||||
|
||||
return md_relax_table[fragP->fr_subtype].rlx_length;
|
||||
} /* md_estimate_size_before_relax() */
|
||||
|
||||
#if defined(OBJ_AOUT) | defined(OBJ_BOUT)
|
||||
|
Loading…
Reference in New Issue
Block a user