• 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.5.0/941-mips-Add-support-for-mips-r6-musl.patch
Romain NaourRomain Naour committed 1960ad837b115 Oct 2017
Raw file
Source viewDiff to previous
 
1
From 83717065090bb8b954556d1216dd9dc397dc0243 Mon Sep 17 00:00:00 2001
2
From: nsz <nsz@138bc75d-0d04-0410-961f-82ee72b054a4>
3
Date: Thu, 25 Aug 2016 14:13:02 +0000
4
Subject: [PATCH] [mips] Add support for mips*r6-*-musl
5
​
6
gcc/
7
    * config/mips/linux.h (MUSL_DYNAMIC_LINKER32): Update.
8
    (MUSL_DYNAMIC_LINKER64, MUSL_DYNAMIC_LINKERN32): Update.
9
​
10
​
11
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@239760 138bc75d-0d04-0410-961f-82ee72b054a4
12
​
13
[Vincent: tweak to not patch ChangeLog]
14
​
15
Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
16
---
17
 gcc/config/mips/linux.h | 9 ++++++---
18
 1 files changed, 6 insertions(+), 3 deletions(-)
19
​
20
diff --git a/gcc/config/mips/linux.h b/gcc/config/mips/linux.h
21
index fa253b6..dc51c45 100644
22
--- a/gcc/config/mips/linux.h
23
+++ b/gcc/config/mips/linux.h
24
@@ -38,10 +38,13 @@ along with GCC; see the file COPYING3.  If not see
25
   "%{mnan=2008:/lib32/ld-uClibc-mipsn8.so.0;:/lib32/ld-uClibc.so.0}"
26
 
27
 #undef MUSL_DYNAMIC_LINKER32
28
-#define MUSL_DYNAMIC_LINKER32 "/lib/ld-musl-mips%{EL:el}%{msoft-float:-sf}.so.1"
29
+#define MUSL_DYNAMIC_LINKER32 \
30
+  "/lib/ld-musl-mips%{mips32r6|mips64r6:r6}%{EL:el}%{msoft-float:-sf}.so.1"
31
 #undef MUSL_DYNAMIC_LINKER64
32
-#define MUSL_DYNAMIC_LINKER64 "/lib/ld-musl-mips64%{EL:el}%{msoft-float:-sf}.so.1"
33
-#define MUSL_DYNAMIC_LINKERN32 "/lib/ld-musl-mipsn32%{EL:el}%{msoft-float:-sf}.so.1"
34
+#define MUSL_DYNAMIC_LINKER64 \
35
+  "/lib/ld-musl-mips64%{mips64r6:r6}%{EL:el}%{msoft-float:-sf}.so.1"
36
+#define MUSL_DYNAMIC_LINKERN32 \
37
+  "/lib/ld-musl-mipsn32%{mips64r6:r6}%{EL:el}%{msoft-float:-sf}.so.1"
38
 
39
 #define BIONIC_DYNAMIC_LINKERN32 "/system/bin/linker32"
40
 #define GNU_USER_DYNAMIC_LINKERN32 \
41
-- 
42
2.10.0
43
​
  • 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.