binutils-gdb/bfd
Ian Lance Taylor 326e32d7ce Wed Mar 30 16:25:41 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
Changes to let BFD return an error indication from
	get_symtab_upper_bound, bfd_canonicalize_symtab,
	bfd_get_reloc_upper_bound, and bfd_canonicalize_reloc.  They now
	return long instead of unsigned int, and use -1 to indicate an
	error.  Along the way, rename get_symtab_upper_bound to
	bfd_get_symtab_upper_bound.
	* bfd.c (bfd_get_reloc_upper_bound): Return long, and -1 on
	errors.
	(bfd_canonicalize_reloc): Likewise.
	* syms.c (bfd_get_symtab_upper_bound): Renamed from
	get_symtab_upper_bound.
	* targets.c (bfd_target): Renamed _get_symtab_upper_bound to
	_bfd_get_symtab_upper_bound, and changed it and
	_bfd_canonicalize_symtab and _get_reloc_upper_bound and
	_bfd_canonicalize_reloc to all return long.
	* aoutx.h (NAME(aout,get_symtab)): Return long, and -1 on errors.
	(NAME(aout,canonicalize_reloc)): Likewise.
	(NAME(aout,get_reloc_upper_bound)): Likewise.
	(NAME(aout,get_symtab_upper_bound)): Likewise.
	* bout.c (b_out_canonicalize_reloc): Likewise.
	(b_out_get_reloc_upper_bound): Likewise.
	* coffcode.h (coff_canonicalize_reloc): Likewise.
	* coffgen.c (coff_get_symtab_upper_bound): Likewise.
	(coff_get_symtab): Likewise.
	(coff_get_reloc_upper_bound): Likewise.
	* ecoff.c (ecoff_get_symtab_upper_bound): Likewise.
	(ecoff_get_symtab): Likewise.
	(ecoff_canonicalize_reloc): Likewise.
	* elfcode.h (elf_get_symtab_upper_bound): Likewise.
	(elf_get_reloc_upper_bound): Likewise.
	(elf_canonicalize_reloc): Likewise.
	(elf_get_symtab): Likewise.
	* hp300hpux.c (MY(get_symtab)): Likewise.
	(MY(get_symtab_upper_bound)): Likewise.
	(MY(canonicalize_reloc)): Likewise.
	* i386lynx.c (NAME(lynx,canonicalize_reloc)): Likewise.
	* ieee.c (ieee_slurp_external_symbols): Change return type to
	boolean.  Check for errors from get_symbol.
	(ieee_slurp_symbol_table): Change return type to boolean.  Check
	for errors from ieee_slurp_external_symbols.
	(ieee_get_symtab_upper_bound): Return long, and -1 on errors.
	(ieee_get_symtab): Likewise.
	(ieee_get_reloc_upper_bound): Likewise.
	(ieee_canonicalize_reloc): Likewise.
	* mipsbsd.c (MY(canonicalize_reloc)): Likewise.
	* nlmcode.h (nlm_get_symtab_upper_bound): Likewise.
	(nlm_get_symtab): Likewise.
	(nlm_get_reloc_upper_bound): Likewise.
	(nlm_canonicalize_reloc): Likewise.
	* oasys.c (oasys_get_symtab_upper_bound): Likewise.
	(oasys_get_symtab): Likewise.
	(oasys_get_reloc_upper_bound): Likewise.
	(oasys_canonicalize_reloc): Likewise.
	* som.c (som_get_symtab_upper_bound): Likewise.
	(som_get_symtab): Likewise.
	(som_get_reloc_upper_bound): Likewise.
	(som_canonicalize_reloc): Likewise.
	* srec.c (srec_get_symtab_upper_bound): Likewise.
	(srec_get_symtab): Likewise.
	(srec_get_reloc_upper_bound): Define as bfd_0l.
	(srec_canonicalize_reloc): Likewise.
	* tekhex.c (tekhex_get_symtab): Return long, and -1 on errors.
	(tekhex_get_symtab_upper_bound): Likewise.
	(tekhex_get_reloc_upper_bound): Define as bfd_0l.
	(tekhex_canonicalize_reloc): Likewise.
	* libaout.h (NAME(aout,get_symtab_upper_bound)): Change
	declaration to return long.
	(NAME(aout,get_symtab)): Likewise.
	(NAME(aout,canonicalize_reloc)): Likewise.
	(NAME(aout,get_reloc_upper_bound)): Likewise.
	* libcoff-in.h (coff_get_symtab_upper_bound): Likewise.
	(coff_get_symtab): Likewise.
	(coff_get_reloc_upper_bound): Likewise.
	* libecoff.h (ecoff_get_symtab_upper_bound): Likewise.
	(ecoff_get_symtab): Likewise.
	(ecoff_canonicalize_reloc): Likewise.
	* libelf.h (bfd_elf32_get_symtab_upper_bound): Likewise.
	(bfd_elf32_get_symtab): Likewise.
	(bfd_elf32_get_reloc_upper_bound): Likewise.
	(bfd_elf32_canonicalize_reloc): Likewise.
	(bfd_elf64_get_symtab_upper_bound): Likewise.
	(bfd_elf64_get_symtab): Likewise.
	(bfd_elf64_get_reloc_upper_bound): Likewise.
	(bfd_elf64_canonicalize_reloc): Likewise.
	* libnlm.h (nlmNAME(get_symtab_upper_bound)): Likewise.
	(nlmNAME(get_symtab)): Likewise.
	(nlmNAME(get_reloc_upper_bound)): Likewise.
	(nlmNAME(canonicalize_reloc)): Likewise.
	* archive.c (compute_and_write_armap): Use error_return and
	no_memory_return labels rather than freeing information in various
	places.  Change storage, symcount and src_count to long.  Check
	errors from bfd_get_symtab_upper_bound and
	bfd_canonicalize_symtab.
	* bout.c (b_out_relax_section): Change reloc_size to long.  Check
	for errors from bfd_get_reloc_upper_bound and
	bfd_canonicalize_reloc.
	(b_out_get_relocated_section_contents): Likewise.
	* coff-alpha.c (alpha_ecoff_get_relocated_section_contents):
	Likewise.
	* elf32-mips.c: Likewise.
	* elf32-hppa.c (hppa_elf_stub_finish): Likewise.
	(hppa_look_for_stubs_in_section): Check for errors from
	bfd_get_symtab_upper_bound, bfd_canonicalize_symtab, and
	bfd_canonicalize_reloc.
	* ecofflink.c (bfd_ecoff_debug_accumulate_other): Check for errors
	from bfd_get_symtab_upper_bound and bfd_canonicalize_symtab.
	* linker.c (generic_link_read_symbols): Likewise.
	(_bfd_generic_final_link): Check for errors from
	bfd_get_reloc_upper_bound and bfd_canonicalize_reloc.
	* reloc.c (bfd_generic_get_relocated_section_contents): Likewise.
	* reloc16.c (bfd_coff_reloc16_relax_section): Likewise.
	(bfd_coff_reloc16_get_relocated_section_contents): Likewise.
	* libbfd.c (bfd_0l): New function.
	* libbfd-in.h (bfd_0l): Declare.
	* aix386-core.c: Change get_symtab_upper_bound, get_symtab,
	get_reloc_upper_bound, and canonicalize_reloc to use bfd_0l rather
	than bfd_0u.
	* cisco-core.c, hppabsd-core.c, hpux-core.c: Likewise.
	* irix-core.c, osf-core.c, ptrace-core.c, trad-core.c: Likewise.
	* bfd-in2.h: Rebuilt.
	* libbfd.h: Rebuilt.
	* libcoff.h: Rebuilt.

	* nlm32-sparc.c (nlm_sparc_read_reloc): Remove unused variables
	temp and name.
1994-03-30 22:15:07 +00:00
..
doc * bfd.texinfo: Added Hash Tables node. 1994-01-03 16:48:24 +00:00
hosts * hosts/sysv4.h (HAVE_PROCFS): Add comments about ptx4. 1994-03-26 01:12:53 +00:00
.Sanitize * i386dynix.c, config/i386-dynix.mt: New files, handling Dynix 1994-03-30 08:53:45 +00:00
aix386-core.c Wed Mar 30 16:25:41 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 1994-03-30 22:15:07 +00:00
aout32.c
aout64.c
aout-adobe.c
aout-encap.c * libbfd.c (bfd_read): Set bfd_error as appropriate for a short 1994-03-26 18:28:29 +00:00
aout-target.h * Most files: 1994-03-15 15:13:13 +00:00
aoutf1.h * Most files: 1994-03-15 15:13:13 +00:00
aoutx.h Wed Mar 30 16:25:41 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 1994-03-30 22:15:07 +00:00
archive.c Wed Mar 30 16:25:41 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 1994-03-30 22:15:07 +00:00
archures.c
bfd-in2.h Wed Mar 30 16:25:41 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 1994-03-30 22:15:07 +00:00
bfd-in.h * bfd-in.h: Remove decls of bfd_ec type and error printing functions. 1994-01-22 02:18:02 +00:00
bfd.c Wed Mar 30 16:25:41 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 1994-03-30 22:15:07 +00:00
bout.c Wed Mar 30 16:25:41 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 1994-03-30 22:15:07 +00:00
cache.c Modified Files: 1994-02-28 23:49:08 +00:00
cf-m68klynx.c * cf-m68klynx.c (CALC_ADDEND): Use _bfd_m68klynx_howto_table. 1994-03-16 04:57:11 +00:00
cf-sparclynx.c
ChangeLog Wed Mar 30 16:25:41 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 1994-03-30 22:15:07 +00:00
ChangeLog.1 Split ChangeLog into two. 1993-11-23 08:06:20 +00:00
ChangeLog.gm Don't need mpw-xconfig.in anymore. 1994-03-17 23:08:36 +00:00
ChangeLog.mpw Sun Feb 27 15:41:10 1994 Stan Shebs (shebs@andros.cygnus.com) 1994-02-27 23:46:59 +00:00
cisco-core.c Wed Mar 30 16:25:41 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 1994-03-30 22:15:07 +00:00
coff-a29k.c * Most files: 1994-03-15 15:13:13 +00:00
coff-alpha.c Wed Mar 30 16:25:41 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 1994-03-30 22:15:07 +00:00
coff-h8300.c Thu Mar 24 11:33:46 1994 Steve Chamberlain (sac@jonny.cygnus.com) 1994-03-24 19:45:23 +00:00
coff-h8500.c Thu Mar 24 11:33:46 1994 Steve Chamberlain (sac@jonny.cygnus.com) 1994-03-24 19:45:23 +00:00
coff-i386.c
coff-i960.c
coff-m68k.c
coff-m88k.c
coff-mips.c Changes to support linker relaxing of embedded MIPS PIC code to 1994-03-25 22:37:55 +00:00
coff-rs6000.c * libbfd.c (bfd_read): Set bfd_error as appropriate for a short 1994-03-26 18:28:29 +00:00
coff-sh.c
coff-u68k.c
coff-z8k.c * bfd/aoutx.h (aout_link_input_section_std, 1994-01-24 20:23:18 +00:00
coffcode.h Wed Mar 30 16:25:41 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 1994-03-30 22:15:07 +00:00
coffgen.c Wed Mar 30 16:25:41 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 1994-03-30 22:15:07 +00:00
coffswap.h * coffcode.h (bfd_coff_backend_data): Added new arguments to 1994-02-01 17:11:56 +00:00
config.bfd * i386dynix.c, config/i386-dynix.mt: New files, handling Dynix 1994-03-30 08:53:45 +00:00
configure.bat
configure.host * hosts/sysv4.h (HAVE_PROCFS): Add comments about ptx4. 1994-03-26 01:12:53 +00:00
configure.in Modified Files: 1994-03-01 21:09:17 +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
cpu-h8500.c
cpu-hppa.c
cpu-i386.c
cpu-i960.c
cpu-m88k.c
cpu-rs6000.c
cpu-vax.c
cpu-we32k.c
cpu-z8k.c
ctor.c * Most files: 1994-03-15 15:13:13 +00:00
demo64.c
dep-in.sed
ecoff.c Wed Mar 30 16:25:41 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 1994-03-30 22:15:07 +00:00
ecofflink.c Wed Mar 30 16:25:41 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 1994-03-30 22:15:07 +00:00
ecoffswap.h
elf32-hppa.c Wed Mar 30 16:25:41 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 1994-03-30 22:15:07 +00:00
elf32-hppa.h * elf32-hppa.h, elfcode.h: Replace uses of Elf*_Half, Elf*_Word, 1994-03-05 22:41:41 +00:00
elf32-i386.c * aoutx.h, archive.c: Add casts to avoid warnings from SVR4 cc. 1994-02-26 18:25:23 +00:00
elf32-mips.c Wed Mar 30 16:25:41 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 1994-03-30 22:15:07 +00:00
elf32-sparc.c
elf32-target.h * bfd-in2.h, libbfd.h, libcoff.h: Rebuilt. 1994-03-16 07:02:05 +00:00
elf32.c
elf64-gen.c
elf64-sparc.c
elf64-target.h * bfd-in2.h, libbfd.h, libcoff.h: Rebuilt. 1994-03-16 07:02:05 +00:00
elf64.c
elf.c Extensive changes to move the bulk of the linker into BFD so that 1993-12-30 19:56:50 +00:00
elfcode.h Wed Mar 30 16:25:41 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 1994-03-30 22:15: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 Wed Mar 30 16:25:41 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 1994-03-30 22:15:07 +00:00
hppa_stubs.h Fri Dec 3 09:55:17 1993 Pete Hoogenboom (hoogen@cs.utah.edu) 1993-12-05 03:41:25 +00:00
hppabsd-core.c Wed Mar 30 16:25:41 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 1994-03-30 22:15:07 +00:00
hpux-core.c Wed Mar 30 16:25:41 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 1994-03-30 22:15:07 +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
i386lynx.c Wed Mar 30 16:25:41 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 1994-03-30 22:15:07 +00:00
i386mach3.c * i386mach3.c (N_TXTADDR): Don't define after all. 1993-12-31 21:11:49 +00:00
i386os9k.c Modified Files: 1994-03-01 21:39:28 +00:00
ieee.c Wed Mar 30 16:25:41 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 1994-03-30 22:15:07 +00:00
init.c
irix-core.c Wed Mar 30 16:25:41 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 1994-03-30 22:15:07 +00:00
libaout.h Wed Mar 30 16:25:41 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 1994-03-30 22:15:07 +00:00
libbfd-in.h Wed Mar 30 16:25:41 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 1994-03-30 22:15:07 +00:00
libbfd.c Wed Mar 30 16:25:41 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 1994-03-30 22:15:07 +00:00
libbfd.h Wed Mar 30 16:25:41 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 1994-03-30 22:15:07 +00:00
libcoff-in.h Wed Mar 30 16:25:41 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 1994-03-30 22:15:07 +00:00
libcoff.h Wed Mar 30 16:25:41 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 1994-03-30 22:15:07 +00:00
libecoff.h Wed Mar 30 16:25:41 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 1994-03-30 22:15:07 +00:00
libelf.h Wed Mar 30 16:25:41 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 1994-03-30 22:15:07 +00:00
libhppa.h Forgot to check these changes in yesterday. 1994-02-27 19:18:06 +00:00
libieee.h
libnlm.h Wed Mar 30 16:25:41 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 1994-03-30 22:15:07 +00:00
liboasys.h
linker.c * linker.c (_bfd_generic_final_link): Set reloc_count to 0 before 1994-03-22 18:18:40 +00:00
lynx-core.c
m68klynx.c * lynx-core.c (lynx_core_file_p): Change bfd_zalloc to bfd_alloc. 1993-11-17 01:11:30 +00:00
Makefile.in * i386dynix.c, config/i386-dynix.mt: New files, handling Dynix 1994-03-30 08:53:45 +00:00
mipsbsd.c Wed Mar 30 16:25:41 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 1994-03-30 22:15:07 +00:00
mpw-config.in Sat Jan 22 13:30:57 1994 Stan Shebs (shebs@andros.cygnus.com) 1994-01-22 22:05:42 +00:00
mpw-make.in Sun Feb 27 15:41:10 1994 Stan Shebs (shebs@andros.cygnus.com) 1994-02-27 23:46:59 +00:00
netbsd386.c * netbsd386.c (N_SET_FLAGS): Delete the old definition. 1994-03-23 22:30:14 +00:00
newsos3.c
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-sparc.c Wed Mar 30 16:25:41 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 1994-03-30 22:15:07 +00:00
nlm32.c
nlm64.c
nlm-target.h
nlm.c
nlmcode.h Wed Mar 30 16:25:41 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 1994-03-30 22:15:07 +00:00
nlmswap.h * nlmswap.h: Declare functions. 1993-12-02 02:19:25 +00:00
oasys.c Wed Mar 30 16:25:41 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 1994-03-30 22:15:07 +00:00
opncls.c Make all callers of malloc or realloc (including via obstacks) 1994-02-12 00:45:54 +00:00
osf-core.c Wed Mar 30 16:25:41 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 1994-03-30 22:15:07 +00:00
PORTING
ptrace-core.c Wed Mar 30 16:25:41 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 1994-03-30 22:15:07 +00:00
reloc16.c * bout.c (calljx_callback, callj_callback): Use get_value to get 1994-01-24 18:05:08 +00:00
reloc.c Wed Mar 30 16:25:41 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 1994-03-30 22:15:07 +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 Wed Mar 30 16:25:41 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 1994-03-30 22:15:07 +00:00
som.h * som.h (struct som_exec_data): New structure to hold exec 1994-03-19 05:06:54 +00:00
sparclynx.c * sparclynx.c: Setup appropriate macros to enable core file 1994-01-22 20:27:55 +00:00
srec.c Wed Mar 30 16:25:41 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 1994-03-30 22:15:07 +00:00
stab-syms.c
sunos.c * sunos.c (sunos_read_dynamic_info): Assume that dynamic info 1994-03-11 09:03:07 +00:00
syms.c * Most files: 1994-03-15 15:13:13 +00:00
targets.c Wed Mar 30 16:25:41 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 1994-03-30 22:15:07 +00:00
tekhex.c Wed Mar 30 16:25:41 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 1994-03-30 22:15:07 +00:00
TODO
trad-core.c Wed Mar 30 16:25:41 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 1994-03-30 22:15:07 +00:00
VERSION * Makefile.in (diststuff): New target. 1993-11-15 20:10:49 +00:00