![]() | |||||||||||
Messages in this thread |
Dong Feng writes: > Sorry for perhaps extending the specific question to a more generic > one. In which cases shall we, in current or future development, > prevent gcc from knowing a pointer-addition in the way RELOC_HIDE? And > in what cases shall we just write pure C point addition? Where you are saying to gcc "you think this variable is at this address, but I know it's actually at this other address over here" you should use RELOC_HIDE. Where the addition is being used to get the address of some part of the object (so the resulting address is still within the object) you can just use plain addition. Paul. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ | ||||||||||
| Last update: 2006-08-25 06:07 [from the cache] ©2003-2008 | |||||||||||