/* Main header file for the bfd library -- portable access to object files.
Copyright 1990, 91, 92, 93, 94, 95, 96, 97, 98, 99, 2000
Free Software Foundation, Inc.
Contributed by Cygnus Support.
** NOTE: bfd.h and bfd-in2.h are GENERATED files. Don't change them;
** instead, change bfd-in.h or the other BFD source files processed to
** generate these files.
This file is part of BFD, the Binary File Descriptor library.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
/* bfd.h -- The only header file required by users of the bfd library
The bfd.h file is generated from bfd-in.h and various .c files; if you
change it, your changes will probably be lost.
All the prototypes and definitions following the comment "THE FOLLOWING
IS EXTRACTED FROM THE SOURCE" are extracted from the source files for
BFD. If you change it, someone oneday will extract it from the source
again, and your changes will be lost. To save yourself from this bind,
change the definitions in the source in the bfd directory. Type "make
docs" and then "make headers" in that directory, and magically this file
will change to reflect your changes.
If you don't have the tools to perform the extraction, then you are
safe from someone on your system trampling over your header files.
You should still maintain the equivalence between the source and this
file though; every change you make to the .c file should be reflected
here. */
#ifndef __BFD_H_SEEN__
#define __BFD_H_SEEN__
#ifdef __cplusplus
extern "C" {
#endif
#include "ansidecl.h"
/* These two lines get substitutions done by commands in Makefile.in. */
#define BFD_VERSION "2.9.5"
#define BFD_ARCH_SIZE 32
#define BFD_HOST_64BIT_LONG 0
#if 0
#define BFD_HOST_64_BIT
#define BFD_HOST_U_64_BIT
#endif
#if BFD_ARCH_SIZE >= 64
#define BFD64
#endif
#ifndef INLINE
#if __GNUC__ >= 2
#define INLINE __inline__
#else
#define INLINE
#endif
#endif
/* forward declaration */
typedef struct _bfd bfd;
/* To squelch erroneous compiler warnings ("illegal pointer
combination") from the SVR3 compiler, we would like to typedef
boolean to int (it doesn't like functions which return boolean.
Making sure they are never implicitly declared to return int
doesn't seem to help). But this file is not configured based on
the host. */
/* General rules: functions which are boolean return true on success
and false on failure (unless they're a predicate). -- bfd.doc */
/* I'm sure this is going to break something and someone is going to
force me to change it. */
/* typedef enum boolean {false, true} boolean; */
/* Yup, SVR4 has a "typedef enum boolean" in <sys/types.h> -fnf */
/* It gets worse if the host also defines a true/false enum... -sts */
/* And even worse if your compiler has built-in boolean types... -law */
/* And even worse if your compiler provides a stdbool.h that conflicts
with these definitions... gcc 2.95 and later do. -drow */
#if defined (__GNUG__) && (__GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 6))
#define TRUE_FALSE_ALREADY_DEFINED
#else
#if (__GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 95))
#include <stdbool.h>
#define TRUE_FALSE_ALREADY_DEFINED
#endif
#endif
#ifdef MPW
/* Pre-emptive strike - get the file with the enum. */
#include <Types.h>
#define TRUE_FALSE_ALREADY_DEFINED
#endif /* MPW */
#ifndef TRUE_FALSE_ALREADY_DEFINED
typedef enum bfd_boolean {false, true} boolean;
#define BFD_TRUE_FALSE
#else
/* Use enum names that will appear nowhere else. */
typedef enum bfd_boolean {bfd_fffalse, bfd_tttrue} boolean;
#endif
/* A pointer to a position in a file. */
/* FIXME: This should be using off_t from <sys/types.h>.
For now, try to avoid breaking stuff by not including <sys/types.h> here.
This will break on systems with 64-bit file offsets (e.g. 4.4BSD).
Probably the best long-term answer is to avoid using file_ptr AND off_t
in this header file, and to handle this in the BFD implementation
rather than in its interface. */
/* typedef off_t file_ptr; */
typedef long int file_ptr;
/* Support for different sizes of target format ints and addresses.
If the type `long' is at least 64 bits, BFD_HOST_64BIT_LONG will be
set to 1 above. Otherwise, if gcc is being used, this code will
use gcc's "long long" type. Otherwise, BFD_HOST_64_BIT must be
defined above. */
#ifndef BFD_HOST_64_BIT
# if BFD_HOST_64BIT_LONG
# define BFD_HOST_64_BIT long
# define BFD_HOST_U_64_BIT unsigned long
# else
# ifdef __GNUC__
# if __GNUC__ >= 2
# define BFD_HOST_64_BIT long long
# define BFD_HOST_U_64_BIT unsigned long long
# endif /* __GNUC__ >= 2 */
# endif /* ! defined (__GNUC__) */
# endif /* ! BFD_HOST_64BIT_LONG */
#endif /* ! defined (BFD_HOST_64_BIT) */
#ifdef BFD64
#ifndef BFD_HOST_64_BIT
#error No 64 bit integer type available
#endif /* ! defined (BFD_HOST_64_BIT) */
typedef BFD_HOST_U_64_BIT bfd_vma;
typedef BFD_HOST_64_BIT bfd_signed_vma;
typedef BFD_HOST_U_64_BIT bfd_size_type;
typedef BFD_HOST_U_64_BIT symvalue;
#ifndef fprintf_vma
#if BFD_HOST_64BIT_LONG
#define sprintf_vma(s,x) sprintf (s, "%016lx", x)
#define fprintf_vma(f,x) fprintf (f, "%016lx", x)
#else
#define _bfd_int64_low(x) ((unsigned long) (((x) & 0xffffffff)))
#define _bfd_int64_high(x) ((unsigned long) (((x) >> 32) & 0xffffffff))
#define fprintf_vma(s,x) \
fprintf ((s), "%08lx%08lx", _bfd_int64_high (x), _bfd_int64_low (x))
#define sprintf_vma(s,x) \
sprintf ((s), "%08lx%08lx", _bfd_int64_high (x), _bfd_int64_low (x))
#endif
#endif
#else /* not BFD64 */
/* Represent a target address. Also used as a generic unsigned type
which is guaranteed to be big enough to hold any arithmetic types
we need to deal with. */
typedef unsigned long bfd_vma;
/* A generic signed type which is guaranteed to be big enough to hold any
arithmetic types we need to deal with. Can be assumed to be compatible
with bfd_vma in the same way that signed and unsigned ints are compatible
(as parameters, in assignment, etc). */
typedef long bfd_signed_vma;
typedef unsigned long symvalue;
typedef unsigned long bfd_size_type;
/* Print a bfd_vma x on stream s. */
#define fprintf_vma(s,x) fprintf(s, "%08lx", x)
#define sprintf_vma(s,x) sprintf(s, "%08lx", x)
#endif /* not BFD64 */
#define printf_vma(x) fprintf_vma(stdout,x)
typedef unsigned int flagword; /* 32 bits of flags */
typedef unsigned char bfd_byte;
/** File formats */
typedef enum bfd_format {
bfd_unknown = 0, /* file format is unknown */
bfd_object, /* linker/assember/compiler output */
bfd_archive, /* object archive file */
bfd_core, /* core dump */
bfd_type_end} /* marks the end; don't use it! */
bfd_format;
/* Values that may appear in the flags field of a BFD. These also
appear in the object_flags field of the bfd_target structure, where
they indicate the set of flags used by that backend (not all flags
are meaningful for all object file formats) (FIXME: at the moment,
the object_flags values have mostly just been copied from backend
to another, and are not necessarily correct). */
/* No flags. */
#define BFD_NO_FLAGS 0x00
/* BFD contains relocation entries. */
#define HAS_RELOC 0x01
/* BFD is directly executable. */
#define EXEC_P 0x02
/* BFD has line number information (basically used for F_LNNO in a
COFF hea
没有合适的资源?快使用搜索试试~ 我知道了~
编译工具 or32-uclinux.rar编译工具 or32-uclinux.rar编译工具 or32-uclinux.rar
共793个文件
h:575个
exe:31个
1:20个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 57 浏览量
2022-03-29
23:12:01
上传
评论
收藏 13.44MB RAR 举报
温馨提示
编译工具 or32-uclinux.rar编译工具 or32-uclinux.rar编译工具 or32-uclinux.rar
资源推荐
资源详情
资源评论
收起资源包目录
编译工具 or32-uclinux.rar编译工具 or32-uclinux.rar编译工具 or32-uclinux.rar (793个子文件)
or32-uclinux-gcc.1 382KB
or32-uclinux-ld.1 75KB
or32-uclinux-as.1 28KB
cpp.1 28KB
or32-uclinux-objcopy.1 26KB
or32-uclinux-objdump.1 18KB
gcov.1 16KB
or32-uclinux-dlltool.1 15KB
or32-uclinux-ar.1 15KB
or32-uclinux-nm.1 13KB
or32-uclinux-windres.1 11KB
or32-uclinux-readelf.1 10KB
or32-uclinux-strip.1 9KB
or32-uclinux-gdb.1 8KB
or32-uclinux-size.1 8KB
or32-uclinux-c++filt.1 8KB
or32-uclinux-strings.1 7KB
or32-uclinux-addr2line.1 7KB
or32-uclinux-nlmconv.1 7KB
or32-uclinux-ranlib.1 5KB
gpl.7 25KB
gfdl.7 23KB
fsf-funding.7 6KB
libbfd.a 1.91MB
libiberty.a 780KB
libc.a 549KB
libgcc.a 337KB
libopcodes.a 169KB
libm.a 92KB
libmmalloc.a 38KB
libcrypt.a 9KB
libutil.a 5KB
libresolv.a 774B
.cvsignore 10B
dir 2KB
Entries 12KB
Entries 3KB
Entries 3KB
Entries 2KB
Entries 2KB
Entries 774B
Entries 753B
Entries 602B
Entries 274B
cc1.exe 5.83MB
or32-uclinux-gdb.exe 4.6MB
or32-uclinux-objdump.exe 1.59MB
or32-uclinux-objcopy.exe 1.54MB
or32-uclinux-strip.exe 1.54MB
strip.exe 1.54MB
or32-uclinux-ld.exe 1.48MB
ld.exe 1.48MB
or32-uclinux-as.exe 1.47MB
as.exe 1.47MB
or32-uclinux-nm.exe 1.12MB
nm.exe 1.12MB
or32-uclinux-addr2line.exe 1.1MB
or32-uclinux-ranlib.exe 1MB
or32-uclinux-ar.exe 1MB
ar.exe 1MB
ranlib.exe 1MB
or32-uclinux-strings.exe 1015KB
or32-uclinux-size.exe 990KB
or32-uclinux-sim.exe 979KB
or32-uclinux-readelf.exe 512KB
cpp0.exe 490KB
collect2.exe 291KB
or32-uclinux-gasp.exe 281KB
or32-uclinux-cpp.exe 222KB
or32-uclinux-gcc.exe 218KB
gcc.exe 218KB
or32-uclinux-c++filt.exe 206KB
tradcpp0.exe 181KB
or32-uclinux-gcov.exe 107KB
or32-uclibc-gcc.exe 13KB
fixed 10B
bfd.h 113KB
elf.h 84KB
string2.h 42KB
soundcard.h 41KB
pci.h 38KB
unistd.h 35KB
isdn.h 34KB
stdlib.h 30KB
sbpcd.h 26KB
fs.h 26KB
cyclades.h 25KB
tpqic02.h 24KB
pthread.h 24KB
stdio.h 22KB
regex.h 21KB
bfdlink.h 21KB
nameser.h 20KB
netdb.h 19KB
scc.h 19KB
confname.h 19KB
spr_defs.h 17KB
mm.h 16KB
ext2_fs.h 16KB
sysv_fs.h 16KB
共 793 条
- 1
- 2
- 3
- 4
- 5
- 6
- 8
资源评论
应用市场
- 粉丝: 456
- 资源: 3808
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功