* Set the cpu defaults for the ARM32 architectures:

- armel: arm926ej-s. Closes: #1056115.
    - armhf: cortex-a8.
    Thanks to Arnd Bergmann and Ard Biesheuvel for the fixes.
This commit is contained in:
Matthias Klose 2023-12-05 09:42:31 +01:00
parent e03dd05554
commit 01a06b481e
3 changed files with 19 additions and 0 deletions

4
debian/changelog vendored
View File

@ -9,6 +9,10 @@ llvm-toolchain-17 (1:17.0.6-2) UNRELEASED; urgency=medium
* Also use the free swap to determine the number of parallel processes. * Also use the free swap to determine the number of parallel processes.
* libclang1-17: Hard-code the last full versions for the symlinks. * libclang1-17: Hard-code the last full versions for the symlinks.
* Also use the free swap to determine the number of parallel processes. * Also use the free swap to determine the number of parallel processes.
* Set the cpu defaults for the ARM32 architectures:
- armel: arm926ej-s. Closes: #1056115.
- armhf: cortex-a8.
Thanks to Arnd Bergmann and Ard Biesheuvel for the fixes.
-- Gianfranco Costamagna <locutusofborg@debian.org> Fri, 01 Dec 2023 10:50:00 +0100 -- Gianfranco Costamagna <locutusofborg@debian.org> Fri, 01 Dec 2023 10:50:00 +0100

14
debian/patches/arm32-defaults.diff vendored Normal file
View File

@ -0,0 +1,14 @@
--- a/llvm/lib/TargetParser/ARMTargetParser.cpp
+++ b/llvm/lib/TargetParser/ARMTargetParser.cpp
@@ -590,9 +590,9 @@ StringRef ARM::getARMCPUForArch(const ll
case llvm::Triple::EABIHF:
case llvm::Triple::GNUEABIHF:
case llvm::Triple::MuslEABIHF:
- return "cortex-a7";
+ return "cortex-a8";
default:
- return "arm7tdmi";
+ return "arm926ej-s";
}
}

View File

@ -151,3 +151,4 @@ D158066-simd-ppc64el.patch
ubuntu-releases.patch ubuntu-releases.patch
libclang-major-version-only.diff libclang-major-version-only.diff
D148945-revert.diff D148945-revert.diff
arm32-defaults.diff