diff options
Diffstat (limited to 'meta-microblaze/recipes-devtools/gcc/gcc/0024-Avoid-hardcoded-build-paths-into-ppc-libgcc.patch')
-rw-r--r-- | meta-microblaze/recipes-devtools/gcc/gcc/0024-Avoid-hardcoded-build-paths-into-ppc-libgcc.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/meta-microblaze/recipes-devtools/gcc/gcc/0024-Avoid-hardcoded-build-paths-into-ppc-libgcc.patch b/meta-microblaze/recipes-devtools/gcc/gcc/0024-Avoid-hardcoded-build-paths-into-ppc-libgcc.patch new file mode 100644 index 00000000..ad826901 --- /dev/null +++ b/meta-microblaze/recipes-devtools/gcc/gcc/0024-Avoid-hardcoded-build-paths-into-ppc-libgcc.patch | |||
@@ -0,0 +1,28 @@ | |||
1 | From 4623d87d779853a2862ee92a15a41fded81eddb8 Mon Sep 17 00:00:00 2001 | ||
2 | From: Richard Purdie <richard.purdie@linuxfoundation.org> | ||
3 | Date: Sat, 20 Aug 2022 09:04:14 -0700 | ||
4 | Subject: [PATCH] Avoid hardcoded build paths into ppc libgcc | ||
5 | |||
6 | Avoid encoding build paths into sources used for floating point on powerpc. | ||
7 | (MACHINE=qemuppc bitbake libgcc). | ||
8 | |||
9 | Upstream-Status: Submitted [https://gcc.gnu.org/pipermail/gcc-patches/2022-August/599882.html] | ||
10 | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> | ||
11 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
12 | --- | ||
13 | libgcc/config/rs6000/t-float128 | 2 +- | ||
14 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
15 | |||
16 | diff --git a/libgcc/config/rs6000/t-float128 b/libgcc/config/rs6000/t-float128 | ||
17 | index b09b5664af0..513e63748f1 100644 | ||
18 | --- a/libgcc/config/rs6000/t-float128 | ||
19 | +++ b/libgcc/config/rs6000/t-float128 | ||
20 | @@ -103,7 +103,7 @@ $(ibm128_dec_objs) : INTERNAL_CFLAGS += $(IBM128_CFLAGS_DECIMAL) | ||
21 | $(fp128_softfp_src) : $(srcdir)/soft-fp/$(subst -sw,,$(subst kf,tf,$@)) $(fp128_dep) | ||
22 | @src="$(srcdir)/soft-fp/$(subst -sw,,$(subst kf,tf,$@))"; \ | ||
23 | echo "Create $@"; \ | ||
24 | - (echo "/* file created from $$src */"; \ | ||
25 | + (echo "/* file created from `basename $$src` */"; \ | ||
26 | echo; \ | ||
27 | sed -f $(fp128_sed) < $$src) > $@ | ||
28 | |||