#include "bfd.h"#include "sysdep.h"#include "bfdlink.h"#include "libbfd.h"#include "vms.h"

Go to the source code of this file.
| vms_section* _bfd_get_vms_section | ( | bfd * | abfd, | |
| int | index | |||
| ) |
Definition at line 643 of file vms-misc.c.
References bfd_error_nonrepresentable_section, bfd_set_error(), NULL, PRIV, and VMS_SECTION_COUNT.
Referenced by _bfd_vms_write_tir().
| bfd_boolean _bfd_save_vms_section | ( | bfd * | abfd, | |
| sec_ptr | section, | |||
| const PTR | data, | |||
| file_ptr | offset, | |||
| bfd_size_type | count | |||
| ) |
Definition at line 616 of file vms-misc.c.
References add_new_contents(), bfd_error_nonrepresentable_section, bfd_set_error(), _vms_section::contents, FALSE, bfd_section::index, memcpy, NULL, TRUE, and VMS_SECTION_COUNT.
Referenced by vms_set_section_contents().
| vms_symbol_entry* _bfd_vms_enter_symbol | ( | bfd * | abfd, | |
| char * | name | |||
| ) |
Definition at line 1082 of file vms-misc.c.
References _, _bfd_error_handler, bfd_hash_lookup(), FALSE, new_symbol(), PRIV, vms_symbol_struct::symbol, and TRUE.
Referenced by _bfd_vms_slurp_gsd(), and tir_sta().
Definition at line 227 of file vms-misc.c.
References bfd_getl16().
Referenced by _bfd_vms_get_record(), _bfd_vms_next_record(), and _bfd_vms_slurp_gsd().
| int _bfd_vms_get_record | ( | bfd * | abfd | ) |
Definition at line 281 of file vms-misc.c.
References _bfd_vms_get_header_values(), bfd_bread(), bfd_error_file_truncated, bfd_malloc(), bfd_realloc(), bfd_set_error(), bfd_tell(), EOBJ_S_C_MAXRECSIZ, FF_FOREIGN, FF_NATIVE, FF_UNKNOWN, FF_VAX, NULL, OBJ_S_C_MAXRECSIZ, and PRIV.
Referenced by _bfd_vms_next_record().
| struct bfd_hash_entry* _bfd_vms_hash_newfunc | ( | struct bfd_hash_entry * | entry, | |
| struct bfd_hash_table * | table, | |||
| const char * | string | |||
| ) | [read] |
Definition at line 187 of file vms-misc.c.
References bfd_error_no_memory, bfd_hash_allocate(), bfd_hash_newfunc(), bfd_set_error(), NULL, ret, and vms_symbol_struct::symbol.
Referenced by vms_initialize().
| char* _bfd_vms_length_hash_symbol | ( | bfd * | abfd, | |
| const char * | in, | |||
| int | maxlen | |||
| ) |
Definition at line 991 of file vms-misc.c.
References _, EOBJ_S_C_SYMSIZ, hash_string(), i, out, outbuf, printf(), PRIV, result, sprintf(), strlen(), and strncpy().
Referenced by _bfd_vms_write_gsd(), and _bfd_vms_write_tir().
| int _bfd_vms_next_record | ( | bfd * | abfd | ) |
Definition at line 447 of file vms-misc.c.
References _bfd_vms_get_header_values(), _bfd_vms_get_record(), and PRIV.
Referenced by vms_object_p().
Definition at line 696 of file vms-misc.c.
References PRIV.
Referenced by _bfd_vms_write_gsd(), _bfd_vms_write_hdr(), and _bfd_vms_write_tir().
Definition at line 663 of file vms-misc.c.
References _bfd_vms_output_short(), and PRIV.
Referenced by _bfd_vms_write_eom(), _bfd_vms_write_gsd(), _bfd_vms_write_hdr(), _bfd_vms_write_tir(), start_etir_record(), and sto_imm().
Definition at line 838 of file vms-misc.c.
References bfd_put_8, output_buf, and PRIV.
Referenced by _bfd_vms_output_counted(), _bfd_vms_write_eom(), and _bfd_vms_write_tir().
| int _bfd_vms_output_check | ( | bfd * | abfd, | |
| int | size | |||
| ) |
Definition at line 824 of file vms-misc.c.
References MAX_OUTREC_SIZE, MIN_OUTREC_LUFT, and PRIV.
Referenced by _bfd_vms_write_gsd(), _bfd_vms_write_tir(), and sto_imm().
Definition at line 903 of file vms-misc.c.
References _, _bfd_vms_output_byte(), _bfd_vms_output_dump(), len, and strlen().
Referenced by _bfd_vms_write_gsd(), _bfd_vms_write_hdr(), and _bfd_vms_write_tir().
Definition at line 931 of file vms-misc.c.
References memcpy, output_buf, and PRIV.
Referenced by _bfd_vms_output_counted(), _bfd_vms_write_hdr(), and sto_imm().
Definition at line 807 of file vms-misc.c.
References _bfd_vms_output_flush().
Referenced by _bfd_vms_write_eom(), _bfd_vms_write_gsd(), and end_etir_record().
Definition at line 952 of file vms-misc.c.
References memset, output_buf, and PRIV.
Referenced by _bfd_vms_write_hdr().
Definition at line 748 of file vms-misc.c.
References _bfd_vms_output_short(), fwrite, length, output_buf, and PRIV.
Referenced by _bfd_vms_output_end(), _bfd_vms_output_pop(), _bfd_vms_write_gsd(), _bfd_vms_write_hdr(), _bfd_vms_write_tir(), start_etir_record(), and sto_imm().
Definition at line 871 of file vms-misc.c.
References bfd_put_32, output_buf, and PRIV.
Referenced by _bfd_vms_write_eom(), _bfd_vms_write_gsd(), _bfd_vms_write_hdr(), _bfd_vms_write_tir(), start_etir_record(), and sto_imm().
Definition at line 726 of file vms-misc.c.
References _bfd_vms_output_flush(), and PRIV.
Referenced by _bfd_vms_write_gsd(), and end_etir_record().
Definition at line 711 of file vms-misc.c.
References PRIV.
Referenced by _bfd_vms_write_gsd(), and start_etir_record().
Definition at line 887 of file vms-misc.c.
References bfd_put_64, output_buf, and PRIV.
Referenced by _bfd_vms_write_gsd(), _bfd_vms_write_tir(), and start_etir_record().
Definition at line 854 of file vms-misc.c.
References bfd_put_16, output_buf, and PRIV.
Referenced by _bfd_vms_output_begin(), _bfd_vms_output_flush(), _bfd_vms_write_eom(), _bfd_vms_write_gsd(), and _bfd_vms_write_hdr().
Definition at line 554 of file vms-misc.c.
References _, bfd_error_bad_value, bfd_set_error(), exit(), NULL, PRIV, and stack.
Referenced by etir_ctl(), etir_opr(), etir_sto(), tir_ctl(), tir_opr(), and tir_sto().
Definition at line 525 of file vms-misc.c.
References _, bfd_error_bad_value, bfd_set_error(), exit(), PRIV, stack, and STACKSIZE.
Referenced by etir_opr(), etir_sta(), tir_opr(), and tir_sta().
| char* _bfd_vms_save_counted_string | ( | unsigned char * | ptr | ) |
Definition at line 512 of file vms-misc.c.
References _bfd_vms_save_sized_string(), and len.
Referenced by _bfd_vms_slurp_gsd(), _bfd_vms_slurp_hdr(), etir_sta(), etir_sto(), and tir_sta().
| char* _bfd_vms_save_sized_string | ( | unsigned char * | str, | |
| int | size | |||
| ) |
Definition at line 494 of file vms-misc.c.
References bfd_malloc(), NULL, and strncpy().
Referenced by _bfd_vms_save_counted_string(), and _bfd_vms_slurp_hdr().
| static vms_section* add_new_contents | ( | bfd * | abfd, | |
| sec_ptr | section | |||
| ) | [static] |
Definition at line 588 of file vms-misc.c.
References bfd_alloc(), _vms_section::contents, bfd_section::index, newptr, _vms_section::next, NULL, _vms_section::offset, PRIV, _vms_section::size, and bfd_section::size.
Referenced by _bfd_save_vms_section().
| static int hash_string | ( | char * | ptr | ) | const [static] |
Definition at line 972 of file vms-misc.c.
References c, end, p, and strlen().
Referenced by _bfd_vms_length_hash_symbol().
Definition at line 1060 of file vms-misc.c.
References bfd_make_empty_symbol, bfd_make_section(), BFD_UND_SECTION_NAME, bfd_symbol::name, and bfd_symbol::section.
Referenced by _bfd_vms_enter_symbol(), get_symbol(), scalar_rename(), and Simd_Vectorize_Load_And_Equilvalent().
| static int hash_string PARAMS | ( | (const char *) | ) | [static] |
Definition at line 635 of file mips-tfile.c.
| static vms_section* add_new_contents PARAMS | ( | (bfd *, sec_ptr) | ) | [static] |
1.5.6