mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2025-01-21 08:35:58 +00:00
* config/tc-mips.c (macro) [ldd_std]: Don't attempt the GP
optimization for constant addresses.
This commit is contained in:
parent
2f041bf7ed
commit
39a59cf89e
@ -1,3 +1,8 @@
|
||||
2005-04-14 Maciej W. Rozycki <macro@linux-mips.org>
|
||||
|
||||
* config/tc-mips.c (macro) [ldd_std]: Don't attempt the GP
|
||||
optimization for constant addresses.
|
||||
|
||||
2005-04-14 Nick Clifton <nickc@redhat.com>
|
||||
|
||||
* as.c (main): Move parse_args before symbol_begin and frag_init
|
||||
|
@ -6417,7 +6417,8 @@ macro (struct mips_cl_insn *ip)
|
||||
If there is a base register, we add it to $at after the
|
||||
lui instruction. If there is a constant, we always use
|
||||
the last case. */
|
||||
if ((valueT) offset_expr.X_add_number <= MAX_GPREL_OFFSET
|
||||
if (offset_expr.X_op == O_symbol
|
||||
&& (valueT) offset_expr.X_add_number <= MAX_GPREL_OFFSET
|
||||
&& !nopic_need_relax (offset_expr.X_add_symbol, 1))
|
||||
{
|
||||
relax_start (offset_expr.X_add_symbol);
|
||||
|
Loading…
x
Reference in New Issue
Block a user