[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[BUG REPORT] 3.4.0 internal compiler error: Segmentation fault
- To: arm-gcc@xxxxxxxxxxxxxxxx
- Subject: [BUG REPORT] 3.4.0 internal compiler error: Segmentation fault
- From: Catalin Marinas <catalin.marinas@xxxxxxx>
- Date: Wed, 04 Feb 2004 12:22:48 +0000
Hello,
I got this error while trying to build gdb-6.0. The build command, the
error and the preprocessed C file are attached. The error appears with
both the gcc provided on your website (i686-pc-linux-gnu-2003-q4.tar.gz)
and my own gcc-3.4.0 (built from your sources for an arm-linux-elf
target) on a Debian Linux box.
It works if using -O instead of -O2 (so I have a workaround for the moment).
Thanks,
Catalin
--
Catalin Marinas
Software Engineer - IP Products Division
ARM Ltd - 110 Fulbourn Road, Cambridge, CB1 9NJ, UK
Tel: +44 1223 400583, Fax: +44 1223 400410
This e-mail message is intended for the addressee(s) only and may
contain information that is the property of, and/or subject to a
confidentiality agreement between the intended recipient(s), their
organisation and/or the ARM Group of Companies. If you are not an
intended recipient of this e-mail message, you should not read, copy,
forward or otherwise distribute or further disclose the information in
it; misuse of the contents of this e-mail message may violate various
laws in your state, country or jurisdiction. If you have received this
e-mail message in error, please contact the originator of this e-mail
message via e-mail and delete all copies of this message from your
computer or network, thank you.
/usr/local/arm/gnu/release-2003-q4/bin/arm-none-elf-gcc -W -Wall -Wstrict-prototypes -Wmissing-prototypes -g -O2 -c tekhex.c -o tekhex.o
/work/AEL/ARM_Embedded_Linux-1.0/package-sources/gdb-6.0/./bfd/tekhex.c: In function `writesym':
/work/AEL/ARM_Embedded_Linux-1.0/package-sources/gdb-6.0/./bfd/tekhex.c:772: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
Send email to arm-gcc@xxxxxxxxxxxxxxxx for instructions.
# 1 "<built-in>"
# 1 "<command line>"
# 1 "/work/AEL/ARM_Embedded_Linux-1.0/package-sources/gdb-6.0/./bfd/tekhex.c"
# 70 "/work/AEL/ARM_Embedded_Linux-1.0/package-sources/gdb-6.0/./bfd/tekhex.c"
# 1 "./bfd.h" 1
# 38 "./bfd.h"
# 1 "/work/AEL/ARM_Embedded_Linux-1.0/package-sources/gdb-6.0/./bfd/../include/ansidecl.h" 1
# 39 "./bfd.h" 2
# 1 "/work/AEL/ARM_Embedded_Linux-1.0/package-sources/gdb-6.0/./bfd/../include/symcat.h" 1
# 40 "./bfd.h" 2
# 79 "./bfd.h"
typedef struct bfd bfd;
# 90 "./bfd.h"
typedef int bfd_boolean;
# 154 "./bfd.h"
typedef unsigned long bfd_vma;
typedef long bfd_signed_vma;
typedef unsigned long symvalue;
typedef unsigned long bfd_size_type;
# 179 "./bfd.h"
typedef bfd_signed_vma file_ptr;
typedef bfd_vma ufile_ptr;
extern void bfd_sprintf_vma
(bfd *, char *, bfd_vma);
extern void bfd_fprintf_vma
(bfd *, void *, bfd_vma);
typedef unsigned int flagword;
typedef unsigned char bfd_byte;
typedef enum bfd_format
{
bfd_unknown = 0,
bfd_object,
bfd_archive,
bfd_core,
bfd_type_end
}
bfd_format;
# 268 "./bfd.h"
typedef unsigned long symindex;
typedef const struct reloc_howto_struct reloc_howto_type;
# 290 "./bfd.h"
typedef struct carsym
{
char *name;
file_ptr file_offset;
}
carsym;
struct orl
{
char **name;
union
{
file_ptr pos;
bfd *abfd;
} u;
int namidx;
};
typedef struct lineno_cache_entry
{
unsigned int line_number;
union
{
struct symbol_cache_entry *sym;
bfd_vma offset;
} u;
}
alent;
typedef struct sec *sec_ptr;
# 347 "./bfd.h"
typedef struct stat stat_type;
typedef enum bfd_print_symbol
{
bfd_print_symbol_name,
bfd_print_symbol_more,
bfd_print_symbol_all
} bfd_print_symbol_type;
typedef struct _symbol_info
{
symvalue value;
char type;
const char *name;
unsigned char stab_type;
char stab_other;
short stab_desc;
const char *stab_name;
} symbol_info;
extern const char *bfd_get_stab_name
(int);
struct bfd_hash_entry
{
struct bfd_hash_entry *next;
const char *string;
unsigned long hash;
};
struct bfd_hash_table
{
struct bfd_hash_entry **table;
unsigned int size;
struct bfd_hash_entry *(*newfunc)
(struct bfd_hash_entry *, struct bfd_hash_table *, const char *);
void * memory;
};
extern bfd_boolean bfd_hash_table_init
(struct bfd_hash_table *, struct bfd_hash_entry *(*) (struct bfd_hash_entry *, struct bfd_hash_table *, const char *));
extern bfd_boolean bfd_hash_table_init_n
(struct bfd_hash_table *, struct bfd_hash_entry *(*) (struct bfd_hash_entry *, struct bfd_hash_table *, const char *), unsigned int size);
extern void bfd_hash_table_free
(struct bfd_hash_table *);
extern struct bfd_hash_entry *bfd_hash_lookup
(struct bfd_hash_table *, const char *, bfd_boolean create, bfd_boolean copy);
extern void bfd_hash_replace
(struct bfd_hash_table *, struct bfd_hash_entry *old, struct bfd_hash_entry *nw);
extern struct bfd_hash_entry *bfd_hash_newfunc
(struct bfd_hash_entry *, struct bfd_hash_table *, const char *);
extern void * bfd_hash_allocate
(struct bfd_hash_table *, unsigned int);
extern void bfd_hash_traverse
(struct bfd_hash_table *, bfd_boolean (*) (struct bfd_hash_entry *, void *), void * info);
# 468 "./bfd.h"
extern bfd_size_type bfd_bread
(void *, bfd_size_type, bfd *);
extern bfd_size_type bfd_bwrite
(const void *, bfd_size_type, bfd *);
extern int bfd_seek
(bfd *, file_ptr, int);
extern ufile_ptr bfd_tell
(bfd *);
extern int bfd_flush
(bfd *);
extern int bfd_stat
(bfd *, struct stat *);
# 497 "./bfd.h"
extern void warn_deprecated
(const char *, const char *, int, const char *);
# 536 "./bfd.h"
extern bfd_boolean bfd_cache_close
(bfd *abfd);
extern bfd_boolean bfd_record_phdr
(bfd *, unsigned long, bfd_boolean, flagword, bfd_boolean, bfd_vma, bfd_boolean, bfd_boolean, unsigned int, struct sec **);
bfd_vma bfd_getb64
(const unsigned char *);
bfd_vma bfd_getl64
(const unsigned char *);
bfd_signed_vma bfd_getb_signed_64
(const unsigned char *);
bfd_signed_vma bfd_getl_signed_64
(const unsigned char *);
bfd_vma bfd_getb32
(const unsigned char *);
bfd_vma bfd_getl32
(const unsigned char *);
bfd_signed_vma bfd_getb_signed_32
(const unsigned char *);
bfd_signed_vma bfd_getl_signed_32
(const unsigned char *);
bfd_vma bfd_getb16
(const unsigned char *);
bfd_vma bfd_getl16
(const unsigned char *);
bfd_signed_vma bfd_getb_signed_16
(const unsigned char *);
bfd_signed_vma bfd_getl_signed_16
(const unsigned char *);
void bfd_putb64
(bfd_vma, unsigned char *);
void bfd_putl64
(bfd_vma, unsigned char *);
void bfd_putb32
(bfd_vma, unsigned char *);
void bfd_putl32
(bfd_vma, unsigned char *);
void bfd_putb16
(bfd_vma, unsigned char *);
void bfd_putl16
(bfd_vma, unsigned char *);
bfd_vma bfd_get_bits
(bfd_byte *, int, bfd_boolean);
void bfd_put_bits
(bfd_vma, bfd_byte *, int, bfd_boolean);
struct ecoff_debug_info;
struct ecoff_debug_swap;
struct ecoff_extr;
struct symbol_cache_entry;
struct bfd_link_info;
struct bfd_link_hash_entry;
struct bfd_elf_version_tree;
extern bfd_vma bfd_ecoff_get_gp_value
(bfd * abfd);
extern bfd_boolean bfd_ecoff_set_gp_value
(bfd *abfd, bfd_vma gp_value);
extern bfd_boolean bfd_ecoff_set_regmasks
(bfd *abfd, unsigned long gprmask, unsigned long fprmask, unsigned long *cprmask);
extern void * bfd_ecoff_debug_init
(bfd *output_bfd, struct ecoff_debug_info *output_debug, const struct ecoff_debug_swap *output_swap, struct bfd_link_info *);
extern void bfd_ecoff_debug_free
(void * handle, bfd *output_bfd, struct ecoff_debug_info *output_debug, const struct ecoff_debug_swap *output_swap, struct bfd_link_info *);
extern bfd_boolean bfd_ecoff_debug_accumulate
(void * handle, bfd *output_bfd, struct ecoff_debug_info *output_debug, const struct ecoff_debug_swap *output_swap, bfd *input_bfd, struct ecoff_debug_info *input_debug, const struct ecoff_debug_swap *input_swap, struct bfd_link_info *);
extern bfd_boolean bfd_ecoff_debug_accumulate_other
(void * handle, bfd *output_bfd, struct ecoff_debug_info *output_debug, const struct ecoff_debug_swap *output_swap, bfd *input_bfd, struct bfd_link_info *);
extern bfd_boolean bfd_ecoff_debug_externals
(bfd *abfd, struct ecoff_debug_info *debug, const struct ecoff_debug_swap *swap, bfd_boolean relocateable, bfd_boolean (*get_extr) (struct symbol_cache_entry *, struct ecoff_extr *), void (*set_index) (struct symbol_cache_entry *, bfd_size_type));
extern bfd_boolean bfd_ecoff_debug_one_external
(bfd *abfd, struct ecoff_debug_info *debug, const struct ecoff_debug_swap *swap, const char *name, struct ecoff_extr *esym);
extern bfd_size_type bfd_ecoff_debug_size
(bfd *abfd, struct ecoff_debug_info *debug, const struct ecoff_debug_swap *swap);
extern bfd_boolean bfd_ecoff_write_debug
(bfd *abfd, struct ecoff_debug_info *debug, const struct ecoff_debug_swap *swap, file_ptr where);
extern bfd_boolean bfd_ecoff_write_accumulated_debug
(void * handle, bfd *abfd, struct ecoff_debug_info *debug, const struct ecoff_debug_swap *swap, struct bfd_link_info *info, file_ptr where);
extern bfd_boolean bfd_mips_ecoff_create_embedded_relocs
(bfd *, struct bfd_link_info *, struct sec *, struct sec *, char **);
struct bfd_link_needed_list
{
struct bfd_link_needed_list *next;
bfd *by;
const char *name;
};
extern bfd_boolean bfd_elf_record_link_assignment
(bfd *, struct bfd_link_info *, const char *, bfd_boolean);
extern struct bfd_link_needed_list *bfd_elf_get_needed_list
(bfd *, struct bfd_link_info *);
extern bfd_boolean bfd_elf_get_bfd_needed_list
(bfd *, struct bfd_link_needed_list **);
extern bfd_boolean bfd_elf32_size_dynamic_sections
(bfd *, const char *, const char *, const char *, const char * const *, struct bfd_link_info *, struct sec **, struct bfd_elf_version_tree *);
extern bfd_boolean bfd_elf64_size_dynamic_sections
(bfd *, const char *, const char *, const char *, const char * const *, struct bfd_link_info *, struct sec **, struct bfd_elf_version_tree *);
extern void bfd_elf_set_dt_needed_name
(bfd *, const char *);
extern void bfd_elf_set_dt_needed_soname
(bfd *, const char *);
extern const char *bfd_elf_get_dt_soname
(bfd *);
extern struct bfd_link_needed_list *bfd_elf_get_runpath_list
(bfd *, struct bfd_link_info *);
extern bfd_boolean bfd_elf32_discard_info
(bfd *, struct bfd_link_info *);
extern bfd_boolean bfd_elf64_discard_info
(bfd *, struct bfd_link_info *);
extern long bfd_get_elf_phdr_upper_bound
(bfd *abfd);
# 701 "./bfd.h"
extern int bfd_get_elf_phdrs
(bfd *abfd, void *phdrs);
# 716 "./bfd.h"
extern bfd *bfd_elf_bfd_from_remote_memory
(bfd *templ, bfd_vma ehdr_vma, bfd_vma *loadbasep, int (*target_read_memory) (bfd_vma vma, char *myaddr, int len));
extern int bfd_get_arch_size
(bfd *);
extern int bfd_get_sign_extend_vma
(bfd *);
extern bfd_boolean bfd_m68k_elf32_create_embedded_relocs
(bfd *, struct bfd_link_info *, struct sec *, struct sec *, char **);
extern bfd_boolean bfd_mips_elf32_create_embedded_relocs
(bfd *, struct bfd_link_info *, struct sec *, struct sec *, char **);
extern struct bfd_link_needed_list *bfd_sunos_get_needed_list
(bfd *, struct bfd_link_info *);
extern bfd_boolean bfd_sunos_record_link_assignment
(bfd *, struct bfd_link_info *, const char *);
extern bfd_boolean bfd_sunos_size_dynamic_sections
(bfd *, struct bfd_link_info *, struct sec **, struct sec **, struct sec **);
extern bfd_boolean bfd_i386linux_size_dynamic_sections
(bfd *, struct bfd_link_info *);
extern bfd_boolean bfd_m68klinux_size_dynamic_sections
(bfd *, struct bfd_link_info *);
extern bfd_boolean bfd_sparclinux_size_dynamic_sections
(bfd *, struct bfd_link_info *);
struct _bfd_window_internal;
typedef struct _bfd_window_internal bfd_window_internal;
typedef struct _bfd_window
{
void * data;
bfd_size_type size;
struct _bfd_window_internal *i;
}
bfd_window;
extern void bfd_init_window
(bfd_window *);
extern void bfd_free_window
(bfd_window *);
extern bfd_boolean bfd_get_file_window
(bfd *, file_ptr, bfd_size_type, bfd_window *, bfd_boolean);
extern bfd_boolean bfd_xcoff_link_record_set
(bfd *, struct bfd_link_info *, struct bfd_link_hash_entry *, bfd_size_type);
extern bfd_boolean bfd_xcoff_import_symbol
(bfd *, struct bfd_link_info *, struct bfd_link_hash_entry *, bfd_vma, const char *, const char *, const char *, unsigned int);
extern bfd_boolean bfd_xcoff_export_symbol
(bfd *, struct bfd_link_info *, struct bfd_link_hash_entry *);
extern bfd_boolean bfd_xcoff_link_count_reloc
(bfd *, struct bfd_link_info *, const char *);
extern bfd_boolean bfd_xcoff_record_link_assignment
(bfd *, struct bfd_link_info *, const char *);
extern bfd_boolean bfd_xcoff_size_dynamic_sections
(bfd *, struct bfd_link_info *, const char *, const char *, unsigned long, unsigned long, unsigned long, bfd_boolean, int, bfd_boolean, bfd_boolean, struct sec **, bfd_boolean);
extern bfd_boolean bfd_xcoff_link_generate_rtinit
(bfd *, const char *, const char *, bfd_boolean);
extern bfd_boolean bfd_xcoff_ar_archive_set_magic
(bfd *, char *);
struct internal_syment;
union internal_auxent;
extern bfd_boolean bfd_coff_get_syment
(bfd *, struct symbol_cache_entry *, struct internal_syment *);
extern bfd_boolean bfd_coff_get_auxent
(bfd *, struct symbol_cache_entry *, int, union internal_auxent *);
extern bfd_boolean bfd_coff_set_symbol_class
(bfd *, struct symbol_cache_entry *, unsigned int);
extern bfd_boolean bfd_m68k_coff_create_embedded_relocs
(bfd *, struct bfd_link_info *, struct sec *, struct sec *, char **);
extern bfd_boolean bfd_arm_allocate_interworking_sections
(struct bfd_link_info *);
extern bfd_boolean bfd_arm_process_before_allocation
(bfd *, struct bfd_link_info *, int);
extern bfd_boolean bfd_arm_get_bfd_for_interworking
(bfd *, struct bfd_link_info *);
extern bfd_boolean bfd_arm_pe_allocate_interworking_sections
(struct bfd_link_info *);
extern bfd_boolean bfd_arm_pe_process_before_allocation
(bfd *, struct bfd_link_info *, int);
extern bfd_boolean bfd_arm_pe_get_bfd_for_interworking
(bfd *, struct bfd_link_info *);
extern bfd_boolean bfd_elf32_arm_allocate_interworking_sections
(struct bfd_link_info *);
extern bfd_boolean bfd_elf32_arm_process_before_allocation
(bfd *, struct bfd_link_info *, int);
extern bfd_boolean bfd_elf32_arm_get_bfd_for_interworking
(bfd *, struct bfd_link_info *);
extern bfd_boolean bfd_elf32_arm_add_glue_sections_to_bfd
(bfd *, struct bfd_link_info *);
extern bfd_boolean bfd_arm_merge_machines
(bfd *, bfd *);
extern bfd_boolean bfd_arm_update_notes
(bfd *, const char *);
extern unsigned int bfd_arm_get_mach_from_notes
(bfd *, const char *);
extern void bfd_ticoff_set_section_load_page
(struct sec *, int);
extern int bfd_ticoff_get_section_load_page
(struct sec *);
void
bfd_init (void);
bfd *
bfd_openr (const char *filename, const char *target);
bfd *
bfd_fdopenr (const char *filename, const char *target, int fd);
bfd *
bfd_openstreamr (const char *, const char *, void *);
bfd *
bfd_openw (const char *filename, const char *target);
bfd_boolean
bfd_close (bfd *abfd);
bfd_boolean
bfd_close_all_done (bfd *);
bfd *
bfd_create (const char *filename, bfd *templ);
bfd_boolean
bfd_make_writable (bfd *abfd);
bfd_boolean
bfd_make_readable (bfd *abfd);
unsigned long
bfd_calc_gnu_debuglink_crc32 (unsigned long crc, const unsigned char *buf, bfd_size_type len);
char *
bfd_follow_gnu_debuglink (bfd *abfd, const char *dir);
bfd_boolean
bfd_add_gnu_debuglink (bfd * abfd, const char * filename);
# 1059 "./bfd.h"
long
bfd_get_mtime (bfd *abfd);
long
bfd_get_size (bfd *abfd);
# 1072 "./bfd.h"
struct bfd_comdat_info
{
const char *name;
long symbol;
};
typedef struct sec
{
const char *name;
int id;
int index;
struct sec *next;
flagword flags;
# 1280 "./bfd.h"
unsigned int user_set_vma : 1;
unsigned int reloc_done : 1;
unsigned int linker_mark : 1;
unsigned int linker_has_input : 1;
unsigned int gc_mark : 1;
unsigned int segment_mark : 1;
unsigned int sec_info_type:3;
unsigned int use_rela_p:1;
unsigned int has_tls_reloc:1;
unsigned int need_finalize_relax:1;
unsigned int has_gp_reloc:1;
unsigned int flag13:1;
unsigned int flag14:1;
unsigned int flag15:1;
unsigned int flag16:4;
unsigned int flag20:4;
unsigned int flag24:8;
# 1336 "./bfd.h"
bfd_vma vma;
bfd_vma lma;
bfd_size_type _cooked_size;
bfd_size_type _raw_size;
# 1360 "./bfd.h"
bfd_vma output_offset;
struct sec *output_section;
unsigned int alignment_power;
struct reloc_cache_entry *relocation;
struct reloc_cache_entry **orelocation;
unsigned reloc_count;
file_ptr filepos;
file_ptr rel_filepos;
file_ptr line_filepos;
void * userdata;
unsigned char *contents;
alent *lineno;
unsigned int lineno_count;
unsigned int entsize;
struct bfd_comdat_info *comdat;
struct sec *kept_section;
file_ptr moving_line_filepos;
int target_index;
void * used_by_bfd;
struct relent_chain *constructor_chain;
bfd *owner;
struct symbol_cache_entry *symbol;
struct symbol_cache_entry **symbol_ptr_ptr;
struct bfd_link_order *link_order_head;
struct bfd_link_order *link_order_tail;
} asection;
# 1450 "./bfd.h"
extern const asection bfd_abs_section;
extern const asection bfd_und_section;
extern const asection bfd_com_section;
extern const asection bfd_ind_section;
# 1471 "./bfd.h"
extern const struct symbol_cache_entry * const bfd_abs_symbol;
extern const struct symbol_cache_entry * const bfd_com_symbol;
extern const struct symbol_cache_entry * const bfd_und_symbol;
extern const struct symbol_cache_entry * const bfd_ind_symbol;
# 1507 "./bfd.h"
void
bfd_section_list_clear (bfd *);
asection *
bfd_get_section_by_name (bfd *abfd, const char *name);
char *
bfd_get_unique_section_name (bfd *abfd, const char *templat, int *count);
asection *
bfd_make_section_old_way (bfd *abfd, const char *name);
asection *
bfd_make_section_anyway (bfd *abfd, const char *name);
asection *
bfd_make_section (bfd *, const char *name);
bfd_boolean
bfd_set_section_flags (bfd *abfd, asection *sec, flagword flags);
void
bfd_map_over_sections (bfd *abfd, void (*func) (bfd *abfd, asection *sect, void * obj), void * obj);
bfd_boolean
bfd_set_section_size (bfd *abfd, asection *sec, bfd_size_type val);
bfd_boolean
bfd_set_section_contents (bfd *abfd, asection *section, void * data, file_ptr offset, bfd_size_type count);
bfd_boolean
bfd_get_section_contents (bfd *abfd, asection *section, void * location, file_ptr offset, bfd_size_type count);
bfd_boolean
bfd_copy_private_section_data (bfd *ibfd, asection *isec, bfd *obfd, asection *osec);
void
_bfd_strip_section_from_output (struct bfd_link_info *info, asection *section);
bfd_boolean
bfd_generic_discard_group (bfd *abfd, asection *group);
enum bfd_architecture
{
bfd_arch_unknown,
bfd_arch_obscure,
bfd_arch_m68k,
# 1581 "./bfd.h"
bfd_arch_vax,
bfd_arch_i960,
# 1600 "./bfd.h"
bfd_arch_or32,
bfd_arch_a29k,
bfd_arch_sparc,
# 1619 "./bfd.h"
bfd_arch_mips,
# 1644 "./bfd.h"
bfd_arch_i386,
bfd_arch_we32k,
bfd_arch_tahoe,
bfd_arch_i860,
bfd_arch_i370,
bfd_arch_romp,
bfd_arch_alliant,
bfd_arch_convex,
bfd_arch_m88k,
bfd_arch_m98k,
bfd_arch_pyramid,
bfd_arch_h8300,
bfd_arch_pdp11,
bfd_arch_powerpc,
# 1689 "./bfd.h"
bfd_arch_rs6000,
bfd_arch_hppa,
bfd_arch_d10v,
bfd_arch_d30v,
bfd_arch_dlx,
bfd_arch_m68hc11,
bfd_arch_m68hc12,
bfd_arch_z8k,
bfd_arch_h8500,
bfd_arch_sh,
# 1720 "./bfd.h"
bfd_arch_alpha,
bfd_arch_arm,
# 1738 "./bfd.h"
bfd_arch_ns32k,
bfd_arch_w65,
bfd_arch_tic30,
bfd_arch_tic4x,
bfd_arch_tic54x,
bfd_arch_tic80,
bfd_arch_v850,
bfd_arch_arc,
bfd_arch_m32r,
bfd_arch_mn10200,
bfd_arch_mn10300,
bfd_arch_fr30,
bfd_arch_frv,
bfd_arch_mcore,
bfd_arch_ia64,
bfd_arch_ip2k,
bfd_arch_iq2000,
bfd_arch_pj,
bfd_arch_avr,
bfd_arch_cris,
bfd_arch_s390,
bfd_arch_openrisc,
bfd_arch_mmix,
bfd_arch_xstormy16,
bfd_arch_msp430,
# 1809 "./bfd.h"
bfd_arch_xtensa,
bfd_arch_last
};
typedef struct bfd_arch_info
{
int bits_per_word;
int bits_per_address;
int bits_per_byte;
enum bfd_architecture arch;
unsigned long mach;
const char *arch_name;
const char *printable_name;
unsigned int section_align_power;
bfd_boolean the_default;
const struct bfd_arch_info * (*compatible)
(const struct bfd_arch_info *a, const struct bfd_arch_info *b);
bfd_boolean (*scan) (const struct bfd_arch_info *, const char *);
const struct bfd_arch_info *next;
}
bfd_arch_info_type;
const char *
bfd_printable_name (bfd *abfd);
const bfd_arch_info_type *
bfd_scan_arch (const char *string);
const char **
bfd_arch_list (void);
const bfd_arch_info_type *
bfd_arch_get_compatible ( const bfd *abfd, const bfd *bbfd, bfd_boolean accept_unknowns);
void
bfd_set_arch_info (bfd *abfd, const bfd_arch_info_type *arg);
enum bfd_architecture
bfd_get_arch (bfd *abfd);
unsigned long
bfd_get_mach (bfd *abfd);
unsigned int
bfd_arch_bits_per_byte (bfd *abfd);
unsigned int
bfd_arch_bits_per_address (bfd *abfd);
const bfd_arch_info_type *
bfd_get_arch_info (bfd *abfd);
const bfd_arch_info_type *
bfd_lookup_arch (enum bfd_architecture arch, unsigned long machine);
const char *
bfd_printable_arch_mach (enum bfd_architecture arch, unsigned long machine);
unsigned int
bfd_octets_per_byte (bfd *abfd);
unsigned int
bfd_arch_mach_octets_per_byte (enum bfd_architecture arch, unsigned long machine);
typedef enum bfd_reloc_status
{
bfd_reloc_ok,
bfd_reloc_overflow,
bfd_reloc_outofrange,
bfd_reloc_continue,
bfd_reloc_notsupported,
bfd_reloc_other,
bfd_reloc_undefined,
bfd_reloc_dangerous
}
bfd_reloc_status_type;
typedef struct reloc_cache_entry
{
struct symbol_cache_entry **sym_ptr_ptr;
bfd_size_type address;
bfd_vma addend;
reloc_howto_type *howto;
}
arelent;
enum complain_overflow
{
complain_overflow_dont,
complain_overflow_bitfield,
complain_overflow_signed,
complain_overflow_unsigned
};
struct reloc_howto_struct
{
unsigned int type;
unsigned int rightshift;
int size;
unsigned int bitsize;
bfd_boolean pc_relative;
unsigned int bitpos;
enum complain_overflow complain_on_overflow;
bfd_reloc_status_type (*special_function)
(bfd *, arelent *, struct symbol_cache_entry *, void *, asection *, bfd *, char **);
char *name;
# 2017 "./bfd.h"
bfd_boolean partial_inplace;
# 2027 "./bfd.h"
bfd_vma src_mask;
bfd_vma dst_mask;
bfd_boolean pcrel_offset;
};
# 2067 "./bfd.h"
unsigned int
bfd_get_reloc_size (reloc_howto_type *);
typedef struct relent_chain
{
arelent relent;
struct relent_chain *next;
}
arelent_chain;
bfd_reloc_status_type
bfd_check_overflow (enum complain_overflow how, unsigned int bitsize, unsigned int rightshift, unsigned int addrsize, bfd_vma relocation);
bfd_reloc_status_type
bfd_perform_relocation (bfd *abfd, arelent *reloc_entry, void * data, asection *input_section, bfd *output_bfd, char **error_message);
bfd_reloc_status_type
bfd_install_relocation (bfd *abfd, arelent *reloc_entry, void * data, bfd_vma data_start, asection *input_section, char **error_message);
enum bfd_reloc_code_real {
_dummy_first_bfd_reloc_code_real,
BFD_RELOC_64,
BFD_RELOC_32,
BFD_RELOC_26,
BFD_RELOC_24,
BFD_RELOC_16,
BFD_RELOC_14,
BFD_RELOC_8,
BFD_RELOC_64_PCREL,
BFD_RELOC_32_PCREL,
BFD_RELOC_24_PCREL,
BFD_RELOC_16_PCREL,
BFD_RELOC_12_PCREL,
BFD_RELOC_8_PCREL,
BFD_RELOC_32_GOT_PCREL,
BFD_RELOC_16_GOT_PCREL,
BFD_RELOC_8_GOT_PCREL,
BFD_RELOC_32_GOTOFF,
BFD_RELOC_16_GOTOFF,
BFD_RELOC_LO16_GOTOFF,
BFD_RELOC_HI16_GOTOFF,
BFD_RELOC_HI16_S_GOTOFF,
BFD_RELOC_8_GOTOFF,
BFD_RELOC_64_PLT_PCREL,
BFD_RELOC_32_PLT_PCREL,
BFD_RELOC_24_PLT_PCREL,
BFD_RELOC_16_PLT_PCREL,
BFD_RELOC_8_PLT_PCREL,
BFD_RELOC_64_PLTOFF,
BFD_RELOC_32_PLTOFF,
BFD_RELOC_16_PLTOFF,
BFD_RELOC_LO16_PLTOFF,
BFD_RELOC_HI16_PLTOFF,
BFD_RELOC_HI16_S_PLTOFF,
BFD_RELOC_8_PLTOFF,
BFD_RELOC_68K_GLOB_DAT,
BFD_RELOC_68K_JMP_SLOT,
BFD_RELOC_68K_RELATIVE,
BFD_RELOC_32_BASEREL,
BFD_RELOC_16_BASEREL,
BFD_RELOC_LO16_BASEREL,
BFD_RELOC_HI16_BASEREL,
BFD_RELOC_HI16_S_BASEREL,
BFD_RELOC_8_BASEREL,
BFD_RELOC_RVA,
BFD_RELOC_8_FFnn,
BFD_RELOC_32_PCREL_S2,
BFD_RELOC_16_PCREL_S2,
BFD_RELOC_23_PCREL_S2,
BFD_RELOC_HI22,
BFD_RELOC_LO10,
BFD_RELOC_GPREL16,
BFD_RELOC_GPREL32,
BFD_RELOC_I960_CALLJ,
BFD_RELOC_NONE,
BFD_RELOC_SPARC_WDISP22,
BFD_RELOC_SPARC22,
BFD_RELOC_SPARC13,
BFD_RELOC_SPARC_GOT10,
BFD_RELOC_SPARC_GOT13,
BFD_RELOC_SPARC_GOT22,
BFD_RELOC_SPARC_PC10,
BFD_RELOC_SPARC_PC22,
BFD_RELOC_SPARC_WPLT30,
BFD_RELOC_SPARC_COPY,
BFD_RELOC_SPARC_GLOB_DAT,
BFD_RELOC_SPARC_JMP_SLOT,
BFD_RELOC_SPARC_RELATIVE,
BFD_RELOC_SPARC_UA16,
BFD_RELOC_SPARC_UA32,
BFD_RELOC_SPARC_UA64,
BFD_RELOC_SPARC_BASE13,
BFD_RELOC_SPARC_BASE22,
BFD_RELOC_SPARC_10,
BFD_RELOC_SPARC_11,
BFD_RELOC_SPARC_OLO10,
BFD_RELOC_SPARC_HH22,
BFD_RELOC_SPARC_HM10,
BFD_RELOC_SPARC_LM22,
BFD_RELOC_SPARC_PC_HH22,
BFD_RELOC_SPARC_PC_HM10,
BFD_RELOC_SPARC_PC_LM22,
BFD_RELOC_SPARC_WDISP16,
BFD_RELOC_SPARC_WDISP19,
BFD_RELOC_SPARC_7,
BFD_RELOC_SPARC_6,
BFD_RELOC_SPARC_5,
BFD_RELOC_SPARC_PLT32,
BFD_RELOC_SPARC_PLT64,
BFD_RELOC_SPARC_HIX22,
BFD_RELOC_SPARC_LOX10,
BFD_RELOC_SPARC_H44,
BFD_RELOC_SPARC_M44,
BFD_RELOC_SPARC_L44,
BFD_RELOC_SPARC_REGISTER,
BFD_RELOC_SPARC_REV32,
BFD_RELOC_SPARC_TLS_GD_HI22,
BFD_RELOC_SPARC_TLS_GD_LO10,
BFD_RELOC_SPARC_TLS_GD_ADD,
BFD_RELOC_SPARC_TLS_GD_CALL,
BFD_RELOC_SPARC_TLS_LDM_HI22,
BFD_RELOC_SPARC_TLS_LDM_LO10,
BFD_RELOC_SPARC_TLS_LDM_ADD,
BFD_RELOC_SPARC_TLS_LDM_CALL,
BFD_RELOC_SPARC_TLS_LDO_HIX22,
BFD_RELOC_SPARC_TLS_LDO_LOX10,
BFD_RELOC_SPARC_TLS_LDO_ADD,
BFD_RELOC_SPARC_TLS_IE_HI22,
BFD_RELOC_SPARC_TLS_IE_LO10,
BFD_RELOC_SPARC_TLS_IE_LD,
BFD_RELOC_SPARC_TLS_IE_LDX,
BFD_RELOC_SPARC_TLS_IE_ADD,
BFD_RELOC_SPARC_TLS_LE_HIX22,
BFD_RELOC_SPARC_TLS_LE_LOX10,
BFD_RELOC_SPARC_TLS_DTPMOD32,
BFD_RELOC_SPARC_TLS_DTPMOD64,
BFD_RELOC_SPARC_TLS_DTPOFF32,
BFD_RELOC_SPARC_TLS_DTPOFF64,
BFD_RELOC_SPARC_TLS_TPOFF32,
BFD_RELOC_SPARC_TLS_TPOFF64,
BFD_RELOC_ALPHA_GPDISP_HI16,
BFD_RELOC_ALPHA_GPDISP_LO16,
BFD_RELOC_ALPHA_GPDISP,
# 2310 "./bfd.h"
BFD_RELOC_ALPHA_LITERAL,
BFD_RELOC_ALPHA_ELF_LITERAL,
BFD_RELOC_ALPHA_LITUSE,
BFD_RELOC_ALPHA_HINT,
BFD_RELOC_ALPHA_LINKAGE,
BFD_RELOC_ALPHA_CODEADDR,
BFD_RELOC_ALPHA_GPREL_HI16,
BFD_RELOC_ALPHA_GPREL_LO16,
BFD_RELOC_ALPHA_BRSGP,
BFD_RELOC_ALPHA_TLSGD,
BFD_RELOC_ALPHA_TLSLDM,
BFD_RELOC_ALPHA_DTPMOD64,
BFD_RELOC_ALPHA_GOTDTPREL16,
BFD_RELOC_ALPHA_DTPREL64,
BFD_RELOC_ALPHA_DTPREL_HI16,
BFD_RELOC_ALPHA_DTPREL_LO16,
BFD_RELOC_ALPHA_DTPREL16,
BFD_RELOC_ALPHA_GOTTPREL16,
BFD_RELOC_ALPHA_TPREL64,
BFD_RELOC_ALPHA_TPREL_HI16,
BFD_RELOC_ALPHA_TPREL_LO16,
BFD_RELOC_ALPHA_TPREL16,
BFD_RELOC_MIPS_JMP,
BFD_RELOC_MIPS16_JMP,
BFD_RELOC_MIPS16_GPREL,
BFD_RELOC_HI16,
BFD_RELOC_HI16_S,
BFD_RELOC_LO16,
BFD_RELOC_PCREL_HI16_S,
BFD_RELOC_PCREL_LO16,
BFD_RELOC_MIPS_LITERAL,
BFD_RELOC_MIPS_GOT16,
BFD_RELOC_MIPS_CALL16,
BFD_RELOC_MIPS_GOT_HI16,
BFD_RELOC_MIPS_GOT_LO16,
BFD_RELOC_MIPS_CALL_HI16,
BFD_RELOC_MIPS_CALL_LO16,
BFD_RELOC_MIPS_SUB,
BFD_RELOC_MIPS_GOT_PAGE,
BFD_RELOC_MIPS_GOT_OFST,
BFD_RELOC_MIPS_GOT_DISP,
BFD_RELOC_MIPS_SHIFT5,
BFD_RELOC_MIPS_SHIFT6,
BFD_RELOC_MIPS_INSERT_A,
BFD_RELOC_MIPS_INSERT_B,
BFD_RELOC_MIPS_DELETE,
BFD_RELOC_MIPS_HIGHEST,
BFD_RELOC_MIPS_HIGHER,
BFD_RELOC_MIPS_SCN_DISP,
BFD_RELOC_MIPS_REL16,
BFD_RELOC_MIPS_RELGOT,
BFD_RELOC_MIPS_JALR,
BFD_RELOC_FRV_LABEL16,
BFD_RELOC_FRV_LABEL24,
BFD_RELOC_FRV_LO16,
BFD_RELOC_FRV_HI16,
BFD_RELOC_FRV_GPREL12,
BFD_RELOC_FRV_GPRELU12,
BFD_RELOC_FRV_GPREL32,
BFD_RELOC_FRV_GPRELHI,
BFD_RELOC_FRV_GPRELLO,
BFD_RELOC_386_GOT32,
BFD_RELOC_386_PLT32,
BFD_RELOC_386_COPY,
BFD_RELOC_386_GLOB_DAT,
BFD_RELOC_386_JUMP_SLOT,
BFD_RELOC_386_RELATIVE,
BFD_RELOC_386_GOTOFF,
BFD_RELOC_386_GOTPC,
BFD_RELOC_386_TLS_TPOFF,
BFD_RELOC_386_TLS_IE,
BFD_RELOC_386_TLS_GOTIE,
BFD_RELOC_386_TLS_LE,
BFD_RELOC_386_TLS_GD,
BFD_RELOC_386_TLS_LDM,
BFD_RELOC_386_TLS_LDO_32,
BFD_RELOC_386_TLS_IE_32,
BFD_RELOC_386_TLS_LE_32,
BFD_RELOC_386_TLS_DTPMOD32,
BFD_RELOC_386_TLS_DTPOFF32,
BFD_RELOC_386_TLS_TPOFF32,
BFD_RELOC_X86_64_GOT32,
BFD_RELOC_X86_64_PLT32,
BFD_RELOC_X86_64_COPY,
BFD_RELOC_X86_64_GLOB_DAT,
BFD_RELOC_X86_64_JUMP_SLOT,
BFD_RELOC_X86_64_RELATIVE,
BFD_RELOC_X86_64_GOTPCREL,
BFD_RELOC_X86_64_32S,
BFD_RELOC_X86_64_DTPMOD64,
BFD_RELOC_X86_64_DTPOFF64,
BFD_RELOC_X86_64_TPOFF64,
BFD_RELOC_X86_64_TLSGD,
BFD_RELOC_X86_64_TLSLD,
BFD_RELOC_X86_64_DTPOFF32,
BFD_RELOC_X86_64_GOTTPOFF,
BFD_RELOC_X86_64_TPOFF32,
BFD_RELOC_NS32K_IMM_8,
BFD_RELOC_NS32K_IMM_16,
BFD_RELOC_NS32K_IMM_32,
BFD_RELOC_NS32K_IMM_8_PCREL,
BFD_RELOC_NS32K_IMM_16_PCREL,
BFD_RELOC_NS32K_IMM_32_PCREL,
BFD_RELOC_NS32K_DISP_8,
BFD_RELOC_NS32K_DISP_16,
BFD_RELOC_NS32K_DISP_32,
BFD_RELOC_NS32K_DISP_8_PCREL,
BFD_RELOC_NS32K_DISP_16_PCREL,
BFD_RELOC_NS32K_DISP_32_PCREL,
BFD_RELOC_PDP11_DISP_8_PCREL,
BFD_RELOC_PDP11_DISP_6_PCREL,
BFD_RELOC_PJ_CODE_HI16,
BFD_RELOC_PJ_CODE_LO16,
BFD_RELOC_PJ_CODE_DIR16,
BFD_RELOC_PJ_CODE_DIR32,
BFD_RELOC_PJ_CODE_REL16,
BFD_RELOC_PJ_CODE_REL32,
BFD_RELOC_PPC_B26,
BFD_RELOC_PPC_BA26,
BFD_RELOC_PPC_TOC16,
BFD_RELOC_PPC_B16,
BFD_RELOC_PPC_B16_BRTAKEN,
BFD_RELOC_PPC_B16_BRNTAKEN,
BFD_RELOC_PPC_BA16,
BFD_RELOC_PPC_BA16_BRTAKEN,
BFD_RELOC_PPC_BA16_BRNTAKEN,
BFD_RELOC_PPC_COPY,
BFD_RELOC_PPC_GLOB_DAT,
BFD_RELOC_PPC_JMP_SLOT,
BFD_RELOC_PPC_RELATIVE,
BFD_RELOC_PPC_LOCAL24PC,
BFD_RELOC_PPC_EMB_NADDR32,
BFD_RELOC_PPC_EMB_NADDR16,
BFD_RELOC_PPC_EMB_NADDR16_LO,
BFD_RELOC_PPC_EMB_NADDR16_HI,
BFD_RELOC_PPC_EMB_NADDR16_HA,
BFD_RELOC_PPC_EMB_SDAI16,
BFD_RELOC_PPC_EMB_SDA2I16,
BFD_RELOC_PPC_EMB_SDA2REL,
BFD_RELOC_PPC_EMB_SDA21,
BFD_RELOC_PPC_EMB_MRKREF,
BFD_RELOC_PPC_EMB_RELSEC16,
BFD_RELOC_PPC_EMB_RELST_LO,
BFD_RELOC_PPC_EMB_RELST_HI,
BFD_RELOC_PPC_EMB_RELST_HA,
BFD_RELOC_PPC_EMB_BIT_FLD,
BFD_RELOC_PPC_EMB_RELSDA,
BFD_RELOC_PPC64_HIGHER,
BFD_RELOC_PPC64_HIGHER_S,
BFD_RELOC_PPC64_HIGHEST,
BFD_RELOC_PPC64_HIGHEST_S,
BFD_RELOC_PPC64_TOC16_LO,
BFD_RELOC_PPC64_TOC16_HI,
BFD_RELOC_PPC64_TOC16_HA,
BFD_RELOC_PPC64_TOC,
BFD_RELOC_PPC64_PLTGOT16,
BFD_RELOC_PPC64_PLTGOT16_LO,
BFD_RELOC_PPC64_PLTGOT16_HI,
BFD_RELOC_PPC64_PLTGOT16_HA,
BFD_RELOC_PPC64_ADDR16_DS,
BFD_RELOC_PPC64_ADDR16_LO_DS,
BFD_RELOC_PPC64_GOT16_DS,
BFD_RELOC_PPC64_GOT16_LO_DS,
BFD_RELOC_PPC64_PLT16_LO_DS,
BFD_RELOC_PPC64_SECTOFF_DS,
BFD_RELOC_PPC64_SECTOFF_LO_DS,
BFD_RELOC_PPC64_TOC16_DS,
BFD_RELOC_PPC64_TOC16_LO_DS,
BFD_RELOC_PPC64_PLTGOT16_DS,
BFD_RELOC_PPC64_PLTGOT16_LO_DS,
BFD_RELOC_PPC_TLS,
BFD_RELOC_PPC_DTPMOD,
BFD_RELOC_PPC_TPREL16,
BFD_RELOC_PPC_TPREL16_LO,
BFD_RELOC_PPC_TPREL16_HI,
BFD_RELOC_PPC_TPREL16_HA,
BFD_RELOC_PPC_TPREL,
BFD_RELOC_PPC_DTPREL16,
BFD_RELOC_PPC_DTPREL16_LO,
BFD_RELOC_PPC_DTPREL16_HI,
BFD_RELOC_PPC_DTPREL16_HA,
BFD_RELOC_PPC_DTPREL,
BFD_RELOC_PPC_GOT_TLSGD16,
BFD_RELOC_PPC_GOT_TLSGD16_LO,
BFD_RELOC_PPC_GOT_TLSGD16_HI,
BFD_RELOC_PPC_GOT_TLSGD16_HA,
BFD_RELOC_PPC_GOT_TLSLD16,
BFD_RELOC_PPC_GOT_TLSLD16_LO,
BFD_RELOC_PPC_GOT_TLSLD16_HI,
BFD_RELOC_PPC_GOT_TLSLD16_HA,
BFD_RELOC_PPC_GOT_TPREL16,
BFD_RELOC_PPC_GOT_TPREL16_LO,
BFD_RELOC_PPC_GOT_TPREL16_HI,
BFD_RELOC_PPC_GOT_TPREL16_HA,
BFD_RELOC_PPC_GOT_DTPREL16,
BFD_RELOC_PPC_GOT_DTPREL16_LO,
BFD_RELOC_PPC_GOT_DTPREL16_HI,
BFD_RELOC_PPC_GOT_DTPREL16_HA,
BFD_RELOC_PPC64_TPREL16_DS,
BFD_RELOC_PPC64_TPREL16_LO_DS,
BFD_RELOC_PPC64_TPREL16_HIGHER,
BFD_RELOC_PPC64_TPREL16_HIGHERA,
BFD_RELOC_PPC64_TPREL16_HIGHEST,
BFD_RELOC_PPC64_TPREL16_HIGHESTA,
BFD_RELOC_PPC64_DTPREL16_DS,
BFD_RELOC_PPC64_DTPREL16_LO_DS,
BFD_RELOC_PPC64_DTPREL16_HIGHER,
BFD_RELOC_PPC64_DTPREL16_HIGHERA,
BFD_RELOC_PPC64_DTPREL16_HIGHEST,
BFD_RELOC_PPC64_DTPREL16_HIGHESTA,
BFD_RELOC_I370_D12,
BFD_RELOC_CTOR,
BFD_RELOC_ARM_PCREL_BRANCH,
BFD_RELOC_ARM_PCREL_BLX,
BFD_RELOC_THUMB_PCREL_BLX,
BFD_RELOC_ARM_IMMEDIATE,
BFD_RELOC_ARM_ADRL_IMMEDIATE,
BFD_RELOC_ARM_OFFSET_IMM,
BFD_RELOC_ARM_SHIFT_IMM,
BFD_RELOC_ARM_SWI,
BFD_RELOC_ARM_MULTI,
BFD_RELOC_ARM_CP_OFF_IMM,
BFD_RELOC_ARM_CP_OFF_IMM_S2,
BFD_RELOC_ARM_ADR_IMM,
BFD_RELOC_ARM_LDR_IMM,
BFD_RELOC_ARM_LITERAL,
BFD_RELOC_ARM_IN_POOL,
BFD_RELOC_ARM_OFFSET_IMM8,
BFD_RELOC_ARM_HWLITERAL,
BFD_RELOC_ARM_THUMB_ADD,
BFD_RELOC_ARM_THUMB_IMM,
BFD_RELOC_ARM_THUMB_SHIFT,
BFD_RELOC_ARM_THUMB_OFFSET,
BFD_RELOC_ARM_GOT12,
BFD_RELOC_ARM_GOT32,
BFD_RELOC_ARM_JUMP_SLOT,
BFD_RELOC_ARM_COPY,
BFD_RELOC_ARM_GLOB_DAT,
BFD_RELOC_ARM_PLT32,
BFD_RELOC_ARM_RELATIVE,
BFD_RELOC_ARM_GOTOFF,
BFD_RELOC_ARM_GOTPC,
BFD_RELOC_SH_PCDISP8BY2,
BFD_RELOC_SH_PCDISP12BY2,
BFD_RELOC_SH_IMM4,
BFD_RELOC_SH_IMM4BY2,
BFD_RELOC_SH_IMM4BY4,
BFD_RELOC_SH_IMM8,
BFD_RELOC_SH_IMM8BY2,
BFD_RELOC_SH_IMM8BY4,
BFD_RELOC_SH_PCRELIMM8BY2,
BFD_RELOC_SH_PCRELIMM8BY4,
BFD_RELOC_SH_SWITCH16,
BFD_RELOC_SH_SWITCH32,
BFD_RELOC_SH_USES,
BFD_RELOC_SH_COUNT,
BFD_RELOC_SH_ALIGN,
BFD_RELOC_SH_CODE,
BFD_RELOC_SH_DATA,
BFD_RELOC_SH_LABEL,
BFD_RELOC_SH_LOOP_START,
BFD_RELOC_SH_LOOP_END,
BFD_RELOC_SH_COPY,
BFD_RELOC_SH_GLOB_DAT,
BFD_RELOC_SH_JMP_SLOT,
BFD_RELOC_SH_RELATIVE,
BFD_RELOC_SH_GOTPC,
BFD_RELOC_SH_GOT_LOW16,
BFD_RELOC_SH_GOT_MEDLOW16,
BFD_RELOC_SH_GOT_MEDHI16,
BFD_RELOC_SH_GOT_HI16,
BFD_RELOC_SH_GOTPLT_LOW16,
BFD_RELOC_SH_GOTPLT_MEDLOW16,
BFD_RELOC_SH_GOTPLT_MEDHI16,
BFD_RELOC_SH_GOTPLT_HI16,
BFD_RELOC_SH_PLT_LOW16,
BFD_RELOC_SH_PLT_MEDLOW16,
BFD_RELOC_SH_PLT_MEDHI16,
BFD_RELOC_SH_PLT_HI16,
BFD_RELOC_SH_GOTOFF_LOW16,
BFD_RELOC_SH_GOTOFF_MEDLOW16,
BFD_RELOC_SH_GOTOFF_MEDHI16,
BFD_RELOC_SH_GOTOFF_HI16,
BFD_RELOC_SH_GOTPC_LOW16,
BFD_RELOC_SH_GOTPC_MEDLOW16,
BFD_RELOC_SH_GOTPC_MEDHI16,
BFD_RELOC_SH_GOTPC_HI16,
BFD_RELOC_SH_COPY64,
BFD_RELOC_SH_GLOB_DAT64,
BFD_RELOC_SH_JMP_SLOT64,
BFD_RELOC_SH_RELATIVE64,
BFD_RELOC_SH_GOT10BY4,
BFD_RELOC_SH_GOT10BY8,
BFD_RELOC_SH_GOTPLT10BY4,
BFD_RELOC_SH_GOTPLT10BY8,
BFD_RELOC_SH_GOTPLT32,
BFD_RELOC_SH_SHMEDIA_CODE,
BFD_RELOC_SH_IMMU5,
BFD_RELOC_SH_IMMS6,
BFD_RELOC_SH_IMMS6BY32,
BFD_RELOC_SH_IMMU6,
BFD_RELOC_SH_IMMS10,
BFD_RELOC_SH_IMMS10BY2,
BFD_RELOC_SH_IMMS10BY4,
BFD_RELOC_SH_IMMS10BY8,
BFD_RELOC_SH_IMMS16,
BFD_RELOC_SH_IMMU16,
BFD_RELOC_SH_IMM_LOW16,
BFD_RELOC_SH_IMM_LOW16_PCREL,
BFD_RELOC_SH_IMM_MEDLOW16,
BFD_RELOC_SH_IMM_MEDLOW16_PCREL,
BFD_RELOC_SH_IMM_MEDHI16,
BFD_RELOC_SH_IMM_MEDHI16_PCREL,
BFD_RELOC_SH_IMM_HI16,
BFD_RELOC_SH_IMM_HI16_PCREL,
BFD_RELOC_SH_PT_16,
BFD_RELOC_SH_TLS_GD_32,
BFD_RELOC_SH_TLS_LD_32,
BFD_RELOC_SH_TLS_LDO_32,
BFD_RELOC_SH_TLS_IE_32,
BFD_RELOC_SH_TLS_LE_32,
BFD_RELOC_SH_TLS_DTPMOD32,
BFD_RELOC_SH_TLS_DTPOFF32,
BFD_RELOC_SH_TLS_TPOFF32,
BFD_RELOC_THUMB_PCREL_BRANCH9,
BFD_RELOC_THUMB_PCREL_BRANCH12,
BFD_RELOC_THUMB_PCREL_BRANCH23,
BFD_RELOC_ARC_B22_PCREL,
BFD_RELOC_ARC_B26,
BFD_RELOC_D10V_10_PCREL_R,
BFD_RELOC_D10V_10_PCREL_L,
BFD_RELOC_D10V_18,
BFD_RELOC_D10V_18_PCREL,
BFD_RELOC_D30V_6,
BFD_RELOC_D30V_9_PCREL,
BFD_RELOC_D30V_9_PCREL_R,
BFD_RELOC_D30V_15,
BFD_RELOC_D30V_15_PCREL,
BFD_RELOC_D30V_15_PCREL_R,
BFD_RELOC_D30V_21,
BFD_RELOC_D30V_21_PCREL,
BFD_RELOC_D30V_21_PCREL_R,
BFD_RELOC_D30V_32,
BFD_RELOC_D30V_32_PCREL,
BFD_RELOC_DLX_HI16_S,
BFD_RELOC_DLX_LO16,
BFD_RELOC_DLX_JMP26,
BFD_RELOC_M32R_24,
BFD_RELOC_M32R_10_PCREL,
BFD_RELOC_M32R_18_PCREL,
BFD_RELOC_M32R_26_PCREL,
BFD_RELOC_M32R_HI16_ULO,
BFD_RELOC_M32R_HI16_SLO,
BFD_RELOC_M32R_LO16,
BFD_RELOC_M32R_SDA16,
BFD_RELOC_V850_9_PCREL,
BFD_RELOC_V850_22_PCREL,
BFD_RELOC_V850_SDA_16_16_OFFSET,
BFD_RELOC_V850_SDA_15_16_OFFSET,
BFD_RELOC_V850_ZDA_16_16_OFFSET,
BFD_RELOC_V850_ZDA_15_16_OFFSET,
BFD_RELOC_V850_TDA_6_8_OFFSET,
BFD_RELOC_V850_TDA_7_8_OFFSET,
BFD_RELOC_V850_TDA_7_7_OFFSET,
BFD_RELOC_V850_TDA_16_16_OFFSET,
BFD_RELOC_V850_TDA_4_5_OFFSET,
BFD_RELOC_V850_TDA_4_4_OFFSET,
BFD_RELOC_V850_SDA_16_16_SPLIT_OFFSET,
BFD_RELOC_V850_ZDA_16_16_SPLIT_OFFSET,
BFD_RELOC_V850_CALLT_6_7_OFFSET,
BFD_RELOC_V850_CALLT_16_16_OFFSET,
BFD_RELOC_V850_LONGCALL,
BFD_RELOC_V850_LONGJUMP,
BFD_RELOC_V850_ALIGN,
BFD_RELOC_MN10300_32_PCREL,
BFD_RELOC_MN10300_16_PCREL,
BFD_RELOC_TIC30_LDP,
BFD_RELOC_TIC54X_PARTLS7,
BFD_RELOC_TIC54X_PARTMS9,
BFD_RELOC_TIC54X_23,
BFD_RELOC_TIC54X_16_OF_23,
BFD_RELOC_TIC54X_MS7_OF_23,
BFD_RELOC_FR30_48,
BFD_RELOC_FR30_20,
BFD_RELOC_FR30_6_IN_4,
BFD_RELOC_FR30_8_IN_8,
BFD_RELOC_FR30_9_IN_8,
BFD_RELOC_FR30_10_IN_8,
BFD_RELOC_FR30_9_PCREL,
BFD_RELOC_FR30_12_PCREL,
BFD_RELOC_MCORE_PCREL_IMM8BY4,
BFD_RELOC_MCORE_PCREL_IMM11BY2,
BFD_RELOC_MCORE_PCREL_IMM4BY2,
BFD_RELOC_MCORE_PCREL_32,
BFD_RELOC_MCORE_PCREL_JSR_IMM11BY2,
BFD_RELOC_MCORE_RVA,
BFD_RELOC_MMIX_GETA,
BFD_RELOC_MMIX_GETA_1,
BFD_RELOC_MMIX_GETA_2,
BFD_RELOC_MMIX_GETA_3,
BFD_RELOC_MMIX_CBRANCH,
BFD_RELOC_MMIX_CBRANCH_J,
BFD_RELOC_MMIX_CBRANCH_1,
BFD_RELOC_MMIX_CBRANCH_2,
BFD_RELOC_MMIX_CBRANCH_3,
BFD_RELOC_MMIX_PUSHJ,
BFD_RELOC_MMIX_PUSHJ_1,
BFD_RELOC_MMIX_PUSHJ_2,
BFD_RELOC_MMIX_PUSHJ_3,
BFD_RELOC_MMIX_JMP,
BFD_RELOC_MMIX_JMP_1,
BFD_RELOC_MMIX_JMP_2,
BFD_RELOC_MMIX_JMP_3,
BFD_RELOC_MMIX_ADDR19,
BFD_RELOC_MMIX_ADDR27,
BFD_RELOC_MMIX_REG_OR_BYTE,
BFD_RELOC_MMIX_REG,
BFD_RELOC_MMIX_BASE_PLUS_OFFSET,
BFD_RELOC_MMIX_LOCAL,
BFD_RELOC_AVR_7_PCREL,
BFD_RELOC_AVR_13_PCREL,
BFD_RELOC_AVR_16_PM,
BFD_RELOC_AVR_LO8_LDI,
BFD_RELOC_AVR_HI8_LDI,
BFD_RELOC_AVR_HH8_LDI,
BFD_RELOC_AVR_LO8_LDI_NEG,
BFD_RELOC_AVR_HI8_LDI_NEG,
BFD_RELOC_AVR_HH8_LDI_NEG,
BFD_RELOC_AVR_LO8_LDI_PM,
BFD_RELOC_AVR_HI8_LDI_PM,
BFD_RELOC_AVR_HH8_LDI_PM,
BFD_RELOC_AVR_LO8_LDI_PM_NEG,
BFD_RELOC_AVR_HI8_LDI_PM_NEG,
BFD_RELOC_AVR_HH8_LDI_PM_NEG,
BFD_RELOC_AVR_CALL,
BFD_RELOC_390_12,
BFD_RELOC_390_GOT12,
BFD_RELOC_390_PLT32,
BFD_RELOC_390_COPY,
BFD_RELOC_390_GLOB_DAT,
BFD_RELOC_390_JMP_SLOT,
BFD_RELOC_390_RELATIVE,
BFD_RELOC_390_GOTPC,
BFD_RELOC_390_GOT16,
BFD_RELOC_390_PC16DBL,
BFD_RELOC_390_PLT16DBL,
BFD_RELOC_390_PC32DBL,
BFD_RELOC_390_PLT32DBL,
BFD_RELOC_390_GOTPCDBL,
BFD_RELOC_390_GOT64,
BFD_RELOC_390_PLT64,
BFD_RELOC_390_GOTENT,
BFD_RELOC_390_GOTOFF64,
BFD_RELOC_390_GOTPLT12,
BFD_RELOC_390_GOTPLT16,
BFD_RELOC_390_GOTPLT32,
BFD_RELOC_390_GOTPLT64,
BFD_RELOC_390_GOTPLTENT,
BFD_RELOC_390_PLTOFF16,
BFD_RELOC_390_PLTOFF32,
BFD_RELOC_390_PLTOFF64,
BFD_RELOC_390_TLS_LOAD,
BFD_RELOC_390_TLS_GDCALL,
BFD_RELOC_390_TLS_LDCALL,
BFD_RELOC_390_TLS_GD32,
BFD_RELOC_390_TLS_GD64,
BFD_RELOC_390_TLS_GOTIE12,
BFD_RELOC_390_TLS_GOTIE32,
BFD_RELOC_390_TLS_GOTIE64,
BFD_RELOC_390_TLS_LDM32,
BFD_RELOC_390_TLS_LDM64,
BFD_RELOC_390_TLS_IE32,
BFD_RELOC_390_TLS_IE64,
BFD_RELOC_390_TLS_IEENT,
BFD_RELOC_390_TLS_LE32,
BFD_RELOC_390_TLS_LE64,
BFD_RELOC_390_TLS_LDO32,
BFD_RELOC_390_TLS_LDO64,
BFD_RELOC_390_TLS_DTPMOD,
BFD_RELOC_390_TLS_DTPOFF,
BFD_RELOC_390_TLS_TPOFF,
BFD_RELOC_IP2K_FR9,
BFD_RELOC_IP2K_BANK,
BFD_RELOC_IP2K_ADDR16CJP,
BFD_RELOC_IP2K_PAGE3,
BFD_RELOC_IP2K_LO8DATA,
BFD_RELOC_IP2K_HI8DATA,
BFD_RELOC_IP2K_EX8DATA,
BFD_RELOC_IP2K_LO8INSN,
BFD_RELOC_IP2K_HI8INSN,
BFD_RELOC_IP2K_PC_SKIP,
BFD_RELOC_IP2K_TEXT,
BFD_RELOC_IP2K_FR_OFFSET,
BFD_RELOC_VPE4KMATH_DATA,
BFD_RELOC_VPE4KMATH_INSN,
# 3245 "./bfd.h"
BFD_RELOC_VTABLE_INHERIT,
BFD_RELOC_VTABLE_ENTRY,
BFD_RELOC_IA64_IMM14,
BFD_RELOC_IA64_IMM22,
BFD_RELOC_IA64_IMM64,
BFD_RELOC_IA64_DIR32MSB,
BFD_RELOC_IA64_DIR32LSB,
BFD_RELOC_IA64_DIR64MSB,
BFD_RELOC_IA64_DIR64LSB,
BFD_RELOC_IA64_GPREL22,
BFD_RELOC_IA64_GPREL64I,
BFD_RELOC_IA64_GPREL32MSB,
BFD_RELOC_IA64_GPREL32LSB,
BFD_RELOC_IA64_GPREL64MSB,
BFD_RELOC_IA64_GPREL64LSB,
BFD_RELOC_IA64_LTOFF22,
BFD_RELOC_IA64_LTOFF64I,
BFD_RELOC_IA64_PLTOFF22,
BFD_RELOC_IA64_PLTOFF64I,
BFD_RELOC_IA64_PLTOFF64MSB,
BFD_RELOC_IA64_PLTOFF64LSB,
BFD_RELOC_IA64_FPTR64I,
BFD_RELOC_IA64_FPTR32MSB,
BFD_RELOC_IA64_FPTR32LSB,
BFD_RELOC_IA64_FPTR64MSB,
BFD_RELOC_IA64_FPTR64LSB,
BFD_RELOC_IA64_PCREL21B,
BFD_RELOC_IA64_PCREL21BI,
BFD_RELOC_IA64_PCREL21M,
BFD_RELOC_IA64_PCREL21F,
BFD_RELOC_IA64_PCREL22,
BFD_RELOC_IA64_PCREL60B,
BFD_RELOC_IA64_PCREL64I,
BFD_RELOC_IA64_PCREL32MSB,
BFD_RELOC_IA64_PCREL32LSB,
BFD_RELOC_IA64_PCREL64MSB,
BFD_RELOC_IA64_PCREL64LSB,
BFD_RELOC_IA64_LTOFF_FPTR22,
BFD_RELOC_IA64_LTOFF_FPTR64I,
BFD_RELOC_IA64_LTOFF_FPTR32MSB,
BFD_RELOC_IA64_LTOFF_FPTR32LSB,
BFD_RELOC_IA64_LTOFF_FPTR64MSB,
BFD_RELOC_IA64_LTOFF_FPTR64LSB,
BFD_RELOC_IA64_SEGREL32MSB,
BFD_RELOC_IA64_SEGREL32LSB,
BFD_RELOC_IA64_SEGREL64MSB,
BFD_RELOC_IA64_SEGREL64LSB,
BFD_RELOC_IA64_SECREL32MSB,
BFD_RELOC_IA64_SECREL32LSB,
BFD_RELOC_IA64_SECREL64MSB,
BFD_RELOC_IA64_SECREL64LSB,
BFD_RELOC_IA64_REL32MSB,
BFD_RELOC_IA64_REL32LSB,
BFD_RELOC_IA64_REL64MSB,
BFD_RELOC_IA64_REL64LSB,
BFD_RELOC_IA64_LTV32MSB,
BFD_RELOC_IA64_LTV32LSB,
BFD_RELOC_IA64_LTV64MSB,
BFD_RELOC_IA64_LTV64LSB,
BFD_RELOC_IA64_IPLTMSB,
BFD_RELOC_IA64_IPLTLSB,
BFD_RELOC_IA64_COPY,
BFD_RELOC_IA64_LTOFF22X,
BFD_RELOC_IA64_LDXMOV,
BFD_RELOC_IA64_TPREL14,
BFD_RELOC_IA64_TPREL22,
BFD_RELOC_IA64_TPREL64I,
BFD_RELOC_IA64_TPREL64MSB,
BFD_RELOC_IA64_TPREL64LSB,
BFD_RELOC_IA64_LTOFF_TPREL22,
BFD_RELOC_IA64_DTPMOD64MSB,
BFD_RELOC_IA64_DTPMOD64LSB,
BFD_RELOC_IA64_LTOFF_DTPMOD22,
BFD_RELOC_IA64_DTPREL14,
BFD_RELOC_IA64_DTPREL22,
BFD_RELOC_IA64_DTPREL64I,
BFD_RELOC_IA64_DTPREL32MSB,
BFD_RELOC_IA64_DTPREL32LSB,
BFD_RELOC_IA64_DTPREL64MSB,
BFD_RELOC_IA64_DTPREL64LSB,
BFD_RELOC_IA64_LTOFF_DTPREL22,
BFD_RELOC_M68HC11_HI8,
BFD_RELOC_M68HC11_LO8,
BFD_RELOC_M68HC11_3B,
BFD_RELOC_M68HC11_RL_JUMP,
BFD_RELOC_M68HC11_RL_GROUP,
BFD_RELOC_M68HC11_LO16,
BFD_RELOC_M68HC11_PAGE,
BFD_RELOC_M68HC11_24,
BFD_RELOC_CRIS_BDISP8,
BFD_RELOC_CRIS_UNSIGNED_5,
BFD_RELOC_CRIS_SIGNED_6,
BFD_RELOC_CRIS_UNSIGNED_6,
BFD_RELOC_CRIS_UNSIGNED_4,
BFD_RELOC_CRIS_COPY,
BFD_RELOC_CRIS_GLOB_DAT,
BFD_RELOC_CRIS_JUMP_SLOT,
BFD_RELOC_CRIS_RELATIVE,
BFD_RELOC_CRIS_32_GOT,
BFD_RELOC_CRIS_16_GOT,
BFD_RELOC_CRIS_32_GOTPLT,
BFD_RELOC_CRIS_16_GOTPLT,
BFD_RELOC_CRIS_32_GOTREL,
BFD_RELOC_CRIS_32_PLT_GOTREL,
BFD_RELOC_CRIS_32_PLT_PCREL,
BFD_RELOC_860_COPY,
BFD_RELOC_860_GLOB_DAT,
BFD_RELOC_860_JUMP_SLOT,
BFD_RELOC_860_RELATIVE,
BFD_RELOC_860_PC26,
BFD_RELOC_860_PLT26,
BFD_RELOC_860_PC16,
BFD_RELOC_860_LOW0,
BFD_RELOC_860_SPLIT0,
BFD_RELOC_860_LOW1,
BFD_RELOC_860_SPLIT1,
BFD_RELOC_860_LOW2,
BFD_RELOC_860_SPLIT2,
BFD_RELOC_860_LOW3,
BFD_RELOC_860_LOGOT0,
BFD_RELOC_860_SPGOT0,
BFD_RELOC_860_LOGOT1,
BFD_RELOC_860_SPGOT1,
BFD_RELOC_860_LOGOTOFF0,
BFD_RELOC_860_SPGOTOFF0,
BFD_RELOC_860_LOGOTOFF1,
BFD_RELOC_860_SPGOTOFF1,
BFD_RELOC_860_LOGOTOFF2,
BFD_RELOC_860_LOGOTOFF3,
BFD_RELOC_860_LOPC,
BFD_RELOC_860_HIGHADJ,
BFD_RELOC_860_HAGOT,
BFD_RELOC_860_HAGOTOFF,
BFD_RELOC_860_HAPC,
BFD_RELOC_860_HIGH,
BFD_RELOC_860_HIGOT,
BFD_RELOC_860_HIGOTOFF,
BFD_RELOC_OPENRISC_ABS_26,
BFD_RELOC_OPENRISC_REL_26,
BFD_RELOC_H8_DIR16A8,
BFD_RELOC_H8_DIR16R8,
BFD_RELOC_H8_DIR24A8,
BFD_RELOC_H8_DIR24R8,
BFD_RELOC_H8_DIR32A16,
BFD_RELOC_XSTORMY16_REL_12,
BFD_RELOC_XSTORMY16_12,
BFD_RELOC_XSTORMY16_24,
BFD_RELOC_XSTORMY16_FPTR16,
BFD_RELOC_VAX_GLOB_DAT,
BFD_RELOC_VAX_JMP_SLOT,
BFD_RELOC_VAX_RELATIVE,
BFD_RELOC_MSP430_10_PCREL,
BFD_RELOC_MSP430_16_PCREL,
BFD_RELOC_MSP430_16,
BFD_RELOC_MSP430_16_PCREL_BYTE,
BFD_RELOC_MSP430_16_BYTE,
BFD_RELOC_IQ2000_OFFSET_16,
BFD_RELOC_IQ2000_OFFSET_21,
BFD_RELOC_IQ2000_UHI16,
BFD_RELOC_XTENSA_RTLD,
BFD_RELOC_XTENSA_GLOB_DAT,
BFD_RELOC_XTENSA_JMP_SLOT,
BFD_RELOC_XTENSA_RELATIVE,
BFD_RELOC_XTENSA_PLT,
BFD_RELOC_XTENSA_OP0,
BFD_RELOC_XTENSA_OP1,
BFD_RELOC_XTENSA_OP2,
BFD_RELOC_XTENSA_ASM_EXPAND,
BFD_RELOC_XTENSA_ASM_SIMPLIFY,
BFD_RELOC_UNUSED };
typedef enum bfd_reloc_code_real bfd_reloc_code_real_type;
reloc_howto_type *
bfd_reloc_type_lookup (bfd *abfd, bfd_reloc_code_real_type code);
const char *
bfd_get_reloc_code_name (bfd_reloc_code_real_type code);
typedef struct symbol_cache_entry
{
# 3527 "./bfd.h"
struct bfd *the_bfd;
const char *name;
symvalue value;
# 3623 "./bfd.h"
flagword flags;
struct sec *section;
union
{
void * p;
bfd_vma i;
}
udata;
}
asymbol;
bfd_boolean
bfd_is_local_label (bfd *abfd, asymbol *sym);
bfd_boolean
bfd_is_local_label_name (bfd *abfd, const char *name);
# 3656 "./bfd.h"
bfd_boolean
bfd_set_symtab (bfd *abfd, asymbol **location, unsigned int count);
void
bfd_print_symbol_vandf (bfd *abfd, void * file, asymbol *symbol);
asymbol *
_bfd_generic_make_empty_symbol (bfd *);
int
bfd_decode_symclass (asymbol *symbol);
bfd_boolean
bfd_is_undefined_symclass (int symclass);
void
bfd_symbol_info (asymbol *symbol, symbol_info *ret);
bfd_boolean
bfd_copy_private_symbol_data (bfd *ibfd, asymbol *isym, bfd *obfd, asymbol *osym);
struct bfd
{
unsigned int id;
const char *filename;
const struct bfd_target *xvec;
# 3706 "./bfd.h"
void * iostream;
bfd_boolean cacheable;
bfd_boolean target_defaulted;
struct bfd *lru_prev, *lru_next;
ufile_ptr where;
bfd_boolean opened_once;
bfd_boolean mtime_set;
long mtime;
int ifd;
bfd_format format;
enum bfd_direction
{
no_direction = 0,
read_direction = 1,
write_direction = 2,
both_direction = 3
}
direction;
flagword flags;
ufile_ptr origin;
bfd_boolean output_has_begun;
struct bfd_hash_table section_htab;
struct sec *sections;
struct sec **section_tail;
unsigned int section_count;
bfd_vma start_address;
unsigned int symcount;
struct symbol_cache_entry **outsymbols;
unsigned int dynsymcount;
const struct bfd_arch_info *arch_info;
void * arelt_data;
struct bfd *my_archive;
struct bfd *next;
struct bfd *archive_head;
bfd_boolean has_armap;
struct bfd *link_next;
int archive_pass;
union
{
struct aout_data_struct *aout_data;
struct artdata *aout_ar_data;
struct _oasys_data *oasys_obj_data;
struct _oasys_ar_data *oasys_ar_data;
struct coff_tdata *coff_obj_data;
struct pe_tdata *pe_obj_data;
struct xcoff_tdata *xcoff_obj_data;
struct ecoff_tdata *ecoff_obj_data;
struct ieee_data_struct *ieee_data;
struct ieee_ar_data_struct *ieee_ar_data;
struct srec_data_struct *srec_data;
struct ihex_data_struct *ihex_data;
struct tekhex_data_struct *tekhex_data;
struct elf_obj_tdata *elf_obj_data;
struct nlm_obj_tdata *nlm_obj_data;
struct bout_data_struct *bout_data;
struct mmo_data_struct *mmo_data;
struct sun_core_struct *sun_core_data;
struct sco5_core_struct *sco5_core_data;
struct trad_core_struct *trad_core_data;
struct som_data_struct *som_data;
struct hpux_core_struct *hpux_core_data;
struct hppabsd_core_struct *hppabsd_core_data;
struct sgi_core_struct *sgi_core_data;
struct lynx_core_struct *lynx_core_data;
struct osf_core_struct *osf_core_data;
struct cisco_core_struct *cisco_core_data;
struct versados_data_struct *versados_data;
struct netbsd_core_struct *netbsd_core_data;
struct mach_o_data_struct *mach_o_data;
struct mach_o_fat_data_struct *mach_o_fat_data;
struct bfd_pef_data_struct *pef_data;
struct bfd_pef_xlib_data_struct *pef_xlib_data;
struct bfd_sym_data_struct *sym_data;
void * any;
}
tdata;
void * usrdata;
void * memory;
};
typedef enum bfd_error
{
bfd_error_no_error = 0,
bfd_error_system_call,
bfd_error_invalid_target,
bfd_error_wrong_format,
bfd_error_wrong_object_format,
bfd_error_invalid_operation,
bfd_error_no_memory,
bfd_error_no_symbols,
bfd_error_no_armap,
bfd_error_no_more_archived_files,
bfd_error_malformed_archive,
bfd_error_file_not_recognized,
bfd_error_file_ambiguously_recognized,
bfd_error_no_contents,
bfd_error_nonrepresentable_section,
bfd_error_no_debug_section,
bfd_error_bad_value,
bfd_error_file_truncated,
bfd_error_file_too_big,
bfd_error_invalid_error_code
}
bfd_error_type;
bfd_error_type
bfd_get_error (void);
void
bfd_set_error (bfd_error_type error_tag);
const char *
bfd_errmsg (bfd_error_type error_tag);
void
bfd_perror (const char *message);
typedef void (*bfd_error_handler_type) (const char *, ...);
bfd_error_handler_type
bfd_set_error_handler (bfd_error_handler_type);
void
bfd_set_error_program_name (const char *);
bfd_error_handler_type
bfd_get_error_handler (void);
const char *
bfd_archive_filename (bfd *);
long
bfd_get_reloc_upper_bound (bfd *abfd, asection *sect);
long
bfd_canonicalize_reloc (bfd *abfd, asection *sec, arelent **loc, asymbol **syms);
void
bfd_set_reloc (bfd *abfd, asection *sec, arelent **rel, unsigned int count);
bfd_boolean
bfd_set_file_flags (bfd *abfd, flagword flags);
int
bfd_get_arch_size (bfd *abfd);
int
bfd_get_sign_extend_vma (bfd *abfd);
bfd_boolean
bfd_set_start_address (bfd *abfd, bfd_vma vma);
unsigned int
bfd_get_gp_size (bfd *abfd);
void
bfd_set_gp_size (bfd *abfd, unsigned int i);
bfd_vma
bfd_scan_vma (const char *string, const char **end, int base);
bfd_boolean
bfd_copy_private_bfd_data (bfd *ibfd, bfd *obfd);
bfd_boolean
bfd_merge_private_bfd_data (bfd *ibfd, bfd *obfd);
bfd_boolean
bfd_set_private_flags (bfd *abfd, flagword flags);
# 4026 "./bfd.h"
extern bfd_byte *bfd_get_relocated_section_contents
(bfd *, struct bfd_link_info *, struct bfd_link_order *, bfd_byte *, bfd_boolean, asymbol **);
bfd_boolean
bfd_alt_mach_code (bfd *abfd, int alternative);
struct bfd_preserve
{
void * marker;
void * tdata;
flagword flags;
const struct bfd_arch_info *arch_info;
struct sec *sections;
struct sec **section_tail;
unsigned int section_count;
struct bfd_hash_table section_htab;
};
bfd_boolean
bfd_preserve_save (bfd *, struct bfd_preserve *);
void
bfd_preserve_restore (bfd *, struct bfd_preserve *);
void
bfd_preserve_finish (bfd *, struct bfd_preserve *);
symindex
bfd_get_next_mapent (bfd *abfd, symindex previous, carsym **sym);
bfd_boolean
bfd_set_archive_head (bfd *output, bfd *new_head);
bfd *
bfd_openr_next_archived_file (bfd *archive, bfd *previous);
const char *
bfd_core_file_failing_command (bfd *abfd);
int
bfd_core_file_failing_signal (bfd *abfd);
bfd_boolean
core_file_matches_executable_p (bfd *core_bfd, bfd *exec_bfd);
# 4097 "./bfd.h"
enum bfd_flavour
{
bfd_target_unknown_flavour,
bfd_target_aout_flavour,
bfd_target_coff_flavour,
bfd_target_ecoff_flavour,
bfd_target_xcoff_flavour,
bfd_target_elf_flavour,
bfd_target_ieee_flavour,
bfd_target_nlm_flavour,
bfd_target_oasys_flavour,
bfd_target_tekhex_flavour,
bfd_target_srec_flavour,
bfd_target_ihex_flavour,
bfd_target_som_flavour,
bfd_target_os9k_flavour,
bfd_target_versados_flavour,
bfd_target_msdos_flavour,
bfd_target_ovax_flavour,
bfd_target_evax_flavour,
bfd_target_mmo_flavour,
bfd_target_mach_o_flavour,
bfd_target_pef_flavour,
bfd_target_pef_xlib_flavour,
bfd_target_sym_flavour
};
enum bfd_endian { BFD_ENDIAN_BIG, BFD_ENDIAN_LITTLE, BFD_ENDIAN_UNKNOWN };
typedef struct bfd_link_info _bfd_link_info;
typedef struct bfd_target
{
char *name;
enum bfd_flavour flavour;
enum bfd_endian byteorder;
enum bfd_endian header_byteorder;
flagword object_flags;
flagword section_flags;
char symbol_leading_char;
char ar_pad_char;
unsigned short ar_max_namelen;
bfd_vma (*bfd_getx64) (const bfd_byte *);
bfd_signed_vma (*bfd_getx_signed_64) (const bfd_byte *);
void (*bfd_putx64) (bfd_vma, bfd_byte *);
bfd_vma (*bfd_getx32) (const bfd_byte *);
bfd_signed_vma (*bfd_getx_signed_32) (const bfd_byte *);
void (*bfd_putx32) (bfd_vma, bfd_byte *);
bfd_vma (*bfd_getx16) (const bfd_byte *);
bfd_signed_vma (*bfd_getx_signed_16) (const bfd_byte *);
void (*bfd_putx16) (bfd_vma, bfd_byte *);
bfd_vma (*bfd_h_getx64) (const bfd_byte *);
bfd_signed_vma (*bfd_h_getx_signed_64) (const bfd_byte *);
void (*bfd_h_putx64) (bfd_vma, bfd_byte *);
bfd_vma (*bfd_h_getx32) (const bfd_byte *);
bfd_signed_vma (*bfd_h_getx_signed_32) (const bfd_byte *);
void (*bfd_h_putx32) (bfd_vma, bfd_byte *);
bfd_vma (*bfd_h_getx16) (const bfd_byte *);
bfd_signed_vma (*bfd_h_getx_signed_16) (const bfd_byte *);
void (*bfd_h_putx16) (bfd_vma, bfd_byte *);
const struct bfd_target *(*_bfd_check_format[bfd_type_end]) (bfd *);
bfd_boolean (*_bfd_set_format[bfd_type_end]) (bfd *);
bfd_boolean (*_bfd_write_contents[bfd_type_end]) (bfd *);
# 4208 "./bfd.h"
bfd_boolean (*_close_and_cleanup) (bfd *);
bfd_boolean (*_bfd_free_cached_info) (bfd *);
bfd_boolean (*_new_section_hook) (bfd *, sec_ptr);
bfd_boolean (*_bfd_get_section_contents)
(bfd *, sec_ptr, void *, file_ptr, bfd_size_type);
bfd_boolean (*_bfd_get_section_contents_in_window)
(bfd *, sec_ptr, bfd_window *, file_ptr, bfd_size_type);
# 4229 "./bfd.h"
bfd_boolean (*_bfd_copy_private_bfd_data) (bfd *, bfd *);
bfd_boolean (*_bfd_merge_private_bfd_data) (bfd *, bfd *);
bfd_boolean (*_bfd_copy_private_section_data)
(bfd *, sec_ptr, bfd *, sec_ptr);
bfd_boolean (*_bfd_copy_private_symbol_data)
(bfd *, asymbol *, bfd *, asymbol *);
bfd_boolean (*_bfd_set_private_flags) (bfd *, flagword);
bfd_boolean (*_bfd_print_private_bfd_data) (bfd *, void *);
char * (*_core_file_failing_command) (bfd *);
int (*_core_file_failing_signal) (bfd *);
bfd_boolean (*_core_file_matches_executable_p) (bfd *, bfd *);
# 4268 "./bfd.h"
bfd_boolean (*_bfd_slurp_armap) (bfd *);
bfd_boolean (*_bfd_slurp_extended_name_table) (bfd *);
bfd_boolean (*_bfd_construct_extended_name_table)
(bfd *, char **, bfd_size_type *, const char **);
void (*_bfd_truncate_arname) (bfd *, const char *, char *);
bfd_boolean (*write_armap)
(bfd *, unsigned int, struct orl *, unsigned int, int);
void * (*_bfd_read_ar_hdr_fn) (bfd *);
bfd * (*openr_next_archived_file) (bfd *, bfd *);
bfd * (*_bfd_get_elt_at_index) (bfd *, symindex);
int (*_bfd_stat_arch_elt) (bfd *, struct stat *);
bfd_boolean (*_bfd_update_armap_timestamp) (bfd *);
# 4295 "./bfd.h"
long (*_bfd_get_symtab_upper_bound) (bfd *);
long (*_bfd_canonicalize_symtab) (bfd *, struct symbol_cache_entry **);
struct symbol_cache_entry *
(*_bfd_make_empty_symbol) (bfd *);
void (*_bfd_print_symbol)
(bfd *, void *, struct symbol_cache_entry *, bfd_print_symbol_type);
void (*_bfd_get_symbol_info)
(bfd *, struct symbol_cache_entry *, symbol_info *);
bfd_boolean (*_bfd_is_local_label_name) (bfd *, const char *);
alent * (*_get_lineno) (bfd *, struct symbol_cache_entry *);
bfd_boolean (*_bfd_find_nearest_line)
(bfd *, struct sec *, struct symbol_cache_entry **, bfd_vma, const char **, const char **, unsigned int *);
asymbol * (*_bfd_make_debug_symbol)
(bfd *, void *, unsigned long size);
long (*_read_minisymbols)
(bfd *, bfd_boolean, void * *, unsigned int *);
asymbol * (*_minisymbol_to_symbol)
(bfd *, bfd_boolean, const void *, asymbol *);
long (*_get_reloc_upper_bound) (bfd *, sec_ptr);
long (*_bfd_canonicalize_reloc)
(bfd *, sec_ptr, arelent **, struct symbol_cache_entry **);
reloc_howto_type *
(*reloc_type_lookup) (bfd *, bfd_reloc_code_real_type);
bfd_boolean (*_bfd_set_arch_mach)
(bfd *, enum bfd_architecture, unsigned long);
bfd_boolean (*_bfd_set_section_contents)
(bfd *, sec_ptr, void *, file_ptr, bfd_size_type);
# 4361 "./bfd.h"
int (*_bfd_sizeof_headers) (bfd *, bfd_boolean);
bfd_byte * (*_bfd_get_relocated_section_contents)
(bfd *, struct bfd_link_info *, struct bfd_link_order *, bfd_byte *, bfd_boolean, struct symbol_cache_entry **);
bfd_boolean (*_bfd_relax_section)
(bfd *, struct sec *, struct bfd_link_info *, bfd_boolean *);
struct bfd_link_hash_table *
(*_bfd_link_hash_table_create) (bfd *);
void (*_bfd_link_hash_table_free)
(struct bfd_link_hash_table *);
bfd_boolean (*_bfd_link_add_symbols)
(bfd *, struct bfd_link_info *);
void (*_bfd_link_just_syms)
(asection *, struct bfd_link_info *);
bfd_boolean (*_bfd_final_link) (bfd *, struct bfd_link_info *);
bfd_boolean (*_bfd_link_split_section) (bfd *, struct sec *);
bfd_boolean (*_bfd_gc_sections) (bfd *, struct bfd_link_info *);
bfd_boolean (*_bfd_merge_sections) (bfd *, struct bfd_link_info *);
bfd_boolean (*_bfd_discard_group) (bfd *, struct sec *);
# 4409 "./bfd.h"
long (*_bfd_get_dynamic_symtab_upper_bound) (bfd *);
long (*_bfd_canonicalize_dynamic_symtab)
(bfd *, struct symbol_cache_entry **);
long (*_bfd_get_dynamic_reloc_upper_bound) (bfd *);
long (*_bfd_canonicalize_dynamic_reloc)
(bfd *, arelent **, struct symbol_cache_entry **);
const struct bfd_target * alternative_target;
void * backend_data;
} bfd_target;
bfd_boolean
bfd_set_default_target (const char *name);
const bfd_target *
bfd_find_target (const char *target_name, bfd *abfd);
const char **
bfd_target_list (void);
const bfd_target *
bfd_search_for_target (int (* search_func) (const bfd_target *, void *), void *);
bfd_boolean
bfd_check_format (bfd *abfd, bfd_format format);
bfd_boolean
bfd_check_format_matches (bfd *abfd, bfd_format format, char ***matching);
bfd_boolean
bfd_set_format (bfd *abfd, bfd_format format);
const char *
bfd_format_string (bfd_format format);
bfd_boolean
bfd_link_split_section (bfd *abfd, asection *sec);
bfd_byte *
bfd_simple_get_relocated_section_contents (bfd *abfd, asection *sec, bfd_byte *outbuf, asymbol **symbol_table);
# 71 "/work/AEL/ARM_Embedded_Linux-1.0/package-sources/gdb-6.0/./bfd/tekhex.c" 2
# 1 "/work/AEL/ARM_Embedded_Linux-1.0/package-sources/gdb-6.0/./bfd/sysdep.h" 1
# 25 "/work/AEL/ARM_Embedded_Linux-1.0/package-sources/gdb-6.0/./bfd/sysdep.h"
# 1 "/work/AEL/ARM_Embedded_Linux-1.0/package-sources/gdb-6.0/./bfd/../include/ansidecl.h" 1
# 26 "/work/AEL/ARM_Embedded_Linux-1.0/package-sources/gdb-6.0/./bfd/sysdep.h" 2
# 1 "./config.h" 1
# 28 "/work/AEL/ARM_Embedded_Linux-1.0/package-sources/gdb-6.0/./bfd/sysdep.h" 2
# 1 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/include/stddef.h" 1 3 4
# 151 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/include/stddef.h" 3 4
typedef int ptrdiff_t;
# 213 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/include/stddef.h" 3 4
typedef unsigned int size_t;
# 325 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/include/stddef.h" 3 4
typedef long int wchar_t;
# 31 "/work/AEL/ARM_Embedded_Linux-1.0/package-sources/gdb-6.0/./bfd/sysdep.h" 2
# 1 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/stdio.h" 1 3
# 28 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/stdio.h" 3
# 1 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/features.h" 1 3
# 291 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/features.h" 3
# 1 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/sys/cdefs.h" 1 3
# 292 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/features.h" 2 3
# 314 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/features.h" 3
# 1 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/gnu/stubs.h" 1 3
# 315 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/features.h" 2 3
# 29 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/stdio.h" 2 3
# 1 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/include/stddef.h" 1 3 4
# 35 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/stdio.h" 2 3
# 1 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/bits/types.h" 1 3
# 28 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/bits/types.h" 3
# 1 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/bits/wordsize.h" 1 3
# 29 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/bits/types.h" 2 3
# 1 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/include/stddef.h" 1 3 4
# 32 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/bits/types.h" 2 3
typedef unsigned char __u_char;
typedef unsigned short int __u_short;
typedef unsigned int __u_int;
typedef unsigned long int __u_long;
typedef signed char __int8_t;
typedef unsigned char __uint8_t;
typedef signed short int __int16_t;
typedef unsigned short int __uint16_t;
typedef signed int __int32_t;
typedef unsigned int __uint32_t;
__extension__ typedef signed long long int __int64_t;
__extension__ typedef unsigned long long int __uint64_t;
__extension__ typedef long long int __quad_t;
__extension__ typedef unsigned long long int __u_quad_t;
# 128 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/bits/types.h" 3
# 1 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/bits/typesizes.h" 1 3
# 129 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/bits/types.h" 2 3
typedef unsigned long long int __dev_t;
typedef unsigned int __uid_t;
typedef unsigned int __gid_t;
typedef unsigned long int __ino_t;
typedef unsigned long long int __ino64_t;
typedef unsigned int __mode_t;
typedef unsigned int __nlink_t;
typedef long int __off_t;
typedef long long int __off64_t;
typedef int __pid_t;
typedef struct { int __val[2]; } __fsid_t;
typedef long int __clock_t;
typedef unsigned long int __rlim_t;
typedef unsigned long long int __rlim64_t;
typedef unsigned int __id_t;
typedef long int __time_t;
typedef unsigned int __useconds_t;
typedef long int __suseconds_t;
typedef int __daddr_t;
typedef long int __swblk_t;
typedef int __key_t;
typedef int __clockid_t;
typedef int __timer_t;
typedef long int __blksize_t;
typedef long int __blkcnt_t;
typedef long long int __blkcnt64_t;
typedef unsigned long int __fsblkcnt_t;
typedef unsigned long long int __fsblkcnt64_t;
typedef unsigned long int __fsfilcnt_t;
typedef unsigned long long int __fsfilcnt64_t;
typedef int __ssize_t;
typedef __off64_t __loff_t;
typedef __quad_t *__qaddr_t;
typedef char *__caddr_t;
typedef int __intptr_t;
typedef unsigned int __socklen_t;
# 37 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/stdio.h" 2 3
typedef struct _IO_FILE FILE;
# 62 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/stdio.h" 3
typedef struct _IO_FILE __FILE;
# 72 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/stdio.h" 3
# 1 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/libio.h" 1 3
# 32 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/libio.h" 3
# 1 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/_G_config.h" 1 3
# 14 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/_G_config.h" 3
# 1 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/include/stddef.h" 1 3 4
# 354 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/include/stddef.h" 3 4
typedef unsigned int wint_t;
# 15 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/_G_config.h" 2 3
# 24 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/_G_config.h" 3
# 1 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/wchar.h" 1 3
# 48 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/wchar.h" 3
# 1 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/include/stddef.h" 1 3 4
# 49 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/wchar.h" 2 3
# 1 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/bits/wchar.h" 1 3
# 51 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/wchar.h" 2 3
# 63 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/wchar.h" 3
typedef struct
{
int __count;
union
{
wint_t __wch;
char __wchb[4];
} __value;
} __mbstate_t;
# 25 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/_G_config.h" 2 3
typedef struct
{
__off_t __pos;
__mbstate_t __state;
} _G_fpos_t;
typedef struct
{
__off64_t __pos;
__mbstate_t __state;
} _G_fpos64_t;
# 44 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/_G_config.h" 3
# 1 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/gconv.h" 1 3
# 28 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/gconv.h" 3
# 1 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/wchar.h" 1 3
# 48 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/wchar.h" 3
# 1 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/include/stddef.h" 1 3 4
# 49 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/wchar.h" 2 3
# 63 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/wchar.h" 3
# 29 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/gconv.h" 2 3
# 1 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/include/stddef.h" 1 3 4
# 32 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/gconv.h" 2 3
enum
{
__GCONV_OK = 0,
__GCONV_NOCONV,
__GCONV_NODB,
__GCONV_NOMEM,
__GCONV_EMPTY_INPUT,
__GCONV_FULL_OUTPUT,
__GCONV_ILLEGAL_INPUT,
__GCONV_INCOMPLETE_INPUT,
__GCONV_ILLEGAL_DESCRIPTOR,
__GCONV_INTERNAL_ERROR
};
enum
{
__GCONV_IS_LAST = 0x0001,
__GCONV_IGNORE_ERRORS = 0x0002
};
struct __gconv_step;
struct __gconv_step_data;
struct __gconv_loaded_object;
struct __gconv_trans_data;
typedef int (*__gconv_fct) (struct __gconv_step *, struct __gconv_step_data *,
__const unsigned char **, __const unsigned char *,
unsigned char **, size_t *, int, int);
typedef wint_t (*__gconv_btowc_fct) (struct __gconv_step *, unsigned char);
typedef int (*__gconv_init_fct) (struct __gconv_step *);
typedef void (*__gconv_end_fct) (struct __gconv_step *);
typedef int (*__gconv_trans_fct) (struct __gconv_step *,
struct __gconv_step_data *, void *,
__const unsigned char *,
__const unsigned char **,
__const unsigned char *, unsigned char **,
size_t *);
typedef int (*__gconv_trans_context_fct) (void *, __const unsigned char *,
__const unsigned char *,
unsigned char *, unsigned char *);
typedef int (*__gconv_trans_query_fct) (__const char *, __const char ***,
size_t *);
typedef int (*__gconv_trans_init_fct) (void **, const char *);
typedef void (*__gconv_trans_end_fct) (void *);
struct __gconv_trans_data
{
__gconv_trans_fct __trans_fct;
__gconv_trans_context_fct __trans_context_fct;
__gconv_trans_end_fct __trans_end_fct;
void *__data;
struct __gconv_trans_data *__next;
};
struct __gconv_step
{
struct __gconv_loaded_object *__shlib_handle;
__const char *__modname;
int __counter;
char *__from_name;
char *__to_name;
__gconv_fct __fct;
__gconv_btowc_fct __btowc_fct;
__gconv_init_fct __init_fct;
__gconv_end_fct __end_fct;
int __min_needed_from;
int __max_needed_from;
int __min_needed_to;
int __max_needed_to;
int __stateful;
void *__data;
};
struct __gconv_step_data
{
unsigned char *__outbuf;
unsigned char *__outbufend;
int __flags;
int __invocation_counter;
int __internal_use;
__mbstate_t *__statep;
__mbstate_t __state;
struct __gconv_trans_data *__trans;
};
typedef struct __gconv_info
{
size_t __nsteps;
struct __gconv_step *__steps;
__extension__ struct __gconv_step_data __data [];
} *__gconv_t;
# 45 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/_G_config.h" 2 3
typedef union
{
struct __gconv_info __cd;
struct
{
struct __gconv_info __cd;
struct __gconv_step_data __data;
} __combined;
} _G_iconv_t;
typedef int _G_int16_t __attribute__ ((__mode__ (__HI__)));
typedef int _G_int32_t __attribute__ ((__mode__ (__SI__)));
typedef unsigned int _G_uint16_t __attribute__ ((__mode__ (__HI__)));
typedef unsigned int _G_uint32_t __attribute__ ((__mode__ (__SI__)));
# 33 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/libio.h" 2 3
# 53 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/libio.h" 3
# 1 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/include/stdarg.h" 1 3 4
# 43 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/include/stdarg.h" 3 4
typedef __builtin_va_list __gnuc_va_list;
# 54 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/libio.h" 2 3
# 162 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/libio.h" 3
struct _IO_jump_t; struct _IO_FILE;
# 172 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/libio.h" 3
typedef void _IO_lock_t;
struct _IO_marker {
struct _IO_marker *_next;
struct _IO_FILE *_sbuf;
int _pos;
# 195 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/libio.h" 3
};
enum __codecvt_result
{
__codecvt_ok,
__codecvt_partial,
__codecvt_error,
__codecvt_noconv
};
# 263 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/libio.h" 3
struct _IO_FILE {
int _flags;
char* _IO_read_ptr;
char* _IO_read_end;
char* _IO_read_base;
char* _IO_write_base;
char* _IO_write_ptr;
char* _IO_write_end;
char* _IO_buf_base;
char* _IO_buf_end;
char *_IO_save_base;
char *_IO_backup_base;
char *_IO_save_end;
struct _IO_marker *_markers;
struct _IO_FILE *_chain;
int _fileno;
int _flags2;
__off_t _old_offset;
unsigned short _cur_column;
signed char _vtable_offset;
char _shortbuf[1];
_IO_lock_t *_lock;
# 311 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/libio.h" 3
__off64_t _offset;
void *__pad1;
void *__pad2;
int _mode;
char _unused2[15 * sizeof (int) - 2 * sizeof (void *)];
};
typedef struct _IO_FILE _IO_FILE;
struct _IO_FILE_plus;
extern struct _IO_FILE_plus _IO_2_1_stdin_;
extern struct _IO_FILE_plus _IO_2_1_stdout_;
extern struct _IO_FILE_plus _IO_2_1_stderr_;
# 350 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/libio.h" 3
typedef __ssize_t __io_read_fn (void *__cookie, char *__buf, size_t __nbytes);
typedef __ssize_t __io_write_fn (void *__cookie, __const char *__buf,
size_t __n);
typedef int __io_seek_fn (void *__cookie, __off64_t *__pos, int __w);
typedef int __io_close_fn (void *__cookie);
typedef __io_read_fn cookie_read_function_t;
typedef __io_write_fn cookie_write_function_t;
typedef __io_seek_fn cookie_seek_function_t;
typedef __io_close_fn cookie_close_function_t;
typedef struct
{
__io_read_fn *read;
__io_write_fn *write;
__io_seek_fn *seek;
__io_close_fn *close;
} _IO_cookie_io_functions_t;
typedef _IO_cookie_io_functions_t cookie_io_functions_t;
struct _IO_cookie_file;
extern void _IO_cookie_init (struct _IO_cookie_file *__cfile, int __read_write,
void *__cookie, _IO_cookie_io_functions_t __fns);
extern int __underflow (_IO_FILE *) ;
extern int __uflow (_IO_FILE *) ;
extern int __overflow (_IO_FILE *, int) ;
extern wint_t __wunderflow (_IO_FILE *) ;
extern wint_t __wuflow (_IO_FILE *) ;
extern wint_t __woverflow (_IO_FILE *, wint_t) ;
# 432 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/libio.h" 3
extern int _IO_getc (_IO_FILE *__fp) ;
extern int _IO_putc (int __c, _IO_FILE *__fp) ;
extern int _IO_feof (_IO_FILE *__fp) ;
extern int _IO_ferror (_IO_FILE *__fp) ;
extern int _IO_peekc_locked (_IO_FILE *__fp) ;
extern void _IO_flockfile (_IO_FILE *) ;
extern void _IO_funlockfile (_IO_FILE *) ;
extern int _IO_ftrylockfile (_IO_FILE *) ;
# 462 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/libio.h" 3
extern int _IO_vfscanf (_IO_FILE * __restrict, const char * __restrict,
__gnuc_va_list, int *__restrict) ;
extern int _IO_vfprintf (_IO_FILE *__restrict, const char *__restrict,
__gnuc_va_list) ;
extern __ssize_t _IO_padn (_IO_FILE *, int, __ssize_t) ;
extern size_t _IO_sgetn (_IO_FILE *, void *, size_t) ;
extern __off64_t _IO_seekoff (_IO_FILE *, __off64_t, int, int) ;
extern __off64_t _IO_seekpos (_IO_FILE *, __off64_t, int) ;
extern void _IO_free_backup_area (_IO_FILE *) ;
# 73 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/stdio.h" 2 3
typedef __gnuc_va_list va_list;
# 86 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/stdio.h" 3
typedef _G_fpos_t fpos_t;
typedef _G_fpos64_t fpos64_t;
# 138 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/stdio.h" 3
# 1 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/bits/stdio_lim.h" 1 3
# 139 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/stdio.h" 2 3
extern struct _IO_FILE *stdin;
extern struct _IO_FILE *stdout;
extern struct _IO_FILE *stderr;
extern int remove (__const char *__filename) ;
extern int rename (__const char *__old, __const char *__new) ;
extern FILE *tmpfile (void) ;
# 171 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/stdio.h" 3
extern char *tmpnam (char *__s) ;
extern FILE *tmpfile64 (void) ;
extern char *tmpnam_r (char *__s) ;
# 193 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/stdio.h" 3
extern char *tempnam (__const char *__dir, __const char *__pfx)
__attribute__ ((__malloc__));
extern int fclose (FILE *__stream) ;
extern int fflush (FILE *__stream) ;
extern int fflush_unlocked (FILE *__stream) ;
extern int fcloseall (void) ;
extern FILE *fopen (__const char *__restrict __filename,
__const char *__restrict __modes) ;
extern FILE *freopen (__const char *__restrict __filename,
__const char *__restrict __modes,
FILE *__restrict __stream) ;
# 239 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/stdio.h" 3
extern FILE *fopen64 (__const char *__restrict __filename,
__const char *__restrict __modes) ;
extern FILE *freopen64 (__const char *__restrict __filename,
__const char *__restrict __modes,
FILE *__restrict __stream) ;
extern FILE *fdopen (int __fd, __const char *__modes) ;
extern FILE *fopencookie (void *__restrict __magic_cookie,
__const char *__restrict __modes,
_IO_cookie_io_functions_t __io_funcs) ;
extern FILE *fmemopen (void *__s, size_t __len, __const char *__modes) ;
extern FILE *open_memstream (char **__restrict __bufloc,
size_t *__restrict __sizeloc) ;
extern void setbuf (FILE *__restrict __stream, char *__restrict __buf) ;
extern int setvbuf (FILE *__restrict __stream, char *__restrict __buf,
int __modes, size_t __n) ;
extern void setbuffer (FILE *__restrict __stream, char *__restrict __buf,
size_t __size) ;
extern void setlinebuf (FILE *__stream) ;
extern int fprintf (FILE *__restrict __stream,
__const char *__restrict __format, ...) ;
extern int printf (__const char *__restrict __format, ...) ;
extern int sprintf (char *__restrict __s,
__const char *__restrict __format, ...) ;
extern int vfprintf (FILE *__restrict __s, __const char *__restrict __format,
__gnuc_va_list __arg) ;
extern int vprintf (__const char *__restrict __format, __gnuc_va_list __arg)
;
extern int vsprintf (char *__restrict __s, __const char *__restrict __format,
__gnuc_va_list __arg) ;
extern int snprintf (char *__restrict __s, size_t __maxlen,
__const char *__restrict __format, ...)
__attribute__ ((__format__ (__printf__, 3, 4)));
extern int vsnprintf (char *__restrict __s, size_t __maxlen,
__const char *__restrict __format, __gnuc_va_list __arg)
__attribute__ ((__format__ (__printf__, 3, 0)));
extern int vasprintf (char **__restrict __ptr, __const char *__restrict __f,
__gnuc_va_list __arg)
__attribute__ ((__format__ (__printf__, 2, 0)));
extern int __asprintf (char **__restrict __ptr,
__const char *__restrict __fmt, ...)
__attribute__ ((__format__ (__printf__, 2, 3)));
extern int asprintf (char **__restrict __ptr,
__const char *__restrict __fmt, ...)
__attribute__ ((__format__ (__printf__, 2, 3)));
extern int vdprintf (int __fd, __const char *__restrict __fmt,
__gnuc_va_list __arg)
__attribute__ ((__format__ (__printf__, 2, 0)));
extern int dprintf (int __fd, __const char *__restrict __fmt, ...)
__attribute__ ((__format__ (__printf__, 2, 3)));
extern int fscanf (FILE *__restrict __stream,
__const char *__restrict __format, ...) ;
extern int scanf (__const char *__restrict __format, ...) ;
extern int sscanf (__const char *__restrict __s,
__const char *__restrict __format, ...) ;
extern int vfscanf (FILE *__restrict __s, __const char *__restrict __format,
__gnuc_va_list __arg)
__attribute__ ((__format__ (__scanf__, 2, 0)));
extern int vscanf (__const char *__restrict __format, __gnuc_va_list __arg)
__attribute__ ((__format__ (__scanf__, 1, 0)));
extern int vsscanf (__const char *__restrict __s,
__const char *__restrict __format, __gnuc_va_list __arg)
__attribute__ ((__format__ (__scanf__, 2, 0)));
extern int fgetc (FILE *__stream) ;
extern int getc (FILE *__stream) ;
extern int getchar (void) ;
extern int getc_unlocked (FILE *__stream) ;
extern int getchar_unlocked (void) ;
extern int fgetc_unlocked (FILE *__stream) ;
extern int fputc (int __c, FILE *__stream) ;
extern int putc (int __c, FILE *__stream) ;
extern int putchar (int __c) ;
extern int fputc_unlocked (int __c, FILE *__stream) ;
extern int putc_unlocked (int __c, FILE *__stream) ;
extern int putchar_unlocked (int __c) ;
extern int getw (FILE *__stream) ;
extern int putw (int __w, FILE *__stream) ;
extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream)
;
extern char *gets (char *__s) ;
extern char *fgets_unlocked (char *__restrict __s, int __n,
FILE *__restrict __stream) ;
# 461 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/stdio.h" 3
extern __ssize_t __getdelim (char **__restrict __lineptr,
size_t *__restrict __n, int __delimiter,
FILE *__restrict __stream) ;
extern __ssize_t getdelim (char **__restrict __lineptr,
size_t *__restrict __n, int __delimiter,
FILE *__restrict __stream) ;
extern __ssize_t getline (char **__restrict __lineptr,
size_t *__restrict __n,
FILE *__restrict __stream) ;
extern int fputs (__const char *__restrict __s, FILE *__restrict __stream)
;
extern int puts (__const char *__s) ;
extern int ungetc (int __c, FILE *__stream) ;
extern size_t fread (void *__restrict __ptr, size_t __size,
size_t __n, FILE *__restrict __stream) ;
extern size_t fwrite (__const void *__restrict __ptr, size_t __size,
size_t __n, FILE *__restrict __s) ;
extern int fputs_unlocked (__const char *__restrict __s,
FILE *__restrict __stream) ;
extern size_t fread_unlocked (void *__restrict __ptr, size_t __size,
size_t __n, FILE *__restrict __stream) ;
extern size_t fwrite_unlocked (__const void *__restrict __ptr, size_t __size,
size_t __n, FILE *__restrict __stream) ;
extern int fseek (FILE *__stream, long int __off, int __whence) ;
extern long int ftell (FILE *__stream) ;
extern void rewind (FILE *__stream) ;
# 528 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/stdio.h" 3
extern int fseeko (FILE *__stream, __off_t __off, int __whence) ;
extern __off_t ftello (FILE *__stream) ;
# 544 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/stdio.h" 3
extern int fgetpos (FILE *__restrict __stream, fpos_t *__restrict __pos)
;
extern int fsetpos (FILE *__stream, __const fpos_t *__pos) ;
# 563 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/stdio.h" 3
extern int fseeko64 (FILE *__stream, __off64_t __off, int __whence) ;
extern __off64_t ftello64 (FILE *__stream) ;
extern int fgetpos64 (FILE *__restrict __stream, fpos64_t *__restrict __pos)
;
extern int fsetpos64 (FILE *__stream, __const fpos64_t *__pos) ;
extern void clearerr (FILE *__stream) ;
extern int feof (FILE *__stream) ;
extern int ferror (FILE *__stream) ;
extern void clearerr_unlocked (FILE *__stream) ;
extern int feof_unlocked (FILE *__stream) ;
extern int ferror_unlocked (FILE *__stream) ;
extern void perror (__const char *__s) ;
# 1 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/bits/sys_errlist.h" 1 3
# 27 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/bits/sys_errlist.h" 3
extern int sys_nerr;
extern __const char *__const sys_errlist[];
extern int _sys_nerr;
extern __const char *__const _sys_errlist[];
# 600 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/stdio.h" 2 3
extern int fileno (FILE *__stream) ;
extern int fileno_unlocked (FILE *__stream) ;
extern FILE *popen (__const char *__command, __const char *__modes) ;
extern int pclose (FILE *__stream) ;
extern char *ctermid (char *__s) ;
extern char *cuserid (char *__s) ;
struct obstack;
extern int obstack_printf (struct obstack *__restrict __obstack,
__const char *__restrict __format, ...)
__attribute__ ((__format__ (__printf__, 2, 3)));
extern int obstack_vprintf (struct obstack *__restrict __obstack,
__const char *__restrict __format,
__gnuc_va_list __args)
__attribute__ ((__format__ (__printf__, 2, 0)));
extern void flockfile (FILE *__stream) ;
extern int ftrylockfile (FILE *__stream) ;
extern void funlockfile (FILE *__stream) ;
# 674 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/stdio.h" 3
# 1 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/bits/stdio.h" 1 3
# 33 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/bits/stdio.h" 3
extern __inline int
vprintf (__const char *__restrict __fmt, __gnuc_va_list __arg)
{
return vfprintf (stdout, __fmt, __arg);
}
extern __inline int
getchar (void)
{
return _IO_getc (stdin);
}
extern __inline int
getc_unlocked (FILE *__fp)
{
return ((__fp)->_IO_read_ptr >= (__fp)->_IO_read_end ? __uflow (__fp) : *(unsigned char *) (__fp)->_IO_read_ptr++);
}
extern __inline int
getchar_unlocked (void)
{
return ((stdin)->_IO_read_ptr >= (stdin)->_IO_read_end ? __uflow (stdin) : *(unsigned char *) (stdin)->_IO_read_ptr++);
}
extern __inline int
putchar (int __c)
{
return _IO_putc (__c, stdout);
}
extern __inline int
fputc_unlocked (int __c, FILE *__stream)
{
return (((__stream)->_IO_write_ptr >= (__stream)->_IO_write_end) ? __overflow (__stream, (unsigned char) (__c)) : (unsigned char) (*(__stream)->_IO_write_ptr++ = (__c)));
}
extern __inline int
putc_unlocked (int __c, FILE *__stream)
{
return (((__stream)->_IO_write_ptr >= (__stream)->_IO_write_end) ? __overflow (__stream, (unsigned char) (__c)) : (unsigned char) (*(__stream)->_IO_write_ptr++ = (__c)));
}
extern __inline int
putchar_unlocked (int __c)
{
return (((stdout)->_IO_write_ptr >= (stdout)->_IO_write_end) ? __overflow (stdout, (unsigned char) (__c)) : (unsigned char) (*(stdout)->_IO_write_ptr++ = (__c)));
}
extern __inline __ssize_t
getline (char **__lineptr, size_t *__n, FILE *__stream)
{
return __getdelim (__lineptr, __n, '\n', __stream);
}
extern __inline int
feof_unlocked (FILE *__stream)
{
return (((__stream)->_flags & 0x10) != 0);
}
extern __inline int
ferror_unlocked (FILE *__stream)
{
return (((__stream)->_flags & 0x20) != 0);
}
# 675 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/stdio.h" 2 3
# 34 "/work/AEL/ARM_Embedded_Linux-1.0/package-sources/gdb-6.0/./bfd/sysdep.h" 2
# 1 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/sys/types.h" 1 3
# 29 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/sys/types.h" 3
typedef __u_char u_char;
typedef __u_short u_short;
typedef __u_int u_int;
typedef __u_long u_long;
typedef __quad_t quad_t;
typedef __u_quad_t u_quad_t;
typedef __fsid_t fsid_t;
typedef __loff_t loff_t;
typedef __ino_t ino_t;
typedef __ino64_t ino64_t;
typedef __dev_t dev_t;
typedef __gid_t gid_t;
typedef __mode_t mode_t;
typedef __nlink_t nlink_t;
typedef __uid_t uid_t;
typedef __off_t off_t;
typedef __off64_t off64_t;
typedef __pid_t pid_t;
typedef __id_t id_t;
typedef __ssize_t ssize_t;
typedef __daddr_t daddr_t;
typedef __caddr_t caddr_t;
typedef __key_t key_t;
# 133 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/sys/types.h" 3
# 1 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/time.h" 1 3
# 58 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/time.h" 3
typedef __clock_t clock_t;
# 74 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/time.h" 3
typedef __time_t time_t;
# 92 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/time.h" 3
typedef __clockid_t clockid_t;
# 104 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/time.h" 3
typedef __timer_t timer_t;
# 134 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/sys/types.h" 2 3
typedef __useconds_t useconds_t;
typedef __suseconds_t suseconds_t;
# 1 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/include/stddef.h" 1 3 4
# 148 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/sys/types.h" 2 3
typedef unsigned long int ulong;
typedef unsigned short int ushort;
typedef unsigned int uint;
# 191 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/sys/types.h" 3
typedef int int8_t __attribute__ ((__mode__ (__QI__)));
typedef int int16_t __attribute__ ((__mode__ (__HI__)));
typedef int int32_t __attribute__ ((__mode__ (__SI__)));
typedef int int64_t __attribute__ ((__mode__ (__DI__)));
typedef unsigned int u_int8_t __attribute__ ((__mode__ (__QI__)));
typedef unsigned int u_int16_t __attribute__ ((__mode__ (__HI__)));
typedef unsigned int u_int32_t __attribute__ ((__mode__ (__SI__)));
typedef unsigned int u_int64_t __attribute__ ((__mode__ (__DI__)));
typedef int register_t __attribute__ ((__mode__ (__word__)));
# 213 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/sys/types.h" 3
# 1 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/endian.h" 1 3
# 37 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/endian.h" 3
# 1 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/bits/endian.h" 1 3
# 38 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/endian.h" 2 3
# 214 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/sys/types.h" 2 3
# 1 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/sys/select.h" 1 3
# 31 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/sys/select.h" 3
# 1 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/bits/select.h" 1 3
# 32 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/sys/select.h" 2 3
# 1 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/bits/sigset.h" 1 3
# 23 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/bits/sigset.h" 3
typedef int __sig_atomic_t;
typedef struct
{
unsigned long int __val[(1024 / (8 * sizeof (unsigned long int)))];
} __sigset_t;
# 35 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/sys/select.h" 2 3
typedef __sigset_t sigset_t;
# 1 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/time.h" 1 3
# 118 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/time.h" 3
struct timespec
{
__time_t tv_sec;
long int tv_nsec;
};
# 45 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/sys/select.h" 2 3
# 1 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/bits/time.h" 1 3
# 67 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/bits/time.h" 3
struct timeval
{
__time_t tv_sec;
__suseconds_t tv_usec;
};
# 47 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/sys/select.h" 2 3
# 55 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/sys/select.h" 3
typedef long int __fd_mask;
# 67 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/sys/select.h" 3
typedef struct
{
__fd_mask fds_bits[1024 / (8 * sizeof (__fd_mask))];
} fd_set;
typedef __fd_mask fd_mask;
# 99 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/sys/select.h" 3
extern int select (int __nfds, fd_set *__restrict __readfds,
fd_set *__restrict __writefds,
fd_set *__restrict __exceptfds,
struct timeval *__restrict __timeout) ;
extern int pselect (int __nfds, fd_set *__restrict __readfds,
fd_set *__restrict __writefds,
fd_set *__restrict __exceptfds,
const struct timespec *__restrict __timeout,
const __sigset_t *__restrict __sigmask) ;
# 217 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/sys/types.h" 2 3
# 1 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/sys/sysmacros.h" 1 3
# 220 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/sys/types.h" 2 3
typedef __blksize_t blksize_t;
typedef __blkcnt_t blkcnt_t;
typedef __fsblkcnt_t fsblkcnt_t;
typedef __fsfilcnt_t fsfilcnt_t;
# 258 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/sys/types.h" 3
typedef __blkcnt64_t blkcnt64_t;
typedef __fsblkcnt64_t fsblkcnt64_t;
typedef __fsfilcnt64_t fsfilcnt64_t;
# 1 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/bits/pthreadtypes.h" 1 3
# 23 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/bits/pthreadtypes.h" 3
# 1 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/bits/sched.h" 1 3
# 83 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/bits/sched.h" 3
struct __sched_param
{
int __sched_priority;
};
# 24 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/bits/pthreadtypes.h" 2 3
struct _pthread_fastlock
{
long int __status;
int __spinlock;
};
typedef struct _pthread_descr_struct *_pthread_descr;
typedef struct __pthread_attr_s
{
int __detachstate;
int __schedpolicy;
struct __sched_param __schedparam;
int __inheritsched;
int __scope;
size_t __guardsize;
int __stackaddr_set;
void *__stackaddr;
size_t __stacksize;
} pthread_attr_t;
__extension__ typedef long long __pthread_cond_align_t;
typedef struct
{
struct _pthread_fastlock __c_lock;
_pthread_descr __c_waiting;
char __padding[48 - sizeof (struct _pthread_fastlock)
- sizeof (_pthread_descr) - sizeof (__pthread_cond_align_t)];
__pthread_cond_align_t __align;
} pthread_cond_t;
typedef struct
{
int __dummy;
} pthread_condattr_t;
typedef unsigned int pthread_key_t;
typedef struct
{
int __m_reserved;
int __m_count;
_pthread_descr __m_owner;
int __m_kind;
struct _pthread_fastlock __m_lock;
} pthread_mutex_t;
typedef struct
{
int __mutexkind;
} pthread_mutexattr_t;
typedef int pthread_once_t;
typedef struct _pthread_rwlock_t
{
struct _pthread_fastlock __rw_lock;
int __rw_readers;
_pthread_descr __rw_writer;
_pthread_descr __rw_read_waiting;
_pthread_descr __rw_write_waiting;
int __rw_kind;
int __rw_pshared;
} pthread_rwlock_t;
typedef struct
{
int __lockkind;
int __pshared;
} pthread_rwlockattr_t;
typedef volatile int pthread_spinlock_t;
typedef struct {
struct _pthread_fastlock __ba_lock;
int __ba_required;
int __ba_present;
_pthread_descr __ba_waiting;
} pthread_barrier_t;
typedef struct {
int __pshared;
} pthread_barrierattr_t;
typedef unsigned long int pthread_t;
# 267 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/sys/types.h" 2 3
# 35 "/work/AEL/ARM_Embedded_Linux-1.0/package-sources/gdb-6.0/./bfd/sysdep.h" 2
# 1 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/sys/stat.h" 1 3
# 37 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/sys/stat.h" 3
# 1 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/time.h" 1 3
# 38 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/sys/stat.h" 2 3
# 103 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/sys/stat.h" 3
# 1 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/bits/stat.h" 1 3
# 36 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/bits/stat.h" 3
struct stat
{
__dev_t st_dev;
unsigned short int __pad1;
__ino_t st_ino;
__mode_t st_mode;
__nlink_t st_nlink;
__uid_t st_uid;
__gid_t st_gid;
__dev_t st_rdev;
unsigned short int __pad2;
__off_t st_size;
__blksize_t st_blksize;
__blkcnt_t st_blocks;
# 70 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/bits/stat.h" 3
struct timespec st_atim;
struct timespec st_mtim;
struct timespec st_ctim;
# 85 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/bits/stat.h" 3
unsigned long int __unused4;
unsigned long int __unused5;
};
struct stat64
{
__dev_t st_dev;
unsigned int __pad1;
__ino_t __st_ino;
__mode_t st_mode;
__nlink_t st_nlink;
__uid_t st_uid;
__gid_t st_gid;
__dev_t st_rdev;
unsigned int __pad2;
__off64_t st_size;
__blksize_t st_blksize;
__blkcnt64_t st_blocks;
struct timespec st_atim;
struct timespec st_mtim;
struct timespec st_ctim;
# 127 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/bits/stat.h" 3
__ino64_t st_ino;
};
# 106 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/sys/stat.h" 2 3
# 207 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/sys/stat.h" 3
extern int stat (__const char *__restrict __file,
struct stat *__restrict __buf) ;
extern int fstat (int __fd, struct stat *__buf) ;
# 226 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/sys/stat.h" 3
extern int stat64 (__const char *__restrict __file,
struct stat64 *__restrict __buf) ;
extern int fstat64 (int __fd, struct stat64 *__buf) ;
extern int lstat (__const char *__restrict __file,
struct stat *__restrict __buf) ;
# 248 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/sys/stat.h" 3
extern int lstat64 (__const char *__restrict __file,
struct stat64 *__restrict __buf) ;
extern int chmod (__const char *__file, __mode_t __mode) ;
extern int lchmod (__const char *__file, __mode_t __mode) ;
extern int fchmod (int __fd, __mode_t __mode) ;
extern __mode_t umask (__mode_t __mask) ;
extern __mode_t getumask (void) ;
extern int mkdir (__const char *__path, __mode_t __mode) ;
extern int mknod (__const char *__path, __mode_t __mode, __dev_t __dev)
;
extern int mkfifo (__const char *__path, __mode_t __mode) ;
# 319 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/sys/stat.h" 3
extern int __fxstat (int __ver, int __fildes, struct stat *__stat_buf) ;
extern int __xstat (int __ver, __const char *__filename,
struct stat *__stat_buf) ;
extern int __lxstat (int __ver, __const char *__filename,
struct stat *__stat_buf) ;
# 343 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/sys/stat.h" 3
extern int __fxstat64 (int __ver, int __fildes, struct stat64 *__stat_buf)
;
extern int __xstat64 (int __ver, __const char *__filename,
struct stat64 *__stat_buf) ;
extern int __lxstat64 (int __ver, __const char *__filename,
struct stat64 *__stat_buf) ;
extern int __xmknod (int __ver, __const char *__path, __mode_t __mode,
__dev_t *__dev) ;
extern __inline__ int stat (__const char *__path,
struct stat *__statbuf)
{
return __xstat (3, __path, __statbuf);
}
extern __inline__ int lstat (__const char *__path,
struct stat *__statbuf)
{
return __lxstat (3, __path, __statbuf);
}
extern __inline__ int fstat (int __fd, struct stat *__statbuf)
{
return __fxstat (3, __fd, __statbuf);
}
extern __inline__ int mknod (__const char *__path, __mode_t __mode,
__dev_t __dev)
{
return __xmknod (1, __path, __mode, &__dev);
}
extern __inline__ int stat64 (__const char *__path,
struct stat64 *__statbuf)
{
return __xstat64 (3, __path, __statbuf);
}
extern __inline__ int lstat64 (__const char *__path,
struct stat64 *__statbuf)
{
return __lxstat64 (3, __path, __statbuf);
}
extern __inline__ int fstat64 (int __fd, struct stat64 *__statbuf)
{
return __fxstat64 (3, __fd, __statbuf);
}
# 36 "/work/AEL/ARM_Embedded_Linux-1.0/package-sources/gdb-6.0/./bfd/sysdep.h" 2
# 1 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/errno.h" 1 3
# 32 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/errno.h" 3
# 1 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/bits/errno.h" 1 3
# 25 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/bits/errno.h" 3
# 1 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/linux/errno.h" 1 3
# 1 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/asm/errno.h" 1 3
# 5 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/linux/errno.h" 2 3
# 26 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/bits/errno.h" 2 3
# 38 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/bits/errno.h" 3
extern int *__errno_location (void) __attribute__ ((__const__));
# 37 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/errno.h" 2 3
# 55 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/errno.h" 3
extern char *program_invocation_name, *program_invocation_short_name;
# 69 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/errno.h" 3
typedef int error_t;
# 38 "/work/AEL/ARM_Embedded_Linux-1.0/package-sources/gdb-6.0/./bfd/sysdep.h" 2
# 1 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/string.h" 1 3
# 28 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/string.h" 3
# 1 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/include/stddef.h" 1 3 4
# 34 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/string.h" 2 3
extern void *memcpy (void *__restrict __dest,
__const void *__restrict __src, size_t __n) ;
extern void *memmove (void *__dest, __const void *__src, size_t __n)
;
extern void *memccpy (void *__restrict __dest, __const void *__restrict __src,
int __c, size_t __n)
;
extern void *memset (void *__s, int __c, size_t __n) ;
extern int memcmp (__const void *__s1, __const void *__s2, size_t __n)
__attribute__ ((__pure__));
extern void *memchr (__const void *__s, int __c, size_t __n)
__attribute__ ((__pure__));
extern void *rawmemchr (__const void *__s, int __c) __attribute__ ((__pure__));
extern void *memrchr (__const void *__s, int __c, size_t __n)
__attribute__ ((__pure__));
extern char *strcpy (char *__restrict __dest, __const char *__restrict __src)
;
extern char *strncpy (char *__restrict __dest,
__const char *__restrict __src, size_t __n) ;
extern char *strcat (char *__restrict __dest, __const char *__restrict __src)
;
extern char *strncat (char *__restrict __dest, __const char *__restrict __src,
size_t __n) ;
extern int strcmp (__const char *__s1, __const char *__s2)
__attribute__ ((__pure__));
extern int strncmp (__const char *__s1, __const char *__s2, size_t __n)
__attribute__ ((__pure__));
extern int strcoll (__const char *__s1, __const char *__s2)
__attribute__ ((__pure__));
extern size_t strxfrm (char *__restrict __dest,
__const char *__restrict __src, size_t __n) ;
# 1 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/xlocale.h" 1 3
# 28 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/xlocale.h" 3
typedef struct __locale_struct
{
struct locale_data *__locales[13];
const unsigned short int *__ctype_b;
const int *__ctype_tolower;
const int *__ctype_toupper;
const char *__names[13];
} *__locale_t;
# 115 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/string.h" 2 3
extern int strcoll_l (__const char *__s1, __const char *__s2, __locale_t __l)
__attribute__ ((__pure__));
extern size_t strxfrm_l (char *__dest, __const char *__src, size_t __n,
__locale_t __l) ;
extern char *strdup (__const char *__s) __attribute__ ((__malloc__));
extern char *strndup (__const char *__string, size_t __n)
__attribute__ ((__malloc__));
# 160 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/string.h" 3
extern char *strchr (__const char *__s, int __c) __attribute__ ((__pure__));
extern char *strrchr (__const char *__s, int __c) __attribute__ ((__pure__));
extern char *strchrnul (__const char *__s, int __c) __attribute__ ((__pure__));
extern size_t strcspn (__const char *__s, __const char *__reject)
__attribute__ ((__pure__));
extern size_t strspn (__const char *__s, __const char *__accept)
__attribute__ ((__pure__));
extern char *strpbrk (__const char *__s, __const char *__accept)
__attribute__ ((__pure__));
extern char *strstr (__const char *__haystack, __const char *__needle)
__attribute__ ((__pure__));
extern char *strtok (char *__restrict __s, __const char *__restrict __delim)
;
extern char *__strtok_r (char *__restrict __s,
__const char *__restrict __delim,
char **__restrict __save_ptr) ;
extern char *strtok_r (char *__restrict __s, __const char *__restrict __delim,
char **__restrict __save_ptr) ;
extern char *strcasestr (__const char *__haystack, __const char *__needle)
__attribute__ ((__pure__));
extern void *memmem (__const void *__haystack, size_t __haystacklen,
__const void *__needle, size_t __needlelen)
__attribute__ ((__pure__));
extern void *__mempcpy (void *__restrict __dest,
__const void *__restrict __src, size_t __n) ;
extern void *mempcpy (void *__restrict __dest,
__const void *__restrict __src, size_t __n) ;
extern size_t strlen (__const char *__s) __attribute__ ((__pure__));
extern size_t strnlen (__const char *__string, size_t __maxlen)
__attribute__ ((__pure__));
extern char *strerror (int __errnum) ;
extern char *strerror_r (int __errnum, char *__buf, size_t __buflen) ;
extern void __bzero (void *__s, size_t __n) ;
extern void bcopy (__const void *__src, void *__dest, size_t __n) ;
extern void bzero (void *__s, size_t __n) ;
extern int bcmp (__const void *__s1, __const void *__s2, size_t __n)
__attribute__ ((__pure__));
extern char *index (__const char *__s, int __c) __attribute__ ((__pure__));
extern char *rindex (__const char *__s, int __c) __attribute__ ((__pure__));
extern int ffs (int __i) __attribute__ ((__const__));
extern int ffsl (long int __l) __attribute__ ((__const__));
__extension__ extern int ffsll (long long int __ll)
__attribute__ ((__const__));
extern int strcasecmp (__const char *__s1, __const char *__s2)
__attribute__ ((__pure__));
extern int strncasecmp (__const char *__s1, __const char *__s2, size_t __n)
__attribute__ ((__pure__));
extern int strcasecmp_l (__const char *__s1, __const char *__s2,
__locale_t __loc) __attribute__ ((__pure__));
extern int strncasecmp_l (__const char *__s1, __const char *__s2,
size_t __n, __locale_t __loc)
__attribute__ ((__pure__));
extern char *strsep (char **__restrict __stringp,
__const char *__restrict __delim) ;
extern int strverscmp (__const char *__s1, __const char *__s2)
__attribute__ ((__pure__));
extern char *strsignal (int __sig) ;
extern char *__stpcpy (char *__restrict __dest, __const char *__restrict __src)
;
extern char *stpcpy (char *__restrict __dest, __const char *__restrict __src)
;
extern char *__stpncpy (char *__restrict __dest,
__const char *__restrict __src, size_t __n) ;
extern char *stpncpy (char *__restrict __dest,
__const char *__restrict __src, size_t __n) ;
extern char *strfry (char *__string) ;
extern void *memfrob (void *__s, size_t __n) ;
extern char *basename (__const char *__filename) ;
# 372 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/string.h" 3
# 1 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/bits/string.h" 1 3
# 373 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/string.h" 2 3
# 1 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/bits/string2.h" 1 3
# 80 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/bits/string2.h" 3
typedef struct { unsigned char __arr[2]; } __attribute__ ((__packed__)) __STRING2_COPY_ARR2;
typedef struct { unsigned char __arr[3]; } __attribute__ ((__packed__)) __STRING2_COPY_ARR3;
typedef struct { unsigned char __arr[4]; } __attribute__ ((__packed__)) __STRING2_COPY_ARR4;
typedef struct { unsigned char __arr[5]; } __attribute__ ((__packed__)) __STRING2_COPY_ARR5;
typedef struct { unsigned char __arr[6]; } __attribute__ ((__packed__)) __STRING2_COPY_ARR6;
typedef struct { unsigned char __arr[7]; } __attribute__ ((__packed__)) __STRING2_COPY_ARR7;
typedef struct { unsigned char __arr[8]; } __attribute__ ((__packed__)) __STRING2_COPY_ARR8;
# 389 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/bits/string2.h" 3
extern void *__rawmemchr (const void *__s, int __c);
# 919 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/bits/string2.h" 3
extern __inline size_t __strcspn_c1 (__const char *__s, int __reject);
extern __inline size_t
__strcspn_c1 (__const char *__s, int __reject)
{
register size_t __result = 0;
while (__s[__result] != '\0' && __s[__result] != __reject)
++__result;
return __result;
}
extern __inline size_t __strcspn_c2 (__const char *__s, int __reject1,
int __reject2);
extern __inline size_t
__strcspn_c2 (__const char *__s, int __reject1, int __reject2)
{
register size_t __result = 0;
while (__s[__result] != '\0' && __s[__result] != __reject1
&& __s[__result] != __reject2)
++__result;
return __result;
}
extern __inline size_t __strcspn_c3 (__const char *__s, int __reject1,
int __reject2, int __reject3);
extern __inline size_t
__strcspn_c3 (__const char *__s, int __reject1, int __reject2,
int __reject3)
{
register size_t __result = 0;
while (__s[__result] != '\0' && __s[__result] != __reject1
&& __s[__result] != __reject2 && __s[__result] != __reject3)
++__result;
return __result;
}
# 976 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/bits/string2.h" 3
extern __inline size_t __strspn_c1 (__const char *__s, int __accept);
extern __inline size_t
__strspn_c1 (__const char *__s, int __accept)
{
register size_t __result = 0;
while (__s[__result] == __accept)
++__result;
return __result;
}
extern __inline size_t __strspn_c2 (__const char *__s, int __accept1,
int __accept2);
extern __inline size_t
__strspn_c2 (__const char *__s, int __accept1, int __accept2)
{
register size_t __result = 0;
while (__s[__result] == __accept1 || __s[__result] == __accept2)
++__result;
return __result;
}
extern __inline size_t __strspn_c3 (__const char *__s, int __accept1,
int __accept2, int __accept3);
extern __inline size_t
__strspn_c3 (__const char *__s, int __accept1, int __accept2, int __accept3)
{
register size_t __result = 0;
while (__s[__result] == __accept1 || __s[__result] == __accept2
|| __s[__result] == __accept3)
++__result;
return __result;
}
# 1033 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/bits/string2.h" 3
extern __inline char *__strpbrk_c2 (__const char *__s, int __accept1,
int __accept2);
extern __inline char *
__strpbrk_c2 (__const char *__s, int __accept1, int __accept2)
{
while (*__s != '\0' && *__s != __accept1 && *__s != __accept2)
++__s;
return *__s == '\0' ? ((void *)0) : (char *) (size_t) __s;
}
extern __inline char *__strpbrk_c3 (__const char *__s, int __accept1,
int __accept2, int __accept3);
extern __inline char *
__strpbrk_c3 (__const char *__s, int __accept1, int __accept2,
int __accept3)
{
while (*__s != '\0' && *__s != __accept1 && *__s != __accept2
&& *__s != __accept3)
++__s;
return *__s == '\0' ? ((void *)0) : (char *) (size_t) __s;
}
# 1085 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/bits/string2.h" 3
extern __inline char *__strtok_r_1c (char *__s, char __sep, char **__nextp);
extern __inline char *
__strtok_r_1c (char *__s, char __sep, char **__nextp)
{
char *__result;
if (__s == ((void *)0))
__s = *__nextp;
while (*__s == __sep)
++__s;
__result = ((void *)0);
if (*__s != '\0')
{
__result = __s++;
while (*__s != '\0')
if (*__s++ == __sep)
{
__s[-1] = '\0';
break;
}
*__nextp = __s;
}
return __result;
}
# 1117 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/bits/string2.h" 3
extern char *__strsep_g (char **__stringp, __const char *__delim);
# 1135 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/bits/string2.h" 3
extern __inline char *__strsep_1c (char **__s, char __reject);
extern __inline char *
__strsep_1c (char **__s, char __reject)
{
register char *__retval = *__s;
if (__retval != ((void *)0) && (*__s = (__extension__ (__builtin_constant_p (__reject) && (__reject) == '\0' ? (char *) __rawmemchr (__retval, __reject) : strchr (__retval, __reject)))) != ((void *)0))
*(*__s)++ = '\0';
return __retval;
}
extern __inline char *__strsep_2c (char **__s, char __reject1, char __reject2);
extern __inline char *
__strsep_2c (char **__s, char __reject1, char __reject2)
{
register char *__retval = *__s;
if (__retval != ((void *)0))
{
register char *__cp = __retval;
while (1)
{
if (*__cp == '\0')
{
__cp = ((void *)0);
break;
}
if (*__cp == __reject1 || *__cp == __reject2)
{
*__cp++ = '\0';
break;
}
++__cp;
}
*__s = __cp;
}
return __retval;
}
extern __inline char *__strsep_3c (char **__s, char __reject1, char __reject2,
char __reject3);
extern __inline char *
__strsep_3c (char **__s, char __reject1, char __reject2, char __reject3)
{
register char *__retval = *__s;
if (__retval != ((void *)0))
{
register char *__cp = __retval;
while (1)
{
if (*__cp == '\0')
{
__cp = ((void *)0);
break;
}
if (*__cp == __reject1 || *__cp == __reject2 || *__cp == __reject3)
{
*__cp++ = '\0';
break;
}
++__cp;
}
*__s = __cp;
}
return __retval;
}
# 1211 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/bits/string2.h" 3
# 1 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/stdlib.h" 1 3
# 33 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/stdlib.h" 3
# 1 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/include/stddef.h" 1 3 4
# 34 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/stdlib.h" 2 3
# 552 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/stdlib.h" 3
extern void *malloc (size_t __size) __attribute__ ((__malloc__));
extern void *calloc (size_t __nmemb, size_t __size)
__attribute__ ((__malloc__));
# 914 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/stdlib.h" 3
# 1212 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/bits/string2.h" 2 3
extern char *__strdup (__const char *__string) __attribute__ ((__malloc__));
# 1235 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/bits/string2.h" 3
extern char *__strndup (__const char *__string, size_t __n)
__attribute__ ((__malloc__));
# 376 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/string.h" 2 3
# 44 "/work/AEL/ARM_Embedded_Linux-1.0/package-sources/gdb-6.0/./bfd/sysdep.h" 2
# 54 "/work/AEL/ARM_Embedded_Linux-1.0/package-sources/gdb-6.0/./bfd/sysdep.h"
# 1 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/stdlib.h" 1 3
# 33 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/stdlib.h" 3
# 1 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/include/stddef.h" 1 3 4
# 34 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/stdlib.h" 2 3
# 1 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/bits/waitflags.h" 1 3
# 43 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/stdlib.h" 2 3
# 1 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/bits/waitstatus.h" 1 3
# 65 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/bits/waitstatus.h" 3
union wait
{
int w_status;
struct
{
unsigned int __w_termsig:7;
unsigned int __w_coredump:1;
unsigned int __w_retcode:8;
unsigned int:16;
} __wait_terminated;
struct
{
unsigned int __w_stopval:8;
unsigned int __w_stopsig:8;
unsigned int:16;
} __wait_stopped;
};
# 44 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/stdlib.h" 2 3
# 68 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/stdlib.h" 3
typedef union
{
union wait *__uptr;
int *__iptr;
} __WAIT_STATUS __attribute__ ((__transparent_union__));
# 93 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/stdlib.h" 3
typedef struct
{
int quot;
int rem;
} div_t;
typedef struct
{
long int quot;
long int rem;
} ldiv_t;
__extension__ typedef struct
{
long long int quot;
long long int rem;
} lldiv_t;
# 137 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/stdlib.h" 3
extern size_t __ctype_get_mb_cur_max (void) ;
extern double atof (__const char *__nptr) __attribute__ ((__pure__));
extern int atoi (__const char *__nptr) __attribute__ ((__pure__));
extern long int atol (__const char *__nptr) __attribute__ ((__pure__));
__extension__ extern long long int atoll (__const char *__nptr)
__attribute__ ((__pure__));
extern double strtod (__const char *__restrict __nptr,
char **__restrict __endptr) ;
extern float strtof (__const char *__restrict __nptr,
char **__restrict __endptr) ;
extern long double strtold (__const char *__restrict __nptr,
char **__restrict __endptr) ;
extern long int strtol (__const char *__restrict __nptr,
char **__restrict __endptr, int __base) ;
extern unsigned long int strtoul (__const char *__restrict __nptr,
char **__restrict __endptr, int __base)
;
__extension__
extern long long int strtoq (__const char *__restrict __nptr,
char **__restrict __endptr, int __base) ;
__extension__
extern unsigned long long int strtouq (__const char *__restrict __nptr,
char **__restrict __endptr, int __base)
;
__extension__
extern long long int strtoll (__const char *__restrict __nptr,
char **__restrict __endptr, int __base) ;
__extension__
extern unsigned long long int strtoull (__const char *__restrict __nptr,
char **__restrict __endptr, int __base)
;
# 229 "/usr/local/arm/gnu/release-3.4.0/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/include/stdlib.h" 3
extern long int strtol_l (__const char *__restrict __nptr,
char **__restrict __endptr, int __base,
__locale_t __loc) ;
extern unsigned long int strtoul_l (__const char *__restrict __nptr,
char **__restrict __endptr,
int __base, __locale_t __loc) ;
__extension__
extern long long int strtoll_l (__const char *__restrict __nptr,
char **__restrict __endptr, int __base,
__locale_t __loc) ;
__extension__
extern unsigned long long int strtoull_l (__const char *__restrict __nptr,
char **__restrict __endptr,
int __base, __locale_t __loc)
;
extern double strtod_l (__const char *__restrict __nptr,
char **__restrict __endptr, __locale_t __loc)
;
extern float strtof_l (__const char *__restrict __nptr,
char **__restrict __endptr, __locale_t __loc) ;
extern long double strtold_l (__const char *__restrict __nptr,
char **__restrict __endptr,
__locale_t __loc) ;
extern double __strtod_internal (__const char *__restrict __nptr,
char **__restrict __endptr, int __group)
;
extern float __strtof_internal (__const char *__restrict __nptr,
char **__restrict __endptr, int __group)
;
extern long double __strtold_internal (__const char *__restrict __nptr,
char **__restrict __endptr,
int __group) ;
extern long int __strtol_internal (__const char *__restrict __nptr,
char **__restrict __endptr,
int __base, int __group) ;
extern unsigned long int __strtoul_internal (__const char *__restrict __nptr,
char **__restrict __endptr,
int __base, int __group) ;
__extension__
extern long long int __strtoll_internal (__const char *__restrict __nptr,
char **__restrict __endptr,
int __base, int __group) ;
__extension__
extern unsigned long long int __strtoull_internal (__const char *
__restrict __nptr,
char **__restrict __endptr,
int __base, int __group)
;
extern __inline double
strtod (__const char *__restrict __nptr, char **__restrict __endptr)
{
return __strtod_internal (__nptr, __endptr, 0);
}
extern __inline long int
strtol (__const char *__restrict __nptr, char **__restrict __endptr,
int __base)
{
return __strtol_internal (__nptr, __endptr, __base, 0);
}
extern __inline unsigned long int
strtoul (__const char *__restrict __nptr, char **__restrict __endptr,
int __base)
{
return __strtoul_internal (__nptr, __endptr, __base, 0);
}
extern __inline float
strtof (__const char *__restrict __nptr, char **__restrict __endpt