Re: use of %fs segment register in x86_64 with -fstack-check

Florian Weimer <[email protected]>
Newsgroups gmane.comp.gdb.devel
Message-ID <[email protected]>
* Maxim Blinov:

> I'm looking at some -fstack-check'ed code, and would appreciate it if
> some gdb x86_64 gurus could double check my understanding of a trivial
> example

What's your motivation for this?  -fstack-check is mostly there to
support certain Ada uses, yet you post a C snippet.

The more generally useful stack overflow detection switch is called
-fstack-clash-protection.

Thanks,
Florian
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.