darling-gdb/bfd
Ian Lance Taylor 5a1cb8d526 * nlm32-i386.c: New file. First cut at i386 NLM code.
* libnlm.h: Added some more prototypes.
	(struct nlm_relent): New structure.
	(nlmNAME(symbol_type)): Added rcnt and relocs fields.
	(struct nlm_obj_tdata): Added new fields: nlm_symbols,
	nlm_text_low, nlm_data_low, nlm_reloc_fixups,
	nlm_reloc_fixup_secs.
	(struct nlm_backend_data): New structure, with accessor macros.
	* nlmcode.h: Use NLM_HIBIT rather than MSB.
	(nlm_object_p): Set SEC_RELOC for .text and .data.  Don't set
	SEC_DATA for .bss.  Set HAS_RELOC and HAS_SYMS for abfd.  Set the
	architecture.
	(nlm_swap_fixed_header_out, nlm_swap_variable_header_out,
	find_nonzero, nlm_swap_auxiliary_headers_out): New outbound
	swapping functions.
	(nlm_get_symtab_upper_bound, nlm_slurp_symbol_table): Include
	external references in symbol table as undefined symbols.
	(nlm_get_symtab, nlm_slurp_symbol_table): Fill in alocation
	argument in get_symtab rather than in slurp_symbol_table.
	(nlm_slurp_symbol_table): Save symbol information in tdata.
	(nlm_print_symbol): New function.
	(nlm_slurp_reloc_fixups, nlm_get_reloc_upper_bound,
	nlm_canonicalize_reloc): New functions to read relocs.
	(nlm_compute_section_file_positions, nlm_set_section_contents,
	nlm_external_reloc_compare, nlm_write_object_contents): New
	functions to create NLM files.
	* nlm-target.h: Define all the nlm functions here either as
	default values or in terms of nlmNAME.  Use JUMP_TABLE(nlm).  Set
	the backend_data field to TARGET_BACKEND_DATA.
	* nlm32-gen.c, nlm64-gen.c: Don't define function macros here;
	they are now in nlm-target.h.
	(TARGET_BACKEND_DATA): Define as NULL.
	* nlm.c (nlm_mkobject): Do allocate the tdata field.
	(nlm_set_arch_mach): New function.
	* targets.c: Added nlm32_i386_vec.
	* Makefile.in (BFD32_BACKENDS): Added nlm32-i386.o.
	(CFILES): Added nlm32-i386.c.
	(nlm32-gen.o, nlm64-gen.o): Depend on nlm-target.h.
	(nlm32-i386.o): New target.
1993-07-30 22:32:09 +00:00
..
doc Add .Sanitize to Things-to-lose list. 1993-07-30 16:46:19 +00:00
hosts d 1993-07-30 18:17:38 +00:00
.Sanitize Add .Sanitize to Things-to-lose list. 1993-07-30 16:46:19 +00:00
aout32.c Initial revision 1991-05-18 02:58:02 +00:00
aout64.c Initial revision 1991-05-18 02:58:02 +00:00
aout-adobe.c * aout-adobe.c, cpu-h8300.c, mipsbsd.c, srec.c: lint -Wall. 1993-04-15 04:52:32 +00:00
aout-encap.c Use aout-target.h more extensively. 1991-12-18 23:01:48 +00:00
aout-target.h * aout-target.h, aoutf1.h, trad-core.c, coffcode.h, libaout.h: 1992-11-28 13:00:18 +00:00
aoutf1.h * aoutf1.h: Add definition of MACHTYPE_OK. 1993-07-09 05:47:07 +00:00
aoutx.h * configure.in (*-*-netware, i[34]86-*-netware): New configs. 1993-07-20 04:45:13 +00:00
archive.c Wed Dec 30 12:46:30 1992 Ian Lance Taylor (ian@cygnus.com) 1992-12-30 20:49:21 +00:00
archures.c from ralphc: recognize some mips variants 1993-02-01 21:40:53 +00:00
bfd-in2.h * reloc.c (enum complain_overflow): New enumeration with the 1993-07-22 18:03:51 +00:00
bfd-in.h Change insertion marker for new bfd.h generation scheme. 1993-06-21 00:30:11 +00:00
bfd.c * hpux-core.c: New file; backend for HP/UX style core files. 1993-07-22 19:39:41 +00:00
bout.c * bfd-in.h (JUMP_TABLE): Added bfd_reloc_type_lookup and 1993-02-23 20:24:06 +00:00
cache.c If fclose fails, set bfd_error to system_call_error. 1992-10-23 21:25:38 +00:00
ChangeLog remove some sun3 function decls 1993-07-30 03:22:30 +00:00
coff-a29k.c * reloc.c (enum complain_overflow): New enumeration with the 1993-07-22 18:03:51 +00:00
coff-alpha.c Support for the alpha 1993-04-24 02:10:09 +00:00
coff-h8300.c Some of these are guesses, if you know different, just yell. 1992-10-08 16:02:09 +00:00
coff-h8500.c * coff-h8500.c (reloc_processing, rtype2howto): New relocation 1993-07-13 19:08:25 +00:00
coff-i386.c Some of these are guesses, if you know different, just yell. 1992-10-08 16:02:09 +00:00
coff-i960.c Some of these are guesses, if you know different, just yell. 1992-10-08 16:02:09 +00:00
coff-m68k.c * coff-m68k.c (m68k_howto2rtype): Make arg CONST to match callers. 1993-07-20 23:20:36 +00:00
coff-m88k.c * coff-m88k.c (howto_table): Corrected bitsize for R_PCR26L from 1993-07-15 20:06:41 +00:00
coff-mips.c * coff-mips.c: Use MIPS_AOUT_{OZ}MAGIC rather than {OZ}MAGIC. 1993-07-16 16:56:05 +00:00
coff-msym.c * coff-mips.c (ecoff_bfd_reloc_type_lookup): New function. 1993-03-04 22:48:46 +00:00
coff-rs6000.c * aout-adobe.c, aoutf1.h, archive.c, bout.c, coff-rs6000.c, 1992-10-15 09:00:09 +00:00
coff-sh.c * coff-h8500.c (reloc_processing, rtype2howto): New relocation 1993-07-13 19:08:25 +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-z8k.c These changes cut the size of libbfd.a on a Sun4 by about 11%. 1993-01-08 21:11:21 +00:00
coffcode.h * elfcode.h: Use memset not bzero. 1993-07-11 23:23:20 +00:00
coffgen.c Patch from minyard@bnr.ca: For empty symbol table, write out number "4" in 1993-06-04 22:43:07 +00:00
coffswap.h These changes cut the size of libbfd.a on a Sun4 by about 11%. 1993-01-08 21:11:21 +00:00
configure.bat Name change for DJ 1992-02-21 22:54:39 +00:00
configure.host * elfcode.h: Use memset not bzero. 1993-07-11 23:23:20 +00:00
configure.in * Rename for DOS uniqueness: coff-m68k-un.c -> coff-u68k.c 1993-07-20 21:45:32 +00:00
COPYING Initial revision 1991-03-21 21:11:25 +00:00
core.c * aoutx.h, archive.c, archures.c, bfd.c, cache.c, coff-m88k.c, 1991-12-08 00:56:56 +00:00
cpu-a29k.c Insert copyright notices in all BFD files that need them. 1992-10-15 10:59:13 +00:00
cpu-alpha.c Support for the alpha 1993-04-24 02:10:09 +00:00
cpu-h8300.c * bfd-in2.h, archures.c (bfd_mach_h8300[h]): new defines. 1993-06-08 19:15:35 +00:00
cpu-h8500.c H8/500 support 1993-02-04 20:59:55 +00:00
cpu-hppa.c * Makefile.in, archures.c, configure.in, cpu-hppa.c, hppa.c, libhppa.h, 1992-06-19 22:24:13 +00:00
cpu-i386.c Initial revision 1991-10-01 03:43:11 +00:00
cpu-i960.c Initial revision 1991-10-01 03:43:11 +00:00
cpu-m88k.c Initial revision 1991-10-01 03:43:11 +00:00
cpu-rs6000.c Initial revision 1991-10-25 07:16:56 +00:00
cpu-vax.c Initial revision 1991-10-01 03:43:11 +00:00
cpu-we32k.c Add preliminary support for the we32k (AT&T 3b2 family). 1992-08-27 22:09:30 +00:00
cpu-z8k.c Add basic support for the z8k: 1992-08-25 22:04:53 +00:00
ctor.c syms.c (asymbol): Added new field "app_data", for data particular to the 1992-12-03 23:03:17 +00:00
demo64.c Initial revision 1991-05-18 02:58:02 +00:00
elf32-hppa.c Use new size-independent elf internal data structures. 1993-06-22 03:07:39 +00:00
elf32-hppa.h elfcode.h 1993-06-02 21:24:35 +00:00
elf32-mips.c * cache.c, bfd-in.h: New function bfd_make_cacheable. 1993-06-18 16:13:10 +00:00
elf32-sparc.c * elf32-sparc.c (elf_sparc_howto_table): Don't use "^&" before 1993-07-20 20:26:51 +00:00
elf32-target.h (elfXX_bed): Initialize maxpagesize from ELF_MAXPAGESIZE. 1993-07-26 18:46:37 +00:00
elf32.c hppa support, initial linker support 1993-04-29 15:48:35 +00:00
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 (elfXX_bed): Initialize maxpagesize from ELF_MAXPAGESIZE. 1993-07-26 18:46:37 +00:00
elf64.c begin reorganization to support 64-bit elf 1993-05-25 18:50:49 +00:00
elf.c * elf.c, elfcode.h, libelf.h: Serious reorganization. 1993-07-19 19:12:59 +00:00
elfcode.h Reimplement segment writing. 1993-07-26 19:27:56 +00:00
filemode.c * all files: update copyright notices for GPL version 2. 1991-07-31 16:58:05 +00:00
format.c Mon Aug 19 13:48:22 1991 Roland H. Pesch (pesch at cygint.cygnus.com) 1991-08-19 20:52:38 +00:00
gen-aout.c Initial revision 1991-12-18 23:01:07 +00:00
host-aout.c * host-aout.c: Change TARGETNAME to "a.out" to be compatible with 1992-01-30 19:42:52 +00:00
hp300bsd.c * hp300bsd.c (new), config/mt-hp300bsd: Make hp300bsd 1992-02-17 20:04:21 +00:00
hp300hpux.c * aoutx.h (translate_from_native_sym_flags): Removed statep 1993-07-07 18:05:06 +00:00
hppa_stubs.h new file for hppa linker support 1993-06-02 20:24:22 +00:00
hppa.c * hpux-core.c: New file; backend for HP/UX style core files. 1993-07-22 19:39:41 +00:00
i386aout.c Linker now works for go32; other changes keep it from breaking the other 1992-10-09 02:41:30 +00:00
i386bsd.c * aout-target.h (callback): Don't define this function if it won't be used. 1992-10-09 01:39:06 +00:00
ieee.c Stricter prototyping, to force type conversions between 64-bit target and 1993-07-06 20:20:31 +00:00
init.c Initial revision 1991-10-01 03:43:11 +00:00
libaout.h comment branches in ARCH_SIZE test 1993-06-16 01:51:56 +00:00
libbfd-in.h * libbfd.c: Add signed versions of bfd_{h_,}{get,put}_signed_<size>. 1993-04-17 00:39:36 +00:00
libbfd.c (COERCE64): Avoid out-of-range numbers 1993-05-25 19:48:12 +00:00
libbfd.h regenerated 1993-06-22 03:22:54 +00:00
libcoff-in.h Mon Jan 11 18:32:22 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 1993-01-12 00:38:59 +00:00
libcoff.h * libcoff.h (obj_raw_syment_coun): New macro. 1993-02-23 06:50:49 +00:00
libelf.h * libelf.h (struct elf_backend_data): New field, maxpagesize. 1993-07-26 18:44:03 +00:00
libhppa.h * hppa.c [HOST_HPPABSD]: Use hpux-style core files. 1993-07-14 20:35:18 +00:00
libieee.h Undo Bothner changes that depend on pointer representation. 1991-05-29 00:38:52 +00:00
libnlm.h * libnlm.h (nlm_obj_tdata): Rename hidden struct members to avoid 1993-07-20 22:07:39 +00:00
liboasys.h Minor cleanup to make it compile on DECstation. 1991-05-02 21:22:43 +00:00
Makefile.in * hpux-core.c: New file; backend for HP/UX style core files. 1993-07-22 19:39:41 +00:00
mipsbsd.c * aout-adobe.c, cpu-h8300.c, mipsbsd.c, srec.c: lint -Wall. 1993-04-15 04:52:32 +00:00
newsos3.c Include bfd.h before sysdep.h, so ansidecl and PROTO() get defined first. 1991-10-11 10:11:37 +00:00
nlm32-gen.c * nlm32-i386.c: New file. First cut at i386 NLM code. 1993-07-30 22:32:09 +00:00
nlm32.c * configure.in (*-*-netware, i[34]86-*-netware): New configs. 1993-07-20 04:45:13 +00:00
nlm64-gen.c * nlm32-i386.c: New file. First cut at i386 NLM code. 1993-07-30 22:32:09 +00:00
nlm64.c * configure.in (*-*-netware, i[34]86-*-netware): New configs. 1993-07-20 04:45:13 +00:00
nlm-target.h * nlm{32,64}-target.h: Remove. 1993-07-22 23:09:07 +00:00
nlm.c * configure.in (*-*-netware, i[34]86-*-netware): New configs. 1993-07-20 04:45:13 +00:00
nlmcode.h * libnlm.h (nlm_obj_tdata): Rename hidden struct members to avoid 1993-07-20 22:07:39 +00:00
oasys.c * bfd-in.h (JUMP_TABLE): Added bfd_reloc_type_lookup and 1993-02-23 20:24:06 +00:00
opncls.c Stricter prototyping, to force type conversions between 64-bit target and 1993-07-06 20:20:31 +00:00
README.hppaelf checkpoint hppa-elf code from Utah (Sanitize out until it's cleaned up & working) 1993-04-28 22:55:25 +00:00
reloc16.c These changes cut the size of libbfd.a on a Sun4 by about 11%. 1993-01-08 21:11:21 +00:00
reloc.c (bfd_perform_relocation): Handle 64-bit relocs. 1993-07-26 18:42:09 +00:00
sco-core.c Move printing from bfd to nm and add POSIX and SysV formats. 1993-05-21 21:06:25 +00:00
seclet.c These changes make shared library support work again on 386 COFF 1993-04-06 00:53:41 +00:00
seclet.h * bfd-in.h, bfd.c, libbfd.h, reloc.c, seclet.h, section.c, 1992-11-05 13:17:38 +00:00
section.c * aoutx.h (translate_from_native_sym_flags): Now handles indirect 1993-03-30 17:40:51 +00:00
srec.c (srec_write_symbols): Use sprintf_vma, in case bfd_vma is too wide for 1993-06-22 02:58:25 +00:00
stab-syms.c Initial revision 1991-11-22 04:59:56 +00:00
sunos.c * sunos.c: (choose_reloc_size) added: (sunos4_callback) calls 1991-05-13 21:02:56 +00:00
syms.c bfd.c: use `<<foo>>' instead of @file{foo} 1992-01-29 01:04:30 +00:00
targets.c * hpux-core.c: New file; backend for HP/UX style core files. 1993-07-22 19:39:41 +00:00
tekhex.c * bfd.c: Use right name for tekhex tdata struct. 1992-12-17 08:42:31 +00:00
TODO Some of these things are already done. More are probably done, 1991-07-31 08:30:37 +00:00
trad-core.c * elfcode.h: Use memset not bzero. 1993-07-11 23:23:20 +00:00
VERSION bump version number 1993-05-17 19:03:44 +00:00

HPPA/ELF README file:

	HP PA-RISC support was contributed by the Center for Software Science
	at the University of Utah.

This is the status of the hppa/elf code in bfd 2.0 as of January 29, 1993:

1. It generates correct ELF files for all of the input I've given it
so far.  I've used this version of libbfd.a to build an hppa/elf
version of gas 1.36 (emits SOM).  I've run files as large as 200K
lines of assembly through it.

2. ELF executables that are created *always* have 3 program header
table entries.  This is due to the exec() support we have in the
kernel for ELF executables.  It expects *exactly* 3 program header
table entries -- one for text, one for data, and one for bss.
Currently, there's no support for any other types of program header
table entries.