Use renamed ARM cpu flag bits
authorNick Clifton <nickc@redhat.com>
Wed, 19 May 1999 07:27:14 +0000 (07:27 +0000)
committerNick Clifton <nickc@redhat.com>
Wed, 19 May 1999 07:27:14 +0000 (07:27 +0000)
bfd/ChangeLog
bfd/coff-arm.c
bfd/coffcode.h

index 96151486f22c964f896f976493a2e153381b1358..0b687c0fe5743a6ecb2cf5f57f0521a424e33a33 100644 (file)
@@ -1,3 +1,9 @@
+Mon May 17 13:35:35 1999  Stan Cox  <scox@cygnus.com>
+       * coff-arm.c (_bfd_coff_arm_set_private_flags): Changed
+       F_PIC_INT to F_PIC.
+       * coffcode.h (coff_set_arch_mach_hook): Added F_ARM_2a, and
+       F_ARM_3M labels.  Changed F_PIC_INT to F_PIC.
+       
 1999-05-16  Nick Clifton  <nickc@cygnus.com>
 
        * coff-mcore.c (in_reloc_p): Reinstate.
index 4b9ee8420a087cb1d3571c62c6dc5c5967b7b2aa..3c9934117a73b0f11f4fdbb00b0918cb8dea9592 100644 (file)
@@ -2189,7 +2189,7 @@ _bfd_coff_arm_set_private_flags (abfd, flags)
   if (APCS_SET (abfd)
       && (   (APCS_26_FLAG    (abfd) != flag)
          || (APCS_FLOAT_FLAG (abfd) != (flags & F_APCS_FLOAT))
-         || (PIC_FLAG        (abfd) != (flags & F_PIC_INT ? F_PIC : 0))
+         || (PIC_FLAG        (abfd) != (flags & F_PIC))
          ))
     return false;
 
index bee6b666e47ac3a39d4330c4f2bad82ddbac5911..bdd9769d5bb112c601daa84b89c9ad211c911deb 100644 (file)
@@ -1419,11 +1419,13 @@ coff_set_arch_mach_hook (abfd, filehdr)
       arch = bfd_arch_arm;
       switch (internal_f->f_flags & F_ARM_ARCHITECTURE_MASK)
        {
-       case F_ARM_2:  machine = bfd_mach_arm_2;  break;
-       case F_ARM_3:  machine = bfd_mach_arm_3;  break;
-       default:
-       case F_ARM_4:  machine = bfd_mach_arm_4;  break;
-       case F_ARM_4T: machine = bfd_mach_arm_4T; break;
+        case F_ARM_2:  machine = bfd_mach_arm_2;  break;
+        case F_ARM_2a: machine = bfd_mach_arm_2a; break;
+        case F_ARM_3:  machine = bfd_mach_arm_3;  break;
+        default:
+        case F_ARM_3M: machine = bfd_mach_arm_3M; break;
+        case F_ARM_4:  machine = bfd_mach_arm_4;  break;
+        case F_ARM_4T: machine = bfd_mach_arm_4T; break;
        }
       break;
 #endif
@@ -2050,7 +2052,7 @@ coff_set_flags (abfd, magicp, flagsp)
            * flagsp |= F_APCS_FLOAT;
          
          if (PIC_FLAG (abfd))
-           * flagsp |= F_PIC_INT;
+           * flagsp |= F_PIC;
        }
       if (INTERWORK_SET (abfd) && INTERWORK_FLAG (abfd))
        * flagsp |= F_INTERWORK;