aboutsummaryrefslogtreecommitdiff
path: root/bfd
AgeCommit message (Collapse)AuthorFilesLines
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
1993-10-01 * configure.in: i386lynx_coff_vec requires coff-i386lynx.o.Stan Shebs6-34/+870
* coff-i386lynx.c: New file, defines Lynx target vector and name, includes coff-i386.c. * coff-i386.c (i386coff_vec): Allow redefinition of target vector symbol and name, if TARGET_SYM and/or TARGET_NAME are defined. * i386lynx.c: Remove coff vector definition entirely. (lynx_32_swap_ext_reloc_in): Define. (lynx_32_swap_std_reloc_in): Define, get reloc bits in i386 Lynx-specific way. (lynx_32_swap_ext_reloc_out): Define. (lynx_32_swap_std_reloc_out): Define. (lynx_32_slurp_reloc_table): Define, call Lynx swapping fns. (lynx_32_squirt_out_relocs): Define, call Lynx swapping fns. (lynx_32_canonicalize_reloc): Define, call Lynx swapping fns. (WRITE_HEADERS): Define, call Lynx swapping fns. * config/i386-lynx.mt (SELECT_VECS): Remove redundant vector.
1993-09-30reloc.c (bfd_reloc_code_type): Add linkage-table relative reloc of size 8, 16,Ken Raeburn1-0/+6
32. Sort generic relocs by type, not size. Added a little documentation too.
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.