Changeset 609 for branches/GNU/src/binutils/ld/deffile.h
- Timestamp:
- Aug 16, 2003, 6:59:22 PM (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/GNU/src/binutils/ld/deffile.h
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.1.1.2
r608 r609 1 1 /* deffile.h - header for .DEF file parser 2 Copyright 1998, 1999, 2000 Free Software Foundation, Inc.2 Copyright 1998, 1999, 2000, 2002, 2003 Free Software Foundation, Inc. 3 3 Written by DJ Delorie dj@cygnus.com 4 4 … … 53 53 char *name; /* may be NULL; either this or ordinal will be set */ 54 54 int ordinal; /* may be -1 */ 55 int data; /* = 1 if data */ 55 56 } def_file_import; 56 57 57 58 typedef struct def_file { 58 /* from the NAME or LIBRARY command*/59 /* From the NAME or LIBRARY command. */ 59 60 char *name; 60 61 int is_dll; /* -1 if NAME/LIBRARY not given */ 61 62 bfd_vma base_address; /* (bfd_vma)(-1) if unspecified */ 62 63 63 /* from the DESCRIPTION command*/64 /* From the DESCRIPTION command. */ 64 65 char *description; 65 66 66 /* from the STACK/HEAP command, -1 if unspecified*/67 /* From the STACK/HEAP command, -1 if unspecified. */ 67 68 int stack_reserve, stack_commit; 68 69 int heap_reserve, heap_commit; 69 70 70 /* from the SECTION/SEGMENT commands*/71 /* From the SECTION/SEGMENT commands. */ 71 72 int num_section_defs; 72 73 def_file_section *section_defs; 73 74 74 /* from the EXPORTS commands*/75 /* From the EXPORTS commands. */ 75 76 int num_exports; 76 77 def_file_export *exports; 77 78 78 /* used by imports for module names*/79 /* Used by imports for module names. */ 79 80 def_file_module *modules; 80 81 81 /* from the IMPORTS commands*/82 /* From the IMPORTS commands. */ 82 83 int num_imports; 83 84 def_file_import *imports; 84 85 85 /* from the VERSION command, -1 if not specified*/86 /* From the VERSION command, -1 if not specified. */ 86 87 int version_major, version_minor; 87 88 } def_file; … … 89 90 extern def_file *def_file_empty PARAMS ((void)); 90 91 91 /* add_to may be NULL. If not, this .def is appended to it */ 92 extern def_file *def_file_parse PARAMS ((const char *_filename, 93 def_file * _add_to)); 94 95 extern void def_file_free PARAMS ((def_file * _def)); 96 97 extern def_file_export *def_file_add_export PARAMS ((def_file * _def, 98 const char *_name, 99 const char *_internal_name, 100 int _ordinal)); 101 102 extern def_file_import *def_file_add_import PARAMS ((def_file * _def, 103 const char *_name, 104 const char *_from, 105 int _ordinal, 106 const char *_imported_name)); 107 108 extern void def_file_add_directive PARAMS ((def_file * _def, 109 const char *param, 110 int len)); 111 92 /* The second arg may be NULL. If not, this .def is appended to it. */ 93 extern def_file * def_file_parse 94 PARAMS ((const char *, def_file *)); 95 extern void def_file_free 96 PARAMS ((def_file *)); 97 extern def_file_export * def_file_add_export 98 PARAMS ((def_file *, const char *, const char *, int)); 99 extern def_file_import * def_file_add_import 100 PARAMS ((def_file *, const char *, const char *, int, const char *)); 101 extern void def_file_add_directive 102 PARAMS ((def_file *, const char *, int)); 103 extern def_file_module *def_get_module 104 PARAMS ((def_file *, const char *)); 112 105 #ifdef DEF_FILE_PRINT 113 extern void def_file_print PARAMS ((FILE * _file, def_file * _def)); 106 extern void def_file_print 107 PARAMS ((FILE *, def_file *)); 114 108 #endif 115 109 -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.