static void addSectionSymbol( owl_section_handle section, const char *name ) { //**************************************************************************** section->sym = OWLSymbolInit( section->file, name ); OWLSymbolDefine( section->file->symbol_table, section->sym, section, 0, OWL_TYPE_SECTION, OWL_SYM_GLOBAL ); section->sym->x.section = section; }
void OWLENTRY OWLFileSymbol( owl_file_handle file, const char *name ) { //********************************************************************* owl_symbol_handle sym; assert( name != NULL ); sym = OWLSymbolInit( file, name ); OWLSymbolDefine( file->symbol_table, sym, NULL, 0, OWL_TYPE_FILE, OWL_SYM_GLOBAL ); sym->x.file = file; }
extern sym_obj_hdl ObjSymbolInit( char *name ) { //********************************************** // Called by the symbol table routines to create and destroy the label name // handles return( OWLSymbolInit( OwlFile, name ) ); }