c2 = c3;
c3 = c4;
#endif
-#ifdef OBJ_VMS
- if (c4 != 0) /* Register prefixes are not allowed under VMS. */
- return retval;
-#endif
#ifdef OBJ_AOUT
if (c1 == '%') /* Register prefixes are optional under a.out. */
{
md_number_to_chars (ptr, offset, 4);
}
\f
-#ifdef OBJ_VMS
-const char *md_shortopts = "d:STt:V+1h:Hv::";
-#elif defined(OBJ_ELF)
-const char *md_shortopts = "d:STt:VkKQ:";
+#ifdef OBJ_ELF
+const char *md_shortopts = "d:STt:VkQ:";
#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 },
+ { "pic", no_argument, NULL, 'k' },
#endif
{ NULL, no_argument, NULL, 0 }
};
as_warn (_("I don't use an interpass file! -V ignored"));
break;
-#ifdef OBJ_VMS
- case '+': /* For g++. Hash any name > 31 chars long. */
- flag_hash_long_names = 1;
- break;
-
- case '1': /* For backward compatibility. */
- flag_one = 1;
- break;
-
- case 'H': /* Show new symbol after hash truncation. */
- flag_show_after_trunc = 1;
- break;
-
- case 'h': /* No hashing of mixed-case names. */
- {
- extern char vms_name_mapping;
- vms_name_mapping = atoi (arg);
- flag_no_hash_mixed_case = 1;
- }
- break;
-
- case 'v':
- {
- extern char *compiler_version_string;
-
- if (!arg || !*arg || access (arg, 0) == 0)
- return 0; /* Have caller show the assembler version. */
- compiler_version_string = arg;
- }
- break;
-#endif
-
#ifdef OBJ_ELF
- case OPTION_PIC:
case 'k':
flag_want_pic = 1;
break; /* -pic, Position Independent Code. */
-t FILE ignored\n\
-T ignored\n\
-V ignored\n"));
-#ifdef OBJ_VMS
+#ifdef OBJ_ELF
fprintf (stream, _("\
-VMS options:\n\
--+ hash encode names longer than 31 characters\n\
--1 `const' handling compatible with gcc 1.x\n\
--H show new symbol after hash truncation\n\
--h NUM don't hash mixed-case names, and adjust case:\n\
- 0 = upper, 2 = lower, 3 = preserve case\n\
--v\"VERSION\" code being assembled was produced by compiler \"VERSION\"\n"));
+ELF options:\n\
+-k -pic enable PIC mode\n\
+-Q[y|n] ignored\n"));
#endif
}
\f