Article View: bit.listserv.asm370
Article #115Re: Strange prelink phenomenon
From: John Krew
Date: Fri, 30 Sep 2005 14:12
Date: Fri, 30 Sep 2005 14:12
44 lines
3644 bytes
3644 bytes
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). ----- Original Message ----- From: "William H. Blair" <WmHBlair@houston.rr.com> To: <ASSEMBLER-LIST@LISTSERV.UGA.EDU> Sent: Thursday, September 29, 2005 9:38 PM Subject: Re: Strange prelink phenomenon > John Krew wrote: > > > and the CEESTART csect is at a nonzero offset within the resultant > load module. > > Do you think this causes any problem? If so, what and why? What is the entry point (address) assigned to the load module by the binder? > > Do the resulting, combined programs (object decks), once bound into a > load module, actually work successfully? If not, what happens? (Some > sort of ABEND, such as an S0C1, perhaps?) > > What do you think the problem is with the binder including CEESTART from > SYSLIB? (Or, maybe I'm reading too much into your question.) > > Can you reproduce this problem with a small, trivial example? Or is it > already small and trivial? Can you post the assembler and C source code > which will exhibit the problem, if so? > > Does the "simple C program" invoke any function (SD or LD) in the > assembler program(s)? In other words, what is the relationship between > the "simple C program" and the assembler programs? (I assume the "simple > C program" has a main function which is intended to be the main entry > point of the load module. Right?) > > -- > WB >
Technical Details
Message-ID:
<BAY18-DAV17C7C32A60C3F9D427029988F0@phx.gbl>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!newsfeed.news2me.com!sn-xit-04!sn-xit-12!sn-xit-08!sn-xit-14!supernews.com!149.173.6.116.MISMATCH!foggy!vm.sas.com!hotmail.com!john_krewReferences:
<BAY18-DAV128BABB3C314B3FE6AD18E988C0@phx.gbl> <433C42C8.1080401@houston.rr.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!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!newsfeed.news2me.com!sn-xit-04!sn-xit-12!sn-xit-08!sn-xit-14!supernews.com!149.173.6.116.MISMATCH!foggy!vm.sas.com!hotmail.com!john_krew
From: John Krew <john_krew@hotmail.com>
Newsgroups: bit.listserv.asm370
Subject: Re: Strange prelink phenomenon
Date: Fri, 30 Sep 2005 16:12:11 +0200
Organization: SAS Inc.
Lines: 44
Sender: IBM Mainframe Assembler List <ASSEMBLER-LIST@LISTSERV.UGA.EDU>
Message-ID: <BAY18-DAV17C7C32A60C3F9D427029988F0@phx.gbl>
References: <BAY18-DAV128BABB3C314B3FE6AD18E988C0@phx.gbl>
<433C42C8.1080401@houston.rr.com>
NNTP-Posting-Host: mozart.unx.sas.com
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 7bit
X-Trace: foggy.unx.sas.com 1128086474 12161 10.19.150.41 (30 Sep 2005 13:21:14 GMT)
X-Complaints-To: usenet@unx.sas.com
NNTP-Posting-Date: Fri, 30 Sep 2005 13:21:14 +0000 (UTC)
Comments: Gated by NETNEWS@VM.SAS.COM
Return-Path: <owner-assembler-list@LISTSERV.UGA.EDU>
X-Originating-IP: [194.90.96.177]
X-Originating-Email: [john_krew@hotmail.com]
X-Sender: john_krew@hotmail.com
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1506
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1506
X-OriginalArrivalTime: 30 Sep 2005 13:12:10.0132 (UTC)
FILETIME=[90A91540:01C5C5C0]
Approved-By: John Krew <john_krew@HOTMAIL.COM>
Return-Path: owner-assembler-list@LISTSERV.UGA.EDU
Originator: daemon@mozart.unx.sas.com