aboutsummaryrefslogtreecommitdiff
path: root/bfd
AgeCommit message (Collapse)AuthorFilesLines
1993-09-28 * section.c (bfd_make_section_anyway): New function.Jim Kingdon1-0/+10
* section.c: Change comments to say several sections can have the same name. * bfd-in2.h: Re-generate to reflect above change. * coffgen.c (make_a_section_from_file): Call bfd_make_section_anyway if still no section after the bfd_coff_make_section_hook. * coffcode.h: Add comment about TWO_DATA_SECS.
1993-09-28 * section.c (bfd_make_section_anyway): New function.Jim Kingdon1-1/+11
* section.c: Change comments to say several sections can have the same name. * bfd-in2.h: Re-generate to reflect above change. * coffgen.c (make_a_section_from_file): Call bfd_make_section_anyway if still no section after the bfd_coff_make_section_hook. * coffcode.h: Add comment about TWO_DATA_SECS.
1993-09-28Keep m68klynx.hStan Shebs1-0/+1
1993-09-28Keep m68klynx.cStan Shebs1-0/+1
1993-09-28 * ecoff.c (ecoff_slurp_symbolic_info): Always determine raw_sizePeter Schauer1-0/+7
explicitly. * ecoff.c (ecoff_sec_to_styp_flags, ecoff_styp_to_sec_flags): Handle .fini section.
1993-09-28Fix a typoStan Shebs1-1/+1
1993-09-28New and improved Lynx support.Stan Shebs4-0/+315
1993-09-27 * archive.c: Define offsetof here.Jim Kingdon19-94/+5
* hosts/*.h: Don't define it here.
1993-09-27 * elfcode.h (bfd_section_from_shdr): Set filepos for SHT_STRTABIan Lance Taylor1-0/+5
section.
1993-09-26* hpux-core.c: Add comment about hpux version 7.Jim Kingdon1-0/+4
1993-09-24* lynx-core.c (lynx_core_file_p): Change per-thread registerStu Grossman1-0/+32
section names from .regXXX to .reg/XXX to avoid parsing ambiguity in gdb/corelow.c. Create alias .reg section for the currently running thread.
1993-09-24Fix typo in previous ChangeLog message.Peter Schauer1-2/+2
1993-09-24 * osf-core.c: New file for OSF/1 core file support.Peter Schauer2-0/+16
* config/alphaosf.mh (HDEFINES): Set to -DHPUX_CORE. (HDEPFILES): Set to hpux-core.o. * bfd-in2.h (union tdata): Add osf_core_data member. * targets.c: If OSF_CORE is defined, add osf_core_vec to target list. * Makefile.in (OPTIONAL_BACKENDS): Add osf-core.o. (osf-core.o): New dependency.
1993-09-24 * ecoff.h (ecoff_set_arch_mach_hook): Accept MIPS_MAGIC_LITTLE2Jim Kingdon1-0/+5
and MIPS_MAGIC_BIG2.
1993-09-23 * archive.c (compute_and_write_armap): Put weak symbols in theIan Lance Taylor1-1/+9
armap. * elfcode.h (fix_up_strtabs): Set sh_entsize for the .stab section, not the .stabstr section. Set the type of the .stabstr section to SHT_STRTAB. (elf_section_from_bfd_section): Handle SHT_STRTAB sections. Also set SEC_DEBUGGING for appropriate SHT_STRTAB sections.
1993-09-23* gen-aout.c (main): Output newline after end of comment, not before.Ken Raeburn1-0/+6
(Reported by Jonathan Stone, jonathan@oscar.stanford.edu).
1993-09-23 * section.c (SEC_DEBUGGING): New section flag.Ian Lance Taylor4-4/+23
* elfcode.h (bfd_section_from_shdr): If section is SHT_PROGBITS, and the name starts with .debug, .line or .stab, set SEC_DEBUGGING. * elf32-target.h (TARGET_BIG_SYM, TARGET_LITTLE_SYM): Added SEC_DEBUGGING to section_flags. * elf64-target.h (TARGET_BIG_SYM, TARGET_LITTLE_SYM): Added SEC_DEBUGGING and SEC_CODE to section_flags. * bfd-in2.h: Updated.
1993-09-22 * bfd.c (tdata): Add lynx_core_data.Ian Lance Taylor1-0/+2
1993-09-22 * ecoff.c (ecoff_compute_section_file_positions): Set filepos forIan Lance Taylor2-39/+37
sections with SEC_LOAD set, even if SEC_HAS_CONTENTS is clear. (ecoff_write_object_contents): Don't set scnptr to zero just because size of section is zero. Needed for Irix 4.0.5F.
1993-09-22* config.bfd: Use i960-bout, not i960-coff for i960-*-nindy*.Jim Kingdon1-0/+4
1993-09-22 * Makefile.in (OPTIONAL_BACKENDS): Add lynx-core.o.Stu Grossman1-0/+12
* bfd-in2.h (tdata): Add lynx_core_data; * config.bfd configure.host: Get rid of superfluous netbsd and lynxos entries. * configure.in: Add lynx-core.o to Lynx config. * i386lynx.c: Add defs for core file support. * lynx-core.c: New file with Lynx core file support. * hosts/i386lynx.h: Move lots of host specific includes to here. Add def of HOST_LYNX. Remove unnecessary defs.
1993-09-22* Makefile.in (OPTIONAL_BACKENDS): Add lynx-core.o.Stu Grossman4-26/+245
* bfd-in2.h (tdata): Add lynx_core_data; * config.bfd configure.host: Get rid of superfluous netbsd and lynxos entries. * configure.in: Add lynx-core.o to Lynx config. * i386lynx.c: Add defs for core file support. * lynx-core.c: New file with Lynx core file support. * hosts/i386lynx.h: Move lots of host specific includes to here. Add def of HOST_LYNX. Remove unnecessary defs.
1993-09-20 * elfcode.h (bfd_section_from_shdr): Only set SEC_DATA for aIan Lance Taylor2-4/+17
SHF_PROGBITS or SHT_STRTAB section if SEC_ALLOC is set. Never set SEC_DATA for a SHF_NOBITS section. * nlm32-i386.c (nlm_i386_mangle_relocs): Check SEC_LOAD rather than SEC_CODE | SEC_DATA. Add some casts to avoid warnings. * nlmcode.h: Add some casts to avoid warnings. (nlm_write_object_contents): Ignore relocs for sections that are neither code nor data. Just use the symbol value for debugging symbols; don't offset by the section vma.
1993-09-17 * reloc.c (bfd_perform_relocation): Don't return an error whenIan Lance Taylor1-0/+7
performing a reloc against an undefined weak symbol. * syms.c (bfd_print_symbol_vandf): Show value of BSF_WEAK rather than obsolete BSF_EXPORT.
1993-09-17* hosts/{alphaosf.h, amix.h, apollo68.h, apollov68.h,John Gilmore1-0/+11
decstation.h, delta88.h, dgux.h, dose.h, go32.h, harris.h, hp300.h, hp300bsd.h, hppabsd.h, hppahpux.h, i386aix.h, i386bsd.h, i386linux.h, i386lynx.h, i386v.h, i386v4.h, irix3.h, irix4.h, mipsbsd.h, ncr3000.h, rs6000.h, rtbsd.h, solaris2.h, sparc-ll.h, std-host.h, stratus.h, sun3.h, sysv4.h, tahoe.h, ultra3.h, vaxult.h, vaxult2.h, we32k.h}: Make sure that "offsetof" is defined on all hosts, now that archive.c uses it.
1993-09-17Make sure that "offsetof" is defined on all hosts, now that archive.c uses it.John Gilmore29-46/+154
1993-09-16 * elfcode.h (elf_map_symbols): Create section symbols for allIan Lance Taylor2-48/+110
sections, not just allocated sections; debugging sections can have relocs. (elf_symbol_from_bfd_symbol): If there is an output section, use the section index from that rather than the input section.
1993-09-15 * libbfd.h (COERCExx): Cast x to bfd_signed_vma before doing theIan Lance Taylor1-0/+4
xor and subtract. Otherwise it will not sign extend if the type of bfd_vma is larger than int.
1993-09-15 * ecoffswap.h (ecoff_swap_pdr_in): Get regoffset, iopt, fregoffsetIan Lance Taylor1-0/+5
and frameoffset as signed numbers. From Peter Schauer.
1993-09-14 * elf32-i386.c (elf_howto_table): Add bfd_elf_generic_relocIan Lance Taylor3-5/+10
special function for all reloc entries. * elf32-target.h (TARGET_LITTLE_SYM): Add SEC_CODE to section_flags. * libelf.h (elf_symbol_type): Remove desc, type and other fields. * Makefile.in (elf32-*.o): These depend upon elf32-target.h.
1993-09-14 Tue Sep 14 14:34:45 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)Steve Chamberlain2-41/+13
* libbfd-in.h (struct artdata): Add armap_timestamp and armap_datepos here too.
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