From: John Cowan <cowan@ccil.org>
To: Noel Chiappa <jnc@mercury.lcs.mit.edu>
Cc: The Eunuchs Hysterical Society <tuhs@tuhs.org>
Subject: Re: [TUHS] Debugging help sought
Date: Fri, 7 Aug 2020 13:11:46 -0400 [thread overview]
Message-ID: <CAD2gp_R5_L=Qb-zqck2KM6aHaXry6Tq2aY8kmcCWDYykq2ebJg@mail.gmail.com> (raw)
In-Reply-To: <20200807160723.5E16918C08B@mercury.lcs.mit.edu>
[-- Attachment #1: Type: text/plain, Size: 685 bytes --]
On Fri, Aug 7, 2020 at 12:07 PM Noel Chiappa <jnc@mercury.lcs.mit.edu>
wrote:
IIRC, you could use longer names than that (in C), but external references
> only used the first 7 (in C - C symbols had a leading '_' tacked on; I
> used to
> know why), 8 (in assembler).
>
Precisely to avoid collisions between external names in C and names in
assembler (whose namespace was flat except for local labels) when they were
linked into your program.
For similar reasons, F77 names had a trailing '_' tacked on.
John Cowan http://vrici.lojban.org/~cowan cowan@ccil.org
There is / One art / No more / No less
To do / All things / With art- / -Lessness --Piet Hein
[-- Attachment #2: Type: text/html, Size: 1280 bytes --]
next prev parent reply other threads:[~2020-08-07 17:12 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-07 16:07 Noel Chiappa
2020-08-07 17:11 ` John Cowan [this message]
2020-08-07 20:48 ` Warner Losh
-- strict thread matches above, loose matches on Subject: below --
2020-08-06 1:28 Adam Thornton
2020-08-06 2:01 ` Jim Capp
2020-08-06 3:04 ` Warner Losh
2020-08-06 3:08 ` Warner Losh
2020-08-06 5:55 ` Adam Thornton
2020-08-06 4:57 ` Dave Horsfall
2020-08-06 7:16 ` Otto Moerbeek
2020-08-06 15:47 ` Paul Winalski
2020-08-06 16:09 ` Larry McVoy
2020-08-06 16:19 ` Paul Winalski
2020-08-06 16:24 ` Larry McVoy
2020-08-06 23:41 ` Adam Thornton
2020-08-07 0:35 ` Warner Losh
2020-08-07 4:30 ` Adam Thornton
2020-08-07 5:49 ` Warner Losh
2020-08-07 5:54 ` Adam Thornton
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAD2gp_R5_L=Qb-zqck2KM6aHaXry6Tq2aY8kmcCWDYykq2ebJg@mail.gmail.com' \
--to=cowan@ccil.org \
--cc=jnc@mercury.lcs.mit.edu \
--cc=tuhs@tuhs.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).