This is the mail archive of the gcc-bugs@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]

c++/1921: code segment and stack segment are same for executable.



>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:


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