Re: [PATCH 4/5] Introduce __pa_symbol()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 11 Oct 2006 18:13:01 +0200, Franck Bui-Huu <vagabon.xyz@xxxxxxxxx> wrote:
> RELOC_HIDE(x) is used because arithmetic on symbol addresses is
> undefined in C language. It avoid gcc to know that:
> 
> 	RELOC_HIDE(&_end) + OFFSET
> 
> is an operation on a symbol address and thus avoid an undefined
> operation.

Thanks, I see, but can not imagine the case the RELOC_HIDE() is
_really_ needed.  Do you have any example?

---
Atsushi Nemoto


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux