aboutsummaryrefslogtreecommitdiff
path: root/gas/config/obj-vms.h
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@cygnus>1995-07-06 02:52:44 +0000
committerKen Raeburn <raeburn@cygnus>1995-07-06 02:52:44 +0000
commit4b18b7cd8881ad48fea58ab030fa455ead217e9d (patch)
treeffbaeda651b90e2717582cd4b35829838ab63b36 /gas/config/obj-vms.h
parent0a8310aca87f7f316124fc730832c4b9d4f09cf9 (diff)
downloadgdb-4b18b7cd8881ad48fea58ab030fa455ead217e9d.zip
gdb-4b18b7cd8881ad48fea58ab030fa455ead217e9d.tar.gz
gdb-4b18b7cd8881ad48fea58ab030fa455ead217e9d.tar.bz2
more vms fixes from Pat Rankin
Diffstat (limited to 'gas/config/obj-vms.h')
-rw-r--r--gas/config/obj-vms.h29
1 files changed, 20 insertions, 9 deletions
diff --git a/gas/config/obj-vms.h b/gas/config/obj-vms.h
index 1fc8ba7..c0582e3 100644
--- a/gas/config/obj-vms.h
+++ b/gas/config/obj-vms.h
@@ -43,11 +43,6 @@ extern char const_flag;
#define IN_DEFAULT_SECTION 0x80
-/* Compiler-generated label "__vax_g_doubles" is used to augment .stabs. */
-
-#define tc_frob_label(X) vms_check_for_special_label(X)
-extern void vms_check_for_special_label();
-
/* These are defined in obj-vms.c. */
extern const short seg_N_TYPE[];
extern const segT N_TYPE_seg[];
@@ -214,12 +209,23 @@ typedef struct nlist obj_symbol_type; /* Symbol table entry */
#define obj_symbol_new_hook(s) {;}
+/* Force structure tags into scope so that their use in prototypes
+ will never be their first occurance. */
struct fix;
+struct symbol;
+struct frag;
+
+/* obj-vms routines visible to the rest of gas. */
+
extern void tc_aout_fix_to_chars PARAMS ((char *,struct fix *,relax_addressT));
-extern int vms_resolve_symbol_redef ();
+extern int vms_resolve_symbol_redef PARAMS ((struct symbol *));
#define RESOLVE_SYMBOL_REDEFINITION(X) vms_resolve_symbol_redef(X)
+/* Compiler-generated label "__vax_g_doubles" is used to augment .stabs. */
+extern void vms_check_for_special_label PARAMS ((struct symbol *));
+#define tc_frob_label(X) vms_check_for_special_label(X)
+
extern void vms_check_for_main PARAMS ((void));
extern void vms_write_object_file PARAMS ((unsigned,unsigned,unsigned,
@@ -231,9 +237,11 @@ extern void vms_write_object_file PARAMS ((unsigned,unsigned,unsigned,
#define AOUT_STABS
-/* The rest of this file contains definitions for constants used within the actual
- VMS object file. We do not use a $ in the symbols (as per usual VMS
- convention) since System V gags on it. */
+#ifdef WANT_VMS_OBJ_DEFS
+
+/* The rest of this file contains definitions for constants used within
+ the actual VMS object file. We do not use a $ in the symbols (as per
+ usual VMS convention) since System V gags on it. */
#define OBJ_S_C_HDR 0
#define OBJ_S_C_HDR_MHD 0
@@ -534,4 +542,7 @@ extern void vms_write_object_file PARAMS ((unsigned,unsigned,unsigned,
#define DBG_S_C_POINTER DST_K_TS_TPTR
#define DBG_S_C_VOID DST_K_TS_PTR
#define DBG_S_C_COMPLEX_ARRAY DST_K_TS_ARRAY
+
+#endif /* WANT_VMS_OBJ_DEFS */
+
/* end of obj-vms.h */