Back to index

cell-binutils  2.17cvs20070401
Classes | Defines | Typedefs | Enumerations | Functions | Variables
ld.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


struct  name_list
struct  wildcard_spec
struct  wildcard_list
struct  map_symbol_def
struct  fat_user_section_struct
struct  args_type
struct  ld_config_type


#define SEEK_CUR   1
#define SEEK_END   2
#define gettext(Msgid)   (Msgid)
#define dgettext(Domainname, Msgid)   (Msgid)
#define dcgettext(Domainname, Msgid, Category)   (Msgid)
#define textdomain(Domainname)   while (0) /* nothing */
#define bindtextdomain(Domainname, Dirname)   while (0) /* nothing */
#define _(String)   (String)
#define N_(String)   (String)
#define get_userdata(x)   ((x)->userdata)
#define BYTE_SIZE   (1)
#define SHORT_SIZE   (2)
#define LONG_SIZE   (4)
#define QUAD_SIZE   (8)
#define abort()   ld_abort (__FILE__, __LINE__, __PRETTY_FUNCTION__)


typedef struct name_list name_list
typedef struct
typedef int token_code_type


enum  sort_type {
  none, by_name, by_alignment, by_name_alignment,


char * alloca ()
int yyparse (void)
void add_cref (const char *, bfd *, asection *, bfd_vma)
bfd_boolean handle_asneeded_cref (bfd *, enum notice_asneeded_action)
void output_cref (FILE *)
void check_nocrossrefs (void)
void ld_abort (const char *, int, const char *) ATTRIBUTE_NORETURN


sort_type sort_section
args_type command_line
ld_config_type config
FILE * saved_script_handle
bfd_boolean force_make_executable
int parsing_defsym

Class Documentation

struct name_list

Definition at line 96 of file ld.h.

Collaboration diagram for name_list:
Class Members
const char * name
struct name_list * next
struct wildcard_spec

Definition at line 110 of file ld.h.

Collaboration diagram for wildcard_spec:
Class Members
struct name_list * exclude_name_list
const char * name
sort_type sorted
struct wildcard_list

Definition at line 116 of file ld.h.

Collaboration diagram for wildcard_list:
Class Members
struct wildcard_list * next
struct map_symbol_def

Definition at line 121 of file ld.h.

Collaboration diagram for map_symbol_def:
Class Members
struct bfd_link_hash_entry * entry
struct map_symbol_def * next
struct fat_user_section_struct

Definition at line 128 of file ld.h.

Collaboration diagram for fat_user_section_struct:
Class Members
struct map_symbol_def * map_symbol_def_head
struct map_symbol_def ** map_symbol_def_tail
struct ld_config_type

Definition at line 227 of file ld.h.

Class Members
bfd_boolean build_constructors
bfd_vma commonpagesize
bfd_boolean dynamic_link
bfd_boolean fatal_warnings
bfd_boolean has_shared
bfd_size_type hash_table_size
bfd_boolean magic_demand_paged
bfd_boolean make_executable
FILE * map_file
char * map_filename
bfd_vma maxpagesize
bfd_boolean only_cmd_line_lib_dirs
char rpath_separator
bfd_boolean sort_common
bfd_size_type specified_data_size
bfd_size_type split_by_file
unsigned int split_by_reloc
bfd_boolean stats
bfd_boolean text_read_only
bfd_boolean unique_orphan_sections
bfd_boolean warn_common
bfd_boolean warn_constructors
bfd_boolean warn_multiple_gp
bfd_boolean warn_once
bfd_boolean warn_section_align

Define Documentation

#define _ (   String)    (String)

Definition at line 80 of file ld.h.


Definition at line 314 of file ld.h.

#define abort (   void)    ld_abort (__FILE__, __LINE__, __PRETTY_FUNCTION__)

Definition at line 318 of file ld.h.

#define bindtextdomain (   Domainname,
)    while (0) /* nothing */

Definition at line 79 of file ld.h.

#define BYTE_SIZE   (1)

Definition at line 137 of file ld.h.

#define dcgettext (   Domainname,
)    (Msgid)

Definition at line 77 of file ld.h.

#define dgettext (   Domainname,
)    (Msgid)

Definition at line 76 of file ld.h.


Definition at line 93 of file ld.h.


Definition at line 85 of file ld.h.

#define get_userdata (   x)    ((x)->userdata)

Definition at line 135 of file ld.h.

#define gettext (   Msgid)    (Msgid)

Definition at line 75 of file ld.h.

#define LONG_SIZE   (4)

Definition at line 139 of file ld.h.

#define N_ (   String)    (String)

Definition at line 81 of file ld.h.

#define QUAD_SIZE   (8)

Definition at line 140 of file ld.h.

#define SEEK_CUR   1

Definition at line 29 of file ld.h.

#define SEEK_END   2

Definition at line 32 of file ld.h.

#define SHORT_SIZE   (2)

Definition at line 138 of file ld.h.


Definition at line 89 of file ld.h.

#define textdomain (   Domainname)    while (0) /* nothing */

Definition at line 78 of file ld.h.

Typedef Documentation

Definition at line 225 of file ld.h.

Enumeration Type Documentation

enum sort_type

Definition at line 104 of file ld.h.

Function Documentation

void add_cref ( const char *  ,
bfd ,
asection ,

Here is the caller graph for this function:

char* alloca ( )
void check_nocrossrefs ( void  )

Definition at line 459 of file ldcref.c.

Here is the call graph for this function:

Here is the caller graph for this function:

bfd_boolean handle_asneeded_cref ( bfd ,
enum  notice_asneeded_action 

Here is the caller graph for this function:

void ld_abort ( const char *  ,
int  ,
const char *   

Definition at line 550 of file ldmisc.c.

  if (fn != NULL)
    einfo (_("%P: internal error: aborting at %s line %d in %s\n"),
          file, line, fn);
    einfo (_("%P: internal error: aborting at %s line %d\n"),
          file, line);
  einfo (_("%P%F: please report this bug\n"));
  xexit (1);

Here is the call graph for this function:

void output_cref ( FILE *  )

Definition at line 352 of file ldcref.c.

  int len;
  struct cref_hash_entry **csyms, **csym_fill, **csym, **csym_end;
  const char *msg;

  fprintf (fp, _("\nCross Reference Table\n\n"));
  msg = _("Symbol");
  fprintf (fp, "%s", msg);
  len = strlen (msg);
  while (len < FILECOL)
      putc (' ', fp);
  fprintf (fp, _("File\n"));

  if (! cref_initialized)
      fprintf (fp, _("No symbols\n"));

  csyms = xmalloc (cref_symcount * sizeof (*csyms));

  csym_fill = csyms;
  cref_hash_traverse (&cref_table, cref_fill_array, &csym_fill);
  ASSERT ((size_t) (csym_fill - csyms) == cref_symcount);

  qsort (csyms, cref_symcount, sizeof (*csyms), cref_sort_array);

  csym_end = csyms + cref_symcount;
  for (csym = csyms; csym < csym_end; csym++)
    output_one_cref (fp, *csym);

Here is the call graph for this function:

Here is the caller graph for this function:

int yyparse ( void  )

Variable Documentation

Definition at line 107 of file ldmain.c.

Definition at line 109 of file ldmain.c.

Definition at line 64 of file lexsup.c.

Definition at line 111 of file ldmain.c.