+2003-09-26 Matt Thomas <matt@3am-software.com>
+
+ * config/tc-vax.c (md_shortopts): Fix a typo. Remove 'K'.
+ (OPTION_PIC): Define.
+ (md_longopts): Add "pic" option.
+ (md_parse_option): Change 'K' to OPTION_PIC.
+
2003-09-23 Alan Modra <alan@modra.org>
* config/obj-elf.c (obj_elf_change_section): Adjust for
\f
#ifdef OBJ_VMS
const char *md_shortopts = "d:STt:V+1h:Hv::";
-#elif defined(OBJ_ELC)
+#elif defined(OBJ_ELF)
const char *md_shortopts = "d:STt:VkK";
#else
const char *md_shortopts = "d:STt:V";
#endif
struct option md_longopts[] = {
+#ifdef OBJ_ELF
+#define OPTION_PIC (OPTION_MD_BASE)
+ {"pic", no_argument, NULL, OPTION_PIC},
+#endif
{NULL, no_argument, NULL, 0}
};
size_t md_longopts_size = sizeof (md_longopts);
#endif
#ifdef OBJ_ELF
- case 'K':
+ case OPTION_PIC:
case 'k':
flag_want_pic = 1;
break; /* -pic, Position Independent Code */