aboutsummaryrefslogtreecommitdiff
path: root/bfd
AgeCommit message (Collapse)AuthorFilesLines
1993-09-14Avoid minor warning in archive.c change.John Gilmore1-0/+2
1993-09-14* hosts/std-host.h (offsetof): Define, if not already, for archive.c.John Gilmore1-0/+5
1993-09-14Improve timestamp support in BSD archive files to avoid linkerJohn Gilmore4-125/+388
warnings. * libbfd.h (struct artdata): Add armap_timestamp and armap_datepos. (bfd_flush, bfd_stat): Add prototypes. * libbfd.c (bfd_flush): Add, does fflush on a BFD. (bfd_stat): Add, does fstat on a BFD. * archive.c (_bfd_write_archive_contents): At end of file writing, verify and possibly update the timestamp in the armap, if a BSD archive. FIXME! Kludge recognizes BSD archive, rather than vectoring properly. Should add to xvec. (compute_and_write_armap): Move prototype to top, avoid PROTO. (bsd_write_armap): Save timestamp and file location thereof, when writing the armap in a BSD file. (bsd_update_armap_timestamp): New function to check and rewrite the timestamp.
1993-09-13add som.c and som.hJim Kingdon1-0/+2
1993-09-12 * hosts/i386sco.h: Define a bunch of stuff for core files.Jim Kingdon4-350/+0
* sco-core.c: Remove, replace by trad-core.c. * trad-core.c: If HOST_STACK_START_ADDR is defined, use it. * config/i386sco.mh: Use trad-core not sco-core. * hosts/i386isc.h, config/i386isc.mh: Remove. * configure.host: Use i386sco for isc. * config/i386-sco.mt: Remove, identical to i386-coff.mt. * config.bfd: Use i386-coff not i386-sco.
1993-09-12 * config.bfd: Recognize i[34]86-*-solaris2* specifically ratherJim Kingdon2-0/+7
than using *-*-solaris2* (i486-unknown-solaris2 is i386-elf, not i486-elf which doesn't exist).
1993-09-10 * coffswap.h (coff_swap_aouthdr_out): For ALPHAECOFF, forceIan Lance Taylor1-0/+3
padding field to zero.
1993-09-10 * config.bfd (i[34]86-*-netbsd*): New target; use i386-netbsd.Ian Lance Taylor2-0/+5
* configure.in: Remove bogus netbsd386 handling.
1993-09-10 * coff-mips.c: Don't warn about overflow for MIPS_R_JMPADDR reloc.Ian Lance Taylor1-0/+6
Correct overflow detection requires matching the upper four bits of the destination against the PC.
1993-09-09* configure.in: Make 64-bit stuff work with "--with-targets=all".Ken Raeburn2-132/+141
1993-09-07 * libbfd-in.h: Removed swapping routines declarations.Ian Lance Taylor5-141/+642
* bfd-in.h: Added swapping routine declarations, and renamed them from _do_* to bfd_*. * libbfd.c: Renamed swapping routines from _do_* to _bfd_*. * Changed all callers. * libbfd.h, bfd-in2.h: Rebuilt.
1993-09-07 * elf32-i386.c (elf_howto_table): Set pcrel_offset to true forIan Lance Taylor1-0/+5
R_386_PC32.
1993-09-03configure.in, libbfd, elf, elf-hppa (utah) changesKen Raeburn1-0/+62
1993-09-03Reorganized setting of makefile variables so 64-bit stuff works again.Ken Raeburn1-21/+32
1993-09-03more changes from Utah, see log for detailsKen Raeburn1-430/+559
1993-09-03Deleted some fields of elf*_symbol_type and elf_obj_tdata that were gettingKen Raeburn1-31/+4
set but not used. Merged elf*_symbol_type into a single elf_symbol_type.
1993-09-03regenerated after doc fixKen Raeburn1-1/+1
1993-09-03(_do_get*, _do_put*): Renamed via macros to clean up namespace.Ken Raeburn2-27/+74
1993-09-02* libhppa.h (hppa_field_adjust): Remove unused `init_value' variable.Jim Kingdon1-0/+2
1993-09-02 * hosts/delta88v4.h: New for SVR4.Jim Kingdon4-3/+19
* configure.hosts: Use it.
1993-09-02new for /proc support on svr4 delta88Jim Kingdon1-0/+0
1993-09-01 * libaout.h, netbsd386.c: Change M_I386 to M_386_NETBSD. M_I386Jim Kingdon2-1/+6
is an SCO pre-define.
1993-08-31 * nlmcode.h (nlm_object_p): Set HAS_SYMS if there are externalIan Lance Taylor2-140/+220
references. (nlm_swap_auxiliary_headers_{in,out}): The copyright length is only one byte. (nlm_get_symtab_upper_bound): Include debugging symbols in symbol count. (nlm_slurp_symbol_table): Make symlength unsigned. Read debugging symbols as BFD local symbols. (nlm_write_object_contents): Don't bother writing out exported symbols more than once; they now appear in the symbol table more than once (with and without a prefix) if necessary. Set offset values to be non-zero as NLMLINK does.
1993-08-31* libhppa.h: Restore #undefs of e_fsel and other e_* symbols.Jim Kingdon2-0/+31
1993-08-28regenerated after section.c changesKen Raeburn1-37/+19
1993-08-28section.c, hppa changesKen Raeburn1-0/+76
1993-08-28%$#@ cvs bugsKen Raeburn1-962/+0
1993-08-28More patches from Jeff Law, plus a little cleanup of my own.Ken Raeburn1-3/+2
These changes separate PA-SOM support from PA-ELF support. A sun4-x-hppaosf assembler can now be built. Include <stdlib.h> and <unistd.h>. Do not define malloc or free.
1993-08-28More patches from Jeff Law, plus a little cleanup of my own.Ken Raeburn5-562/+1860
These changes separate PA-SOM support from PA-ELF support. A sun4-x-hppaosf assembler can now be built. * elf32-hppa.c (elf_hppa_howto_table): Now static. (symext_rootP, symext_lastP, global_value, GOT_value, global_symbol, global_sym_defined, symextn_contents, symextn_contents_real_size, elf_hppa_stub_rootP, elf32_hppa_symextn_map, elf32_hppa_symextn_map_size): Rely on default initialization. (hppa_elf_gen_reloc_type): Macro "UNDEFINED" doesn't need a trailing semicolon. (hppa_look_for_stubs_in_section): Introduce temporaries to make code more readable in 80 columns. * libhppa.h (all functions): Now inline under GNU C. * elf32-hppa.c (AR_WARN): Give argument which caused the invalid argument relocation. (AR_UNIMP): Delete unused macro. (hppa_elf_set_section_contents): Always return a value. (elf32_hppa_backend_table_processing): Likewise. (elf32_hppa_backend_section_processing: Likewise. * som.c: New file containing SOM specific code extracted from hppa.c * som.h: New file containing SOM specific code extracted from libhppa.h * hppa.c: Deleted. * libhppa.h: Delete SOM specific code. Add generic PA code which can be shared by both SOM and ELF backends. * Makefile.in: Replace hppa.c with som.c. elf32-hppa.o depends on libhppa.h now. * configure.in (hppa_vec): Needs som.o module instead of hppa.o. * elf32-hppa.c: Include libhppa.h. Do not define BYTES_IN_WORD. * elf32-hppa.h (hppa_reloc_field_selector_type): Delete now lives in libhppa.h. (hppa_reloc_field_selector_type_alt): Likewise. * elf32-hppa.c (hppa_elf_relocate_unwind_table): Delete unused variables. (elf_hppa_reloc_type_lookup): Likewise. (elf_hppa_tc_make_sections): Likewise. (hppa_elf_arg_reloc_needed_p): Likewise. (hppa_elf_build_long_branch_stub): Likewise. (elf_reloc_map): Delete, no longer used. (elf_hppa_reloc_map): Likewise. (elf32_hppa_symextn_map_max_size): Likewise. (elf32_hppa_get_sym_extn): Abort if type is bogus. * elf32-hppa.c (elf32_hppa_backend_fake_sections): Add processing of the .hppa_unwind section.
1993-08-27removed some "#if 0" codeKen Raeburn1-4/+0
1993-08-27(struct sec): Move position of user_set_vma, and document it.Ken Raeburn1-36/+59
(SEC_BALIGN): Disable for now. I don't think it's currently used.
1993-08-27deleted -- no longer accurateKen Raeburn1-18/+0
1993-08-26make config.bfd executableKen Raeburn1-0/+2
1993-08-25Merged in changes from Jeff Law and Pete Hoogenboom at Utah for PA ELFKen Raeburn6-4/+175
support. Compiles, not particularly well tested. See ChangeLog for details.
1993-08-23add ChangeLog entry for sef change to aoutx.hJim Kingdon1-0/+1
1993-08-23config.sub also has v9 codeDavid D. Zuhn1-1/+1
1993-08-23Write (half-assed) ChangeLog entry for sef changes.Jim Kingdon2-1/+10
Change name of target from netbsd-386 to a.out-netbsd-386 so that GDB can recognize it as an a.out variant.
1993-08-23Add support for netbsd386 (almost-but-not-quite 386bsd).Sean Eric Fagan2-0/+112
1993-08-23Don't let netbsd386.c get sanitized out.Sean Eric Fagan1-0/+1
1993-08-21 * config/m88k-elf.mt: New file.Jim Kingdon2-0/+6
* config.bfd: Use it for m88*-*-sysv4*.
1993-08-20* elfcode.h (elf_build_phdrs): Unused function deleted.Ken Raeburn3-431/+237
(bfd_shdr_from_section): Ditto. (write_relocs): Don't change section contents for addend. (elf_locate_sh): Return type is now always elf_internal_shdr, since the other types were really aliases for this type anyways. Don't compile this function, since it is static and doesn't appear to be used in this file. (sym_is_global): Return non-zero for weak symbols. Abort if sec ptr is null. (swap_out_syms): Reorder tests so function symbols can be weak. (elf_slurp_symbol_table): Don't use BSF_EXPORT. (elf_slurp_reloca_table): Make RELOC_PROCESSING section smaller by extracting out some common code. Abort if BFD section symbol has null name. (elf_slurp_reloc_table): Translate ELF section symbols into BFD section symbols. Don't read section contents to fill in addend field. * Merged from OSF: Tue Jun 15 14:38:32 1993 Michael Meissner (meissner@osf.org) * libelf.h (struct Elf_Sym_Extra): New structure to contain ELF specific information for a symbol. Put in elf_sym_num, which gives the external symbol number in the elf object file, since local symbols must come before global symbols. (elf_sym_extra): New macro. (elf_symtab_map): Delete, in favor of using Elf_Sym_Extra. * elfcode.h (elf_map_symbols): Use Elf_Sym_Extra to map internal symbol number to external number. Store the address of the Elf_Sym_Extra field for the symbol in the udata field. (elf_write_object_contents): Use Elf_Sym_Extra to map out symbols. Sun Jun 20 16:30:11 1993 Michael Meissner (meissner@osf.org) * elfcode.h (elf_obj_tdata): Add field to count the size of the array of pointers to section symbols. (elf_map_symbols): Bump the max index of the section symbols so that we don't overwrite memory. Store the max index into the elf_obj_tdata field. Sat Jun 19 10:12:27 1993 Michael Meissner (meissner@osf.org) * elfcode.h (elf_obj_tdata): Add pointer to an array of pointers to the section symbols we created. Remove unused field internal_syms. (elf_map_symbols): Fill in array of pointers to section symbols. Only create section symbols for sections that have SEC_ALLOC set, and have non-zero size. (elf_symbol_from_bfd_symbol): If udata is NULL, and this is a section symbol, look up the section in the list of section symbols, and set the udata pointer appropriately. Otherwise, if udata is still NULL, fail an assertion, and use 0, instead of dropping core.
1993-08-20* elf32-i386.c (elf_howto_table): All partial_inplace fields should be "true".Ken Raeburn1-0/+5
1993-08-20 * config.bfd (mips-*-elfl*, mips-*-elf*): New targets, usingIan Lance Taylor3-1/+13
mipslelf and mipsbelf respectively. * config/mipslelf.mt, config/mipsbelf.mt: New files. * elf32-mips.c: Added some reloc information. * configure.in: Fixed error message.
1993-08-20minor doc tweaksKen Raeburn1-4/+4
1993-08-20 * ecoff.c (ECOFF_LONG_SIZE): Removed. Just use constants.Ian Lance Taylor1-0/+4
1993-08-19 * Makefile.in (BFD_LIBS, ALL_MACHINES, BFD32_BACKENDS, BFD64_BACKENDS,David MacKenzie2-25/+89
OPTIONAL_BACKENDS): Alphabetize entries and add a few missing ones. * archures.c: Alphabetize decls.
1993-08-19add more missing vectorsDavid MacKenzie1-17/+14
1993-08-19targets.c (target_vector): Remove hp300bsd_vec due to clash with sunos_big_vec.David MacKenzie2-0/+3
1993-08-19Thu Aug 19 09:45:51 1993 David J. Mackenzie (djm@thepub.cygnus.com)David MacKenzie3-98/+176
* configure.in, targets.c: Add missing vectors to the tables. * targets.c (target_vector) [!SELECT_VECS]: Add DEFAULT_VECTOR.
1993-08-18 * hosts/i386{mach3,osf1mk}.h: New files, for Mach hosting.Jim Kingdon2-1/+3
* hosts/i386mach.h: removed, replaced by i386osf1mk.h. * config/i386mach3.mt, i386mach3.c: New files, for Mach a.out format. * Makefile.in, configure.host, config.bfd: Corresponding changes. * hosts/decstation.h: Include <sys/param.h> not <machine/param.h>.