Skip to content

Commit

Permalink
sparc: Remove optimize md5, sha256, and sha512
Browse files Browse the repository at this point in the history
The libcrypt was maked to be phase out on 2.38, and a better project
already exist that provide both compatibility and better API
(libxcrypt).  The sparc optimizations add the burden to extra
build-many-glibcs.py configurations.

Checked on sparc64 and sparcv9.
Reviewed-by: Carlos O'Donell <[email protected]>
  • Loading branch information
zatrazz committed Oct 30, 2023
1 parent 1e6ecd2 commit bb2ff12
Show file tree
Hide file tree
Showing 15 changed files with 1 addition and 457 deletions.
4 changes: 1 addition & 3 deletions scripts/build-many-glibcs.py
Original file line number Diff line number Diff line change
Expand Up @@ -451,9 +451,7 @@ def add_all_configs(self):
{'variant': 'disable-multi-arch',
'arch': 'sparcv9',
'ccopts': '-m32 -mlong-double-128 -mcpu=v9',
'cfg': ['--disable-multi-arch']},
{'variant': 'enable-crypt',
'cfg': ['--enable-crypt']}])
'cfg': ['--disable-multi-arch']}])
self.add_config(arch='x86_64',
os_name='linux-gnu',
gcc_cfg=['--with-multilib-list=m64,m32,mx32'],
Expand Down
8 changes: 0 additions & 8 deletions sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
Original file line number Diff line number Diff line change
@@ -1,11 +1,3 @@
ifeq ($(subdir),crypt)
libcrypt-sysdep_routines += md5-crop sha256-crop sha512-crop
endif

ifeq ($(subdir),locale)
localedef-aux += md5-crop
endif

ifeq ($(subdir),string)
sysdep_routines += memcpy-ultra3 memcpy-niagara1 memcpy-niagara2 \
memset-niagara1 memcpy-niagara4 memset-niagara4 \
Expand Down
1 change: 0 additions & 1 deletion sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c

This file was deleted.

1 change: 0 additions & 1 deletion sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S

This file was deleted.

1 change: 0 additions & 1 deletion sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c

This file was deleted.

1 change: 0 additions & 1 deletion sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S

This file was deleted.

1 change: 0 additions & 1 deletion sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c

This file was deleted.

1 change: 0 additions & 1 deletion sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S

This file was deleted.

8 changes: 0 additions & 8 deletions sysdeps/sparc/sparc64/multiarch/Makefile
Original file line number Diff line number Diff line change
@@ -1,11 +1,3 @@
ifeq ($(subdir),crypt)
libcrypt-sysdep_routines += md5-crop sha256-crop sha512-crop
endif

ifeq ($(subdir),locale)
localedef-aux += md5-crop
endif

ifeq ($(subdir),string)
sysdep_routines += memcpy-ultra3 memcpy-niagara1 memcpy-niagara2 \
memset-niagara1 memcpy-niagara4 memset-niagara4 \
Expand Down
29 changes: 0 additions & 29 deletions sysdeps/sparc/sparc64/multiarch/md5-block.c

This file was deleted.

109 changes: 0 additions & 109 deletions sysdeps/sparc/sparc64/multiarch/md5-crop.S

This file was deleted.

32 changes: 0 additions & 32 deletions sysdeps/sparc/sparc64/multiarch/sha256-block.c

This file was deleted.

100 changes: 0 additions & 100 deletions sysdeps/sparc/sparc64/multiarch/sha256-crop.S

This file was deleted.

32 changes: 0 additions & 32 deletions sysdeps/sparc/sparc64/multiarch/sha512-block.c

This file was deleted.

Loading

0 comments on commit bb2ff12

Please sign in to comment.