[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Bug in gas from binutils-2.13.2.1
From: |
Jeff Rubin |
Subject: |
Bug in gas from binutils-2.13.2.1 |
Date: |
Thu, 2 Jan 2003 22:23:40 -0800 |
This is a mips-specific bug report.
In the file gas/config/tc-mips.c
in the routine "macro" for the case
M_DLA_AB, with mips_big_got == 1,
mips_pic == SVR4_PIC, and HAVE_NEWABI
(in my case -64). As the comment beginning
"For NEWABI, we want ..." indicates, the relocation
BFD_RELOC_MIPS_CALL16 should be used in the
tempreg == PIC_CALL_REG case only for an external
symbol. But the code uses that relocation without
creating a frag_var for the local symbol case.
(Now I'm starting to get on thin ice ...) It also
doesn't seem to call frag_grow before the first
call to macro_build. I have a patch that I am
testing, but I am very unsure if what I am doing
is correct. Let me know if you want it.
Also, I noticed that mips_big_got is set to 1
unconditionally for HAVE_NEWABI. I don't read
the discussion lists so I may have missed a discussion
about that. But is seems wrong to me. I have removed
that code in my version.
Jeff Rubin
address@hidden
- Bug in gas from binutils-2.13.2.1,
Jeff Rubin <=