aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@linux-mips.org>2005-04-13 18:17:10 +0000
committerMaciej W. Rozycki <macro@linux-mips.org>2005-04-13 18:17:10 +0000
commit2051e8c45faf97a1f6edb065c23a6a5e8fb8c484 (patch)
tree131f277bc01126fddb04b29d97feeee206ad4eb8 /bfd
parenta63027e547181bee6b09e1c4441df4934e38edcd (diff)
downloadgdb-2051e8c45faf97a1f6edb065c23a6a5e8fb8c484.zip
gdb-2051e8c45faf97a1f6edb065c23a6a5e8fb8c484.tar.gz
gdb-2051e8c45faf97a1f6edb065c23a6a5e8fb8c484.tar.bz2
gas/:
* config/tc-mips.c (IS_ZEXT_32BIT_NUM): New macro. (normalize_address_expr): New function to sign-extend address offsets that fit into 32 bits in 32-bit mode. (macro_build_ldst_constoffset): Use normalize_address_expr() instead of a handcoded sequence. (load_register): Likewise. Report oversized numbers in a useful way. (macro) [ld_st, ldd_std]: Reject all oversized offsets, not only for constant addresses. Report oversized numbers in a useful way. (mips_ip): Use normalize_address_expr() for addresses. gas/testsuite/: * gas/mips/ldstla-32.s: Exclude offsets that are now meant to fail and include more instructions/offsets that are meant to succeed. Use $4 instead $3 to avoid register dependencies. * gas/mips/ldstla-32.d: Update accordingly. * gas/mips/ldstla-32-shared.d: Likewise. * gas/mips/ldstla-32-mips3.d: New test based on the above, except for mips3. * gas/mips/ldstla-32-mips3-shared.d: Similarly, for PIC. * gas/mips/ldstla-32-mips3.s: Source for the new tests. * gas/mips/ldstla-32-1.s: New test for offsets that are meant to fail. * gas/mips/ldstla-32-mips3-1.s: Likewise, for mips3. * gas/mips/ldstla-32-1.l: Stderr output for the new test. * gas/mips/ldstla-32-mips3-1.l: Likewise. * gas/mips/mips.exp: Run the new tests.
Diffstat (limited to 'bfd')
0 files changed, 0 insertions, 0 deletions