* configure: Ignore new autoconf configure options.
[binutils-gdb.git] / bfd / coff-alpha.c
index 7675c56736db7be38665df8f097b8013adf7f24e..4ad7077fa621cde622440e06aa658ab71d3dd413 100644 (file)
@@ -553,11 +553,10 @@ alpha_ecoff_swap_reloc_in (abfd, ext_ptr, intern)
       /* The IGNORE reloc generally follows a GPDISP reloc, and is
         against the .lita section.  The section is irrelevant.  */
       if (! intern->r_extern &&
-         (intern->r_symndx == RELOC_SECTION_NONE
-          || intern->r_symndx == RELOC_SECTION_ABS))
+         intern->r_symndx == RELOC_SECTION_ABS)
        abort ();
       if (! intern->r_extern && intern->r_symndx == RELOC_SECTION_LITA)
-       intern->r_symndx = RELOC_SECTION_NONE;
+       intern->r_symndx = RELOC_SECTION_ABS;
     }
 }
 
@@ -582,7 +581,7 @@ alpha_ecoff_swap_reloc_out (abfd, intern, dst)
     }
   else if (intern->r_type == ALPHA_R_IGNORE
           && ! intern->r_extern
-          && intern->r_symndx == RELOC_SECTION_NONE)
+          && intern->r_symndx == RELOC_SECTION_ABS)
     {
       symndx = RELOC_SECTION_LITA;
       size = intern->r_size;
@@ -721,8 +720,6 @@ alpha_adjust_reloc_out (abfd, rel, intern)
 
     case ALPHA_R_IGNORE:
       intern->r_vaddr = rel->address;
-      if (intern->r_symndx == RELOC_SECTION_ABS)
-       intern->r_symndx = RELOC_SECTION_NONE;
       break;
 
     default:
@@ -762,12 +759,9 @@ alpha_ecoff_get_relocated_section_contents (abfd, link_info, link_order,
 
   if (reloc_size < 0)
     goto error_return;
-  reloc_vector = (arelent **) malloc (reloc_size);
+  reloc_vector = (arelent **) bfd_malloc (reloc_size);
   if (reloc_vector == NULL && reloc_size != 0)
-    {
-      bfd_set_error (bfd_error_no_memory);
-      goto error_return;
-    }
+    goto error_return;
 
   if (! bfd_get_section_contents (input_bfd, input_section, data,
                                  (file_ptr) 0, input_section->_raw_size))
@@ -1390,10 +1384,7 @@ alpha_relocate_section (output_bfd, info, input_bfd, input_section,
                                      (NUM_RELOC_SECTIONS
                                       * sizeof (asection *))));
       if (!symndx_to_section)
-       {
-         bfd_set_error (bfd_error_no_memory);
-         return false;
-       }
+       return false;
 
       symndx_to_section[RELOC_SECTION_NONE] = NULL;
       symndx_to_section[RELOC_SECTION_TEXT] =