Article View: bit.listserv.asm370
Article #137Re: Strange prelink phenomenon
From: Steve Smith
Date: Fri, 30 Sep 2005 19:59
Date: Fri, 30 Sep 2005 19:59
30 lines
3063 bytes
3063 bytes
Well, that's not quite correct either. I don't know about the pre-linker, except I thought it was long since obsolete. But a linked-in subroutine is called by whatever external symbol is used by the caller. The END statement is indeed used to nominate the load module entry point, and has no effect on callers that are linked with the subroutine. This is well-known to PL/I programmers a very annoying gotcha. sas On 9/30/05, Steve Comstock <steve@trainersfriend.com> wrote: > > > 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:
<840996280509301259p767d3635xc42e0ef70428d703@mail.gmail.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!logbridge.uoregon.edu!canoe.uoregon.edu!newsfeed.news.ucla.edu!newsfeed.berkeley.edu!ucberkeley!sn-xit-03!sn-xit-08!sn-xit-14!supernews.com!149.173.6.116.MISMATCH!foggy!vm.sas.com!gmail.com!sasdrtxReferences:
<BAY18-DAV128BABB3C314B3FE6AD18E988C0@phx.gbl> <433C42C8.1080401@houston.rr.com> <BAY18-DAV17C7C32A60C3F9D427029988F0@phx.gbl> <433D426E.7060106@trainersfriend.com>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!news4.google.com!news.glorb.com!logbridge.uoregon.edu!canoe.uoregon.edu!newsfeed.news.ucla.edu!newsfeed.berkeley.edu!ucberkeley!sn-xit-03!sn-xit-08!sn-xit-14!supernews.com!149.173.6.116.MISMATCH!foggy!vm.sas.com!gmail.com!sasdrtx
From: Steve Smith <sasdrtx@gmail.com>
Newsgroups: bit.listserv.asm370
Subject: Re: Strange prelink phenomenon
Date: Fri, 30 Sep 2005 15:59:41 -0400
Organization: SAS Inc.
Lines: 30
Sender: IBM Mainframe Assembler List <ASSEMBLER-LIST@LISTSERV.UGA.EDU>
Message-ID: <840996280509301259p767d3635xc42e0ef70428d703@mail.gmail.com>
References: <BAY18-DAV128BABB3C314B3FE6AD18E988C0@phx.gbl>
<433C42C8.1080401@houston.rr.com>
<BAY18-DAV17C7C32A60C3F9D427029988F0@phx.gbl>
<433D426E.7060106@trainersfriend.com>
Reply-To: Steve Smith <sasdrtx@gmail.com>
NNTP-Posting-Host: mozart.unx.sas.com
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
X-Trace: foggy.unx.sas.com 1128110612 25380 10.19.150.41 (30 Sep 2005 20:03:32 GMT)
X-Complaints-To: usenet@unx.sas.com
NNTP-Posting-Date: Fri, 30 Sep 2005 20:03:32 +0000 (UTC)
Comments: Gated by NETNEWS@VM.SAS.COM
Return-Path: <owner-assembler-list@LISTSERV.UGA.EDU>
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com;
h=received:message-id:date:from:reply-to:to:subject:in-rep
ly-to:mime-version:content-type:references;
b=LeVQHjMOwye4NKQu2NxxOIEFAIatZcg24fw2E+lMQnB3yEtMn3OuKl6C
8lTaoRaIXYUmaX8L8cAe1em5NVKQhN2coQyDMt+1SVv9nbruQBDs47Yn9+
bSO07UeQLK1A7vVfqQEd88NbvnYqbMF5VOMxowTjzeqF3SgA+AZbqvju0=
Approved-By: Steve Smith <sasdrtx@GMAIL.COM>
In-Reply-To: <433D426E.7060106@trainersfriend.com>
Return-Path: owner-assembler-list@LISTSERV.UGA.EDU
X-OriginalArrivalTime: 30 Sep 2005 20:03:30.0235 (UTC)
FILETIME=[0725F0B0:01C5C5FA]
Originator: daemon@mozart.unx.sas.com