Changeset 609 for branches/GNU/src/binutils/ld/ld.h
- Timestamp:
- Aug 16, 2003, 6:59:22 PM (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/GNU/src/binutils/ld/ld.h
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.1.1.2
r608 r609 1 1 /* ld.h -- general linker header file 2 Copyright 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000 2 Copyright 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2002 3 3 Free Software Foundation, Inc. 4 4 … … 71 71 const char *name; 72 72 struct name_list *exclude_name_list; 73 boolean sorted; 73 bfd_boolean sorted; 74 }; 75 76 struct wildcard_list { 77 struct wildcard_list *next; 78 struct wildcard_spec spec; 74 79 }; 75 80 … … 87 92 #define QUAD_SIZE (8) 88 93 89 /* ALIGN macro changed to ALIGN_N to avoid */90 /* conflict in /usr/include/machine/machparam.h */91 /* WARNING: If THIS is a 64 bit address and BOUNDARY is a 32 bit int,92 you must coerce boundary to the same type as THIS.93 ??? Is there a portable way to avoid this. */94 #define ALIGN_N(this, boundary) \95 ((( (this) + ((boundary) -1)) & (~((boundary)-1))))96 97 94 typedef struct { 98 95 /* 1 => assign space to common symbols even if `relocatable_output'. */ 99 boolean force_common_definition; 100 boolean relax; 96 bfd_boolean force_common_definition; 97 98 /* 1 => do not assign addresses to common symbols. */ 99 bfd_boolean inhibit_common_definition; 100 bfd_boolean relax; 101 101 102 102 /* Name of runtime interpreter to invoke. */ … … 116 116 enum { ENDIAN_UNSET = 0, ENDIAN_BIG, ENDIAN_LITTLE } endian; 117 117 118 /* If true, export all symbols in the dynamic symbol table of an ELF 119 executable. */ 120 boolean export_dynamic; 121 122 /* If true, build MIPS embedded PIC relocation tables in the output 118 /* If TRUE, build MIPS embedded PIC relocation tables in the output 123 119 file. */ 124 b oolean embedded_relocs;125 126 /* If true, force generation of a file with a .exe file. */127 b oolean force_exe_suffix;128 129 /* If true, generate a cross reference report. */130 b oolean cref;131 132 /* If true(which is the default), warn about mismatched input120 bfd_boolean embedded_relocs; 121 122 /* If TRUE, force generation of a file with a .exe file. */ 123 bfd_boolean force_exe_suffix; 124 125 /* If TRUE, generate a cross reference report. */ 126 bfd_boolean cref; 127 128 /* If TRUE (which is the default), warn about mismatched input 133 129 files. */ 134 b oolean warn_mismatch;130 bfd_boolean warn_mismatch; 135 131 136 132 /* Remove unreferenced sections? */ 137 b oolean gc_sections;133 bfd_boolean gc_sections; 138 134 139 135 /* Name of shared object whose symbol table should be filtered with … … 149 145 char *version_exports_section; 150 146 151 /* If true(the default) check section addresses, once compute,147 /* If TRUE (the default) check section addresses, once compute, 152 148 fpor overlaps. */ 153 boolean check_section_addresses; 149 bfd_boolean check_section_addresses; 150 151 /* If TRUE allow the linking of input files in an unknown architecture 152 assuming that the user knows what they are doing. This was the old 153 behaviour of the linker. The new default behaviour is to reject such 154 input files. */ 155 bfd_boolean accept_unknown_input_arch; 154 156 155 157 } args_type; … … 161 163 typedef struct { 162 164 bfd_size_type specified_data_size; 163 b oolean magic_demand_paged;164 b oolean make_executable;165 166 /* If true, doing a dynamic link. */167 b oolean dynamic_link;168 169 /* If true, -shared is supported. */165 bfd_boolean magic_demand_paged; 166 bfd_boolean make_executable; 167 168 /* If TRUE, doing a dynamic link. */ 169 bfd_boolean dynamic_link; 170 171 /* If TRUE, -shared is supported. */ 170 172 /* ??? A better way to do this is perhaps to define this in the 171 173 ld_emulation_xfer_struct since this is really a target dependent 172 174 parameter. */ 173 b oolean has_shared;174 175 /* If true, build constructors. */176 b oolean build_constructors;177 178 /* If true, warn about any constructors. */179 b oolean warn_constructors;180 181 /* If true, warn about merging common symbols with others. */182 b oolean warn_common;183 184 /* If true, only warn once about a particular undefined symbol. */185 b oolean warn_once;186 187 /* If true, warn if multiple global-pointers are needed (Alpha175 bfd_boolean has_shared; 176 177 /* If TRUE, build constructors. */ 178 bfd_boolean build_constructors; 179 180 /* If TRUE, warn about any constructors. */ 181 bfd_boolean warn_constructors; 182 183 /* If TRUE, warn about merging common symbols with others. */ 184 bfd_boolean warn_common; 185 186 /* If TRUE, only warn once about a particular undefined symbol. */ 187 bfd_boolean warn_once; 188 189 /* If TRUE, warn if multiple global-pointers are needed (Alpha 188 190 only). */ 189 b oolean warn_multiple_gp;190 191 /* If true, warn if the starting address of an output section191 bfd_boolean warn_multiple_gp; 192 193 /* If TRUE, warn if the starting address of an output section 192 194 changes due to the alignment of an input section. */ 193 boolean warn_section_align; 194 195 boolean sort_common; 196 197 boolean text_read_only; 195 bfd_boolean warn_section_align; 196 197 /* If TRUE, warning messages are fatal */ 198 bfd_boolean fatal_warnings; 199 200 bfd_boolean sort_common; 201 202 bfd_boolean text_read_only; 198 203 199 204 char *map_filename; 200 205 FILE *map_file; 201 206 202 b oolean stats;207 bfd_boolean stats; 203 208 204 209 /* If set, orphan input sections will be mapped to separate output 205 210 sections. */ 206 b oolean unique_orphan_sections;211 bfd_boolean unique_orphan_sections; 207 212 208 213 unsigned int split_by_reloc; 209 214 bfd_size_type split_by_file; 215 216 /* If set, only search library directories explicitly selected 217 on the command line. */ 218 bfd_boolean only_cmd_line_lib_dirs; 210 219 } ld_config_type; 211 220 … … 218 227 } lang_phase_type; 219 228 220 extern boolean had_script;221 extern b oolean force_make_executable;229 extern FILE * saved_script_handle; 230 extern bfd_boolean force_make_executable; 222 231 223 232 /* Non-zero if we are processing a --defsym from the command line. */ -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.