This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: MIPS/gas bug


Richard Sandiford wrote:

David Daney <ddaney@avtrex.com> writes:


lw $5,%got(_ZTIP1B)($28)
lw $25,%call16(_Z6expectiRKSt9type_info)($28)
jalr $25
nop


[...]


.section .data.rel.ro,"aw",@progbits
.align 2
.type _ZTIP1B, @object
.size _ZTIP1B, 16
_ZTIP1B:



Well, there's certainly a gcc bug here. _ZTIP1B is local so it should be using %got/%lo pair.

Richard


I submitted:

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12945



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]