This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Linker command line argument
- To: <gcc-help at gcc dot gnu dot org>
- Subject: Linker command line argument
- From: "Rodney Bryant" <Rodney dot Bryant at spikebroadband dot net>
- Date: Thu, 25 Oct 2001 09:20:47 -0400
Hello,
I am trying to get the linker to align every variable inside
of the bss section on a 4 byte boundary. Does anyone know if
there is a linker command line argument that will force all variables
in this section to be aligned on a 4 byte boundary? If not, is there
another way to make this happen without using the __attribute__
method on the individual variables?
Thanks for the help,
Rodney