URL:
  <https://savannah.gnu.org/patch/?10626>

                 Summary: [PATCH 26/31] uxtrap.h: use __executable_start, not
the legacy _init
                   Group: MIT/GNU Scheme
               Submitter: barak
               Submitted: Thu 24 Sep 2026 06:02:46 PM UTC
                Category: None
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email:
             Open/Closed: Open
         Discussion Lock: Unlocked


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Thu 24 Sep 2026 06:02:46 PM UTC By: Barak A. Pearlmutter <barak>
_init is a relic of pre-.init_array startup and newer ports do not
provide it; linking on loong64 fails with "undefined reference to
`_init'".  __executable_start is defined by the linker on every ELF
target and is what the surrounding code actually wants: the lowest
address of the executable.

This also removes the NetBSD/aarch64 special case, which existed only
because _init is missing there too.






    _______________________________________________________
File Attachments:

Name: 0026-uxtrap.h-use-__executable_start-not-the-legacy-_init.patch Size:
1.8KiB

<https://file.savannah.gnu.org/file/0026-uxtrap.h-use-__executable_start-not-the-legacy-_init.patch?file_id=59019>



    AGPL NOTICE

These attachments are served by Savane. You can download the corresponding
source code of Savane at
https://savannah.gnu.org/source/savane-2ce82de06cddf3c312e2e260f2c97db720d76efc.tar.gz

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/patch/?10626>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/

Attachment: signature.asc
Description: PGP signature

Reply via email to