Deutsch   English   Français   Italiano  
<102v00b$1046$1@gal.iecc.com>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: news.eternal-september.org!eternal-september.org!feeder3.eternal-september.org!news.quux.org!weretis.net!feeder9.news.weretis.net!news.misty.com!news.iecc.com!.POSTED.news.iecc.com!not-for-mail
From: John Levine <johnl@taugh.com>
Newsgroups: comp.arch
Subject: Re: more addressing, Why I've Dropped In
Date: Wed, 18 Jun 2025 18:19:55 -0000 (UTC)
Organization: Taughannock Networks
Message-ID: <102v00b$1046$1@gal.iecc.com>
References: <0c857b8347f07f3a0ca61c403d0a8711@www.novabbs.com> <102k8v4$9ep2$2@dont-email.me> <b1331ae8e77271d5adade40afcc34169@www.novabbs.com> <102ur1q$37hum$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 18 Jun 2025 18:19:55 -0000 (UTC)
Injection-Info: gal.iecc.com; posting-host="news.iecc.com:2001:470:1f07:1126:0:676f:7373:6970";
	logging-data="32902"; mail-complaints-to="abuse@iecc.com"
In-Reply-To: <0c857b8347f07f3a0ca61c403d0a8711@www.novabbs.com> <102k8v4$9ep2$2@dont-email.me> <b1331ae8e77271d5adade40afcc34169@www.novabbs.com> <102ur1q$37hum$1@dont-email.me>
Cleverness: some
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
Originator: johnl@iecc.com (John Levine)

According to Stephen Fuld  <sfuld@alumni.cmu.edu.invalid>:
>>> On the System/360, a FORTRAN compiler typically compiled each subroutine
>> in a program separately from every other subroutine. They just got
>> linked together by the linking loader in order to run.
>
>I'm not sure what you mean by "linkingloader"  The linkage editor (IIRC 
>IEWL) linked together all of the object modules created by the compiler. 
>  Loading the program was a different operation, again IIRC, done by the 
>initiator in each partition)

OS and its descendants have both a linkage editor that combined a bunch of object
modules and wrote a load module on disk, and a loader that leaves the result in
memory and runs it directly.

The loader is not the same as program fetch, the part of the operating system
that reads and starts a load module.  Load modules (and object decks) notionally
start at location zero, and have a relocation directory that lists all of the
places there are address pointers that need to be adjusted to the actual location
where it's loaded.  That relocation was quite simple; the overlay loader did it
too and I believe was under 1000 bytes.

For people who want more details, I shamelessly recommend this book:

https://shop.elsevier.com/books/linkers-and-loaders/levine/978-0-08-051031-6

-- 
Regards,
John Levine, johnl@taugh.com, Primary Perpetrator of "The Internet for Dummies",
Please consider the environment before reading this e-mail. https://jl.ly