mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Wermut <wermut@gmail.com>
To: musl@lists.openwall.com
Subject: GCC 4.8 AArch64 dynamic linker patch
Date: Thu, 12 Sep 2013 21:44:27 +0200	[thread overview]
Message-ID: <CALONj1d4sD1qGhUNN9Ho1qYFz-aVkhLnKiAwp4gneAi+idrNYw@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 291 bytes --]

I send this patch for reference only to this list.

Gregor: Can you pick it up and include it in your gcc upstream patch
preparation?

The patch adds MUSL_DYNAMIC_LINKER definition for ARM AArch64. It
works in conjunction with the gcc patch found in Gregor's musl-cross
repository.

  Kevin

[-- Attachment #2: gcc-4.8-musl-aarch64-linker.patch --]
[-- Type: application/octet-stream, Size: 592 bytes --]

--- a/gcc/config/aarch64/aarch64-linux.h	2013-01-10 21:38:27.000000000 +0100
+++ b/gcc/config/aarch64/aarch64-linux.h	2013-09-12 21:39:34.004829498 +0200
@@ -21,7 +21,11 @@
 #ifndef GCC_AARCH64_LINUX_H
 #define GCC_AARCH64_LINUX_H
 
+/* The AArch64 port currently supports two dynamic linkers:
+   - ld-linux-aarch64.so.1 - GLIBC dynamic linker
+   - ld-musl-aarch64.so.1 - musl libc dynamic linker  */
 #define GLIBC_DYNAMIC_LINKER "/lib/ld-linux-aarch64.so.1"
+#define MUSL_DYNAMIC_LINKER "/lib/ld-musl-aarch64.so.1"
 
 #define LINUX_TARGET_LINK_SPEC  "%{h*}		\
    %{static:-Bstatic}				\

             reply	other threads:[~2013-09-12 19:44 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-12 19:44 Wermut [this message]
2013-09-12 20:46 ` Luca Barbato
2013-09-12 22:37 ` Szabolcs Nagy

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=CALONj1d4sD1qGhUNN9Ho1qYFz-aVkhLnKiAwp4gneAi+idrNYw@mail.gmail.com \
    --to=wermut@gmail.com \
    --cc=musl@lists.openwall.com \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

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).