aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf.c
AgeCommit message (Collapse)AuthorFilesLines
1992-06-24 * libbfd.h, libbfd-in.h (bfd_seek): Make prototype match definition.Fred Fish1-1/+1
* reloc.c (bfd_default_reloc_type_lookup): Make cast on return type match actual return type. * elf_print_symbol (section_name): Make CONST.
1992-06-20* elf.c (bfd_elf_find_section): Mark as INTERNAL_FUNCTION soJohn Gilmore1-3/+16
its prototype will be included in libbfd.h. Change result type to struct * (rather than equivalent typedef) so it can be used in the prototype, where they typedef won't be known. * libbfd.h: Updated version.
1992-06-17 * elf.c (bfd_section_from_shdr, elf_slurp_symbol_table):Fred Fish1-3/+16
Correct misconception that there can be only one symbol table. Only call elf_slurp_symbol_table on the full symbol table, not the dynamic one which is only a subset of the full one. (The bfd library was slurping in the first ELF symbol table it found and then ignoring any others. For dynamically linked executables, this happened to be the dynamic symbol table, which is a subset of the full symbol table and only contains the symbols that need to be used in dynamic linking.)
1992-06-11* elf.c (elf_obj_tdata): Merge elf_obj_tdata_struct andJohn Gilmore1-148/+183
elf_core_tdata_struct into a single common struct. Core files wouldn't have worked at all without this. (bfd_elf_find_section): New function for GDB's undercover use to find string sections that BFD hides from it. (elf_get_str_section): Avoid multiple alloc&reads for same data; lint. (elf_object_p, elf_core_file_p): Allocate internal file header storage dynamically. * bfd.c (union {...} tdata): Remove elf_core_tdata_struct. * demo64.c: Prevent "empty translation unit" warnings from idiots.
1992-04-14Fix couple of function args that expect to be passed CONST pointers, andFred Fish1-4/+5
boolean functions that were returning NULL, which can be "void *" rather than just bare 0.
1992-04-13Massive changes. Elf sections are now processed into BFD sections onlyMark Eichin1-217/+1393
if they make sense as independent sections; symbols and relocs are turned into BFD symbols and relocs; objects are now created. objdump and copy mostly work on .o files. this check-in will be followed by gdb testing. the code has *not* yet been split up the way coff is to support multiple architectures and bit widths. no ChangeLog entries yet; too big... nearly everything changed.
1992-03-28Fix to use a single disposable copy of section header table and programFred Fish1-42/+33
header table entries.
1992-01-29Makefile.in: Add dependencies for various coff-*.o files.Fred Fish1-11/+20
elf.c: Remove extraneous paren from core_prpsinfo and core_prpstatus macros, rename core_prpstatus to core_prstatus. Replace references to old section "size" member with new "_raw_size" member. Implement elf_make_empty_symbol, which is now used.
1992-01-24Uses the new small reloc type now.Steve Chamberlain1-19/+26
Currently self hosts on sun4 and sun3
1991-12-18Enclose corename and execname inside a HAVE_PROCFS ifdef, since theyFred Fish1-29/+55
are unused when it is not defined.
1991-12-01 * aout-encap.c, aoutf1.h, aoutx.h, archive.c, bout.c, coff-a29k.c,Steve Chamberlain1-3/+3
coff-h8300.c, coff-i386.c, coff-i960.c, coff-m68k.c, coff-m88k.c, coff-mips.c, coff-rs6000.c, cpu-h300.c, elf.c, i386aout.c, newos3.c, stab-syms.c, syms.c: All these files have had their #includes altered to point to the new places.
1991-11-30Fix bug in elf.c (missing "break" statements in cases), add ncr andFred Fish1-0/+2
SVR4 i386 support to configuration.
1991-11-22ALIGN->BFD_ALIGNJohn Gilmore1-26/+540
1991-11-09Don't try to create a bfd section for the first ELF section header tableFred Fish1-3/+4
entry, since it is just a placeholder with no name.
1991-10-24Add partial support for ELF format corefiles. Still needs code to extractFred Fish1-48/+264
register values from corefiles and make them available to bfd clients.
1991-10-03*** empty log message ***Steve Chamberlain1-0/+643