1 |
#undef vms |
#undef vms |
2 |
/* vms.h -- Header file for VMS (Alpha and Vax) support. |
/* vms.h -- Header file for VMS (Alpha and Vax) support. |
3 |
Copyright 1996, 1997, 1998, 1999, 2000, 2001 |
Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 |
4 |
Free Software Foundation, Inc. |
Free Software Foundation, Inc. |
5 |
|
|
6 |
Written by Klaus K"ampf (kkaempf@rmi.de) |
Written by Klaus K"ampf (kkaempf@rmi.de) |
505 |
struct _vms_section *next; |
struct _vms_section *next; |
506 |
} vms_section; |
} vms_section; |
507 |
|
|
|
extern boolean _bfd_save_vms_section |
|
|
PARAMS ((bfd *abfd, asection *section, PTR data, file_ptr offset, |
|
|
bfd_size_type count)); |
|
508 |
extern vms_section *_bfd_get_vms_section PARAMS ((bfd *abfd, int index)); |
extern vms_section *_bfd_get_vms_section PARAMS ((bfd *abfd, int index)); |
509 |
|
|
510 |
typedef struct _vms_reloc { |
typedef struct _vms_reloc { |
533 |
struct eom_struc { |
struct eom_struc { |
534 |
long eom_l_total_lps; |
long eom_l_total_lps; |
535 |
unsigned char eom_b_comcod; |
unsigned char eom_b_comcod; |
536 |
boolean eom_has_transfer; |
bfd_boolean eom_has_transfer; |
537 |
unsigned char eom_b_tfrflg; |
unsigned char eom_b_tfrflg; |
538 |
long eom_l_psindx; |
long eom_l_psindx; |
539 |
long eom_l_tfradr; |
long eom_l_tfradr; |
566 |
|
|
567 |
struct vms_private_data_struct { |
struct vms_private_data_struct { |
568 |
int is_vax; |
int is_vax; |
569 |
boolean fixup_done; /* Flag to indicate if all |
bfd_boolean fixup_done; /* Flag to indicate if all |
570 |
section pointers and PRIV(sections) |
section pointers and PRIV(sections) |
571 |
are set up correctly */ |
are set up correctly */ |
572 |
unsigned char *vms_buf; /* buffer to record */ |
unsigned char *vms_buf; /* buffer to record */ |
591 |
vms_section *vms_section_table[VMS_SECTION_COUNT]; |
vms_section *vms_section_table[VMS_SECTION_COUNT]; |
592 |
|
|
593 |
struct bfd_hash_table *vms_symbol_table; |
struct bfd_hash_table *vms_symbol_table; |
594 |
struct symbol_cache_entry **symcache; |
struct bfd_symbol **symcache; |
595 |
int symnum; |
int symnum; |
596 |
|
|
597 |
struct location_struct *location_stack; |
struct location_struct *location_stack; |
645 |
extern void _bfd_vms_push PARAMS ((bfd *abfd, uquad val, int psect)); |
extern void _bfd_vms_push PARAMS ((bfd *abfd, uquad val, int psect)); |
646 |
extern uquad _bfd_vms_pop PARAMS ((bfd *abfd, int *psect)); |
extern uquad _bfd_vms_pop PARAMS ((bfd *abfd, int *psect)); |
647 |
|
|
648 |
extern boolean _bfd_save_vms_section |
extern bfd_boolean _bfd_save_vms_section |
649 |
PARAMS ((bfd *abfd, asection *section, PTR data, file_ptr offset, |
PARAMS ((bfd *abfd, asection *section, const PTR data, file_ptr offset, |
650 |
bfd_size_type count)); |
bfd_size_type count)); |
651 |
extern void _bfd_vms_output_begin |
extern void _bfd_vms_output_begin |
652 |
PARAMS ((bfd *abfd, int rectype, int rechead)); |
PARAMS ((bfd *abfd, int rectype, int rechead)); |