binutils-gdb/bfd
Ken Raeburn ede4eed483 Added new files elflink.c, elflink.h, elfcore.h.
Moved some mostly size-independent stuff from elfcode.h to elf.c, adding a data
structure to elfcode.h with some misc data and callback functions.  Added a
pointer to that structure to the target back end data.  More work can be done
here.

Renamed generic elf routines (not cpu-specific stuff) to start with bfd_elf or
_bfd_elf.  Updated most call sites, sometimes defined some macros.

Moved some dynamic linking support code from m68k, sparc, i386 to common files,
using target back end flags to control behavior.  More work can probably be
done here too.

Moved core- and linker-support code out of elfcode.h to elf.c, elfcore.h,
elflink.h, or elflink.c.  Now elfcode.h contains only .o and executable
support, plus #includes of elfcore.h and elflink.h.  Much of the contents of
these other header files can probably still be moved from the .h files to the
.c files, to get compiled only once.

Cleaned up some "gcc -Wall" warnings regarding unused or uninitialized
variables, in generic and cpu-specific code.
1995-07-06 02:22:00 +00:00
..
doc autoconfiscation 1995-07-05 09:32:47 +00:00
hosts Mon Jul 3 13:55:18 1995 Steve Chamberlain <sac@slash.cygnus.com> 1995-07-03 21:11:15 +00:00
.Sanitize Added new files elflink.c, elflink.h, elfcore.h. 1995-07-06 02:22:00 +00:00
COPYING
ChangeLog Added new files elflink.c, elflink.h, elfcore.h. 1995-07-06 02:22:00 +00:00
ChangeLog.1 Split ChangeLog into two. 1993-11-23 08:06:20 +00:00
Makefile.in Added new files elflink.c, elflink.h, elfcore.h. 1995-07-06 02:22:00 +00:00
PORTING add pointer to config/README 1993-08-07 22:45:02 +00:00
TODO make target selection fully configurable 1993-08-07 22:38:22 +00:00
VERSION update to version 2.5 1994-10-14 23:17:15 +00:00
aix386-core.c * targets.c (bfd_target): Rearranged fields in target vector. 1994-04-06 22:00:40 +00:00
aout-adobe.c * All backends: Added BFD_JUMP_TABLE_DYNAMIC to target vector. 1994-04-07 01:58:27 +00:00
aout-encap.c * aout-encap.c (ARCH): Don't define. Obsolete. 1994-07-12 15:46:32 +00:00
aout-ns32k.c Change "reloc_howto_type" typedef to be "const", since all uses of it are (or 1995-01-12 02:41:04 +00:00
aout-rce.c Clean up bitrot (such as interfaces that have changed since these 1994-11-25 02:14:11 +00:00
aout-target.h * aout-target.h (MY_bfd_copy_private_section_data): Only copy 1994-10-18 18:49:34 +00:00
aout0.c For PR 1927. 1994-05-04 19:37:36 +00:00
aout32.c
aout64.c
aoutf1.h * aoutf1.h (aout_32_sunos4_write_object_contents): Handle a 1994-06-13 18:25:12 +00:00
aoutx.h * aoutx.h (NAME(aout,swap_ext_reloc_in)): Add symcount parameter, 1995-03-09 20:14:04 +00:00
archive.c * archive.c (_bfd_construct_extended_name_table): If 1995-07-04 20:22:43 +00:00
archures.c const fixes 1995-01-12 20:29:22 +00:00
bfd-in.h * elfcode.h (NAME(bfd_elf,record_link_assignment)): Add provide 1995-07-04 17:43:05 +00:00
bfd-in2.h * elfcode.h (NAME(bfd_elf,record_link_assignment)): Add provide 1995-07-04 17:43:05 +00:00
bfd.c * bfd.c (enum bfd_error): Define bfd_error_no_armap. 1995-07-03 22:16:40 +00:00
binary.c * binary.c: New file for raw binary output format. 1994-10-18 18:51:01 +00:00
bout.c * Many files: change all bfd_target vectors to be const. Change 1994-06-20 21:55:45 +00:00
cache.c Modified Files: 1994-02-28 23:49:08 +00:00
cf-i386lynx.c * targets.c (bfd_target): Rearranged fields in target vector. 1994-04-06 22:00:40 +00:00
cf-m68klynx.c update copyright dates 1995-01-24 19:48:50 +00:00
cf-sparclynx.c A number of minor Lynx-related changes, plus basic Sparc Lynx support. 1993-10-29 02:01:43 +00:00
cisco-core.c * targets.c (bfd_target): Rearranged fields in target vector. 1994-04-06 22:00:40 +00:00
coff-a29k.c * coff-a29k.c (coff_a29k_adjust_symndx): Completely parenthesize 1995-06-05 16:11:26 +00:00
coff-alpha.c Add new style linker support to COFF backend. a29k only for now. 1994-09-06 19:28:55 +00:00
coff-apollo.c * targets.c (bfd_target): Rearranged fields in target vector. 1994-04-06 22:00:40 +00:00
coff-go32.c * Many files: change all bfd_target vectors to be const. Change 1994-06-20 21:55:45 +00:00
coff-h8300.c * coff-h8300.c (COFF_LONG_FILENAMES): Define. 1995-06-30 00:26:53 +00:00
coff-h8500.c * Many files: change all bfd_target vectors to be const. Change 1994-06-20 21:55:45 +00:00
coff-i386.c Wed Jun 28 18:04:42 1995 Steve Chamberlain <sac@slash.cygnus.com> 1995-06-29 01:17:58 +00:00
coff-i960.c * coff-i960.c (coff_i960_relocate): Rewrote to change relocs 1994-08-03 20:51:59 +00:00
coff-m68k.c Change "reloc_howto_type" typedef to be "const", since all uses of it are (or 1995-01-12 02:41:04 +00:00
coff-m88k.c * targets.c (bfd_target): Rearranged fields in target vector. 1994-04-06 22:00:40 +00:00
coff-mips.c Add new style linker support to COFF backend. a29k only for now. 1994-09-06 19:28:55 +00:00
coff-rs6000.c * targets.c (bfd_target): Rearranged fields in target vector. 1994-04-06 22:00:40 +00:00
coff-sh.c update copyright dates 1995-01-24 19:48:50 +00:00
coff-sparc.c * coff-sparc.c (SWAP_OUT_RELOC_EXTRA): Define to clear the r_spare 1994-06-15 19:54:15 +00:00
coff-u68k.c * Rename for DOS uniqueness: coff-m68k-un.c -> coff-u68k.c 1993-07-20 21:45:32 +00:00
coff-we32k.c * targets.c (bfd_target): Rearranged fields in target vector. 1994-04-06 22:00:40 +00:00
coff-z8k.c * Many files: change all bfd_target vectors to be const. Change 1994-06-20 21:55:45 +00:00
coffcode.h Wed Jun 28 18:04:42 1995 Steve Chamberlain <sac@slash.cygnus.com> 1995-06-29 01:17:58 +00:00
coffgen.c * coffgen.c: Reindented. 1995-02-17 16:46:52 +00:00
cofflink.c * cofflink.c (_bfd_coff_generic_relocate_section): Cast base_file 1995-07-02 21:51:36 +00:00
coffswap.h * coffcode.h (bfd_coff_backend_data): Added new arguments to 1994-02-01 17:11:56 +00:00
config.bfd Mon Jul 3 13:55:18 1995 Steve Chamberlain <sac@slash.cygnus.com> 1995-07-03 21:11:15 +00:00
configure * configure.in: Use $ac_config_sub, not $configsub. 1995-07-05 14:34:12 +00:00
configure.bat changes from gas-2.3/binutils-2.4 dist (details in branch log msgs, changelogs) 1994-05-27 16:58:05 +00:00
configure.host Wed Jun 28 18:04:42 1995 Steve Chamberlain <sac@slash.cygnus.com> 1995-06-29 01:17:58 +00:00
configure.in * configure.in: Use $ac_config_sub, not $configsub. 1995-07-05 14:34:12 +00:00
core.c * Most files: 1994-03-15 15:13:13 +00:00
cpu-a29k.c * Most files: 1994-03-15 15:13:13 +00:00
cpu-alpha.c
cpu-h8300.c * bfd-in.h (bfd_byte, reloc_howto_type): Define here, not... 1995-01-17 21:16:53 +00:00
cpu-h8500.c
cpu-hppa.c
cpu-i386.c
cpu-i960.c
cpu-m88k.c
cpu-rce.c Add changes from customer since last work. 1994-11-26 00:17:52 +00:00
cpu-rs6000.c
cpu-vax.c
cpu-w65.c * archures.c, Makefile.in, targets.c, bfd-in2.h, coffcode.h, 1995-01-16 05:44:00 +00:00
cpu-we32k.c
cpu-z8k.c
demo64.c
dep-in.sed Make "make dep" easier to work with. Updated lots of dependencies. 1993-10-13 19:04:08 +00:00
ecoff.c * ecoff.c (_bfd_ecoff_bfd_is_local_label): New function. 1995-07-05 16:31:07 +00:00
ecofflink.c * coff-mips.c (mips_relocate_section): When relaxing, adjust local 1994-04-15 18:35:32 +00:00
ecoffswap.h ecoff gprof related fixes & improvements from David Mosberger-Tang 1995-02-07 01:06:25 +00:00
elf.c Added new files elflink.c, elflink.h, elfcore.h. 1995-07-06 02:22:00 +00:00
elf32-arc.c E_ARC_CPU_XXX renamed to E_ARC_MACH_XXX for consistency with rest of BFD. 1995-02-10 04:34:36 +00:00
elf32-gen.c Added new files elflink.c, elflink.h, elfcore.h. 1995-07-06 02:22:00 +00:00
elf32-hppa.c Added new files elflink.c, elflink.h, elfcore.h. 1995-07-06 02:22:00 +00:00
elf32-hppa.h * bfd-in2.h: Rebuilt. 1994-05-16 19:34:13 +00:00
elf32-i386.c Added new files elflink.c, elflink.h, elfcore.h. 1995-07-06 02:22:00 +00:00
elf32-i860.c Added new files elflink.c, elflink.h, elfcore.h. 1995-07-06 02:22:00 +00:00
elf32-m68k.c Added new files elflink.c, elflink.h, elfcore.h. 1995-07-06 02:22:00 +00:00
elf32-m88k.c Added new files elflink.c, elflink.h, elfcore.h. 1995-07-06 02:22:00 +00:00
elf32-mips.c Added new files elflink.c, elflink.h, elfcore.h. 1995-07-06 02:22:00 +00:00
elf32-ppc.c Added new files elflink.c, elflink.h, elfcore.h. 1995-07-06 02:22:00 +00:00
elf32-sparc.c Added new files elflink.c, elflink.h, elfcore.h. 1995-07-06 02:22:00 +00:00
elf32.c
elf64-gen.c * Rename elf{32,64}-generic.c to *-gen.c for 14 char filenames. 1993-07-17 01:28:11 +00:00
elf64-sparc.c * elf32-sparc.c (elf_sparc_howto_table): Don't use "^&" before 1993-07-20 20:26:51 +00:00
elf64.c
elfcode.h Added new files elflink.c, elflink.h, elfcore.h. 1995-07-06 02:22:00 +00:00
elfcore.h Added new files elflink.c, elflink.h, elfcore.h. 1995-07-06 02:22:00 +00:00
elflink.c Added new files elflink.c, elflink.h, elfcore.h. 1995-07-06 02:22:00 +00:00
elflink.h Added new files elflink.c, elflink.h, elfcore.h. 1995-07-06 02:22:00 +00:00
elfxx-target.h Added new files elflink.c, elflink.h, elfcore.h. 1995-07-06 02:22:00 +00:00
filemode.c
format.c * format.c (bfd_check_format_matches): Put the new entry in the 1994-01-26 21:53:55 +00:00
gen-aout.c
genlink.h Added new files for linker support, and removed old seclet files. 1993-12-30 20:03:34 +00:00
hash.c Make all callers of malloc or realloc (including via obstacks) 1994-02-12 00:45:54 +00:00
host-aout.c
hp300bsd.c
hp300hpux.c * hp300hpux.c (MY_final_link_callback): Define to avoid warning. 1994-06-20 15:11:34 +00:00
hppa_stubs.h * Support code for enabling the new style linker for PA ELF. 1994-07-01 19:00:17 +00:00
hppabsd-core.c * targets.c (bfd_target): Rearranged fields in target vector. 1994-04-06 22:00:40 +00:00
hpux-core.c * targets.c (bfd_target): Rearranged fields in target vector. 1994-04-06 22:00:40 +00:00
i386aout.c
i386bsd.c
i386dynix.c * i386dynix.c, config/i386-dynix.mt: New files, handling Dynix 1994-03-30 08:53:45 +00:00
i386linux.c * i386linux.c (NEEDS_SHRLIB): Define. 1995-02-09 17:19:53 +00:00
i386lynx.c * Many files: change all bfd_target vectors to be const. Change 1994-06-20 21:55:45 +00:00
i386mach3.c * i386mach3.c (N_TXTADDR): Don't define after all. 1993-12-31 21:11:49 +00:00
i386netbsd.c * libaout.h (machine_type): added M_68K_NETBSD and M_SPARC_NETBSD. 1994-10-21 23:55:30 +00:00
i386os9k.c * All backends: Added BFD_JUMP_TABLE_DYNAMIC to target vector. 1994-04-07 01:58:27 +00:00
ieee.c * Many files: change all bfd_target vectors to be const. Change 1994-06-20 21:55:45 +00:00
init.c doc cleanup 1993-11-05 19:51:52 +00:00
irix-core.c * targets.c (bfd_target): Rearranged fields in target vector. 1994-04-06 22:00:40 +00:00
libaout.h Add changes from customer since last work. 1994-11-26 00:17:52 +00:00
libbfd-in.h * hash.c: Copy string hash functions from aoutx.h. 1994-08-22 16:36:52 +00:00
libbfd.c * targets.c (bfd_target): Rearranged fields in target vector. 1994-04-06 22:00:40 +00:00
libbfd.h Change "reloc_howto_type" typedef to be "const", since all uses of it are (or 1995-01-12 02:41:04 +00:00
libcoff-in.h Add new style linker support to COFF backend. a29k only for now. 1994-09-06 19:28:55 +00:00
libcoff.h Add new style linker support to COFF backend. a29k only for now. 1994-09-06 19:28:55 +00:00
libecoff.h * ecoff.c (_bfd_ecoff_bfd_is_local_label): New function. 1995-07-05 16:31:07 +00:00
libelf.h Added new files elflink.c, elflink.h, elfcore.h. 1995-07-06 02:22:00 +00:00
libhppa.h Fix typo in last check-in. 1994-05-16 16:35:36 +00:00
libieee.h
libnlm.h * libnlm.h (struct nlm_obj_tdata): Add nlm_cygnus_section_hdr 1994-04-21 16:13:01 +00:00
liboasys.h
linker.c * bfd.c (enum bfd_error): Define bfd_error_no_armap. 1995-07-03 22:16:40 +00:00
lynx-core.c * Makefile.in (OPTIONAL_BACKENDS): Add lynx-core.o. 1993-09-22 14:54:50 +00:00
m68klynx.c * aout-encap.c (ARCH): Don't define. Obsolete. 1994-07-12 15:46:32 +00:00
m68knetbsd.c NetBSD/m68k support, based on work by mikeb@snow.datametrics.com: 1994-10-28 18:11:15 +00:00
m88kmach3.c Mach 3 support. 1994-07-05 21:50:43 +00:00
makefile.dos go32 patches from dj 1994-11-03 23:50:48 +00:00
mipsbsd.c Patches from kkojima@mix.or.jp (Kazumoto Kojima): 1994-12-21 00:36:26 +00:00
mpw-config.in * bfd-in.h, bfd-in2.h (bfd_boolean): Rename bfd_true, bfd_false 1995-06-15 21:18:17 +00:00
mpw-make.in * bfd-in.h, bfd-in2.h (bfd_boolean): Rename bfd_true, bfd_false 1995-06-15 21:18:17 +00:00
netbsd.h * libaout.h (machine_type): added M_68K_NETBSD and M_SPARC_NETBSD. 1994-10-21 23:55:30 +00:00
newsos3.c
nlm-target.h * All backends: Added BFD_JUMP_TABLE_DYNAMIC to target vector. 1994-04-07 01:58:27 +00:00
nlm.c * configure.in (*-*-netware, i[34]86-*-netware): New configs. 1993-07-20 04:45:13 +00:00
nlm32-alpha.c An annoying typo (faflse instead of false). Oopsie. 1994-03-28 23:03:21 +00:00
nlm32-i386.c * libbfd.c (bfd_read): Set bfd_error as appropriate for a short 1994-03-26 18:28:29 +00:00
nlm32-ppc.c start-sanitize-powerpc-netware 1994-04-20 18:38:22 +00:00
nlm32-sparc.c * nlm32-i386.c (nlm_i386_read_import): Null terminate the symbol 1994-03-31 19:05:03 +00:00
nlm32.c * configure.in (*-*-netware, i[34]86-*-netware): New configs. 1993-07-20 04:45:13 +00:00
nlm64.c * configure.in (*-*-netware, i[34]86-*-netware): New configs. 1993-07-20 04:45:13 +00:00
nlmcode.h * Many files: change all bfd_target vectors to be const. Change 1994-06-20 21:55:45 +00:00
nlmswap.h * nlmswap.h: Declare functions. 1993-12-02 02:19:25 +00:00
ns32knetbsd.c * libaout.h (machine_type): added M_68K_NETBSD and M_SPARC_NETBSD. 1994-10-21 23:55:30 +00:00
oasys.c * oasys.c (oasys_slurp_symbol_table): Use udata.p rather than just 1994-10-17 23:59:36 +00:00
opncls.c * opncls.c (bfd_openstreamr): Call bfd_cache_init. 1995-01-23 18:35:07 +00:00
osf-core.c * targets.c (bfd_target): Rearranged fields in target vector. 1994-04-06 22:00:40 +00:00
pc532-mach.c NS32K changes from Ian Dall. 1994-07-14 21:35:54 +00:00
pe-i386.c Thu May 11 16:43:14 1995 Steve Chamberlain <sac@slash.cygnus.com> 1995-05-13 18:03:25 +00:00
ptrace-core.c * targets.c (bfd_target): Rearranged fields in target vector. 1994-04-06 22:00:40 +00:00
reloc.c Change "reloc_howto_type" typedef to be "const", since all uses of it are (or 1995-01-12 02:41:04 +00:00
reloc16.c * bout.c (calljx_callback, callj_callback): Use get_value to get 1994-01-24 18:05:08 +00:00
rs6000-core.c * coff-rs6000.c: Add Lynx core file support, use HOST_AIX, where 1994-02-15 01:28:16 +00:00
section.c * Most files: 1994-03-15 15:13:13 +00:00
som.c * som.c (hppa_som_gen_reloc_type): New argument "sym_diff", 1995-07-03 23:27:25 +00:00
som.h * som.c (hppa_som_gen_reloc_type): New argument "sym_diff", 1995-07-03 23:27:25 +00:00
sparclynx.c * sparclynx.c: Setup appropriate macros to enable core file 1994-01-22 20:27:55 +00:00
sparcnetbsd.c * libaout.h (machine_type): added M_68K_NETBSD and M_SPARC_NETBSD. 1994-10-21 23:55:30 +00:00
srec.c update copyright dates 1995-01-24 19:48:50 +00:00
stab-syms.c * cofflink.c (_bfd_coff_generic_relocate_section): Cast base_file 1995-07-02 21:51:36 +00:00
sunos.c Distinguish a weak defined symbol from a regular defined symbol. 1995-02-06 20:01:08 +00:00
syms.c Wed Jun 28 18:04:42 1995 Steve Chamberlain <sac@slash.cygnus.com> 1995-06-29 01:17:58 +00:00
targets.c * targets.c (enum bfd_flavour): Add bfd_target_msdos_flavour here, 1995-07-03 22:15:10 +00:00
tekhex.c * Many files: change all bfd_target vectors to be const. Change 1994-06-20 21:55:45 +00:00
trad-core.c * targets.c (bfd_target): Rearranged fields in target vector. 1994-04-06 22:00:40 +00:00
versados.c * bfd-in.h, bfd-in2.h (bfd_boolean): Rename bfd_true, bfd_false 1995-06-15 21:18:17 +00:00