[binutils-gdb] score: drop TC_ALPHA code

Jan Beulich jbeulich@sourceware.org
Wed Aug 7 14:33:08 GMT 2024


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=52e7f037dbdcc130654cccdb3dbb794564dd05ad

commit 52e7f037dbdcc130654cccdb3dbb794564dd05ad
Author: Jan Beulich <jbeulich@suse.com>
Date:   Wed Aug 7 16:32:43 2024 +0200

    score: drop TC_ALPHA code
    
    I can't see how that could ever have come into play.

Diff:
---
 gas/config/tc-score.c  | 12 ------------
 gas/config/tc-score7.c | 12 ------------
 2 files changed, 24 deletions(-)

diff --git a/gas/config/tc-score.c b/gas/config/tc-score.c
index 116c7aa61a5..707bd6f1891 100644
--- a/gas/config/tc-score.c
+++ b/gas/config/tc-score.c
@@ -6168,18 +6168,6 @@ s3_s_score_lcomm (int bytes_p)
 
       record_alignment (bss_seg, align);
     }
-  else
-    {
-      /* Assume some objects may require alignment on some systems.  */
-#if defined (TC_ALPHA) && ! defined (VMS)
-      if (temp > 1)
-        {
-          align = ffs (temp) - 1;
-          if (temp % (1 << align))
-            abort ();
-        }
-#endif
-    }
 
   *p = 0;
   symbolP = symbol_find_or_make (name);
diff --git a/gas/config/tc-score7.c b/gas/config/tc-score7.c
index 52cb8713400..e6d98df6335 100644
--- a/gas/config/tc-score7.c
+++ b/gas/config/tc-score7.c
@@ -6014,18 +6014,6 @@ s7_s_score_lcomm (int bytes_p)
 
       record_alignment (bss_seg, align);
     }
-  else
-    {
-      /* Assume some objects may require alignment on some systems.  */
-#if defined (TC_ALPHA) && ! defined (VMS)
-      if (temp > 1)
-        {
-          align = ffs (temp) - 1;
-          if (temp % (1 << align))
-            abort ();
-        }
-#endif
-    }
 
   *p = 0;
   symbolP = symbol_find_or_make (name);


More information about the Binutils-cvs mailing list