OSDN Git Service

* collect2.c (main, case 'b'): Use else if.
authordje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 7 Nov 1998 19:28:41 +0000 (19:28 +0000)
committerdje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 7 Nov 1998 19:28:41 +0000 (19:28 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@23562 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/collect2.c

index 5d26fc5..66dff3d 100644 (file)
@@ -1,3 +1,7 @@
+Sat Nov  7 22:26:19 1998  David Edelsohn  <edelsohn@mhpcc.edu>
+
+       * collect2.c (main, case 'b'): Use else if.
+
 Sat Nov  7 15:35:25 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
 
        * configure.in (host_xm_file, build_xm_file, xm_file, tm_file):
@@ -767,7 +771,7 @@ Tue Oct 27 13:15:02 1998  Nick Clifton  <nickc@cygnus.com>
        * config/arm/lib1thumb.asm: Add ELF support.
 
 Tue Oct 27 16:11:43 1998  David Edelsohn  <edelsohn@mhpcc.edu>
-       
+
        * collect2.c (aix64_flag): New variable.
        (main, case 'b'): Parse it.
        (GCC_CHECK_HDR): object magic number must match mode.
index 7f855f2..585ce59 100644 (file)
@@ -1273,7 +1273,7 @@ main (argc, argv)
            case 'b':
              if (arg[2] == 'E' || strncmp (&arg[2], "export", 6) == 0)
                 export_flag = 1;
-             if (arg[2] == '6' && arg[3] == '4')
+             else if (arg[2] == '6' && arg[3] == '4')
                aix64_flag = 1;
              break;
 #endif