mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-10-15 11:56:11 +08:00
* config/tc-alpha.h (MD_APPLY_FIX3): Define.
* config/tc-alpha.c (md_apply_fix3): Rename from md_apply_fix; use seg parameter instead of now_seg.
This commit is contained in:
@ -1,3 +1,9 @@
|
|||||||
|
2001-08-20 Richard Henderson <rth@redhat.com>
|
||||||
|
|
||||||
|
* config/tc-alpha.h (MD_APPLY_FIX3): Define.
|
||||||
|
* config/tc-alpha.c (md_apply_fix3): Rename from md_apply_fix;
|
||||||
|
use seg parameter instead of now_seg.
|
||||||
|
|
||||||
2001-08-18 H.J. Lu <hjl@gnu.org>
|
2001-08-18 H.J. Lu <hjl@gnu.org>
|
||||||
|
|
||||||
* config/tc-mips.c (show): Add the missing prototype.
|
* config/tc-mips.c (show): Add the missing prototype.
|
||||||
|
@ -1159,9 +1159,10 @@ md_pcrel_from (fixP)
|
|||||||
GPDISP. */
|
GPDISP. */
|
||||||
|
|
||||||
int
|
int
|
||||||
md_apply_fix (fixP, valueP)
|
md_apply_fix3 (fixP, valueP, seg)
|
||||||
fixS *fixP;
|
fixS *fixP;
|
||||||
valueT *valueP;
|
valueT *valueP;
|
||||||
|
segT seg;
|
||||||
{
|
{
|
||||||
char * const fixpos = fixP->fx_frag->fr_literal + fixP->fx_where;
|
char * const fixpos = fixP->fx_frag->fr_literal + fixP->fx_where;
|
||||||
valueT value = *valueP;
|
valueT value = *valueP;
|
||||||
@ -1196,7 +1197,7 @@ md_apply_fix (fixP, valueP)
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
do_reloc_gp:
|
do_reloc_gp:
|
||||||
fixP->fx_addsy = section_symbol (now_seg);
|
fixP->fx_addsy = section_symbol (seg);
|
||||||
md_number_to_chars (fixpos, value, 2);
|
md_number_to_chars (fixpos, value, 2);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
@ -49,6 +49,7 @@ extern valueT alpha_gp_value;
|
|||||||
#define TC_FORCE_RELOCATION(FIXP) alpha_force_relocation (FIXP)
|
#define TC_FORCE_RELOCATION(FIXP) alpha_force_relocation (FIXP)
|
||||||
#define tc_fix_adjustable(FIXP) alpha_fix_adjustable (FIXP)
|
#define tc_fix_adjustable(FIXP) alpha_fix_adjustable (FIXP)
|
||||||
#define RELOC_REQUIRES_SYMBOL
|
#define RELOC_REQUIRES_SYMBOL
|
||||||
|
#define MD_APPLY_FIX3
|
||||||
|
|
||||||
/* This expression evaluates to false if the relocation is for a local
|
/* This expression evaluates to false if the relocation is for a local
|
||||||
object for which we still want to do the relocation at runtime.
|
object for which we still want to do the relocation at runtime.
|
||||||
|
Reference in New Issue
Block a user