Remove 32 bit sparc v8 support

Message ID 1afe4a2b-0b4b-38d9-cb22-4bdc21e0cfd4@linaro.org
State Dropped
Headers

Commit Message

Adhemerval Zanella Nov. 11, 2019, 7:14 p.m. UTC
  On 11/11/2019 15:24, Joseph Myers wrote:
> On Mon, 11 Nov 2019, Adhemerval Zanella wrote:
> 
>>  sysdeps/sparc/sparc32/divrem.m4               | 234 -------
>>  sysdeps/sparc/sparc32/rem.S                   | 365 +---------
>>  sysdeps/sparc/sparc32/sdiv.S                  | 363 +---------
>>  sysdeps/sparc/sparc32/udiv.S                  | 343 +--------
>>  sysdeps/sparc/sparc32/urem.S                  | 345 +--------
> 
> Since you're replacing these files generated from divrem.m4 with 
> non-generated files moved from the v9 directory, the code in 
> build-many-glibcs.py to touch them on checkout should also be removed, as 
> there is no longer any constraint on how their timestamps are ordered with 
> respect to other files in the source tree.
> 

Something like:


?
  

Comments

Joseph Myers Nov. 11, 2019, 10:27 p.m. UTC | #1
On Mon, 11 Nov 2019, Adhemerval Zanella wrote:

> @@ -847,11 +847,7 @@ class Context(object):
>          # be touched because nothing in a build depends on the files
>          # in question.
>          for f in ('sysdeps/gnu/errlist.c',
> -                  'sysdeps/mach/hurd/bits/errno.h',
> -                  'sysdeps/sparc/sparc32/rem.S',
> -                  'sysdeps/sparc/sparc32/sdiv.S',
> -                  'sysdeps/sparc/sparc32/udiv.S',
> -                  'sysdeps/sparc/sparc32/urem.S'):
> +                  'sysdeps/mach/hurd/bits/errno.h'):
>              to_touch = os.path.join(srcdir, f)
>              subprocess.run(['touch', '-c', to_touch], check=True)
>          for dirpath, dirnames, filenames in os.walk(srcdir):

Yes, that sort of thing.
  

Patch

diff --git a/scripts/build-many-glibcs.py b/scripts/build-many-glibcs.py
index f174094ff3..cd9ac08f52 100755
--- a/scripts/build-many-glibcs.py
+++ b/scripts/build-many-glibcs.py
@@ -358,7 +358,7 @@  class Context(object):
         self.add_config(arch='sparc64',
                         os_name='linux-gnu',
                         glibcs=[{},
-                                {'arch': 'sparcv9',
+                                {'arch': 'sparc',
                                  'ccopts': '-m32 -mlong-double-128 -mcpu=v9'}],
                         extra_glibcs=[{'variant': 'disable-multi-arch',
                                        'cfg': ['--disable-multi-arch']},
@@ -847,11 +847,7 @@  class Context(object):
         # be touched because nothing in a build depends on the files
         # in question.
         for f in ('sysdeps/gnu/errlist.c',
-                  'sysdeps/mach/hurd/bits/errno.h',
-                  'sysdeps/sparc/sparc32/rem.S',
-                  'sysdeps/sparc/sparc32/sdiv.S',
-                  'sysdeps/sparc/sparc32/udiv.S',
-                  'sysdeps/sparc/sparc32/urem.S'):
+                  'sysdeps/mach/hurd/bits/errno.h'):
             to_touch = os.path.join(srcdir, f)
             subprocess.run(['touch', '-c', to_touch], check=True)
         for dirpath, dirnames, filenames in os.walk(srcdir):