• Skip to sidebar navigation
  • Skip to content

Bitbucket

  • More
    ProjectsRepositories
  • Help
    • Online help
    • Learn Git
    • Welcome to Bitbucket
    • Keyboard shortcuts
  • Log In
Alexander Dahl
  1. Alexander Dahl

buildroot

Public
Actions
  • Clone
  • Compare

Learn more about cloning repositories

You have read-only access

Navigation
  • Source
  • Commits
  • Branches
  • All Branches Graph
  • Forks
  1. Alexander Dahl
  2. buildroot

Source

buildroot/package/gcc/5.4.0/907-x86-musl-support.patch
Gustavo ZacariasGustavo Zacarias committed bb4809e067807 Jun 2016
Raw file
Source viewDiff to previous
xxxxxxxxxx
 
1
From: ktkachov <ktkachov@138bc75d-0d04-0410-961f-82ee72b054a4>
2
Date: Fri, 15 May 2015 13:20:01 +0000 (+0000)
3
Subject: [PATCH 9/13] x86 musl support
4
X-Git-Url: https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff_plain;h=5551c8d927c17f60837f15f8dfe46f945ba3fa9c
5
​
6
[PATCH 9/13] x86 musl support
7
​
8
On behalf of Szabolcs Nagy.
9
​
10
2015-05-15  Gregor Richards  <gregor.richards@uwaterloo.ca>
11
​
12
    * config/i386/linux.h (MUSL_DYNAMIC_LINKER): Define.
13
    * config/i386/linux64.h (MUSL_DYNAMIC_LINKER32): Define.
14
    (MUSL_DYNAMIC_LINKER64, MUSL_DYNAMIC_LINKERX32): Define.
15
​
16
​
17
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@223218 138bc75d-0d04-0410-961f-82ee72b054a4
18
---
19
​
20
Index: b/gcc/config/i386/linux.h
21
===================================================================
22
--- a/gcc/config/i386/linux.h
23
+++ b/gcc/config/i386/linux.h
24
@@ -21,3 +21,6 @@
25
 
26
 #define GNU_USER_LINK_EMULATION "elf_i386"
27
 #define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.2"
28
+
29
+#undef MUSL_DYNAMIC_LINKER
30
+#define MUSL_DYNAMIC_LINKER "/lib/ld-musl-i386.so.1"
31
Index: b/gcc/config/i386/linux64.h
32
===================================================================
33
--- a/gcc/config/i386/linux64.h
34
+++ b/gcc/config/i386/linux64.h
35
@@ -30,3 +30,10 @@
36
 #define GLIBC_DYNAMIC_LINKER32 "/lib/ld-linux.so.2"
37
 #define GLIBC_DYNAMIC_LINKER64 "/lib64/ld-linux-x86-64.so.2"
38
 #define GLIBC_DYNAMIC_LINKERX32 "/libx32/ld-linux-x32.so.2"
39
+
40
+#undef MUSL_DYNAMIC_LINKER32
41
+#define MUSL_DYNAMIC_LINKER32 "/lib/ld-musl-i386.so.1"
42
+#undef MUSL_DYNAMIC_LINKER64
43
+#define MUSL_DYNAMIC_LINKER64 "/lib/ld-musl-x86_64.so.1"
44
+#undef MUSL_DYNAMIC_LINKERX32
45
+#define MUSL_DYNAMIC_LINKERX32 "/lib/ld-musl-x32.so.1"
  • Git repository management for enterprise teams powered by Atlassian Bitbucket
  • Atlassian Bitbucket v6.7.2
  • Documentation
  • Request a feature
  • About
  • Contact Atlassian
Atlassian

Everything looks good. We'll let you know here if there's anything you should know about.