mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-20 18:08:24 +08:00
Recognize and handle -K PIC
This commit is contained in:
@ -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>
|
Wed Jul 10 12:39:08 1996 Richard Henderson <rth@tamu.edu>
|
||||||
|
|
||||||
* config/tc-alpha.c (alpha_align): Change fill parameter
|
* config/tc-alpha.c (alpha_align): Change fill parameter
|
||||||
|
@ -606,7 +606,7 @@ const int md_long_jump_size = 4;
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef OBJ_ELF
|
#ifdef OBJ_ELF
|
||||||
CONST char *md_shortopts = "b:l:usm:VQ:";
|
CONST char *md_shortopts = "b:l:usm:K:VQ:";
|
||||||
#else
|
#else
|
||||||
CONST char *md_shortopts = "um:";
|
CONST char *md_shortopts = "um:";
|
||||||
#endif
|
#endif
|
||||||
@ -651,6 +651,18 @@ md_parse_option (c, arg)
|
|||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case 'K':
|
||||||
|
/* Recognize -K PIC */
|
||||||
|
if (strcmp (arg, "PIC") == 0)
|
||||||
|
{
|
||||||
|
mrelocatable = true;
|
||||||
|
ppc_flags |= EF_PPC_RELOCATABLE_LIB;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
return 0;
|
||||||
|
|
||||||
|
break;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
case 'm':
|
case 'm':
|
||||||
|
Reference in New Issue
Block a user