mips16 stubs
reed kotler
rkotler@mips.com
Sat Apr 20 10:31:00 GMT 2013
Consider the following function:
void floatvf(float x) {
}
The compiled with:
mips-linux-gnu-gcc -mips16 mips16_fpcall.c -S -fPIC -EL
The stub looks like this:
__fn_stub_floatvf:
.set noreorder
.cpload $25
.set reorder
.reloc 0,R_MIPS_NONE,floatvf
la $25,__fn_local_floatvf
mfc1 $4,$f12
jr $25
.end __fn_stub_floatvf
__fn_local_floatvf = floatvf
What is the purpose of this .reloc and this __fn_local_floatvf = floatvf ?
The stub is in it's own section.
TIA.
Reed
More information about the Gcc
mailing list