Skip to contentSkip to conversation

nios2: updates for v7.5

GIT PULL Dinh Nguyen 1 participant 1 message Nov 18

lore
Share & tools
lore
#0 lore raw

The following changes since commit 6628e7d4c6b25c8d18f1345e3a20d21829aae7e4:

Linux 7.4-rc1 (2026-11-01 13:26:31 -0800)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/dinguyen/linux.git tags/nios2_updates_for_v7.5

for you to fetch changes up to a5a3d39f231793f7b15d44a672011906e55039bc:

nios2: Drop usage of libgcc in favour of GENERIC_LIB_* (2026-11-18 08:20:07 -0600)

----------------------------------------------------------------
NIOS2: updates for v7.5
- Add software emulation of div/mul/mod for 32-bit platforms
- Add a divsi3_table references for libgcc-less build
- Drop libgcc dependencies for Nios2

----------------------------------------------------------------
Dinh Nguyen (2):
lib: extract 32bit mul/div helpers from nios2 into GENERIC_LIB
nios2: Drop usage of libgcc in favour of GENERIC_LIB_*

Simon Schuster (1):
nios2: export __divsi3_table

 arch/nios2/Kconfig              | 10 +++++
 arch/nios2/Makefile             |  4 +-
 arch/nios2/kernel/nios2_ksyms.c | 22 ----------
 arch/nios2/lib/Makefile         |  1 +
 arch/nios2/lib/math.c           | 24 +++++++++++
 include/linux/libgcc.h          | 10 +++++
 lib/Kconfig                     | 15 +++++++
 lib/Makefile                    | 10 +++++
 lib/divmod.c                    | 94 +++++++++++++++++++++++++++++++++++++++++
 lib/mulsi3.c                    | 24 +++++++++++
 10 files changed, 189 insertions(+), 25 deletions(-)
 create mode 100644 arch/nios2/lib/math.c
 create mode 100644 lib/divmod.c
 create mode 100644 lib/mulsi3.c