This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [PATCH] MIPS gas: Warnings for (d)la expansions
cgd@broadcom.com wrote:
[snip]
> > No, the warnings are not triggered. (They were in an earlier
> > patch, but that was unsuitable for embedded PIC).
>
> Uh...
>
> Whatever patch got checked in breaks the heck out of the embedded-pic
> tests in the assembler and the linker:
>
> [...]
> /home/cgd/proj/gnu/write/binutils/src/gas/testsuite/gas/mips/empic2.s:30: Warning: la used to load 64-bit address
> /home/cgd/proj/gnu/write/binutils/src/gas/testsuite/gas/mips/empic2.s:31: Warning: la used to load 64-bit address
> /home/cgd/proj/gnu/write/binutils/src/gas/testsuite/gas/mips/empic2.s:32: Warning: la used to load 64-bit address
> /home/cgd/proj/gnu/write/binutils/src/gas/testsuite/gas/mips/empic2.s:33: Warning: la used to load 64-bit address
> /home/cgd/proj/gnu/write/binutils/src/gas/testsuite/gas/mips/empic2.s:34: Warning: la used to load 64-bit address
> [...]
>
>
> (That's for target mips-elf and a whole bunch of others...)
The emipc2 test PASSes mips-elf for me.
Thiemo