Line 174... |
Line 174... |
.#define bfd_mach_mips_loongson_2e 3001
|
.#define bfd_mach_mips_loongson_2e 3001
|
.#define bfd_mach_mips_loongson_2f 3002
|
.#define bfd_mach_mips_loongson_2f 3002
|
.#define bfd_mach_mips_loongson_3a 3003
|
.#define bfd_mach_mips_loongson_3a 3003
|
.#define bfd_mach_mips_sb1 12310201 {* octal 'SB', 01 *}
|
.#define bfd_mach_mips_sb1 12310201 {* octal 'SB', 01 *}
|
.#define bfd_mach_mips_octeon 6501
|
.#define bfd_mach_mips_octeon 6501
|
|
.#define bfd_mach_mips_octeonp 6601
|
|
.#define bfd_mach_mips_octeon2 6502
|
.#define bfd_mach_mips_xlr 887682 {* decimal 'XLR' *}
|
.#define bfd_mach_mips_xlr 887682 {* decimal 'XLR' *}
|
.#define bfd_mach_mipsisa32 32
|
.#define bfd_mach_mipsisa32 32
|
.#define bfd_mach_mipsisa32r2 33
|
.#define bfd_mach_mipsisa32r2 33
|
.#define bfd_mach_mipsisa64 64
|
.#define bfd_mach_mipsisa64 64
|
.#define bfd_mach_mipsisa64r2 65
|
.#define bfd_mach_mipsisa64r2 65
|
Line 449... |
Line 451... |
. bfd_arch_microblaze,{* Xilinx MicroBlaze. *}
|
. bfd_arch_microblaze,{* Xilinx MicroBlaze. *}
|
. bfd_arch_tilepro, {* Tilera TILEPro *}
|
. bfd_arch_tilepro, {* Tilera TILEPro *}
|
. bfd_arch_tilegx, {* Tilera TILE-Gx *}
|
. bfd_arch_tilegx, {* Tilera TILE-Gx *}
|
.#define bfd_mach_tilepro 1
|
.#define bfd_mach_tilepro 1
|
.#define bfd_mach_tilegx 1
|
.#define bfd_mach_tilegx 1
|
|
.#define bfd_mach_tilegx32 2
|
. bfd_arch_open8, {* Open8/ARClite/V8 microcontrollers. *}
|
. bfd_arch_open8, {* Open8/ARClite/V8 microcontrollers. *}
|
.#define bfd_mach_open8_1 1
|
.#define bfd_mach_open8_1 1
|
. bfd_arch_last
|
. bfd_arch_last
|
. };
|
. };
|
*/
|
*/
|
Line 483... |
Line 486... |
. const struct bfd_arch_info * (*compatible)
|
. const struct bfd_arch_info * (*compatible)
|
. (const struct bfd_arch_info *a, const struct bfd_arch_info *b);
|
. (const struct bfd_arch_info *a, const struct bfd_arch_info *b);
|
.
|
.
|
. bfd_boolean (*scan) (const struct bfd_arch_info *, const char *);
|
. bfd_boolean (*scan) (const struct bfd_arch_info *, const char *);
|
.
|
.
|
|
. {* Allocate via bfd_malloc and return a fill buffer of size COUNT. If
|
|
. IS_BIGENDIAN is TRUE, the order of bytes is big endian. If CODE is
|
|
. TRUE, the buffer contains code. *}
|
|
. void *(*fill) (bfd_size_type count, bfd_boolean is_bigendian,
|
|
. bfd_boolean code);
|
|
.
|
. const struct bfd_arch_info *next;
|
. const struct bfd_arch_info *next;
|
.}
|
.}
|
.bfd_arch_info_type;
|
.bfd_arch_info_type;
|
.
|
.
|
*/
|
*/
|
Line 814... |
Line 823... |
|
|
const bfd_arch_info_type bfd_default_arch_struct = {
|
const bfd_arch_info_type bfd_default_arch_struct = {
|
32, 32, 8, bfd_arch_unknown, 0, "unknown", "unknown", 2, TRUE,
|
32, 32, 8, bfd_arch_unknown, 0, "unknown", "unknown", 2, TRUE,
|
bfd_default_compatible,
|
bfd_default_compatible,
|
bfd_default_scan,
|
bfd_default_scan,
|
|
bfd_arch_default_fill,
|
0,
|
0,
|
};
|
};
|
|
|
/*
|
/*
|
FUNCTION
|
FUNCTION
|
Line 1310... |
Line 1320... |
if (ap)
|
if (ap)
|
return ap->bits_per_byte / 8;
|
return ap->bits_per_byte / 8;
|
return 1;
|
return 1;
|
}
|
}
|
|
|
No newline at end of file
|
No newline at end of file
|
|
/*
|
|
INTERNAL_FUNCTION
|
|
bfd_arch_default_fill
|
|
|
|
SYNOPSIS
|
|
void *bfd_arch_default_fill (bfd_size_type count,
|
|
bfd_boolean is_bigendian,
|
|
bfd_boolean code);
|
|
|
|
DESCRIPTION
|
|
Allocate via bfd_malloc and return a fill buffer of size COUNT.
|
|
If IS_BIGENDIAN is TRUE, the order of bytes is big endian. If
|
|
CODE is TRUE, the buffer contains code.
|
|
*/
|
|
|
|
void *
|
|
bfd_arch_default_fill (bfd_size_type count,
|
|
bfd_boolean is_bigendian ATTRIBUTE_UNUSED,
|
|
bfd_boolean code ATTRIBUTE_UNUSED)
|
|
{
|
|
void *fill = bfd_malloc (count);
|
|
if (fill != NULL)
|
|
memset (fill, 0, count);
|
|
return fill;
|
|
}
|
|
|
No newline at end of file
|
No newline at end of file
|