This is the mail archive of the
binutils-cvs@sources.redhat.com
mailing list for the binutils project.
src/gas ChangeLog doc/c-mips.texi config/tc-mi ...
- From: rsandifo at sourceware dot org
- To: binutils-cvs at sources dot redhat dot com
- Date: 4 Mar 2005 09:51:12 -0000
- Subject: src/gas ChangeLog doc/c-mips.texi config/tc-mi ...
CVSROOT: /cvs/src
Module name: src
Changes by: rsandifo@sourceware.org 2005-03-04 09:51:12
Modified files:
gas : ChangeLog
gas/doc : c-mips.texi
gas/config : tc-mips.c
gas/testsuite : ChangeLog
gas/testsuite/gas/mips: ldstla-n64-shared.d ldstla-n64.d
mips.exp
Added files:
gas/testsuite/gas/mips: ldstla-eabi64.d ldstla-n64-sym32.d
ldstla-sym32.s
Removed files:
gas/testsuite/gas/mips: ldstla-n32-shared.d ldstla-n32.d
ldstla-n32.s
Log message:
* 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.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gas/ChangeLog.diff?cvsroot=src&r1=1.2391&r2=1.2392
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gas/doc/c-mips.texi.diff?cvsroot=src&r1=1.32&r2=1.33
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gas/config/tc-mips.c.diff?cvsroot=src&r1=1.289&r2=1.290
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gas/testsuite/ChangeLog.diff?cvsroot=src&r1=1.800&r2=1.801
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gas/testsuite/gas/mips/ldstla-eabi64.d.diff?cvsroot=src&r1=NONE&r2=1.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gas/testsuite/gas/mips/ldstla-n64-sym32.d.diff?cvsroot=src&r1=NONE&r2=1.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gas/testsuite/gas/mips/ldstla-sym32.s.diff?cvsroot=src&r1=NONE&r2=1.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gas/testsuite/gas/mips/ldstla-n64-shared.d.diff?cvsroot=src&r1=1.2&r2=1.3
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gas/testsuite/gas/mips/ldstla-n64.d.diff?cvsroot=src&r1=1.2&r2=1.3
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gas/testsuite/gas/mips/mips.exp.diff?cvsroot=src&r1=1.103&r2=1.104
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gas/testsuite/gas/mips/ldstla-n32-shared.d.diff?cvsroot=src&r1=1.1&r2=NONE
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gas/testsuite/gas/mips/ldstla-n32.d.diff?cvsroot=src&r1=1.1&r2=NONE
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gas/testsuite/gas/mips/ldstla-n32.s.diff?cvsroot=src&r1=1.1&r2=NONE