[Bug target/15053] Gcc generates wrong section alignment
hjl at lucon dot org
gcc-bugzilla@gcc.gnu.org
Wed Apr 21 19:27:00 GMT 2004
------- Additional Comments From hjl at lucon dot org 2004-04-21 19:16 -------
It is not a question I want a different alignment. The question is
why the section is aligned at 16byte by default. Writing
#define __setup_param(A, B, C) \
struct obs_kernel_param __setup_##A \
__attribute__((__section__("_init_setup"), __aligned__(__alignof__ (struct
obs_kernel_param)))) = { A, B, C }
shouldn't be necessary unless the ABI says so. I couldn't find anywhere in the
x86_64 psABI saying the default section alignment should be 16 byte.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |UNCONFIRMED
Resolution|INVALID |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15053
More information about the Gcc-bugs
mailing list