Re: reason for having return addresses in parameter stack?

2015-04-02 Thread Joel Rees
I was asleep when I posted this, so I left out the example code. Don't know why, but I worked out more complete code than the example I failed to give. To keep chatter off the list, I posted it in my blog, if anyone is interested. (Probably not?)

Re: reason for having return addresses in parameter stack?

2015-03-29 Thread Joel Rees
On Sun, Mar 29, 2015 at 2:50 PM, Philip Guenther guent...@gmail.com wrote: On Sun, 29 Mar 2015, Joel Rees wrote: Is there any good reason for interleaving the return addresses with data on the data/parameter stack in C? I know it's the tradition, from back when it was all we could hope for to

Re: reason for having return addresses in parameter stack?

2015-03-28 Thread Philip Guenther
On Sun, 29 Mar 2015, Joel Rees wrote: Is there any good reason for interleaving the return addresses with data on the data/parameter stack in C? I know it's the tradition, from back when it was all we could hope for to have one page per process, but that has not been the case for many

reason for having return addresses in parameter stack?

2015-03-28 Thread Joel Rees
This is a question that has bothered me for more than twenty-five years. Blame it on my being one of those forthies, I guess. Recent posts encourage me to ask again. Is there any good reason for interleaving the return addresses with data on the data/parameter stack in C? I know it's the