我已经生成了一个未在CMakeLists.txt中使用任何标志-fpic的共享库.so文件 但其中一个工具针对mips64架构报告了"ELF built Position for (PIE) flag有谁知道在其他架构中是如何处理-fpic的,而不是在mips64中呢?我是否需要在CMakeLists.txt文件中使用-fpic标志来构建mips64
我需要用MIPS汇编语言设置64位MMIO寄存器的63位(MSB)。ldi $2,0x8000000000123456 #This is the address of the register which i want to set 63 rd bit dli $4,0x8000000000000000 # set 63rd bit as 1 and load in to register $4
dadd $4,$3,$4 # add mask value a