Back to index

cell-binutils  2.17cvs20070401
Classes | Defines | Typedefs | Enumerations | Variables
objcopy.c File Reference
#include "bfd.h"
#include "progress.h"
#include "bucomm.h"
#include "getopt.h"
#include "libiberty.h"
#include "budbg.h"
#include "filenames.h"
#include "fnmatch.h"
#include "elf-bfd.h"
#include <sys/stat.h>
#include "libbfd.h"

Go to the source code of this file.

Classes

struct  symlist
struct  redefine_node
struct  section_rename

Defines

#define RETURN_NONFATAL(s)   {bfd_nonfatal (s); status = 1; return;}
#define PARSE_FLAG(fname, fval)   else if (strncasecmp (fname, s, len) == 0) ret |= fval
#define IS_WHITESPACE(c)   ((c) == ' ' || (c) == '\t')
#define IS_LINE_TERMINATOR(c)   ((c) == '\n' || (c) == '\r' || (c) == '\0')

Typedefs

typedef struct section_rename section_rename

Enumerations

enum  strip_action {
  STRIP_UNDEF, STRIP_NONE, STRIP_DEBUG, STRIP_UNNEEDED,
  STRIP_NONDEBUG, STRIP_ALL
}

Variables

static section_renamesection_rename_list
static asymbol ** isympp = NULL
static asymbol ** osympp = NULL
static int copy_byte = -1
static int interleave = 4
static bfd_boolean verbose
static bfd_boolean preserve_dates
static int status = 0

Class Documentation

struct symlist

Definition at line 40 of file objcopy.c.

Collaboration diagram for symlist:
Class Members
const char * name
struct symlist * next
struct redefine_node

Definition at line 47 of file objcopy.c.

Collaboration diagram for redefine_node:
Class Members
struct redefine_node * next
char * source
char * target
struct section_rename

Definition at line 54 of file objcopy.c.

Collaboration diagram for section_rename:
Class Members
flagword flags
const char * new_name
struct section_rename * next
const char * old_name

Define Documentation

#define IS_LINE_TERMINATOR (   c)    ((c) == '\n' || (c) == '\r' || (c) == '\0')
#define IS_WHITESPACE (   c)    ((c) == ' ' || (c) == '\t')
#define PARSE_FLAG (   fname,
  fval 
)    else if (strncasecmp (fname, s, len) == 0) ret |= fval
#define RETURN_NONFATAL (   s)    {bfd_nonfatal (s); status = 1; return;}

Definition at line 66 of file objcopy.c.


Typedef Documentation


Enumeration Type Documentation

Enumerator:
STRIP_UNDEF 
STRIP_NONE 
STRIP_DEBUG 
STRIP_UNNEEDED 
STRIP_NONDEBUG 
STRIP_ALL 

Definition at line 79 of file objcopy.c.

  {
    STRIP_UNDEF,
    STRIP_NONE,                    /* Don't strip.  */
    STRIP_DEBUG,            /* Strip all debugger symbols.  */
    STRIP_UNNEEDED,         /* Strip unnecessary symbols.  */
    STRIP_NONDEBUG,         /* Strip everything but debug info.  */
    STRIP_ALL               /* Strip all symbols.  */
  };

Variable Documentation

int copy_byte = -1 [static]

Definition at line 72 of file objcopy.c.

int interleave = 4 [static]

Definition at line 73 of file objcopy.c.

asymbol** isympp = NULL [static]

Definition at line 68 of file objcopy.c.

asymbol** osympp = NULL [static]

Definition at line 69 of file objcopy.c.

Definition at line 76 of file objcopy.c.

Definition at line 64 of file objcopy.c.

int status = 0 [static]

Definition at line 77 of file objcopy.c.

bfd_boolean verbose [static]

Definition at line 75 of file objcopy.c.