bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Many of the example loadable builtins don't work anymore


From: Robert Elz
Subject: Re: Many of the example loadable builtins don't work anymore
Date: Sat, 25 Nov 2023 16:48:28 +0700

    Date:        Sat, 25 Nov 2023 08:53:48 +0100
    From:        Emanuele Torre <torreemanuele6@gmail.com>
    Message-ID:  <ZWGoDFOm5ujtubty@t420>

  | But the bash executable still does not contain the legal_ symbols:

You'd only be getting symbols (.o files defining the symbols) loaded
from an archive format library (.a file) if something already has made
an undefined reference to them, just having them in the .a file without
anything referencing them has no immediate effect (and nothing comes back
later and looks again, it is link time or never).

The loadable module could be linked against that library though (in the
way that produces another .o file rather than executable format, -r I
think it is), then it would get those routines loaded, if it needs them.

kre




reply via email to

[Prev in Thread] Current Thread [Next in Thread]