diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2025-04-03 12:21:44 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2025-04-03 12:21:44 -0700 |
| commit | e8b471285262d1561feb2eb266aab6ebe7094124 (patch) | |
| tree | 852f4f2ecad22f4668d950e0d6ee9f0b7d3cb568 /rust/Makefile | |
| parent | aa18761a447fac41287a5c3c41f26b9380bc72b7 (diff) | |
| parent | 623c3015d8c9b7d7c6b9796f6e3667428ab6327a (diff) | |
| download | linux-e8b471285262d1561feb2eb266aab6ebe7094124.tar.gz linux-e8b471285262d1561feb2eb266aab6ebe7094124.tar.bz2 linux-e8b471285262d1561feb2eb266aab6ebe7094124.zip | |
Merge tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rmk/linux
Pull ARM and clkdev updates from Russell King:
- Simplify ARM_MMU_KEEP usage
- Add Rust support for ARM architecture version 7
- Align IPIs reported in /proc/interrupts
- require linker to support KEEP within OVERLAY
- add KEEP() for ARM vectors
- add __printf() attribute for clkdev functions
* tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rmk/linux:
ARM: 9445/1: clkdev: Mark some functions with __printf() attribute
ARM: 9444/1: add KEEP() keyword to ARM_VECTORS
ARM: 9443/1: Require linker to support KEEP within OVERLAY for DCE
ARM: 9442/1: smp: Fix IPI alignment in /proc/interrupts
ARM: 9441/1: rust: Enable Rust support for ARMv7
ARM: 9439/1: arm32: simplify ARM_MMU_KEEP usage
Diffstat (limited to 'rust/Makefile')
| -rw-r--r-- | rust/Makefile | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/rust/Makefile b/rust/Makefile index 2a8342e9c5b5..99bc3eea44a6 100644 --- a/rust/Makefile +++ b/rust/Makefile @@ -275,6 +275,7 @@ bindgen_skip_c_flags := -mno-fp-ret-in-387 -mpreferred-stack-boundary=% \ # Derived from `scripts/Makefile.clang`. BINDGEN_TARGET_x86 := x86_64-linux-gnu BINDGEN_TARGET_arm64 := aarch64-linux-gnu +BINDGEN_TARGET_arm := arm-linux-gnueabi BINDGEN_TARGET_loongarch := loongarch64-linux-gnusf BINDGEN_TARGET_um := $(BINDGEN_TARGET_$(SUBARCH)) BINDGEN_TARGET := $(BINDGEN_TARGET_$(SRCARCH)) @@ -433,6 +434,13 @@ redirect-intrinsics = \ __muloti4 __multi3 \ __udivmodti4 __udivti3 __umodti3 +ifdef CONFIG_ARM + # Add eabi initrinsics for ARM 32-bit + redirect-intrinsics += \ + __aeabi_fadd __aeabi_fmul __aeabi_fcmpeq __aeabi_fcmple __aeabi_fcmplt __aeabi_fcmpun \ + __aeabi_dadd __aeabi_dmul __aeabi_dcmple __aeabi_dcmplt __aeabi_dcmpun \ + __aeabi_uldivmod +endif ifneq ($(or $(CONFIG_ARM64),$(and $(CONFIG_RISCV),$(CONFIG_64BIT))),) # These intrinsics are defined for ARM64 and RISCV64 redirect-intrinsics += \ |
