Ignore:
Timestamp:
Aug 16, 2003, 6:59:22 PM (22 years ago)
Author:
bird
Message:

binutils v2.14 - offical sources.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/GNU/src/binutils/ld/ld.h

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.1.1.2
    r608 r609  
    11/* 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
    33   Free Software Foundation, Inc.
    44
     
    7171  const char *name;
    7272  struct name_list *exclude_name_list;
    73   boolean sorted;
     73  bfd_boolean sorted;
     74};
     75
     76struct wildcard_list {
     77  struct wildcard_list *next;
     78  struct wildcard_spec spec;
    7479};
    7580
     
    8792#define QUAD_SIZE       (8)
    8893
    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 
    9794typedef struct {
    9895  /* 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;
    101101
    102102  /* Name of runtime interpreter to invoke.  */
     
    116116  enum { ENDIAN_UNSET = 0, ENDIAN_BIG, ENDIAN_LITTLE } endian;
    117117
    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
    123119     file.  */
    124   boolean embedded_relocs;
    125 
    126   /* If true, force generation of a file with a .exe file.  */
    127   boolean force_exe_suffix;
    128 
    129   /* If true, generate a cross reference report.  */
    130   boolean cref;
    131 
    132   /* If true (which is the default), warn about mismatched input
     120  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
    133129     files.  */
    134   boolean warn_mismatch;
     130  bfd_boolean warn_mismatch;
    135131
    136132  /* Remove unreferenced sections?  */
    137   boolean gc_sections;
     133  bfd_boolean gc_sections;
    138134
    139135  /* Name of shared object whose symbol table should be filtered with
     
    149145  char *version_exports_section;
    150146
    151   /* If true (the default) check section addresses, once compute,
     147  /* If TRUE (the default) check section addresses, once compute,
    152148     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;
    154156
    155157} args_type;
     
    161163typedef struct {
    162164  bfd_size_type specified_data_size;
    163   boolean magic_demand_paged;
    164   boolean make_executable;
    165 
    166   /* If true, doing a dynamic link.  */
    167   boolean 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.  */
    170172  /* ??? A better way to do this is perhaps to define this in the
    171173     ld_emulation_xfer_struct since this is really a target dependent
    172174     parameter.  */
    173   boolean has_shared;
    174 
    175   /* If true, build constructors.  */
    176   boolean build_constructors;
    177 
    178   /* If true, warn about any constructors.  */
    179   boolean warn_constructors;
    180 
    181   /* If true, warn about merging common symbols with others.  */
    182   boolean warn_common;
    183 
    184   /* If true, only warn once about a particular undefined symbol.  */
    185   boolean warn_once;
    186 
    187   /* If true, warn if multiple global-pointers are needed (Alpha
     175  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
    188190     only).  */
    189   boolean warn_multiple_gp;
    190 
    191   /* If true, warn if the starting address of an output section
     191  bfd_boolean warn_multiple_gp;
     192
     193  /* If TRUE, warn if the starting address of an output section
    192194     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;
    198203
    199204  char *map_filename;
    200205  FILE *map_file;
    201206
    202   boolean stats;
     207  bfd_boolean stats;
    203208
    204209  /* If set, orphan input sections will be mapped to separate output
    205210     sections.  */
    206   boolean unique_orphan_sections;
     211  bfd_boolean unique_orphan_sections;
    207212
    208213  unsigned int split_by_reloc;
    209214  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;
    210219} ld_config_type;
    211220
     
    218227} lang_phase_type;
    219228
    220 extern boolean had_script;
    221 extern boolean force_make_executable;
     229extern FILE * saved_script_handle;
     230extern bfd_boolean force_make_executable;
    222231
    223232/* Non-zero if we are processing a --defsym from the command line.  */
Note: See TracChangeset for help on using the changeset viewer.