Skip to content

Commit 76204cf

Browse files
Verney7rhash
authored andcommitted
Add support for sw_64 architecture
Updated the configure script and test_lib.h to recognize and handle the sw_64 architecture, ensuring proper detection and reporting of compile-time flags for this platform.
1 parent ba02242 commit 76204cf

2 files changed

Lines changed: 10 additions & 0 deletions

File tree

configure

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -500,6 +500,7 @@ if test -z "$BUILD_TARGET"; then
500500
sh3|sh4|sh4a) HOST_ARCH=sh ;;
501501
s390) HOST_ARCH=s390 ;;
502502
s390x) HOST_ARCH=s390x ;;
503+
sw_64) HOST_ARCH=sw_64 ;;
503504
*mips*) HOST_ARCH=mips ;;
504505
nios2) HOST_ARCH=nios2 ;;
505506
vax) HOST_ARCH=vax ;;

librhash/test_lib.h

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,15 @@ char* compiler_flags = "Compile-time flags:"
123123
#ifdef sparc
124124
" sparc"
125125
#endif
126+
#ifdef __sw_64
127+
" __sw_64"
128+
#endif
129+
#ifdef __sw_64__
130+
" __sw_64__"
131+
#endif
132+
#ifdef sw_64
133+
" sw_64"
134+
#endif
126135
#ifdef _ARCH_PPC
127136
" _ARCH_PPC"
128137
#endif

0 commit comments

Comments
 (0)