Regarding aligned

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

 



Hello all, 

      I am compiling Linux kernel 2.4.17 with gcc version 2.95.3 . and 

i have declared static variable in kernel(.bss section).
it size is 8kb (long uldata[2048]. 


Before aligned (unsigned long uldata[2048])

     c0242880 A __bss_start
     c0242880 b no_idt
     c0242888 b reboot_mode
     c02428a0 b uldata             
     c02448a0 b root_irq_dir
                  
      
      After Aligned :unsigned long uldata[2048] __attibute( aligned(8192)))     
      =================================================================
      c02427c0 D tcp_hashinfo
      c0242880 A __bss_start
      c0244000 b no_idt
      c0244008 b reboot_mode
      c0246000 b uldata  

Could you please tell me why no_idt symbol address(c0242880) is changed after alinged  uldata ??? 


Thanks for help .

Regards
Ramesh 


      

[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