Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

Win95 is not a virus; a virus does something. -- unknown source


computers / alt.sys.pdp10 / TOPS-10/20 LINKER and libraries

SubjectAuthor
* TOPS-10/20 LINKER and librariesSid Maxwell
+- Re: TOPS-10/20 LINKER and librariesgah4
`* Re: TOPS-10/20 LINKER and librariesgah4
 `* Re: TOPS-10/20 LINKER and librariesSid Maxwell
  `* Re: TOPS-10/20 LINKER and librariesgah4
   `- Re: TOPS-10/20 LINKER and librariesSid Maxwell

1
TOPS-10/20 LINKER and libraries

<5855b8bb-31ab-4df3-bf79-22c5772d10ean@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=924&group=alt.sys.pdp10#924

  copy link   Newsgroups: alt.sys.pdp10
X-Received: by 2002:a05:6214:a05:b0:635:db77:3570 with SMTP id dw5-20020a0562140a0500b00635db773570mr6380qvb.8.1688665741674;
Thu, 06 Jul 2023 10:49:01 -0700 (PDT)
X-Received: by 2002:a17:90a:94c2:b0:263:2da2:fe9f with SMTP id
j2-20020a17090a94c200b002632da2fe9fmr2017624pjw.0.1688665741156; Thu, 06 Jul
2023 10:49:01 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: alt.sys.pdp10
Date: Thu, 6 Jul 2023 10:49:00 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=64.67.128.148; posting-account=n4I1uwoAAADBHFepIaRo8JtlC_cZGQXd
NNTP-Posting-Host: 64.67.128.148
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <5855b8bb-31ab-4df3-bf79-22c5772d10ean@googlegroups.com>
Subject: TOPS-10/20 LINKER and libraries
From: srmaxwell3@gmail.com (Sid Maxwell)
Injection-Date: Thu, 06 Jul 2023 17:49:01 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1188
 by: Sid Maxwell - Thu, 6 Jul 2023 17:49 UTC

I want to find out what symbols are external to a TOPS-20 library (i.e. referenced by modules within the library, but not defined within it). If there a way to do this e.g. with some linker command(s)?

-+- Sid

Re: TOPS-10/20 LINKER and libraries

<0d2e985f-7f97-4c99-96f7-84630a2039ban@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=926&group=alt.sys.pdp10#926

  copy link   Newsgroups: alt.sys.pdp10
X-Received: by 2002:a05:620a:1a11:b0:762:407d:3837 with SMTP id bk17-20020a05620a1a1100b00762407d3837mr8250qkb.6.1688687803056;
Thu, 06 Jul 2023 16:56:43 -0700 (PDT)
X-Received: by 2002:a05:620a:294d:b0:765:a62b:c5b6 with SMTP id
n13-20020a05620a294d00b00765a62bc5b6mr9483qkp.1.1688687802862; Thu, 06 Jul
2023 16:56:42 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: alt.sys.pdp10
Date: Thu, 6 Jul 2023 16:56:42 -0700 (PDT)
In-Reply-To: <5855b8bb-31ab-4df3-bf79-22c5772d10ean@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2601:602:9700:4689:1856:5820:a91e:2d64;
posting-account=gLDX1AkAAAA26M5HM-O3sVMAXdxK9FPA
NNTP-Posting-Host: 2601:602:9700:4689:1856:5820:a91e:2d64
References: <5855b8bb-31ab-4df3-bf79-22c5772d10ean@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <0d2e985f-7f97-4c99-96f7-84630a2039ban@googlegroups.com>
Subject: Re: TOPS-10/20 LINKER and libraries
From: gah4@u.washington.edu (gah4)
Injection-Date: Thu, 06 Jul 2023 23:56:43 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 1715
 by: gah4 - Thu, 6 Jul 2023 23:56 UTC

On Thursday, July 6, 2023 at 10:49:02 AM UTC-7, Sid Maxwell wrote:
> I want to find out what symbols are external to a TOPS-20 library
> (i.e. referenced by modules within the library, but not defined within it).
> If there a way to do this e.g. with some linker command(s)?
It used to be that linkers had a way to display a list of external symbols,
where they are defined, and where they are referenced.

I haven't thought about the TOPS-20 linker for a while, though.

Re: TOPS-10/20 LINKER and libraries

<170a3c7c-767b-4113-986f-99550a058d10n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=927&group=alt.sys.pdp10#927

  copy link   Newsgroups: alt.sys.pdp10
X-Received: by 2002:a05:622a:189f:b0:400:9db3:54c4 with SMTP id v31-20020a05622a189f00b004009db354c4mr11800qtc.8.1688688543013;
Thu, 06 Jul 2023 17:09:03 -0700 (PDT)
X-Received: by 2002:a17:903:495:b0:1b5:2871:cd1 with SMTP id
jj21-20020a170903049500b001b528710cd1mr2917065plb.0.1688688541930; Thu, 06
Jul 2023 17:09:01 -0700 (PDT)
Path: i2pn2.org!rocksolid2!i2pn.org!weretis.net!feeder6.news.weretis.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: alt.sys.pdp10
Date: Thu, 6 Jul 2023 17:09:01 -0700 (PDT)
In-Reply-To: <5855b8bb-31ab-4df3-bf79-22c5772d10ean@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2601:602:9700:4689:1856:5820:a91e:2d64;
posting-account=gLDX1AkAAAA26M5HM-O3sVMAXdxK9FPA
NNTP-Posting-Host: 2601:602:9700:4689:1856:5820:a91e:2d64
References: <5855b8bb-31ab-4df3-bf79-22c5772d10ean@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <170a3c7c-767b-4113-986f-99550a058d10n@googlegroups.com>
Subject: Re: TOPS-10/20 LINKER and libraries
From: gah4@u.washington.edu (gah4)
Injection-Date: Fri, 07 Jul 2023 00:09:03 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1765
 by: gah4 - Fri, 7 Jul 2023 00:09 UTC


The LINK-20 manual is here:

https://www.livingcomputers.org/UI/UserDocs/TOPS-20-v7-1/3_LINK_Reference_Manual.pdf

The /MAP option generates a MAP file.

The /CONTENTS option specifies what is, or isn't, in the MAP file.

You then need a way to convince the linker to load your library, or parts of it.

That would be easy to do in most languages, including MACRO-10.
(Slightly nicer in MACRO-10, as you won't have other modules and libraries
included that you didn't expect.)

You could either do it one library entry at a time, with a list of library members,
or all at once.

Re: TOPS-10/20 LINKER and libraries

<75ebddff-5dcd-4996-b0b9-f59f171c74e8n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=937&group=alt.sys.pdp10#937

  copy link   Newsgroups: alt.sys.pdp10
X-Received: by 2002:a05:6214:9c5:b0:635:dabe:94 with SMTP id dp5-20020a05621409c500b00635dabe0094mr15100qvb.11.1688741869058;
Fri, 07 Jul 2023 07:57:49 -0700 (PDT)
X-Received: by 2002:a17:90b:693:b0:263:165a:9859 with SMTP id
m19-20020a17090b069300b00263165a9859mr4284990pjz.9.1688741868434; Fri, 07 Jul
2023 07:57:48 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: alt.sys.pdp10
Date: Fri, 7 Jul 2023 07:57:47 -0700 (PDT)
In-Reply-To: <170a3c7c-767b-4113-986f-99550a058d10n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=64.67.128.148; posting-account=n4I1uwoAAADBHFepIaRo8JtlC_cZGQXd
NNTP-Posting-Host: 64.67.128.148
References: <5855b8bb-31ab-4df3-bf79-22c5772d10ean@googlegroups.com> <170a3c7c-767b-4113-986f-99550a058d10n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <75ebddff-5dcd-4996-b0b9-f59f171c74e8n@googlegroups.com>
Subject: Re: TOPS-10/20 LINKER and libraries
From: srmaxwell3@gmail.com (Sid Maxwell)
Injection-Date: Fri, 07 Jul 2023 14:57:49 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1389
 by: Sid Maxwell - Fri, 7 Jul 2023 14:57 UTC

I discovered that I can 'cheat'. Since I can build the library, I can scan the (generated) .s files, filter them for EXTERN and ENTRY, then find the EXTERNs that aren't also ENTRYs. "And Bob's your uncle." :-)

Re: TOPS-10/20 LINKER and libraries

<1212d542-d2a5-4b5c-83ef-b8b41ae8d53dn@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=940&group=alt.sys.pdp10#940

  copy link   Newsgroups: alt.sys.pdp10
X-Received: by 2002:a05:6214:8ef:b0:635:fa5d:cb8d with SMTP id dr15-20020a05621408ef00b00635fa5dcb8dmr15056qvb.13.1688759815011;
Fri, 07 Jul 2023 12:56:55 -0700 (PDT)
X-Received: by 2002:a05:6a00:3920:b0:682:a8df:e642 with SMTP id
fh32-20020a056a00392000b00682a8dfe642mr7761921pfb.5.1688759814749; Fri, 07
Jul 2023 12:56:54 -0700 (PDT)
Path: i2pn2.org!i2pn.org!news.1d4.us!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: alt.sys.pdp10
Date: Fri, 7 Jul 2023 12:56:54 -0700 (PDT)
In-Reply-To: <75ebddff-5dcd-4996-b0b9-f59f171c74e8n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2601:602:9700:4689:dcab:818f:16ea:7b90;
posting-account=gLDX1AkAAAA26M5HM-O3sVMAXdxK9FPA
NNTP-Posting-Host: 2601:602:9700:4689:dcab:818f:16ea:7b90
References: <5855b8bb-31ab-4df3-bf79-22c5772d10ean@googlegroups.com>
<170a3c7c-767b-4113-986f-99550a058d10n@googlegroups.com> <75ebddff-5dcd-4996-b0b9-f59f171c74e8n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <1212d542-d2a5-4b5c-83ef-b8b41ae8d53dn@googlegroups.com>
Subject: Re: TOPS-10/20 LINKER and libraries
From: gah4@u.washington.edu (gah4)
Injection-Date: Fri, 07 Jul 2023 19:56:55 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 1730
 by: gah4 - Fri, 7 Jul 2023 19:56 UTC

On Friday, July 7, 2023 at 7:57:50 AM UTC-7, Sid Maxwell wrote:
> I discovered that I can 'cheat'. Since I can build the library,
>I can scan the (generated) .s files, filter them for EXTERN and ENTRY,
> then find the EXTERNs that aren't also ENTRYs. "And Bob's your uncle." :-)

Pretty easy in AWK probably not so bad in other languages.
Associative arrays make it easy to do.

Re: TOPS-10/20 LINKER and libraries

<03aa39dc-3824-4eef-b1b3-c63c9557e358n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=941&group=alt.sys.pdp10#941

  copy link   Newsgroups: alt.sys.pdp10
X-Received: by 2002:a05:6214:5609:b0:635:de09:2058 with SMTP id mg9-20020a056214560900b00635de092058mr14909qvb.3.1688760101582;
Fri, 07 Jul 2023 13:01:41 -0700 (PDT)
X-Received: by 2002:a17:90a:fb91:b0:262:e0aa:bbcc with SMTP id
cp17-20020a17090afb9100b00262e0aabbccmr4975489pjb.2.1688760100257; Fri, 07
Jul 2023 13:01:40 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: alt.sys.pdp10
Date: Fri, 7 Jul 2023 13:01:39 -0700 (PDT)
In-Reply-To: <1212d542-d2a5-4b5c-83ef-b8b41ae8d53dn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=64.67.128.148; posting-account=n4I1uwoAAADBHFepIaRo8JtlC_cZGQXd
NNTP-Posting-Host: 64.67.128.148
References: <5855b8bb-31ab-4df3-bf79-22c5772d10ean@googlegroups.com>
<170a3c7c-767b-4113-986f-99550a058d10n@googlegroups.com> <75ebddff-5dcd-4996-b0b9-f59f171c74e8n@googlegroups.com>
<1212d542-d2a5-4b5c-83ef-b8b41ae8d53dn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <03aa39dc-3824-4eef-b1b3-c63c9557e358n@googlegroups.com>
Subject: Re: TOPS-10/20 LINKER and libraries
From: srmaxwell3@gmail.com (Sid Maxwell)
Injection-Date: Fri, 07 Jul 2023 20:01:41 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1383
 by: Sid Maxwell - Fri, 7 Jul 2023 20:01 UTC

AWK it is (was, since I've already written it). Probably my 2nd-most used language.

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor