]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Recognize and handle -K PIC
authorMichael Meissner <gnu@the-meissners.org>
Sat, 13 Jul 1996 00:54:55 +0000 (00:54 +0000)
committerMichael Meissner <gnu@the-meissners.org>
Sat, 13 Jul 1996 00:54:55 +0000 (00:54 +0000)
gas/ChangeLog
gas/config/tc-ppc.c

index 3cbc271784da9fe2ee1271710eb6361c18dd6cc7..9cd6961d7a764622ada0b3c3b5c22873a0f0163b 100644 (file)
@@ -1,3 +1,7 @@
+Fri Jul 12 20:54:19 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * config/tc-ppc.c (md_parse_option): Recognize -K PIC.
+
 Wed Jul 10 12:39:08 1996  Richard Henderson  <rth@tamu.edu>
 
        * config/tc-alpha.c (alpha_align): Change fill parameter
index a5b0a7270a000477259066dfa74cf41ccd1e641a..0a8671ce2755453c8da480faa02bec4838d2ba7f 100644 (file)
@@ -606,7 +606,7 @@ const int md_long_jump_size = 4;
 #endif
 \f
 #ifdef OBJ_ELF
-CONST char *md_shortopts = "b:l:usm:VQ:";
+CONST char *md_shortopts = "b:l:usm:K:VQ:";
 #else
 CONST char *md_shortopts = "um:";
 #endif
@@ -651,6 +651,18 @@ md_parse_option (c, arg)
        return 0;
 
       break;
+
+    case 'K':
+      /* Recognize -K PIC */
+      if (strcmp (arg, "PIC") == 0)
+       {
+         mrelocatable = true;
+         ppc_flags |= EF_PPC_RELOCATABLE_LIB;
+       }
+      else
+       return 0;
+
+      break;
 #endif
 
     case 'm':