aboutsummaryrefslogtreecommitdiff
path: root/bfd
AgeCommit message (Collapse)AuthorFilesLines
1993-10-27 * nlmcode.h (nlm_swap_auxiliary_headers_in,Ian Lance Taylor1-0/+6
nlm_swap_auxiliary_headers_out): Handle sharedDebugRecordOffset and sharedDebugRecordCount fields.
1993-10-26 * targets.c (target_vector): Remove SCO_CORE. On Sep 11 1993,Jim Kingdon2-11/+16
we started using trad-core.c for SCO instead. * targets.c (target_vector): Re-enable generic ELF and NLM targets.
1993-10-26 * elfcode.h (assign_file_position_for_section): Align sh_offset toIan Lance Taylor2-37/+41
sh_addralign (this is what UnixWare does, and it shouldn't hurt).
1993-10-26From Jeff Law and Pete Hoogenboom at Utah:Ken Raeburn3-137/+200
* elf32-hppa.h (hppa_elf_stub_finish): Add prototype. (ELF32_HPPA_R_ARG_RELOC): Renamed without the ELF32 prefix and moved into libhppa.h. All references changed. (ELF32_HPPA_R_CONSTANT, ELF32_HPPA_R_ADDEND): Likewise. (get_opcode and opcode defines): Move into libhppa.h * elf32-hppa.c (hppa_elf_insn2fmt): Rename and move info libhppa.h. * libhppa.h (HPPA_R_*): Moved here. Reformatted slightly to make for easier reading. (get_opcode): Moved here. FIXME! this really should be a C function inside the opcode library! (bfd_hppa_insn2fmt): Likewise. * targets.c (target_vector): Enable elf32-hppa vector. * elf32-hppa.c (hppa_elf_get_section_contents): Add new comments and clarify existing comments. Do not use DEFUN to declare this function. Fix numerous indention problems. Correctly handle cases where symbol extension section may need to be read from disk, read from memory, or built then read from memory. * elf32-hppa.h: Reformat with gnu-indent and hand fix numerous formatting and indention problems gnu-indent can not handle. Clarify some comments about relocation types. Comment basic relocation "classes". Group PARAM declarations together. (HPPA_SXT_{NULL, SYMNDX, RG_RELOC}): Make members of a new enumerated type rather than #defines.
1993-10-26 * som.c (hppa_object_setup): Set SEC_CODE for .text section soStu Grossman2-191/+568
that GDB can figure out text_start and text_end.
1993-10-25 Fix up warnings from gcc -Wall:Ian Lance Taylor2-11/+17
* coffgen.c (coff_print_symbol): Use %lx and cast n_value to unsigned long. Use %ld for tagndx. Use %lx for offset + vma and cast it to unsigned long. * ecoff.c (ecoff_emit_aggregate): Use %ld. (ecoff_print_symbol): Use %ld, and cast indx and sym_base to long. * coffcode.h (dummy_reloc16_estimate): Specify return type.
1993-10-25 * libbfd.c (bfd_write): If not everything is written out, setIan Lance Taylor3-34/+64
bfd_error to system_call_error. If the return value is non-negative, set errno to ENOSPC (if ENOSPC is defined). (bfd_seek): If the seek fails, set bfd_error to system_call_error. (bfd_generic_set_section_contents): For a bad offset + count, set bfd_error to bad_value. * seclet.c (rel): Don't abort. Instead, return false.
1993-10-25aoutx.h (reloc_type_lookup): Handle BFD_RELOC_SPARC_WDISP22.Ken Raeburn1-0/+9
1993-10-22note TDEFINES setting of FPRINTF_ALREADY_DECLARED.Mark Eichin1-0/+6
1993-10-22 * targets.c (target_vector): Enable MIPS ELF vectors.Ian Lance Taylor1-0/+4
1993-10-22* config.bfd: Use bigmips for mips-sony-bsd*.Jim Kingdon2-0/+3
1993-10-22* configure.host, config.bfd: Add * to end of all OS names.Jim Kingdon2-17/+22
1993-10-21elfcode.h (FILE_ALIGN_: Renamed from EALIGN, to avoid conflict with UltrixKen Raeburn3-84/+227
header files. Also, lots of changes for PA elf and som support from Utah; see ChangeLog for details.
1993-10-21 gcc -Wall lint:Jim Kingdon1-0/+7
* coff-h8300.c, coffcode.h: Change shrink parameter in *_reloc16_estimate to unsigned to match prototype. * archive.c: Avoid "/*" in comment.
1993-10-21 * dep-in.sed: Create our own line breaks for a more aestheticIan Lance Taylor1-0/+4
Makefile. * Makefile.in: Rebuilt dependencies.
1993-10-21 * elf32-mips.c: Include "seclet.h".Ian Lance Taylor2-0/+13
(mips_elf_fake_sections): Force size of .reginfo section to sizeof Elf32_External_RegInfo. (mips_elf_seclet_link): New function. Link the .reginfo section specially, and pass everything else to the generic routine. (bfd_elf32_bfd_seclet_link): Define macro. * elf32-target.h: If bfd_elf32_bfd_seclet_link is already defined, don't override it.
1993-10-20 * libnlm.h (nlm_backend_data): Added signature field.Ian Lance Taylor1-0/+6
(nlm_signature): New macro. * nlmcode.h (nlm_object_p, nlm_write_object_contents): Use the NLM signature from the backend rather than the constant NLM_SIGNATURE. * nlm32-i386.c (nlm32_i386_backend): Initialize signature field.
1993-10-20(HFILES): New variable, for use in "make dep".Ken Raeburn1-10/+21
(.dep): Depend on $(CFILES) and $(HFILES). Delete .dep1 and remake it, so that "$?" is complete. (.dep1): Don't need to remove .dep1 first. (dep.sed): Depend on config.status, not Makefile. (CFILES): Add nlm.c.
1993-10-20 * aoutf1.h (MACHTYPE_OK): Accept M_UNKNOWN.Ian Lance Taylor1-0/+5
(NAME(sunos,set_arch_mach)): Treat M_UNKNOWN as 68000, not 68020.
1993-10-20* hosts/i386bsd.h [__bsdi__]: Define HOST_DATA_START_ADDR.Jim Kingdon1-0/+4
1993-10-19 * coff-alpha.c: Implemented reloc handling for the linker, madeIan Lance Taylor2-47/+86
various other related changes. * libecoff.h (ecoff_backend_data): Added rdata_in_text field. Renamed finish_reloc to adjust_reloc_in. Added adjust_reloc_out field. (ecoff_bfd_get_relocated_section_contents): Don't define. * ecoff.c (ecoff_sec_to_styp_flags, ecoff_styp_to_sec_flags): Handle .lita section. (ecoff_slurp_reloc_table): Handle RELOC_SECTION_FINI. finish_reloc backend field renamed to adjust_reloc_in. (ecoff_bfd_seclet_link): Adjust number of aux entries to debug_align boundary. (ecoff_compute_section_file_positions): If rdata_in_text put .rdata section in text segment, not data segment. Put .pdata section in text segment. (ecoff_write_object_contents): Likewise. Also, call adjust_reloc_out, and handle .lita, .xdata, .pdata, .fini and absolute sections when writing out relocs. * coffswap.h (coff_swap_aouthdr_out): For ALPHAECOFF, output 2 for bldrev field, as on Alpha OSF/1. Padding field is now 2 bytes. * coff-mips.c (mips_ecoff_swap_reloc_out): Added assertion. (mips_adjust_reloc_in): Renamed from mips_finish_reloc. (mips_adjust_reloc_out): New function (does nothing). (mips_ecoff_backend_data): Initialize new fields. (ecoff_bfd_get_relocation_section_contents): Define to be bfd_generic_get_relocated_section_contents. * reloc.c (bfd_perform_relocation): Added casts to avoid Alpha OSF/1 cc bug.
1993-10-19* Makefile.in: Add dependancy for elf.o to make Sun make happyStu Grossman1-4/+18
when using VPATH.
1993-10-14 * coffcode.h (styp_to_sec_flags): Don't set SEC_DEBUGGING until itIan Lance Taylor1-0/+7
is made to work. (coff_compute_section_file_positions): Remove check for USE_DISCARDED_SECTIONS_COUNT. * coff-i386.c: Don't define USE_DISCARDED_SECTIONS_COUNT. Basing it on host defines is wrong.
1993-10-14 * ecoff.c (ecoff_bfd_seclet_link): Don't link a .reginfo section.Ian Lance Taylor1-0/+6
(ecoff_write_object_contents): Don't require the .reginfo section to be a particular size.
1993-10-13More "make dep" fixups.Ken Raeburn3-0/+49
Apollo 68k support from Troy Rollo <troy@cbme.unsw.edu.au>.
1993-10-13Oopsie.Ken Raeburn1-55/+214
Use "[^ ]*", not ".*", in matching filename patterns. Updated dependencies in Makefile.in.
1993-10-13remove inclusion of strings.hKen Raeburn1-1/+0
1993-10-13coff-i386.c (i3coff_object_p): Now static.Ken Raeburn2-3/+16
1993-10-1368kcoff, makedep changesKen Raeburn1-0/+14
1993-10-13Make "make dep" easier to work with. Updated lots of dependencies.Ken Raeburn2-168/+147
Don't try "make dep" alone; use "make dep DEP=mymkdep", where "mymkdep" has been hacked to use "gcc -MM"...
1993-10-13Define ONLY_DECLARE_RELOCS, to avoid name conflicts when "--with-targets=all".Ken Raeburn1-0/+1
1993-10-13for m68klynx_coff_vec, include coff-m68k.o for nowKen Raeburn1-1/+1
1993-10-12 * elf32-mips.c: Extensive additions to do relocations and toIan Lance Taylor3-16/+57
handle MIPS specific sections. * libelf.h (elf_backend_data): Pass fourth argument to elf_backend_section_from_bfd_section to permit it to control the section index to use. (elf_obj_tdata): Add gp and gp_size fields. (elf_gp, elf_gp_size): New accessor macros. * elfcode.h: Removed a number of unused local variables. (elf_fake_sections): Clear section header before calling elf_backend_fake_sections, not after. (prep_headers): Return true at end. (elf_section_from_bfd_section): Pass retval argument to elf_backend_section_from_bfd_section. * elf32-hppa.c (elf32_hppa_backend_section_from_bfd_section): Accept and ignore new retval argument. * bfd.c: Include libelf.h. (bfd_set_gp_size): Handle ELF targets. * Makefile.in (bfd.o): Depends upon libelf.h. (elf32-mips.o): Depends upon $(INCDIR)/elf/mips.h.
1993-10-12Add elf64-sparc.c to lose_these_too if it is not added to keep_these_too.Fred Fish1-0/+2
1993-10-11 * ecoff.c (ecoff_mkobject): Check bfd_make_section return value.Ian Lance Taylor2-38/+274
(ecoff_mkobject_hook): New function. (ecoff_new_section_hook, ecoff_sizeof_headers, ecoff_compute_section_file_positions, ecoff_set_section_contents, ecoff_write_object_contents): Handle dummy REGINFO section. (ecoff_get_section_contents): New function to handle reading REGINFO section. * libecoff.h (ecoff_get_section_contents): Change from macro definition to function prototype. (ecoff_mkobject_hook): New prototype. * coff-alpha.c (alpha_ecoff_mkobject_hook): Removed. (alpha_ecoff_backend_data): Use ecoff_mkobject_hook. * coff-mips.c (mips_ecoff_mkobject_hook): Removed. (mips_ecoff_backend_data): Use ecoff_mkobject_hook.
1993-10-08 * libbfd.c (bfd_get*32, bfd_get*64): Prevent ANSI sign extensionPeter Schauer1-0/+5
by casting the most significant byte to bfd_vma.
1993-10-08 * configure.in: Do not define SELECT_VECS, SELECT_ARCHITECTURESPeter Schauer2-8/+13
if configuring --with-targets=all.
1993-10-07* aoutx.h (howto_table_std): Correct the "size" field in some entries.Ken Raeburn2-54/+83
* reloc.c (reloc_howto_type): Change documentation to dispel any notion that the "size" field is a power-of-two indicator.
1993-10-07 * coffswap.h: (bfd_swap_reloc_in): a symndx is signed.Steve Chamberlain3-75/+269
1993-10-07 Make support for relaxing more generic.Steve Chamberlain1-0/+11
* reloc16.c: Add new target entry - bfd_coff_reloc16_estimate, fix bit rot. * libcoff.h, libcoff-in.h: declarations. Prototypes * coffcode.h (bfd_coff_std_swap_table): Add calls to coff_reloc_16_extra_cases and coff_reloc16_estimate. (dummy_reloc16_estimate): New function. * coff-h8300.c (h8300_reloc16_estimate): New function
1993-10-07elfcode.h (EALIGN): Define, dependent on ARCH_SIZE.Ken Raeburn2-52/+57
(align_file_position): New function. (elf_locate_sh): Disabled function deleted. (assign_file_positions_for_symtab_and_strtabs): Align position, then place symtab, then do other sections. (map_program_segments): Align program header. (assign_file_positions_except_relocs): Align section headers. (assign_file_positions_for_relocs): Align relocation sections. Fixes ld/3584.
1993-10-07removed two deleted files (thanks Fred)Ken Raeburn1-2/+0
1993-10-05 * configure.host: Recognize hppa*-*-hiux* (currently synonym for hpux).Jim Kingdon2-1/+8
Change other hppa entries to use -*- not -hp-. * config.bfd: Recognize hppa*-*-hiux* (currently synonym for hpux).
1993-10-05 * coff-rs6000.c, cpu-rs6000.c, rs6000-core.c: Change non-ASCIIJim Kingdon1-0/+34
characters in comment to octal escapes.
1993-10-05Another forgotten file.Stan Shebs1-0/+1
1993-10-03Reflect changes in Lynx files.Stan Shebs1-1/+2
1993-10-03More additions and changes for Lynx.Stan Shebs3-228/+27
1993-10-03* config/news-mips.mh, hosts/news-mips.h: New files.Jim Kingdon1-0/+1
1993-10-03 * config/news-mips.mh, hosts/news-mips.h: New files.Jim Kingdon1-0/+5
* configure.host: Use news-mips for mips-sony-bsd*.
1993-10-02new for mips corefilesJim Kingdon1-0/+12