RE: Regarding aligned

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

 



Hello Eljay,

       Thank  for help. 

       But it(uldata) was aligned on 8kb.it means my linker is supporting 8kb alignment . am i right ? why the previous symbol was getting changed ? 


thanks 

Regards 
Rames  




--- On Wed, 12/9/09, John (Eljay) Love-Jensen <eljay@xxxxxxxxx> wrote:

> From: John (Eljay) Love-Jensen <eljay@xxxxxxxxx>
> Subject: RE: Regarding aligned
> To: "ramesh muthu" <rameshandram@xxxxxxxxx>, "gcc-help@xxxxxxxxxxx" <gcc-help@xxxxxxxxxxx>
> Date: Wednesday, December 9, 2009, 8:18 PM
> Hi Ramesh,
> 
> > Could you please tell me why no_idt symbol
> address(c0242880) is changed after alinged  uldata ???
> 
> My guess is that your alignment request exceeds the
> alignment facilities of the linker on your platform.
> 
> As per the <http://gcc.gnu.org/onlinedocs/gcc/Variable-Attributes.html>
> documentation:
> 
> """
> Note that the effectiveness of aligned attributes may be
> limited by inherent limitations in your linker. On many
> systems, the linker is only able to arrange for variables to
> be aligned up to a certain maximum alignment. (For some
> linkers, the maximum supported alignment may be very very
> small.) If your linker is only able to align variables up to
> a maximum of 8 byte alignment, then specifying aligned(16)
> in an __attribute__ will still only provide you with 8 byte
> alignment. See your linker documentation for further
> information. 
> """
> 
> HTH,
> --Eljay
> 


      

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux