What is the right way to create a constant pool for inline assembly?
问题 The problem is that inside a C function I have an inline assembly. Something like ldr r7, =0xdeadbeef svc 0 If a literal pool wasn't created explicitly (this is the case), assembler creates one at the end of the translation unit. Usually this is fine, but if the translation unit turns out to be really huge, this doesn't work, because the literal pool is too far from the ldr instruction. So, I wonder what is the best way to handle the problem. The most obvious way is to create a literal pool