This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Alignment attribute for functions


use the switch
 -falign-functions=<alignment you want>

eg.
gcc foo.c -falign-functions=64 -o foo 

-----Original Message-----
From: Liza Atkin [mailto:latkin@neomagic.com]
Sent: 20 April 2005 12:08
To: Gcc-Help-FAQ
Subject: Alignment attribute for functions


Hello!

    I need to define and use an alignment attribute for functions. From what
I saw  so far the alignment attribute exists only for type variables.
    Am I missing something or how can I define a new attribute?

   Thank you,
      Liz


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]