aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Sandiford <rdsandiford@googlemail.com>2004-01-23 13:11:00 +0000
committerRichard Sandiford <rdsandiford@googlemail.com>2004-01-23 13:11:00 +0000
commite864cecab061881b8225410b540cfa076695f50d (patch)
treea79f9c9921535b42910b16b67e208747bc833764
parent67c0d1eb29776df7b237696fac8a384d61d261a5 (diff)
downloadgdb-e864cecab061881b8225410b540cfa076695f50d.zip
gdb-e864cecab061881b8225410b540cfa076695f50d.tar.gz
gdb-e864cecab061881b8225410b540cfa076695f50d.tar.bz2
* config/tc-mips.c (load_address, macro): Update comments about
NewABI GP relaxation.
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/config/tc-mips.c15
2 files changed, 14 insertions, 6 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 987aa69..1f8f81a 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,5 +1,10 @@
2004-01-23 Richard Sandiford <rsandifo@redhat.com>
+ * config/tc-mips.c (load_address, macro): Update comments about
+ NewABI GP relaxation.
+
+2004-01-23 Richard Sandiford <rsandifo@redhat.com>
+
* config/tc-mips.c (macro_build): Remove place and counter arguments.
(mips_build_lui, macro_build_ldst_constoffset): Likewise.
(mips16_macro_build, macro_build_jalr): Remove counter argument.
diff --git a/gas/config/tc-mips.c b/gas/config/tc-mips.c
index e965adf..201eb61 100644
--- a/gas/config/tc-mips.c
+++ b/gas/config/tc-mips.c
@@ -3820,8 +3820,9 @@ load_address (int reg, expressionS *ep, int *used_at)
*/
if (HAVE_64BIT_ADDRESSES)
{
- /* We don't do GP optimization for now because RELAX_ENCODE can't
- hold the data for such large chunks. */
+ /* ??? We don't provide a GP-relative alternative for these macros.
+ It used not to be possible with the original relaxation code,
+ but it could be done now. */
if (*used_at == 0 && ! mips_opts.noat)
{
@@ -4931,8 +4932,9 @@ macro (struct mips_cl_insn *ip)
*/
if (HAVE_64BIT_ADDRESSES)
{
- /* We don't do GP optimization for now because RELAX_ENCODE can't
- hold the data for such large chunks. */
+ /* ??? We don't provide a GP-relative alternative for
+ these macros. It used not to be possible with the
+ original relaxation code, but it could be done now. */
if (used_at == 0 && ! mips_opts.noat)
{
@@ -6017,8 +6019,9 @@ macro (struct mips_cl_insn *ip)
&& offset_expr.X_op == O_constant
&& ! IS_SEXT_32BIT_NUM (offset_expr.X_add_number + 0x8000)))
{
- /* We don't do GP optimization for now because RELAX_ENCODE can't
- hold the data for such large chunks. */
+ /* ??? We don't provide a GP-relative alternative for
+ these macros. It used not to be possible with the
+ original relaxation code, but it could be done now. */
if (used_at == 0 && ! mips_opts.noat)
{