diff options
Diffstat (limited to 'meta')
3 files changed, 24 insertions, 60 deletions
diff --git a/meta/conf/distro/include/maintainers.inc b/meta/conf/distro/include/maintainers.inc index f0b952cfd5..8c4c586414 100644 --- a/meta/conf/distro/include/maintainers.inc +++ b/meta/conf/distro/include/maintainers.inc | |||
| @@ -189,7 +189,7 @@ RECIPE_MAINTAINER:pn-gcc-cross-canadian-${TRANSLATED_TARGET_ARCH} = "Khem Raj <r | |||
| 189 | RECIPE_MAINTAINER:pn-gcc-crosssdk-${SDK_SYS} = "Khem Raj <raj.khem@gmail.com>" | 189 | RECIPE_MAINTAINER:pn-gcc-crosssdk-${SDK_SYS} = "Khem Raj <raj.khem@gmail.com>" |
| 190 | RECIPE_MAINTAINER:pn-gcc-runtime = "Khem Raj <raj.khem@gmail.com>" | 190 | RECIPE_MAINTAINER:pn-gcc-runtime = "Khem Raj <raj.khem@gmail.com>" |
| 191 | RECIPE_MAINTAINER:pn-gcc-sanitizers = "Khem Raj <raj.khem@gmail.com>" | 191 | RECIPE_MAINTAINER:pn-gcc-sanitizers = "Khem Raj <raj.khem@gmail.com>" |
| 192 | RECIPE_MAINTAINER:pn-gcc-source-13.1.0 = "Khem Raj <raj.khem@gmail.com>" | 192 | RECIPE_MAINTAINER:pn-gcc-source-13.1.1 = "Khem Raj <raj.khem@gmail.com>" |
| 193 | RECIPE_MAINTAINER:pn-gconf = "Ross Burton <ross.burton@arm.com>" | 193 | RECIPE_MAINTAINER:pn-gconf = "Ross Burton <ross.burton@arm.com>" |
| 194 | RECIPE_MAINTAINER:pn-gcr3 = "Markus Volk <f_l_k@t-online.de>" | 194 | RECIPE_MAINTAINER:pn-gcr3 = "Markus Volk <f_l_k@t-online.de>" |
| 195 | RECIPE_MAINTAINER:pn-gcr = "Alexander Kanavin <alex.kanavin@gmail.com>" | 195 | RECIPE_MAINTAINER:pn-gcr = "Alexander Kanavin <alex.kanavin@gmail.com>" |
diff --git a/meta/recipes-devtools/gcc/gcc-13.1.inc b/meta/recipes-devtools/gcc/gcc-13.1.inc index d361b680f4..4da703db52 100644 --- a/meta/recipes-devtools/gcc/gcc-13.1.inc +++ b/meta/recipes-devtools/gcc/gcc-13.1.inc | |||
| @@ -2,11 +2,11 @@ require gcc-common.inc | |||
| 2 | 2 | ||
| 3 | # Third digit in PV should be incremented after a minor release | 3 | # Third digit in PV should be incremented after a minor release |
| 4 | 4 | ||
| 5 | PV = "13.1.0" | 5 | PV = "13.1.1" |
| 6 | 6 | ||
| 7 | # BINV should be incremented to a revision after a minor gcc release | 7 | # BINV should be incremented to a revision after a minor gcc release |
| 8 | 8 | ||
| 9 | BINV = "13.1.0" | 9 | BINV = "13.1.1" |
| 10 | 10 | ||
| 11 | FILESEXTRAPATHS =. "${FILE_DIRNAME}/gcc:${FILE_DIRNAME}/gcc/backport:" | 11 | FILESEXTRAPATHS =. "${FILE_DIRNAME}/gcc:${FILE_DIRNAME}/gcc/backport:" |
| 12 | 12 | ||
| @@ -30,14 +30,14 @@ LIC_FILES_CHKSUM = "\ | |||
| 30 | #SOURCEDIR ?= "official-gcc-${@'${RELEASE}'[0:7]}" | 30 | #SOURCEDIR ?= "official-gcc-${@'${RELEASE}'[0:7]}" |
| 31 | 31 | ||
| 32 | # from snapshot | 32 | # from snapshot |
| 33 | #RELEASE ?= "13.1.0-RC-20230421" | 33 | RELEASE ?= "13-20230520" |
| 34 | #SOURCEDIR ?= "gcc-${RELEASE}" | 34 | SOURCEDIR ?= "gcc-${RELEASE}" |
| 35 | #BASEURI ?= "https://gcc.gnu.org/pub/gcc/snapshots/${RELEASE}/gcc-${RELEASE}.tar.xz" | 35 | BASEURI ?= "https://gcc.gnu.org/pub/gcc/snapshots/${RELEASE}/gcc-${RELEASE}.tar.xz" |
| 36 | 36 | ||
| 37 | # official release | 37 | # official release |
| 38 | RELEASE ?= "${PV}" | 38 | #RELEASE ?= "${PV}" |
| 39 | BASEURI ?= "${GNU_MIRROR}/gcc/gcc-${PV}/gcc-${PV}.tar.xz" | 39 | #BASEURI ?= "${GNU_MIRROR}/gcc/gcc-${PV}/gcc-${PV}.tar.xz" |
| 40 | SOURCEDIR ?= "gcc-${PV}" | 40 | #SOURCEDIR ?= "gcc-${PV}" |
| 41 | 41 | ||
| 42 | SRC_URI = "${BASEURI} \ | 42 | SRC_URI = "${BASEURI} \ |
| 43 | file://0001-gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch \ | 43 | file://0001-gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch \ |
| @@ -65,7 +65,7 @@ SRC_URI = "${BASEURI} \ | |||
| 65 | file://0023-Fix-install-path-of-linux64.h.patch \ | 65 | file://0023-Fix-install-path-of-linux64.h.patch \ |
| 66 | file://0024-Avoid-hardcoded-build-paths-into-ppc-libgcc.patch \ | 66 | file://0024-Avoid-hardcoded-build-paths-into-ppc-libgcc.patch \ |
| 67 | " | 67 | " |
| 68 | SRC_URI[sha256sum] = "61d684f0aa5e76ac6585ad8898a2427aade8979ed5e7f85492286c4dfc13ee86" | 68 | SRC_URI[sha256sum] = "b8716f92e468086fca5aea8873f7405f1cd7d309ad0719f0a90c57b3483e448c" |
| 69 | 69 | ||
| 70 | S = "${TMPDIR}/work-shared/gcc-${PV}-${PR}/${SOURCEDIR}" | 70 | S = "${TMPDIR}/work-shared/gcc-${PV}-${PR}/${SOURCEDIR}" |
| 71 | B = "${WORKDIR}/gcc-${PV}/build.${HOST_SYS}.${TARGET_SYS}" | 71 | B = "${WORKDIR}/gcc-${PV}/build.${HOST_SYS}.${TARGET_SYS}" |
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 a42a044142..e3af0bf161 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 | |||
| @@ -35,8 +35,6 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com> | |||
| 35 | gcc/config/sparc/linux64.h | 4 ++-- | 35 | gcc/config/sparc/linux64.h | 4 ++-- |
| 36 | 18 files changed, 53 insertions(+), 58 deletions(-) | 36 | 18 files changed, 53 insertions(+), 58 deletions(-) |
| 37 | 37 | ||
| 38 | diff --git a/gcc/config/aarch64/aarch64-linux.h b/gcc/config/aarch64/aarch64-linux.h | ||
| 39 | index 4277f03da2a..e4c92c03291 100644 | ||
| 40 | --- a/gcc/config/aarch64/aarch64-linux.h | 38 | --- a/gcc/config/aarch64/aarch64-linux.h |
| 41 | +++ b/gcc/config/aarch64/aarch64-linux.h | 39 | +++ b/gcc/config/aarch64/aarch64-linux.h |
| 42 | @@ -21,10 +21,10 @@ | 40 | @@ -21,10 +21,10 @@ |
| @@ -52,11 +50,9 @@ index 4277f03da2a..e4c92c03291 100644 | |||
| 52 | 50 | ||
| 53 | #undef ASAN_CC1_SPEC | 51 | #undef ASAN_CC1_SPEC |
| 54 | #define ASAN_CC1_SPEC "%{%:sanitize(address):-funwind-tables}" | 52 | #define ASAN_CC1_SPEC "%{%:sanitize(address):-funwind-tables}" |
| 55 | diff --git a/gcc/config/alpha/linux-elf.h b/gcc/config/alpha/linux-elf.h | ||
| 56 | index 03f783f2ad1..4fa02668aa7 100644 | ||
| 57 | --- a/gcc/config/alpha/linux-elf.h | 53 | --- a/gcc/config/alpha/linux-elf.h |
| 58 | +++ b/gcc/config/alpha/linux-elf.h | 54 | +++ b/gcc/config/alpha/linux-elf.h |
| 59 | @@ -23,8 +23,8 @@ along with GCC; see the file COPYING3. If not see | 55 | @@ -23,8 +23,8 @@ along with GCC; see the file COPYING3. |
| 60 | #define EXTRA_SPECS \ | 56 | #define EXTRA_SPECS \ |
| 61 | { "elf_dynamic_linker", ELF_DYNAMIC_LINKER }, | 57 | { "elf_dynamic_linker", ELF_DYNAMIC_LINKER }, |
| 62 | 58 | ||
| @@ -67,8 +63,6 @@ index 03f783f2ad1..4fa02668aa7 100644 | |||
| 67 | #if DEFAULT_LIBC == LIBC_UCLIBC | 63 | #if DEFAULT_LIBC == LIBC_UCLIBC |
| 68 | #define CHOOSE_DYNAMIC_LINKER(G, U) "%{mglibc:" G ";:" U "}" | 64 | #define CHOOSE_DYNAMIC_LINKER(G, U) "%{mglibc:" G ";:" U "}" |
| 69 | #elif DEFAULT_LIBC == LIBC_GLIBC | 65 | #elif DEFAULT_LIBC == LIBC_GLIBC |
| 70 | diff --git a/gcc/config/arm/linux-eabi.h b/gcc/config/arm/linux-eabi.h | ||
| 71 | index a119875599d..dce7f59eeea 100644 | ||
| 72 | --- a/gcc/config/arm/linux-eabi.h | 66 | --- a/gcc/config/arm/linux-eabi.h |
| 73 | +++ b/gcc/config/arm/linux-eabi.h | 67 | +++ b/gcc/config/arm/linux-eabi.h |
| 74 | @@ -62,8 +62,8 @@ | 68 | @@ -62,8 +62,8 @@ |
| @@ -91,8 +85,6 @@ index a119875599d..dce7f59eeea 100644 | |||
| 91 | 85 | ||
| 92 | /* At this point, bpabi.h will have clobbered LINK_SPEC. We want to | 86 | /* At this point, bpabi.h will have clobbered LINK_SPEC. We want to |
| 93 | use the GNU/Linux version, not the generic BPABI version. */ | 87 | use the GNU/Linux version, not the generic BPABI version. */ |
| 94 | diff --git a/gcc/config/arm/linux-elf.h b/gcc/config/arm/linux-elf.h | ||
| 95 | index 7b7b7cbbe14..98ef2267117 100644 | ||
| 96 | --- a/gcc/config/arm/linux-elf.h | 88 | --- a/gcc/config/arm/linux-elf.h |
| 97 | +++ b/gcc/config/arm/linux-elf.h | 89 | +++ b/gcc/config/arm/linux-elf.h |
| 98 | @@ -60,7 +60,7 @@ | 90 | @@ -60,7 +60,7 @@ |
| @@ -104,11 +96,9 @@ index 7b7b7cbbe14..98ef2267117 100644 | |||
| 104 | 96 | ||
| 105 | #define LINUX_TARGET_LINK_SPEC "%{h*} \ | 97 | #define LINUX_TARGET_LINK_SPEC "%{h*} \ |
| 106 | %{static:-Bstatic} \ | 98 | %{static:-Bstatic} \ |
| 107 | diff --git a/gcc/config/i386/linux.h b/gcc/config/i386/linux.h | ||
| 108 | index bbb7cc7115e..7d9272040ee 100644 | ||
| 109 | --- a/gcc/config/i386/linux.h | 99 | --- a/gcc/config/i386/linux.h |
| 110 | +++ b/gcc/config/i386/linux.h | 100 | +++ b/gcc/config/i386/linux.h |
| 111 | @@ -20,7 +20,7 @@ along with GCC; see the file COPYING3. If not see | 101 | @@ -20,7 +20,7 @@ along with GCC; see the file COPYING3. |
| 112 | <http://www.gnu.org/licenses/>. */ | 102 | <http://www.gnu.org/licenses/>. */ |
| 113 | 103 | ||
| 114 | #define GNU_USER_LINK_EMULATION "elf_i386" | 104 | #define GNU_USER_LINK_EMULATION "elf_i386" |
| @@ -118,11 +108,9 @@ index bbb7cc7115e..7d9272040ee 100644 | |||
| 118 | #undef MUSL_DYNAMIC_LINKER | 108 | #undef MUSL_DYNAMIC_LINKER |
| 119 | -#define MUSL_DYNAMIC_LINKER "/lib/ld-musl-i386.so.1" | 109 | -#define MUSL_DYNAMIC_LINKER "/lib/ld-musl-i386.so.1" |
| 120 | +#define MUSL_DYNAMIC_LINKER SYSTEMLIBS_DIR "ld-musl-i386.so.1" | 110 | +#define MUSL_DYNAMIC_LINKER SYSTEMLIBS_DIR "ld-musl-i386.so.1" |
| 121 | diff --git a/gcc/config/i386/linux64.h b/gcc/config/i386/linux64.h | ||
| 122 | index 2bd9f48e271..dbbe7ca5440 100644 | ||
| 123 | --- a/gcc/config/i386/linux64.h | 111 | --- a/gcc/config/i386/linux64.h |
| 124 | +++ b/gcc/config/i386/linux64.h | 112 | +++ b/gcc/config/i386/linux64.h |
| 125 | @@ -27,13 +27,13 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see | 113 | @@ -27,13 +27,13 @@ see the files COPYING3 and COPYING.RUNTI |
| 126 | #define GNU_USER_LINK_EMULATION64 "elf_x86_64" | 114 | #define GNU_USER_LINK_EMULATION64 "elf_x86_64" |
| 127 | #define GNU_USER_LINK_EMULATIONX32 "elf32_x86_64" | 115 | #define GNU_USER_LINK_EMULATIONX32 "elf32_x86_64" |
| 128 | 116 | ||
| @@ -142,11 +130,9 @@ index 2bd9f48e271..dbbe7ca5440 100644 | |||
| 142 | #undef MUSL_DYNAMIC_LINKERX32 | 130 | #undef MUSL_DYNAMIC_LINKERX32 |
| 143 | -#define MUSL_DYNAMIC_LINKERX32 "/lib/ld-musl-x32.so.1" | 131 | -#define MUSL_DYNAMIC_LINKERX32 "/lib/ld-musl-x32.so.1" |
| 144 | +#define MUSL_DYNAMIC_LINKERX32 SYSTEMLIBS_DIR "ld-musl-x32.so.1" | 132 | +#define MUSL_DYNAMIC_LINKERX32 SYSTEMLIBS_DIR "ld-musl-x32.so.1" |
| 145 | diff --git a/gcc/config/linux.h b/gcc/config/linux.h | ||
| 146 | index e3aca79cccc..6491c6b84f5 100644 | ||
| 147 | --- a/gcc/config/linux.h | 133 | --- a/gcc/config/linux.h |
| 148 | +++ b/gcc/config/linux.h | 134 | +++ b/gcc/config/linux.h |
| 149 | @@ -86,10 +86,10 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see | 135 | @@ -86,10 +86,10 @@ see the files COPYING3 and COPYING.RUNTI |
| 150 | GLIBC_DYNAMIC_LINKER must be defined for each target using them, or | 136 | GLIBC_DYNAMIC_LINKER must be defined for each target using them, or |
| 151 | GLIBC_DYNAMIC_LINKER32 and GLIBC_DYNAMIC_LINKER64 for targets | 137 | GLIBC_DYNAMIC_LINKER32 and GLIBC_DYNAMIC_LINKER64 for targets |
| 152 | supporting both 32-bit and 64-bit compilation. */ | 138 | supporting both 32-bit and 64-bit compilation. */ |
| @@ -161,11 +147,9 @@ index e3aca79cccc..6491c6b84f5 100644 | |||
| 161 | #define BIONIC_DYNAMIC_LINKER "/system/bin/linker" | 147 | #define BIONIC_DYNAMIC_LINKER "/system/bin/linker" |
| 162 | #define BIONIC_DYNAMIC_LINKER32 "/system/bin/linker" | 148 | #define BIONIC_DYNAMIC_LINKER32 "/system/bin/linker" |
| 163 | #define BIONIC_DYNAMIC_LINKER64 "/system/bin/linker64" | 149 | #define BIONIC_DYNAMIC_LINKER64 "/system/bin/linker64" |
| 164 | diff --git a/gcc/config/loongarch/gnu-user.h b/gcc/config/loongarch/gnu-user.h | ||
| 165 | index aecaa02a199..62f88f7f9a2 100644 | ||
| 166 | --- a/gcc/config/loongarch/gnu-user.h | 150 | --- a/gcc/config/loongarch/gnu-user.h |
| 167 | +++ b/gcc/config/loongarch/gnu-user.h | 151 | +++ b/gcc/config/loongarch/gnu-user.h |
| 168 | @@ -31,11 +31,11 @@ along with GCC; see the file COPYING3. If not see | 152 | @@ -31,11 +31,11 @@ along with GCC; see the file COPYING3. |
| 169 | 153 | ||
| 170 | #undef GLIBC_DYNAMIC_LINKER | 154 | #undef GLIBC_DYNAMIC_LINKER |
| 171 | #define GLIBC_DYNAMIC_LINKER \ | 155 | #define GLIBC_DYNAMIC_LINKER \ |
| @@ -179,8 +163,6 @@ index aecaa02a199..62f88f7f9a2 100644 | |||
| 179 | 163 | ||
| 180 | #undef GNU_USER_TARGET_LINK_SPEC | 164 | #undef GNU_USER_TARGET_LINK_SPEC |
| 181 | #define GNU_USER_TARGET_LINK_SPEC \ | 165 | #define GNU_USER_TARGET_LINK_SPEC \ |
| 182 | diff --git a/gcc/config/microblaze/linux.h b/gcc/config/microblaze/linux.h | ||
| 183 | index e2e2c421c52..6f26480e3b5 100644 | ||
| 184 | --- a/gcc/config/microblaze/linux.h | 166 | --- a/gcc/config/microblaze/linux.h |
| 185 | +++ b/gcc/config/microblaze/linux.h | 167 | +++ b/gcc/config/microblaze/linux.h |
| 186 | @@ -28,7 +28,7 @@ | 168 | @@ -28,7 +28,7 @@ |
| @@ -201,11 +183,9 @@ index e2e2c421c52..6f26480e3b5 100644 | |||
| 201 | 183 | ||
| 202 | #undef SUBTARGET_EXTRA_SPECS | 184 | #undef SUBTARGET_EXTRA_SPECS |
| 203 | #define SUBTARGET_EXTRA_SPECS \ | 185 | #define SUBTARGET_EXTRA_SPECS \ |
| 204 | diff --git a/gcc/config/mips/linux.h b/gcc/config/mips/linux.h | ||
| 205 | index 5add34ea134..34692b433b8 100644 | ||
| 206 | --- a/gcc/config/mips/linux.h | 186 | --- a/gcc/config/mips/linux.h |
| 207 | +++ b/gcc/config/mips/linux.h | 187 | +++ b/gcc/config/mips/linux.h |
| 208 | @@ -22,29 +22,29 @@ along with GCC; see the file COPYING3. If not see | 188 | @@ -22,29 +22,29 @@ along with GCC; see the file COPYING3. |
| 209 | #define GNU_USER_LINK_EMULATIONN32 "elf32%{EB:b}%{EL:l}tsmipn32" | 189 | #define GNU_USER_LINK_EMULATIONN32 "elf32%{EB:b}%{EL:l}tsmipn32" |
| 210 | 190 | ||
| 211 | #define GLIBC_DYNAMIC_LINKER32 \ | 191 | #define GLIBC_DYNAMIC_LINKER32 \ |
| @@ -244,8 +224,6 @@ index 5add34ea134..34692b433b8 100644 | |||
| 244 | 224 | ||
| 245 | #define BIONIC_DYNAMIC_LINKERN32 "/system/bin/linker32" | 225 | #define BIONIC_DYNAMIC_LINKERN32 "/system/bin/linker32" |
| 246 | #define GNU_USER_DYNAMIC_LINKERN32 \ | 226 | #define GNU_USER_DYNAMIC_LINKERN32 \ |
| 247 | diff --git a/gcc/config/nios2/linux.h b/gcc/config/nios2/linux.h | ||
| 248 | index 2ce097ebbce..1d45d7b4962 100644 | ||
| 249 | --- a/gcc/config/nios2/linux.h | 227 | --- a/gcc/config/nios2/linux.h |
| 250 | +++ b/gcc/config/nios2/linux.h | 228 | +++ b/gcc/config/nios2/linux.h |
| 251 | @@ -29,10 +29,10 @@ | 229 | @@ -29,10 +29,10 @@ |
| @@ -261,11 +239,9 @@ index 2ce097ebbce..1d45d7b4962 100644 | |||
| 261 | 239 | ||
| 262 | #undef LINK_SPEC | 240 | #undef LINK_SPEC |
| 263 | #define LINK_SPEC LINK_SPEC_ENDIAN \ | 241 | #define LINK_SPEC LINK_SPEC_ENDIAN \ |
| 264 | diff --git a/gcc/config/riscv/linux.h b/gcc/config/riscv/linux.h | ||
| 265 | index b9557a75dc7..e10ca1f97e7 100644 | ||
| 266 | --- a/gcc/config/riscv/linux.h | 242 | --- a/gcc/config/riscv/linux.h |
| 267 | +++ b/gcc/config/riscv/linux.h | 243 | +++ b/gcc/config/riscv/linux.h |
| 268 | @@ -22,7 +22,7 @@ along with GCC; see the file COPYING3. If not see | 244 | @@ -22,7 +22,7 @@ along with GCC; see the file COPYING3. |
| 269 | GNU_USER_TARGET_OS_CPP_BUILTINS(); \ | 245 | GNU_USER_TARGET_OS_CPP_BUILTINS(); \ |
| 270 | } while (0) | 246 | } while (0) |
| 271 | 247 | ||
| @@ -274,17 +250,15 @@ index b9557a75dc7..e10ca1f97e7 100644 | |||
| 274 | 250 | ||
| 275 | #define MUSL_ABI_SUFFIX \ | 251 | #define MUSL_ABI_SUFFIX \ |
| 276 | "%{mabi=ilp32:-sf}" \ | 252 | "%{mabi=ilp32:-sf}" \ |
| 277 | @@ -33,7 +33,7 @@ along with GCC; see the file COPYING3. If not see | 253 | @@ -33,7 +33,7 @@ along with GCC; see the file COPYING3. |
| 278 | "%{mabi=lp64d:}" | 254 | "%{mabi=lp64d:}" |
| 279 | 255 | ||
| 280 | #undef MUSL_DYNAMIC_LINKER | 256 | #undef MUSL_DYNAMIC_LINKER |
| 281 | -#define MUSL_DYNAMIC_LINKER "/lib/ld-musl-riscv" XLEN_SPEC MUSL_ABI_SUFFIX ".so.1" | 257 | -#define MUSL_DYNAMIC_LINKER "/lib/ld-musl-riscv" XLEN_SPEC MUSL_ABI_SUFFIX ".so.1" |
| 282 | +#define MUSL_DYNAMIC_LINKER SYSTEMLIBS_DIR "ld-musl-riscv" XLEN_SPEC MUSL_ABI_SUFFIX ".so.1" | 258 | +#define MUSL_DYNAMIC_LINKER SYSTEMLIBS_DIR "ld-musl-riscv" XLEN_SPEC MUSL_ABI_SUFFIX ".so.1" |
| 283 | 259 | ||
| 284 | /* Because RISC-V only has word-sized atomics, it requries libatomic where | 260 | #define ICACHE_FLUSH_FUNC "__riscv_flush_icache" |
| 285 | others do not. So link libatomic by default, as needed. */ | 261 | |
| 286 | diff --git a/gcc/config/rs6000/linux64.h b/gcc/config/rs6000/linux64.h | ||
| 287 | index 9e457033d11..2ddab7c99c1 100644 | ||
| 288 | --- a/gcc/config/rs6000/linux64.h | 262 | --- a/gcc/config/rs6000/linux64.h |
| 289 | +++ b/gcc/config/rs6000/linux64.h | 263 | +++ b/gcc/config/rs6000/linux64.h |
| 290 | @@ -339,24 +339,19 @@ extern int dot_symbols; | 264 | @@ -339,24 +339,19 @@ extern int dot_symbols; |
| @@ -317,8 +291,6 @@ index 9e457033d11..2ddab7c99c1 100644 | |||
| 317 | 291 | ||
| 318 | #undef DEFAULT_ASM_ENDIAN | 292 | #undef DEFAULT_ASM_ENDIAN |
| 319 | #if (TARGET_DEFAULT & MASK_LITTLE_ENDIAN) | 293 | #if (TARGET_DEFAULT & MASK_LITTLE_ENDIAN) |
| 320 | diff --git a/gcc/config/rs6000/sysv4.h b/gcc/config/rs6000/sysv4.h | ||
| 321 | index ae932fc22f0..26db003cb3a 100644 | ||
| 322 | --- a/gcc/config/rs6000/sysv4.h | 294 | --- a/gcc/config/rs6000/sysv4.h |
| 323 | +++ b/gcc/config/rs6000/sysv4.h | 295 | +++ b/gcc/config/rs6000/sysv4.h |
| 324 | @@ -771,10 +771,10 @@ GNU_USER_TARGET_CC1_SPEC | 296 | @@ -771,10 +771,10 @@ GNU_USER_TARGET_CC1_SPEC |
| @@ -334,11 +306,9 @@ index ae932fc22f0..26db003cb3a 100644 | |||
| 334 | 306 | ||
| 335 | #ifndef GNU_USER_DYNAMIC_LINKER | 307 | #ifndef GNU_USER_DYNAMIC_LINKER |
| 336 | #define GNU_USER_DYNAMIC_LINKER GLIBC_DYNAMIC_LINKER | 308 | #define GNU_USER_DYNAMIC_LINKER GLIBC_DYNAMIC_LINKER |
| 337 | diff --git a/gcc/config/s390/linux.h b/gcc/config/s390/linux.h | ||
| 338 | index 02aa1edaff8..fab268d61f4 100644 | ||
| 339 | --- a/gcc/config/s390/linux.h | 309 | --- a/gcc/config/s390/linux.h |
| 340 | +++ b/gcc/config/s390/linux.h | 310 | +++ b/gcc/config/s390/linux.h |
| 341 | @@ -72,13 +72,13 @@ along with GCC; see the file COPYING3. If not see | 311 | @@ -72,13 +72,13 @@ along with GCC; see the file COPYING3. |
| 342 | #define MULTILIB_DEFAULTS { "m31" } | 312 | #define MULTILIB_DEFAULTS { "m31" } |
| 343 | #endif | 313 | #endif |
| 344 | 314 | ||
| @@ -356,11 +326,9 @@ index 02aa1edaff8..fab268d61f4 100644 | |||
| 356 | 326 | ||
| 357 | #undef LINK_SPEC | 327 | #undef LINK_SPEC |
| 358 | #define LINK_SPEC \ | 328 | #define LINK_SPEC \ |
| 359 | diff --git a/gcc/config/sh/linux.h b/gcc/config/sh/linux.h | ||
| 360 | index 29f5902b98b..83d1e53e6e2 100644 | ||
| 361 | --- a/gcc/config/sh/linux.h | 329 | --- a/gcc/config/sh/linux.h |
| 362 | +++ b/gcc/config/sh/linux.h | 330 | +++ b/gcc/config/sh/linux.h |
| 363 | @@ -61,10 +61,10 @@ along with GCC; see the file COPYING3. If not see | 331 | @@ -61,10 +61,10 @@ along with GCC; see the file COPYING3. |
| 364 | 332 | ||
| 365 | #undef MUSL_DYNAMIC_LINKER | 333 | #undef MUSL_DYNAMIC_LINKER |
| 366 | #define MUSL_DYNAMIC_LINKER \ | 334 | #define MUSL_DYNAMIC_LINKER \ |
| @@ -373,11 +341,9 @@ index 29f5902b98b..83d1e53e6e2 100644 | |||
| 373 | 341 | ||
| 374 | #undef SUBTARGET_LINK_EMUL_SUFFIX | 342 | #undef SUBTARGET_LINK_EMUL_SUFFIX |
| 375 | #define SUBTARGET_LINK_EMUL_SUFFIX "%{mfdpic:_fd;:_linux}" | 343 | #define SUBTARGET_LINK_EMUL_SUFFIX "%{mfdpic:_fd;:_linux}" |
| 376 | diff --git a/gcc/config/sparc/linux.h b/gcc/config/sparc/linux.h | ||
| 377 | index 0e33b3cac2c..84f29adbb35 100644 | ||
| 378 | --- a/gcc/config/sparc/linux.h | 344 | --- a/gcc/config/sparc/linux.h |
| 379 | +++ b/gcc/config/sparc/linux.h | 345 | +++ b/gcc/config/sparc/linux.h |
| 380 | @@ -78,7 +78,7 @@ extern const char *host_detect_local_cpu (int argc, const char **argv); | 346 | @@ -78,7 +78,7 @@ extern const char *host_detect_local_cpu |
| 381 | When the -shared link option is used a final link is not being | 347 | When the -shared link option is used a final link is not being |
| 382 | done. */ | 348 | done. */ |
| 383 | 349 | ||
| @@ -386,11 +352,9 @@ index 0e33b3cac2c..84f29adbb35 100644 | |||
| 386 | 352 | ||
| 387 | #undef LINK_SPEC | 353 | #undef LINK_SPEC |
| 388 | #define LINK_SPEC "-m elf32_sparc %{shared:-shared} \ | 354 | #define LINK_SPEC "-m elf32_sparc %{shared:-shared} \ |
| 389 | diff --git a/gcc/config/sparc/linux64.h b/gcc/config/sparc/linux64.h | ||
| 390 | index f1cc0a19e49..94bc2032803 100644 | ||
| 391 | --- a/gcc/config/sparc/linux64.h | 355 | --- a/gcc/config/sparc/linux64.h |
| 392 | +++ b/gcc/config/sparc/linux64.h | 356 | +++ b/gcc/config/sparc/linux64.h |
| 393 | @@ -78,8 +78,8 @@ along with GCC; see the file COPYING3. If not see | 357 | @@ -78,8 +78,8 @@ along with GCC; see the file COPYING3. |
| 394 | When the -shared link option is used a final link is not being | 358 | When the -shared link option is used a final link is not being |
| 395 | done. */ | 359 | done. */ |
| 396 | 360 | ||
