gcc caller save register

Discussion in 'C Programming' started by Johnny, Sep 21, 2005.

  1. Johnny

    Johnny Guest

    Hi,
    On StrongArm architecture, some registers are caller save and some
    are callee save. I want to make all my functions have the same register
    values upon entry and exit. Is there a gcc flag to reserve and restore
    all registers in a function (except the return value register)?

    Thanks,
    Aung
    Johnny, Sep 21, 2005
    #1
    1. Advertising

  2. Johnny wrote:
    > Hi,
    > On StrongArm architecture, some registers are caller save and some
    > are callee save. I want to make all my functions have the same register
    > values upon entry and exit. Is there a gcc flag to reserve and restore
    > all registers in a function (except the return value register)?
    >
    > Thanks,
    > Aung


    Off topic here.
    I'd suggest giving the question a try in gnu.gcc.help.

    -David
    David Resnick, Sep 21, 2005
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    8
    Views:
    429
  2. Kevin P. Fleming

    C99 structure initialization in gcc-2.95.3 vs gcc-3.3.1

    Kevin P. Fleming, Nov 6, 2003, in forum: C Programming
    Replies:
    2
    Views:
    645
    Kevin P. Fleming
    Nov 6, 2003
  3. Replies:
    5
    Views:
    358
    Nathan Addy
    Sep 17, 2005
  4. ashnin

    GCC 3.4.3 and GCC 4.1.2

    ashnin, Jul 7, 2008, in forum: C++
    Replies:
    1
    Views:
    520
    Michael DOUBEZ
    Jul 7, 2008
  5. Mark
    Replies:
    2
    Views:
    391
Loading...

Share This Page