This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
c++/1921: code segment and stack segment are same for executable.
- To: gcc-gnats at gcc dot gnu dot org
- Subject: c++/1921: code segment and stack segment are same for executable.
- From: jasvant dot singh at wipro dot com
- Date: 9 Feb 2001 12:58:09 -0000
- Reply-To: jasvant dot singh at wipro dot com
>Number: 1921
>Category: c++
>Synopsis: code segment and stack segment are same for executable.
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Feb 09 05:06:08 PST 2001
>Closed-Date:
>Last-Modified:
>Originator: Jasvant Singh
>Release: egcs-2.91.66
>Organization:
>Environment:
Linux tomato 2.2.5-15 #1 SMP Mon Sep 6 18:17:58 IST 1999 i686 unknown
>Description:
gcc compiler generated executable uses same segment for STACK and DATA.
It creates a possibility of overlap of stack with malloc heap.
In our program we suspect this. I could not find any option which
does it. Is there any way of doing it.
>How-To-Repeat:
It is always like that.
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: