* sb.h (sb_list_vector): Move to sb.c.
[deliverable/binutils-gdb.git] / gas / sb.c
index ecd772c30c02d4208e806b6fd8b9f2e90b3c8113..f62883576c53f0e7beca4039e39b13ebb2b1b73f 100644 (file)
--- a/gas/sb.c
+++ b/gas/sb.c
@@ -56,7 +56,10 @@ static void sb_check (sb *, int);
 static int string_count[sb_max_power_two];
 
 /* Free list of sb structures.  */
-static sb_list_vector free_list;
+static struct
+{
+  sb_element *size[sb_max_power_two];
+} free_list;
 
 /* Initializes an sb.  */
 
@@ -66,8 +69,7 @@ sb_build (sb *ptr, int size)
   /* See if we can find one to allocate.  */
   sb_element *e;
 
-  if (size > sb_max_power_two)
-    abort ();
+  assert (size < sb_max_power_two);
 
   e = free_list.size[size];
   if (!e)
This page took 0.028529 seconds and 4 git commands to generate.