diff options
author | Richard Sandiford <rdsandiford@googlemail.com> | 2005-03-04 09:51:11 +0000 |
---|---|---|
committer | Richard Sandiford <rdsandiford@googlemail.com> | 2005-03-04 09:51:11 +0000 |
commit | aed1a2619204a827d9a48d6dab9d671c943afc4a (patch) | |
tree | a12fd9849ccd2e05f9f06560e9446c63cf552a8e /gas/testsuite/ChangeLog | |
parent | b91e7df1e430dbcad3e5dea3276644a26289827c (diff) | |
download | gdb-aed1a2619204a827d9a48d6dab9d671c943afc4a.zip gdb-aed1a2619204a827d9a48d6dab9d671c943afc4a.tar.gz gdb-aed1a2619204a827d9a48d6dab9d671c943afc4a.tar.bz2 |
* config/tc-mips.c (mips_set_options): Add sym32 field.
(mips_opts): Initialize it.
(HAVE_32BIT_ADDRESSES): Set to true if pointers are 32 bits wide.
(HAVE_64BIT_ADDRESSES): Redefine as !HAVE_32BIT_ADDRESSES.
(HAVE_32BIT_SYMBOLS, HAVE_64BIT_SYMBOLS): New macros.
(load_address): Use HAVE_64BIT_SYMBOLS instead of HAVE_64BIT_ADDRESSES
when deciding whether to use a symbolic %highest/%higher expansion.
(macro): Likewise. Remove o64/n32 linux hack. Always use
ADDRESS_ADD*_INSN for address addition in the expansion of "dla"
and "la". Handle constants separately from symbolic expressions in
the "ld_st:" case, using 64-bit arithmetic if HAVE_64BIT_ADDRESSES
and using load_register to load the high part of the address.
(OPTION_MSYM32, OPTION_NO_MSYM32): New macros.
(OPTION_ELF_BASE): Bump by 2.
(md_longopts): Add entries for -msym32 and -mno-sym32.
(md_parse_option): Handle them.
(usage): Document them.
(s_mipsset): Handle ".set sym32" and ".set nosym32".
(s_cpload, s_cpsetup): Use HAVE_64BIT_SYMBOLS instead of
HAVE_64BIT_ADDRESSES to detect 64-bit values of "_gp".
* doc/c-mips.texi: Document ".set sym32", ".set nosym32",
-msym32 and -mno-sym32.
Diffstat (limited to 'gas/testsuite/ChangeLog')
-rw-r--r-- | gas/testsuite/ChangeLog | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index b78fc47..9cc46d9 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,11 @@ +2005-03-04 Richard Sandiford <rsandifo@redhat.com> + + * gas/mips/ldstla-{n32.s, n32.d, n32-shared.d}: Delete. + * gas/mips/ldstla-{n64.d, n64-shared.d}: Adjust expected output + for loads and stores from constant addresses. + * gas/mips/ldstla-{sym32.s, eabi64.d, n64-sym32.d}: New tests. + * gas/mips/mips.exp: Run them. + 2005-03-03 Richard Sandiford <rsandifo@redhat.com> * gas/mips/mips.exp: Move tls tests to main $elf block. |