Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!linus!decvax!bellcore!ulysses!burl!clyde!cbosgd!gatech!seismo!umcp-cs!chris From: chris@umcp-cs.UUCP (Chris Torek) Newsgroups: net.lang.c,net.unix-wizards,net.arch Subject: Re: (3b2) functions in data space Message-ID: <425@umcp-cs.UUCP> Date: Fri, 21-Mar-86 21:14:37 EST Article-I.D.: umcp-cs.425 Posted: Fri Mar 21 21:14:37 1986 Date-Received: Mon, 31-Mar-86 05:17:30 EST References: <728@petsd.UUCP> <1486@devwrl.DEC.COM> <622@bentley.UUCP> <802@ttrdc.UUCP> Organization: U of Maryland, Computer Science Dept., College Park, MD Lines: 13 Xref: linus net.lang.c:7639 net.unix-wizards:14415 net.arch:2662 In article <802@ttrdc.UUCP> levy@ttrdc.UUCP writes: [program to execute out of data space on a 3b2] >Now maybe some pundit out there can explain WHY this works :-). It may or may not be important, but you were executing from the stack, not from data space. Change `arr' to `static char ...' and see if it still works. (Am I now branded a pundit for ever? :-) ) -- In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 1415) UUCP: seismo!umcp-cs!chris CSNet: chris@umcp-cs ARPA: chris@mimsy.umd.edu