* config/tc-mn10200.c (md_estimate_size_before_relax): Treat
a jsr target in a different section just like a jsr to an undefined target. Bug triggerd by c++ tests.
This commit is contained in:
parent
cceb79baa8
commit
e58035e374
|
@ -1,3 +1,9 @@
|
|||
Thu Feb 6 20:08:12 1997 Jeffrey A Law (law@cygnus.com)
|
||||
|
||||
* config/tc-mn10200.c (md_estimate_size_before_relax): Treat
|
||||
a jsr target in a different section just like a jsr to
|
||||
an undefined target.
|
||||
|
||||
Thu Feb 6 16:52:57 1997 Ian Lance Taylor <ian@cygnus.com>
|
||||
|
||||
* config/tc-mips.c (mips_fix_adjustable): Don't adjust relocations
|
||||
|
|
|
@ -1230,7 +1230,8 @@ md_estimate_size_before_relax (fragp, seg)
|
|||
return 3;
|
||||
if (fragp->fr_subtype == 6)
|
||||
{
|
||||
if (!S_IS_DEFINED (fragp->fr_symbol))
|
||||
if (!S_IS_DEFINED (fragp->fr_symbol)
|
||||
|| seg != S_GET_SEGMENT (fragp->fr_symbol))
|
||||
{
|
||||
fragp->fr_subtype = 7;
|
||||
return 5;
|
||||
|
|
Loading…
Reference in New Issue