Regarding aligned
ramesh muthu
rameshandram@yahoo.com
Wed Dec 9 14:49:00 GMT 2009
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
More information about the Gcc-help
mailing list