Article View: bit.listserv.asm370
Article #116Re: Strange prelink phenomenon
From: Steve Comstock
Date: Fri, 30 Sep 2005 13:49
Date: Fri, 30 Sep 2005 13:49
26 lines
2908 bytes
2908 bytes
John Krew wrote: > I think I solved this puzzle. > > In the assembler routine causing the problem, I carelessly specified the csect name in the END > statement even though the assembler program was a called routine and not a main program. > (Apparently it "started out in life" as a main program (during the initial writing and testing) > and evolved into a called subroutine.) Apparently, the PRELINK step will generate a CEESTART > csect only if none of the other csects processed by the PRELINK had an END statement specifying an > entry point (which makes obvious sense). > That doesn't make sense. Putting the CSECT name in the END statement is simply a way of identifying where the entry point of this program should be. So when the subroutine is called, that is where execution of the subroutine begins. Does not influence generation of a CEESTART by the Assembler or binder or prelinker, as far as I know. Kind regards, -Steve Comstock
Technical Details
Message-ID:
<433D426E.7060106@trainersfriend.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!newsread.com!news-xfer.newsread.com!nntp.abs.net!newsfeed.berkeley.edu!ucberkeley!sn-xit-03!sn-xit-08!sn-xit-14!supernews.com!149.173.6.116.MISMATCH!foggy!vm.sas.com!trainersfriend.com!steveReferences:
<BAY18-DAV128BABB3C314B3FE6AD18E988C0@phx.gbl> <433C42C8.1080401@houston.rr.com> <BAY18-DAV17C7C32A60C3F9D427029988F0@phx.gbl>Show Full Headers
Complete Article Headers
X-Google-Thread: fcdcb,15051ef587cd4d9
X-Google-Attributes: gidfcdcb,public
X-Google-Language: ENGLISH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!newsread.com!news-xfer.newsread.com!nntp.abs.net!newsfeed.berkeley.edu!ucberkeley!sn-xit-03!sn-xit-08!sn-xit-14!supernews.com!149.173.6.116.MISMATCH!foggy!vm.sas.com!trainersfriend.com!steve
From: Steve Comstock <steve@trainersfriend.com>
Newsgroups: bit.listserv.asm370
Subject: Re: Strange prelink phenomenon
Date: Fri, 30 Sep 2005 07:49:34 -0600
Organization: SAS Inc.
Lines: 26
Sender: IBM Mainframe Assembler List <ASSEMBLER-LIST@LISTSERV.UGA.EDU>
Message-ID: <433D426E.7060106@trainersfriend.com>
References: <BAY18-DAV128BABB3C314B3FE6AD18E988C0@phx.gbl>
<433C42C8.1080401@houston.rr.com>
<BAY18-DAV17C7C32A60C3F9D427029988F0@phx.gbl>
Reply-To: IBM Mainframe Assembler List <ASSEMBLER-LIST@listserv.uga.edu>
NNTP-Posting-Host: mozart.unx.sas.com
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: foggy.unx.sas.com 1128088623 13257 10.19.150.41 (30 Sep 2005 13:57:03 GMT)
X-Complaints-To: usenet@unx.sas.com
NNTP-Posting-Date: Fri, 30 Sep 2005 13:57:03 +0000 (UTC)
Comments: Gated by NETNEWS@VM.SAS.COM
Return-Path: <owner-assembler-list@LISTSERV.UGA.EDU>
User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206)
X-Accept-Language: en-us, en
X-Spam: [F=0.0100000000; heur=0.500(-23100); stat=0.010;
spamtraq-heur=0.500(2005092923)]
X-MAIL-FROM: <steve@trainersfriend.com>
X-SOURCE-IP: [209.238.255.225]
X-Loop-Detect: 1
X-DistLoop-Detect: 1
Approved-By: Steve Comstock <steve@TRAINERSFRIEND.COM>
In-Reply-To: <BAY18-DAV17C7C32A60C3F9D427029988F0@phx.gbl>
Return-Path: owner-assembler-list@LISTSERV.UGA.EDU
X-OriginalArrivalTime: 30 Sep 2005 13:56:59.0806 (UTC) FILETIME=[D3D4C3E0:01C5C5C6]
Originator: daemon@mozart.unx.sas.com