old-cross-binutils/bfd
Steve Chamberlain b297038d0b Thu May 11 16:43:14 1995 Steve Chamberlain <sac@slash.cygnus.com>
tekhex.c (first_phase): Understand type 0 symbols.
	(tekhex_write_object_contents): Fix typo in final record.

Thu May 11 16:43:14 1995  Steve Chamberlain  <sac@slash.cygnus.com>

	pr ld/6840

	* coff-i960.c (optcall_callback): don't try and optimize
	undefined refs.
	(coff_write_relocs): Search for broken relocs on the way
	out and fix them up.
	(coff_renumber_symbols): Calculate and return index of
	first undefined symbol.
	(coff_write_object_contents): Call coff_renumber_symbols
	and coff_write_relocs with the new args.
	* libcoff.h: (coff_renumber_symbols, coff_renumber_symbols):
	Modified prototypes.

Thu May 11 16:43:14 1995  Steve Chamberlain  <sac@slash.cygnus.com>
			  Tom Griest <griest@cs.yale.edu>

	Initial support for PE format.

	* Makefile.in, targets.c, configure.in, config.bfd:
	Add support for i386-*-winnt and i386-*-pe.
	* archive.c (do_slurp_coff_armap):  Understand NTPE format
	archives.
	(_bfd_slurp_extended_name_table): Turn \ in a filename
	into /.
	* bfd-in.h (bfd_link_subsystem, _bfd_link_stack_heap): New.
	* coff-i386.c  (howto_table): Conditionalize PCRELOFFSET.
	* coffcode.h (IMAGE_BASE): New.
	(coff_compute_section_file_positions): Throw away .junk
	sections for PE, align symbols.
	(coff_write_object_contents): Throw away .junk sections
	for PE. Remember info on .idata and .rsrc sections.
	Fill in the PE header.
	(coff_slurp_symbol_table): PE uses C_SECTION class.
	* cofflink.c (_bfd_coff_final_link): Keep PE info up to date.
	(_bfd_coff_generic_relocate_section): Cope with PE relocs.
	* coffswap.h (coff_swap_{aout/file/scn/sym}hdr_{in/out}):
	New code for PE headers.
1995-05-13 18:03:25 +00:00
..
doc * bfd.texinfo: Added Hash Tables node. 1994-01-03 16:48:24 +00:00
hosts * hosts/std-host.h: #include ansidecl.h 'cause PTR is used in 1995-04-25 18:07:43 +00:00
.Sanitize Thu May 11 16:43:14 1995 Steve Chamberlain <sac@slash.cygnus.com> 1995-05-13 18:03:25 +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_dont_truncate_arname): Add the ar padding 1994-10-31 20:23:47 +00:00
archures.c const fixes 1995-01-12 20:29:22 +00:00
bfd-in.h * libelf.h (struct elf_obj_tdata): New field dt_needed_name. 1994-06-16 00:01:32 +00:00
bfd-in2.h Regenerated. 1995-02-10 01:41:57 +00:00
bfd.c * bfd.c (bfd_scan_vma): Pass end argument on to strtoul. 1994-10-13 18:41:39 +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
ChangeLog Thu May 11 16:43:14 1995 Steve Chamberlain <sac@slash.cygnus.com> 1995-05-13 18:03:25 +00:00
ChangeLog.1 Split ChangeLog into two. 1993-11-23 08:06:20 +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 * coffcode.h (bfd_coff_backend_data): Add new field 1995-03-07 19:56:31 +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 (howto_table): All relocs get a special function. 1994-12-20 19:13:55 +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 Change "reloc_howto_type" typedef to be "const", since all uses of it are (or 1995-01-12 02:41:04 +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 * coffcode.h (bfd_coff_backend_data): Add new field 1995-03-07 19:56:31 +00:00
coffgen.c * coffgen.c: Reindented. 1995-02-17 16:46:52 +00:00
cofflink.c * cofflink.c (coff_link_input_bfd): If r_symndx is -1, don't 1994-09-12 21:01:19 +00:00
coffswap.h * coffcode.h (bfd_coff_backend_data): Added new arguments to 1994-02-01 17:11:56 +00:00
config.bfd Add little endian PowerPC support. 1995-05-09 21:07:06 +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 * configure.host (i[345]86-*-solaris*): Use solaris2 to 1994-11-19 11:14:01 +00:00
configure.in Add little endian PowerPC support. 1995-05-09 21:07:06 +00:00
COPYING
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 clean up mechanics of mosberger-tang's changes 1995-02-07 20:06:28 +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 * aoutx.h (aout_link_check_ar_symbols): When changing a symbol to 1994-07-22 18:53:23 +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-hppa.c Opps. Check in correct version of last elf32-hppa.c change. 1994-12-21 17:34:50 +00:00
elf32-hppa.h * bfd-in2.h: Rebuilt. 1994-05-16 19:34:13 +00:00
elf32-i386.c * sunos.c (m68k_plt_first_entry, sparc_plt_first_entry): Now const. 1995-01-12 21:35:05 +00:00
elf32-mips.c update copyright dates 1995-01-24 19:48:50 +00:00
elf32-ppc.c Fix powerpc PC relative reloc & add some 16 bit relocs. 1995-02-15 19:57:56 +00:00
elf32-sparc.c * elf32-sparc.c (elf32_sparc_size_dynamic_sections): Only write 1995-03-13 20:39:36 +00:00
elf32-target.h Add support for checking whether all PowerPC ELF modules either use -mrelocatable or do not. 1995-03-09 17:20:20 +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-target.h Add support for checking whether all PowerPC ELF modules either use -mrelocatable or do not. 1995-03-09 17:20:20 +00:00
elf64.c
elfcode.h * elfcode.h (elf_sort_hdrs): Check SHT_NOBITS before checking 1995-03-07 17:25:07 +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 * coffcode.h (styp_to_sec_flags): Add name argument. If no flags 1994-08-15 16:26:06 +00:00
libelf.h * libelf.h (bfd_elf32__write_relocs): Don't declare. 1995-03-15 16:57:15 +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 Distinguish a weak defined symbol from a regular defined symbol. 1995-02-06 20:01:08 +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
Makefile.in update dependencies 1995-02-09 17:34:44 +00:00
mipsbsd.c Patches from kkojima@mix.or.jp (Kazumoto Kojima): 1994-12-21 00:36:26 +00:00
mpw-config.in * mpw-config.in: Edit the BFD version into bfd.h. 1994-12-13 03:34:28 +00:00
mpw-make.in * mpw-make.in (DebugOptions): Remove define of DEBUG_BFD_SEND. 1995-01-03 20:15:20 +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
PORTING add pointer to config/README 1993-08-07 22:45:02 +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 (som_slurp_symbol_table): Tighten test to determine 1995-03-21 05:40:30 +00:00
som.h * som.h (som_symbol_type): Add "stringtab_offset" field. 1994-09-14 21:44:35 +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
sunos.c Distinguish a weak defined symbol from a regular defined symbol. 1995-02-06 20:01:08 +00:00
syms.c * syms.c (stt): Add .rdata and .rodata. 1994-09-29 16:30:12 +00:00
targets.c Add little endian PowerPC support. 1995-05-09 21:07:06 +00:00
tekhex.c * Many files: change all bfd_target vectors to be const. Change 1994-06-20 21:55:45 +00:00
TODO make target selection fully configurable 1993-08-07 22:38:22 +00:00
trad-core.c * targets.c (bfd_target): Rearranged fields in target vector. 1994-04-06 22:00:40 +00:00
VERSION update to version 2.5 1994-10-14 23:17:15 +00:00