/* * We can't use cpu_has_mips_r6 since it needs the cpu_data[] * kernel symbol.
*/ #ifdef CONFIG_CPU_MIPSR6 /* * lapc <symbol> is an alias to addiupc reg, <symbol> - . * * We can't use addiupc because there is no label-label * support for the addiupc reloc
*/
__asm__("lapc %0, vdso_u_time_data \n"
: "=r" (addr) : :); #else /* * Get the base load address of the VDSO. We have to avoid generating * relocations and references to the GOT because ld.so does not perform * relocations on the VDSO. We use the current offset from the VDSO base * and perform a PC-relative branch which gives the absolute address in * ra, and take the difference. The assembler chokes on * "li %0, _start - .", so embed the offset as a word and branch over * it. *
*/
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.