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]

modify gcc stack


Hi,

Can anybody give me a clue as to how to approach the problem of modifying
the stack layout for gcc? I am not a compiler expert, but am trying to
experiment with a new chip architecture that uses a special instruction
that adds an extra 4 bytes after a buffer declaration or after the return
address. (I guess it would be similar to adding a canary like propolice or
stackguard) Can anybody help or point me in the right direction?

Thanks.

~lisa


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