Skip to contentSkip to conversation

m68k: add private libgcc ashrdi3

PATCH New Angelo Dureghello 1 participant 1 message Mar 15, 2023 m68k architecture

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 m68k: add private libgcc ashrdi3

From: Angelo Dureghello <[email protected]>

Add ashrdi3.c to private libgcc.

---
 arch/m68k/lib/Makefile  |  2 +-
 arch/m68k/lib/ashrdi3.c | 48 +++++++++++++++++++++++++++++++++++++++++
 2 files changed, 49 insertions(+), 1 deletion(-)
 create mode 100644 arch/m68k/lib/ashrdi3.c
arch/m68k/lib/Makefile +1 -1
index b66d66afd2..6e1fd938f5 100644
@@ -5,7 +5,7 @@
 
 ## Build a couple of necessary functions into a private libgcc
 ## if the user asked for it
-lib-$(CONFIG_USE_PRIVATE_LIBGCC) += lshrdi3.o muldi3.o ashldi3.o
+lib-$(CONFIG_USE_PRIVATE_LIBGCC) += lshrdi3.o muldi3.o ashldi3.o ashrdi3.o
 
 obj-y	+= bdinfo.o
 obj-$(CONFIG_CMD_BOOTM) += bootm.o
arch/m68k/lib/ashrdi3.c new file +48 -0

48 lines not on this page · raw message

Signature · 1 line
2.39.1