RE: Alignment attribute for functions

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

 



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

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

-----Original Message-----
From: Liza Atkin [mailto:latkin@xxxxxxxxxxxx]
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 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