summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2024-09-03 22:25:44 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-09-05 21:48:47 +0100
commit4a3990485fecf1450ec1eace185af942afcf5236 (patch)
treec2a4acf2d572aca7a359766b53d2a1aac8676c22 /meta/recipes-devtools
parentb897daf8b775ccb1ae20a2a22c0cbf93ee7d7dfe (diff)
downloadpoky-4a3990485fecf1450ec1eace185af942afcf5236.tar.gz
gcc: Fix spurious '/' in GLIBC_DYNAMIC_LINKER on microblaze
(From OE-Core rev: f0eac82b9a1e4549b7d918df768c369ed7ab5183) Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Mark Hatle <mark.hatle@amd.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r--meta/recipes-devtools/gcc/gcc/0007-Define-GLIBC_DYNAMIC_LINKER-and-UCLIBC_DYNAMIC_LINKE.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/recipes-devtools/gcc/gcc/0007-Define-GLIBC_DYNAMIC_LINKER-and-UCLIBC_DYNAMIC_LINKE.patch b/meta/recipes-devtools/gcc/gcc/0007-Define-GLIBC_DYNAMIC_LINKER-and-UCLIBC_DYNAMIC_LINKE.patch
index 6ff16e38e1..4ed5501551 100644
--- a/meta/recipes-devtools/gcc/gcc/0007-Define-GLIBC_DYNAMIC_LINKER-and-UCLIBC_DYNAMIC_LINKE.patch
+++ b/meta/recipes-devtools/gcc/gcc/0007-Define-GLIBC_DYNAMIC_LINKER-and-UCLIBC_DYNAMIC_LINKE.patch
@@ -1,4 +1,4 @@
1From b597a2bc85ffdcf780731a44de02799ebc3d8f61 Mon Sep 17 00:00:00 2001 1From 4067ae345f0ff1fbf37c0348f2af09257513b817 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Fri, 29 Mar 2013 09:24:50 +0400 3Date: Fri, 29 Mar 2013 09:24:50 +0400
4Subject: [PATCH] Define GLIBC_DYNAMIC_LINKER and UCLIBC_DYNAMIC_LINKER 4Subject: [PATCH] Define GLIBC_DYNAMIC_LINKER and UCLIBC_DYNAMIC_LINKER
@@ -184,7 +184,7 @@ index e5d84e180e3..98cb49c189f 100644
184 #undef GNU_USER_TARGET_LINK_SPEC 184 #undef GNU_USER_TARGET_LINK_SPEC
185 #define GNU_USER_TARGET_LINK_SPEC \ 185 #define GNU_USER_TARGET_LINK_SPEC \
186diff --git a/gcc/config/microblaze/linux.h b/gcc/config/microblaze/linux.h 186diff --git a/gcc/config/microblaze/linux.h b/gcc/config/microblaze/linux.h
187index 5ed8ee518be..5553e7cac21 100644 187index 5ed8ee518be..299d1a62c81 100644
188--- a/gcc/config/microblaze/linux.h 188--- a/gcc/config/microblaze/linux.h
189+++ b/gcc/config/microblaze/linux.h 189+++ b/gcc/config/microblaze/linux.h
190@@ -28,7 +28,7 @@ 190@@ -28,7 +28,7 @@
@@ -192,7 +192,7 @@ index 5ed8ee518be..5553e7cac21 100644
192 #define TLS_NEEDS_GOT 1 192 #define TLS_NEEDS_GOT 1
193 193
194-#define GLIBC_DYNAMIC_LINKER "/lib/ld.so.1" 194-#define GLIBC_DYNAMIC_LINKER "/lib/ld.so.1"
195+#define GLIBC_DYNAMIC_LINKER SYSTEMLIBS_DIR "/ld.so.1" 195+#define GLIBC_DYNAMIC_LINKER SYSTEMLIBS_DIR "ld.so.1"
196 #define UCLIBC_DYNAMIC_LINKER "/lib/ld-uClibc.so.0" 196 #define UCLIBC_DYNAMIC_LINKER "/lib/ld-uClibc.so.0"
197 197
198 #if TARGET_BIG_ENDIAN_DEFAULT == 0 /* LE */ 198 #if TARGET_BIG_ENDIAN_DEFAULT == 0 /* LE */