-Thu Aug 17 16:29:09 1995 Ken Raeburn <raeburn@kr-laptop.cygnus.com>
-
- * coff-sh.c (sh_relax_section): Cast value for used_by_bfd field
- to PTR, not coff_section_tdata pointer, since PTR is the real type
- of the field.
- * cofflink.c (_bfd_coff_read_internal_relocs): Ditto.
-
-Thu Aug 17 14:44:26 1995 Ian Lance Taylor <ian@cygnus.com>
-
- Add support for linking SPARC SunOS PIC compiled code.
- * sunos.c (SPARC_PLT_PIC_WORD0): Define.
- (SPARC_PLT_PIC_WORD1, SPARC_PLT_PIC_WORD2): Define.
- (struct sunos_link_hash_entry): Add got_offset and plt_offset
- fields.
- (struct sunos_link_hash_table): Add dynamic_sections_created and
- dynamic_sections_needed fields.
- (sunos_link_hash_newfunc): Initialize new fields.
- (sunos_link_hash_table_create): Initialize new fields.
- (sunos_create_dynamic_sections): New static function, broken out
- of sunos_add_dynamic_symbols.
- (sunos_add_dynamic_symbols): Call sunos_create_dynamic_sections.
- (sunos_add_one_symbol): Call sunos_create_dynamic_sections.
- (bfd_sunos_size_dynamic_sections): Call sunos_scan_relocs before
- checking whether we need to set up the dynamic link information.
- Define __GLOBAL_OFFSET_TABLE if anything referred to it.
- (sunos_scan_std_relocs): Call sunos_create_dynamic_sections. Use
- plt_offset field; only put symbol in .plt if it is not defined by
- a regular object.
- (sunos_scan_ext_relocs): Likewise. Handle base relative relocs.
- (sunos_scan_dynamic_symbol): Store dynobj in local variable.
- (sunos_write_dynamic_symbol): Check plt_offset rather than
- checking whether symbol is in .plt section. If symbol is defined
- in a regular object file, use SPARC_PLT_PIC_WORD[012], and don't
- add a JMP_TBL reloc.
- (sunos_check_dynamic_reloc): Add contents and relocationp fields.
- If plt_offset is set, redirect relocation to PLT. If this is a
- base relative reloc, redirect relocation to GOT. Check
- dynamic_sections_needed field rather than whether dynobj is set.
- (sunos_finish_dynamic_link): Check dynamic_sections_needed field
- rather than whether dynobj is set. Don't die if .need and .rules
- sections were not created.
- * aoutx.h (howto_table_ext): Mark PC10, PC22, and JMP_TBL entries
- PC relative. Mark PC10 complain_overflow_dont. Mark PC22 and
- JMP_TBL complain_overflow_signed.
- (NAME(aout,final_link)): If info->shared is set, set DYNAMIC.
- (aout_link_input_section_std): Call check_dynamic_reloc for all
- relocs. Pass contents and &relocation. Don't warn about an
- undefined symbol until check_dynamic_reloc has been called. Don't
- warn about an undefined symbol for a base relative reloc.
- (aout_link_input_section_ext): Likewise. For a base relative
- reloc, always treat r_index as an index into the symbol table.
- * libaout.h (struct aout_backend_data): Add contents and
- relocation argument to check_dynamic_reloc entry point.
- (struct aoutdata): Add local_got_offsets field.
-
-Wed Aug 16 01:03:07 1995 Ian Lance Taylor <ian@cygnus.com>
-
- * elf32-i386.c (elf_i386_check_relocs): Fix bug in last change.
-
-Mon Aug 14 11:39:24 1995 Ian Lance Taylor <ian@cygnus.com>
-
- * aoutx.h (NAME(aout,machine_type)): Handle a machine of
- bfd_mach_sparc or bfd_mach_sparc64.
-
- * elflink.h (elf_link_add_object_symbols): If a symbol is a weak
- definition, add it to the dynamic symbol table if any dynamic
- object mentions it. If we do add it, make sure we add the
- corresponding real symbol.
- (elf_adjust_dynamic_symbol): Adjust a weak defined symbol which we
- put in the dynamic symbol table, even if no regular object refers
- to it.
- * elf32-i386.c (elf_i386_check_relocs): When creating a shared
- library, don't allocate space for a PC relative reloc against a
- local symbol.
- * elf32-m68k.c (elf_m68k_check_relocs): Likewise.
- * elf32-sparc.c (elf32_sparc_check_relocs): Likewise.
- * elf32-i386.c (elf_i386_adjust_dynamic_symbol): Change assertion
- to accept symbol with weakdef set.
- * elf32-m68k.c (elf_m68k_adjust_dynamic_symbol): Likewise.
- * elf32-sparc.c (elf32_sparc_adjust_dynamic_symbol): Likewise.
- * elf32-m68k.c (elf_m68k_relocate_section): When creating a shared
- libary, don't copy over a PC relative reloc against a local
- symbol.
- * elf32-sparc.c (elf32_sparc_relocate_section): Likewise.
-
-Sun Aug 13 00:40:58 1995 Jeff Law (law@snake.cs.utah.edu)
-
- * som.h (R_HPPA_BEGIN_BRTAB): Define.
- (R_HPPA_END_BRTAB): Likewise.
- * som.c (som_write_fixups): Handle R_BEGIN_BRTAB and R_END_BRTAB.
-
-Thu Aug 10 15:53:29 1995 Ian Lance Taylor <ian@cygnus.com>
-
- * coffswap.h (coff_swap_aux_in): Swap the array dimensions
- whenever x_fcnary is not being used for something else, rather
- than only for an array.
- (coff_swap_aux_out): Likewise.
-
-Tue Aug 8 16:34:57 1995 steve chamberlain <sac@slash.cygnus.com>
-
- * cofflink.c (_bfd_coff_generic_relocate_section): Remove most
- of special case stuff for PE. Now handled by relocs.
- * coff-i386.c (coff_i386_reloc): Special case of PE type 7s.
- (howto_table): Type 7 is dir32-rva.
-
-Tue Aug 8 10:15:43 1995 Jeffrey A. Law <law@rtl.cygnus.com>
-
- * configure.host: Recognize aix4 explicitly.
- * rs6000-core.c (CORE_DATA_SIZE_FIELD): New macro to get a the size
- of a core dump's data section. Provide alternate definition for aix4.
- (SAVE_FIELD): Similarly for save state field (register info).
- (STACK_END_ADDR): Provide definition suitable for aix4.
- * config/{aix4.mh,aix4.mt}: New configuration files.
- * hosts/aix4.h: Likewise.
-
-Mon Aug 7 23:03:21 1995 Ian Lance Taylor <ian@cygnus.com>
-
- * som.c (som_bfd_copy_private_symbol_data): Cast initializations
- to avoid warnings.
-
-Mon Aug 7 14:51:08 1995 Jeff Law (law@snake.cs.utah.edu)
-
- * som.c (som_decode_symclass): Handle absolute symbols by checking
- the SOM type (since they will rarely if ever be in the absolute
- section).
-
-Wed Aug 6 09:12:50 1995 Doug Evans <dje@canuck.cygnus.com>
-
- * archures.c (bfd_mach_sparc, bfd_mach_sparc64): Define.
- * bfd-in2.h: Regenerated.
- * cpu-sparc.c (sparc_arch_info): Renamed from arch_info_struct.
- (sparc64_arch_info): New static variable.
- (bfd_sparc_arch): Link in sparc64_arch_info.
- * elf64-sparc.c (sparc64_elf_xxx): Renamed from elf64_xxx.
- (sparc64_elf_object_p): New static function.
- (elf_backend_object_p): Define.
- * config/sparc64-elf.mt (SELECT_VECS): Add bfd_elf32_sparc_vec.
-
-Sat Aug 5 00:04:08 1995 Jeff Law (law@snake.cs.utah.edu)
-
- * som (som_get_reloc_upper_bound): Return -1 on error. Compute
- return value with sizeof (arelent *), not sizeof (arelent).
-
-Wed Aug 2 12:32:21 1995 Ian Lance Taylor <ian@cygnus.com>
-
- * elf.c (bfd_section_from_shdr): If the section pointed to by the
- sh_link field of a reloc section is not a symbol table, and the
- file contains a single symbol table, clobber the sh_link field of
- the reloc section to point to the symbol table.
-
-Tue Aug 1 10:09:01 1995 Doug Evans <dje@canuck.cygnus.com>
-
- * coff-arm.c (howto reloc ARM26): Change size from 3 to 2.
- (howto reloc ARM26D): Likewise.
-
-Mon Jul 24 14:17:50 1995 Ian Lance Taylor <ian@cygnus.com>
-
- * aoutx.h (NAME(aout,find_nearest_line)): Use the line just before
- the offset, not the one just after. Break out of the loop after
- finding a function past the offset, not merely when finding a
- function with a line defined.
-
- * ecofflink.c (_bfd_ecoff_locate_line): When handling stabs:
- correct setting of sym_ptr_end to consider symbols skipped when
- setting sym_ptr; don't leave loop early unless an N_FUN is found
- with a larger value.
-
- * coff-sh.c (sh_coff_howtos): Mark R_SH_PCDISP8BY2 and R_SH_PCDISP
- as PC relative. Describe R_SH_IMM16. Add entries for
- R_SH_SWITCH16, R_SH_SWITCH32, R_SH_USES, R_SH_COUNT, and
- R_SH_ALIGN.
- (SWAP_IN_RELOC_OFFSET): Define.
- (SWAP_OUT_RELOC_OFFSET): Define.
- (CALC_ADDEND): Define.
- (sh_reloc): Change sym_value and addr to type bfd_vma. Skip reloc
- types other than R_SH_IMM32 and R_SH_PCDISP on an external symbol.
- (coff_bfd_relax_section): Define.
- (coff_bfd_get_relocated_section_contents): Define.
- (sh_relax_section): New static function.
- (sh_relax_delete_bytes): New static function.
- (sh_relocate_section): Handle R_SH_PCDISP on an external symbol.
- (sh_coff_get_relocated_section_contents): New static function.
-
- * cofflink.c (coff_link_add_object_symbols): Call
- _bfd_coff_get_external_symbols, not coff_link_get_symbols. Call
- _bfd_coff_free_symbols, not coff_link_free_symbols. Call
- _bfd_coff_read_string_table, not coff_read_string_table.
- (coff_link_check_archive_element): Likewise.
- (coff_link_input_bfd): Likewise.
- (coff_link_get_symbols): Move to coffgen.c.
- (coff_read_string_table): Likewise.
- (coff_link_free_symbols): Likewise.
- (_bfd_coff_internal_syment_name): New static function.
- (coff_link_check_ar_symbols): Use _bfd_coff_internal_syment_name.
- (coff_link_add_symbols): Likewise.
- (coff_link_input_bfd): Likewise.
- (_bfd_coff_generic_relocate_section): Likewise.
- (_bfd_coff_read_internal_relocs): New function.
- (coff_link_input_bfd): Use cached section contents if available.
- Use _bfd_coff_read_internal_relocs.
- * coffcode.h (coff_slurp_symbol_table): Don't call bfd_seek.
- (coff_bfd_get_relocated_section_contents): Only define if not
- already defined.
- (coff_bfd_relax_section): Likewise.
- * coffgen.c (build_string_table): Remove.
- (_bfd_coff_get_external_symbols): New function, moved in from old
- coff_link_get_symbols in cofflink.c.
- (_bfd_coff_read_string_table): New function, moved in from old
- coff_read_string_table in cofflink.c.
- (_bfd_coff_free_symbols): New function, moved in frmo old
- coff_link_free_symbols in cofflink.c.
- (coff_get_normalized_symtab): Use _bfd_coff_get_external_symbols
- rather than reading the symbols directly. To free them, call
- _bfd_coff_free_symbols. Use _bfd_coff_read_string_table rather
- than build_string_table.
- * libcoff-in.h (obj_coff_keep_syms): Define.
- (obj_coff_keep_strings): Define.
- (coff_data_type): Add fields keep_syms and keep_strings.
- (coff_section_tdata): Define new structure.
- (coff_section_data): Define.
- (_bfd_coff_get_external_symbols): Declare.
- (_bfd_coff_read_string_table): Declare.
- (_bfd_coff_free_symbols): Declare.
- (_bfd_coff_read_internal_relocs): Declare.
- * libcoff.h: Rebuild.
-
-Fri Jul 21 22:32:54 1995 Michael Meissner <meissner@cygnus.com>
-
- * elf32-ppc.c (ppc_elf_howto_raw): Add support for R_PPC_SDAREL
- relocation.
- (ppc_elf_reloc_type_lookup): Ditto.
- (ppc_elf_got16_inner): Ditto.
- (ppc_elf_relocate_section): Ditto.
-
-Thu Jul 20 19:19:06 1995 Jeff Law (law@snake.cs.utah.edu)
-
- * elf32-hppa.c (hppa_elf_gen_reloc_type): Add new (ignored)
- argument.
- * elf32-hppa.h: Corresponding change.
-
-Thu Jul 20 19:01:07 1995 Ken Raeburn <raeburn@cygnus.com>
-
- * libaout.h (set_aout_section_data): New macro.
- * sunos.c (sunos_scan_relocs): Use it.
-
- * aout-ns32k.c (MY_swap_std_reloc_out): Undef KEEPIT before
- defining it.
-
-Thu Jul 20 13:48:00 1995 Fred Fish <fnf@cygnus.com>
-
- * hosts/i386v4.h (getgid, getuid): Change prototypes to be
- compatible with Unixware 1.x and Unixware 2.x, and probably other
- i386 svr4 versions as well.
-
-Thu Jul 20 13:41:21 1995 Ken Raeburn <raeburn@cygnus.com>
-
- * targets.c (bfd_target_vector): Since armpe and armpei have been
- split into big- and little-endian variants, list all of them,
- instead of the now-nonexistant armpe[i]_vec.
-
-Thu Jul 20 00:06:39 1995 Ian Lance Taylor <ian@cygnus.com>
-
- * elf.c (bfd_section_from_phdr): Set lma based on p_paddr.
- (elf_fake_sections): Set sh_addr based on lma, not vma.
-
-Wed Jul 19 15:52:01 1995 Doug Evans <dje@canuck.cygnus.com>
-
- * coff-arm.c (TARGET_LITTLE_SYM, TARGET_BIG_SYM): Replaces TARGET_SYM.
- * configure.in (armpe_vec, armpei_vec): Add bi-endian support.
- * configure: "regenerated".
- * pe-arm.c (TARGET_LITTLE_SYM, TARGET_BIG_SYM): Replaces TARGET_SYM.
- (TARGET_LITTLE_NAME, TARGET_BIG_NAME): Replaces TARGET_NAME.
- * pei-arm.c (TARGET_LITTLE_SYM, TARGET_BIG_SYM): Replaces TARGET_SYM.
- (TARGET_LITTLE_NAME, TARGET_BIG_NAME): Replaces TARGET_NAME.
- * targets.c (armpe_vec, armpei_vec): Deleted.
- (armpe_little_vec, armpe_big_vec, armpei_little_vec, armpei_big_vec):
- Added.
- * config/arm-pe.mt (DEFAULT_VECTOR): Default is armpe_little_vec.
- (SELECT_VECS): Add bi-endian support.
-
-Wed Jul 19 10:47:25 1995 Ian Lance Taylor <ian@cygnus.com>
-
- * coff-sh.c: Clean up and comment.
- (r_imm32): Remove.
- (sh_coff_howtos): New static array.
- (SH_COFF_HOWTO_COUNT): Define.
- (get_symbol_value): Make relocation bfd_vma rather than long.
- (RTYPE2HOWTO): Rewrite to use sh_coff_howtos.
- (coff_relocate_section): Define to sh_relocate_section.
- (sh_relocate_section): New static function.
-
-Sat Jul 15 01:02:53 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
-
- * configure.host: Add support for generic m68k SVR4 host.
-
-Fri Jul 14 13:13:55 1995 Ian Lance Taylor <ian@cygnus.com>
-
- * aoutx.h (KEEPIT): Change definition to udata.i.
- (KEEPITTYPE): Remove.
- (NAME(aout,reloc_type_lookup)): Add cases to the
- extended reloc type switch: SPARC_GOT10, SPARC_GOT13, SPARC_GOT22,
- SPARC_PC10, SPARC_PC22, SPARC_WPLT30.
- (NAME(aout,swap_std_reloc_out)): Don't bother to use stoi when
- retrieving KEEPIT value.
- (NAME(aout,swap_ext_reloc_out)): Likewise. Also, only add in
- output section VMA for section symbols, and check BSF_SECTION_SYM
- to control whether to set r_extern to 1.
-
- * syms.c: Fix comments so that `make info' works.
-
- * elf32-mips.c (mips_elf_find_nearest_line): Set SEC_HAS_CONTENTS
- in .mdebug section, in case backend linker has cleared it.
-
-Fri Jul 14 11:58:34 1995 Michael Meissner <meissner@tiktok.cygnus.com>
-
- * elf32-ppc.c (ppc_elf_addr16_ha_inner): Rewrite to take just one
- argument, the final relocated address.
- (ppc_elf_addr16_ha_inner): Adjust ppc_elf_addr16_ha_inner caller.
- (ppc_elf_relocate_section): Ditto.
-
-Thu Jul 13 17:22:03 1995 Jeff Law (law@snake.cs.utah.edu)
-
- * som.c (hppa_som_gen_reloc_type): Choose a reasonable field
- selector relocation for the difference of two symbols.
-
-Thu Jul 13 10:33:25 1995 Ian Lance Taylor <ian@cygnus.com>
-
- * aoutx.h (NAME(aout,slurp_reloc_table)): Cast argument to size_t
- for malloc.
- * coff-mips.c (mips_relocate_section): Likewise, for memmove.
- (mips_relax_section): Likewise, for malloc.
- * cofflink.c (process_embedded_commands): Likewise.
- (_bfd_coff_final_link): Likewise.
- * ecoff.c (_bfd_ecoff_write_object_contents): Likewise.
- (ecoff_final_link_debug_accumulate): Likewise.
- (ecoff_indirect_link_order): Likewise, for memcpy and malloc.
- (ecoff_reloc_link_order): Likewise, for malloc.
- * ecofflink.c (ecoff_align_debug): Likewise, for memset.
- (ecoff_write_symhdr): Likewise, for malloc.
- * elf32-hppa.c (elf32_hppa_read_symext_info): Likewise.
- * elf.c (assign_file_positions_except_relocs): Likewise, for
- qsort.
- * elf32-mips.c (mips_elf_read_ecoff_info): Likewise, for malloc.
- * elfcode.h (elf_slurp_reloc_table): Likewise.
- * elfcore.h (elf_corefile_note): Likewise.
- * elflink.h (elf_link_add_object_symbols): Likewise.
- (elf_link_read_relocs): Likewise.
- (NAME(bfd_elf,size_dynamic_sections)): Likewise, for memset.
- * i386linux.c (bfd_linux_size_dynamic_sections): Likewise.
- * ieee.c (do_with_relocs): Likewise.
- * linker.c (default_indirect_link_order): Likewise, for malloc.
- * nlmcode.h (nlm_object_p): Likewise.
- (nlm_write_object_contents): Likewise.
- * oasys.c (oasys_set_section_contents): Likewise, for memcpy.
- * reloc.c (bfd_generic_get_relocated_section_contents): Likewise,
- for malloc.
- * section.c (bfd_get_section_contents): Likewise, for memcpy.
- * srec.c (srec_get_section_contents): Likewise.
- (srec_set_section_contents): Likewise.
- * sunos.c (bfd_sunos_size_dynamic_sections): Likewise, for
- realloc and memset.
- (sunos_scan_relocs): Likewise, for malloc.
- (sunos_scan_dynamic_symbol): Likewise, for realloc.
- * syms.c (_bfd_generic_read_minisymbols): Likewise, for malloc.
- * versados.c (versados_get_section_contents): Likewise, for
- memcpy.
-
- * libbfd.c (real_read): Add prototype. Change argument types from
- int to size_t.
- (bfd_read): Cast real_read argument to size_t, not int.
- (bfd_write): Cast fwrite argument to size_t, not int.
-
- * elf64-gen.c (elf_info_to_howto): Fix definition for recent elf.c
- changes.
-
- * configure.in: Fix typo: change {$enableval} to ${enableval}.
- * configure: Rebuild.
-
- * Makefile.in (BFD32_BACKENDS): Add elflink.o.
-
- * targets.c (bfd_target): Add fields _read_minisymbols and
- _minisymbol_to_symbol.
- (BFD_JUMP_TABLE_SYMBOLS): Add _read_minisymbols and
- _minisymbol_to_symbol.
- (bfd_read_minisymbols): Define.
- (bfd_minisymbol_to_symbol): Define.
- * syms.c (_bfd_generic_read_minisymbols): Define.
- (_bfd_generic_minisymbol_to_symbol): Define.
- * libbfd-in.h (_bfd_nosymbols_read_minisymbols): Define.
- (_bfd_nosymbols_minisymbol_to_symbol): Define.
- (_bfd_generic_read_minisymbols): Declare.
- (_bfd_generic_minisymbol_to_symbol): Declare.
- * bfd-in2.h: Rebuild.
- * libbfd.h: Rebuild.
- * aoutx.h (MINISYM_THRESHOLD): Define.
- (NAME(aout,read_minisymbols)): New function.
- (NAME(aout,minisymbol_to_symbol)): New function.
- * libaout.h (NAME(aout,read_minisymbols)): Declare.
- (NAME(aout,minisymbol_to_symbol)): Declare.
- * aout-target.h (MY_read_minisymbols): Define.
- (MY_minisymbol_to_symbol): Define.
- * All targets: Define read_minisymbols and minisymbol_to_symbol.
-
-Wed Jul 12 17:55:55 1995 Ken Raeburn <raeburn@cygnus.com>
-
- * elflink.h (elf_link_add_object_symbols): Cast return value from
- bfd_alloc.
-
- * elfcode.h (size_info): Don't use "&" before function names.
-
-Wed Jul 12 00:16:48 1995 Ken Raeburn <raeburn@kr-pc.cygnus.com>
-
- * libelf.h (elf_backend_data): Use unsigned, not unsigned char,
- for bitfields.
-
-Tue Jul 11 15:19:53 1995 Ian Lance Taylor <ian@cygnus.com>
-
- * elf.c (bfd_section_from_shdr): In case SHT_REL[A], only get the
- BFD section for the sh_link section if it is a SYMTAB section.
-
- * aoutx.h (NAME(aout,link_add_symbols)): Don't bother to check
- that archives hold a.out objects.
- * cf-i386lynx.c (coff_bfd_link_add_symbols): Don't define.
- (lynx_link_add_symbols): Remove.
- * cf-m68klynx.c (coff_bfd_link_add_symbols): Don't define.
- (lynx_link_add_symbols): Remove.
- * elflink.h (elf_bfd_link_add_symbols): Don't bother to check that
- archives hold ELF objects.
-
- * archive.c (bfd_generic_archive_p): If the archive has a map, and
- the target was defaulted, but the first object in the archive can
- not be matched with that target, then return a bad format error.
-
- * elf64-sparc.c (elf_sparc_howto_table): Set howto for WDISP16 to
- elf64_wdisp16_reloc.
- (elf64_wdisp16_reloc): New static function.
- (elf64_sparc_relocate_section): New static function.
- (elf_backend_relocate_section): Define.
-
- * libelf.h (struct elf_size_info): Change type of last argument to
- swap_symbol_out from char * to PTR.
- (bfd_elf32_swap_symbol_out): Update declaration.
- (bfd_elf64_swap_symbol_out): Likewise.
- * elfcode.h (elf_swap_symbol_out): Change type of cdst from char *
- to PTR.
- * elf.c (swap_out_syms): Cast to PTR, not char *, when calling
- swap_symbol_out routine.
- * elflink.h (NAME(bfd_elf,size_dynamic_sections)): Likewise.
- (elf_link_output_sym): Likewise.
- (elf_link_output_extsym): Likewise.
- * elf32-sparc.c (elf32_sparc_finish_dynamic_sections): Likewise.
-
-Tue Jul 11 12:29:49 1995 Rick Sladkey <jrs@world.std.com>
-
- * elf.c (_bfd_elf_find_nearest_line): Handle the simple case where
- there is no debugging information.
-
-Mon Jul 10 11:45:55 1995 Ken Raeburn <raeburn@cygnus.com>
-
- * makefile.dos (OBJS): Add binary.o and tekhex.o. From DJ
- Delorie.
-
-Mon Jul 10 11:09:58 1995 Ian Lance Taylor <ian@cygnus.com>
-
- * linker.c (set_symbol_from_hash): bfd_link_hash_new case: Don't
- abort; it can happen for constructor symbols when not building
- constructors.
-
- * coff-i960.c (coff_i960_relocate): Correct typo: use ! on strcmp,
- not on string.
- * cofflink.c (_bfd_coff_generic_relocate_section): Remove unused
- local i.
- * coff-arm.c (coff_arm_rtype_to_howto): Don't declare.
- (PCRELOFFSET): Define if not already defined.
- * Makefile.in: Rebuild dependencies.
- (BFD32_BACKENDS): Add coff-arm.o
- (CFILES): Add coff-arm.c, pe-arm.c, pei-arm.c.
-
- * aoutx.h (NAME(aout,link_hash_table_create)): Allocate hash table
- using bfd_alloc, not malloc.
- * cofflink.c (_bfd_coff_link_hash_table_create): Likewise.
- * ecoff.c (_bfd_ecoff_bfd_link_hash_table_create): Likewise.
- * i386linux.c (linux_link_hash_table_create): Likewise.
- * linker.c (_bfd_generic_link_hash_table_create): Likewise.
- * sunos.c (sunos_link_hash_table_create): Likewise.
-
- Based on patches from Eric Youngdale <eric@aib.com>:
- * elflink.h (NAME(bfd_elf,size_dynamic_sections)): If -Bsymbolic,
- output a DT_SYMBOLIC dynamic entry.
- (elf_adjust_dynamic_symbol): If -Bsymbolic, don't require a PLT
- entry for a locally defined symbol.
- * elf32-i386.c (elf_i386_relocate_section): If -Bsymbolic, do warn
- about undefined symbols, and fill in the GOT entry for a symbol
- defined in a regular object file.
- (elf_i386_finish_dynamic_symbol): If -Bsymbolic, output a RELATIVE
- reloc rather than a GLOB_DAT reloc for a symbol defined in a
- regular object file.
- * elf32-m68k.c (elf_m68k_relocate_section): If -Bsymbolic, do warn
- about undefined symbols, and fill in the GOT entry for a symbol
- defined in a regular object file.
- (elf_m68k_finish_dynamic_symbol): If -Bsymbolic, output a RELATIVE
- reloc rather than a GLOB_DAT reloc for a symbol defined in a
- regular object file.
- * elf32-sparc.c (elf32_sparc_relocate_section): If -Bsymbolic, do
- warn about undefined symbols, and fill in the GOT entry for a
- symbol defined in a regular object file.
- (elf32_sparc_finish_dynamic_symbol): If -Bsymbolic, output a
- RELATIVE reloc rather than a GLOB_DAT reloc for a symbol defined
- in a regular object file.
-
- * config/m68k-coff.mt (SELECT_VECS): Rename from SELECT_VECTORS.
- Correct elements to be actual BFD vector names.
-
- * Makefile.in (Makefile): Don't depend upon @frags@.
- (config.status): Depend upon @frags@.
-
-Fri Jul 7 17:36:44 1995 Ian Lance Taylor <ian@cygnus.com>
-
- * coffgen.c (coff_renumber_symbols): Sort defined symbols that are
- neither BSF_FUNCTION not BSF_NOT_AT_END just before undefined
- symbols.
- * coffcode.h (coff_slurp_symbol_table): Set BSF_FUNCTION as well
- as BSF_NOT_AT_END.
-
-Fri Jul 7 17:16:15 1995 Ken Raeburn <raeburn@cygnus.com>
-
- * Makefile.in (do_mostlyclean): Remove config.log.
- (do_distclean): Remove config.cache.
-
-Thu Jul 6 14:37:43 1995 Ian Lance Taylor <ian@cygnus.com>
-
- * elf32-i386.c (elf_i386_relocate_section): Revert May 24 patch.
- Don't copy PC32 reloc against section into shared object.
-
- * Makefile.in: Rebuild dependencies.
- (CFILES): Added elflink.c.
- (Makefile): Depend upon config.status, not configure.in.
- (config.status): New target; depend upon configure configure.host
- and config.bfd.
-
-Wed Jul 5 20:17:14 1995 Ken Raeburn <raeburn@cygnus.com>
-
- * elfcore.h, elflink.h, elfcode.h, elf.c, elflink.c: Moved some
- primarily size-independent code from elfcode.h to elf.c and new
- file elflink.c; moved out other core- or linker-related routines
- into other new .h files for clarity. Renamed many routines to
- start with bfd_elf or _bfd_elf. Added a structure of
- size-dependent but target-independent info to elfcode.h.
- * Makefile.in: Build elflink.o. Update dependencies.
- * libelf.h: Updated some declarations. Added a definition for the
- new structure in elfcode.h. Added more fields to elf backend data
- structure.
- * elfxx-target.h: Refer to the appropriate size-dependent info.
- * elf32-*.c: Changed some function names. Moved common
- create_dynamic_sections code from m68k, sparc, and i386 support
- into elflink.c. Define some new macros to fill in new fields of
- back end data. Also clean up some "gcc -Wall" warnings regarding
- unused or uninitialized variables.
-
- * Makefile.in (BFD_LIBS): No, don't put elflink.o here.
- * configure.in: Include it here whenever elf.o is specified.
-
-Wed Jul 5 10:31:47 1995 Ian Lance Taylor <ian@cygnus.com>
-
- * elf32-mips.c (mips_elf_object_p): Unconditionally set
- elf_bad_symtab, since sometimes the symbol table is messed up and
- the last symbol is global.
-
- * ecoff.c (_bfd_ecoff_bfd_is_local_label): New function.
- * libecoff.h (_bfd_ecoff_bfd_is_local_label): Declare.
- * elf32-mips.c (mips_elf_is_local_label): New static function.
- (bfd_elf32_bfd_is_local_label): Define.
-
- * configure.in: Use $ac_config_sub, not $configsub.
- * configure: Likewise.
-
- Permit --enable-targets=ieee:
- * config.bfd (*-*-ieee*): New target.
- * config/ieee.mt: New file.
-
-Wed Jul 5 04:16:35 1995 Ken Raeburn <raeburn@kr-pc.cygnus.com>
-
- * config/i386aix.mh (HDEFINES): Remove -DFASCIST_FDOPEN.
-
- Autoconfiscation:
- * configure.in, Makefile.in, doc/Makefile.in: Switch from Cygnus
- configure to autoconf ways of processing --enable arguments,
- setting up symlinks, incorporating makefile fragments, printing
- messages at configuration time, setting variables in Makefile.
- Deleted some unused variables. Check for ranlib via autoconf.
- For now, configure script removes doc/config.status.
- * configure: New file.
- * dep-in.sed: Use @SRCDIR@ instead of @srcdir@, so Makefile.in
- line doesn't get broken by configure.
- * doc/configure.in: Removed.
-
-Tue Jul 4 12:22:21 1995 Ian Lance Taylor <ian@cygnus.com>
-
- * archive.c (_bfd_construct_extended_name_table): If
- BFD_TRADITIONAL_FORMAT is set, limit the length of all file names
- to ar_max_namelen.
- (bfd_dont_truncate_arname): If BFD_TRADITIONAL_FORMAT is set, call
- bfd_bsd_truncate_arname.
- (_bfd_write_archive_contents): Revert June 1 change.
-
- * elfcode.h (NAME(bfd_elf,record_link_assignment)): Add provide
- argument.
- * bfd-in.h (bfd_elf32_record_link_assignment): Update prototype.
- (bfd_elf64_record_link_assignment): Likewise.
- * bfd-in2.h: Rebuild.
-
- * libelf.h (struct elf_link_hash_table): Add needed field. Remove
- saw_needed field.
- * elfcode.h (elf_link_add_object_symbols): If elf_dt_needed_name
- is an empty string, don't make a DT_NEEDED entry in the output
- file. Record all DT_NEEDED entries found in input dynamic
- objects.
- (elf_link_output_extsym): Don't check saw_needed when issuing
- warnings.
- * elf.c (_bfd_elf_link_hash_table_init): Initialize needed, not
- saw_needed.
- (bfd_elf_get_needed_list): New function.
- * bfd-in.h (struct bfd_elf_link_needed_list): Define.
- (bfd_elf_get_needed_list): Define.
- * bfd-in2.h: Rebuild.
-
- * ecoff.c (_bfd_ecoff_find_nearest_line): Also initialize
- find_buffer and fdrtab_len fields of newly allocated
- find_line_info structure.
-
-Mon Jul 3 17:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
-
- * som.c (hppa_som_gen_reloc_type): New argument "sym_diff",
- nonzero when we're generating relocations for an expression
- using the difference of two symbols. All callers changed.
- Handle difference of symbols for both R_HPPA and R_COMPLEX
- cases.
- (som_write_fixups): Handle R_COMP1, R_COMP2 and R_CODE_EXPR
- fixups.
-
-Mon Jul 3 13:55:18 1995 Steve Chamberlain <sac@slash.cygnus.com>
-
- * config.bfd (win32): New configuration.
- * configure.host (pe): Changed to i386win32.
- * config/i386pe.mh: Deleted.
- * config/i386win32.mh: New file.
-
-Mon Jul 3 11:30:45 1995 Ian Lance Taylor <ian@cygnus.com>
-
- * ecoff.c (_bfd_ecoff_find_nearest_line): If we allocate
- find_line_info, clear the fdrtab field.
-
- * targets.c (enum bfd_flavour): Add bfd_target_msdos_flavour here,
- rather than in bfd-in2.h.
-
- * bfd.c (enum bfd_error): Define bfd_error_no_armap.
- (bfd_errmsgs): Add string for bfd_error_no_armap.
- * bfd-in2.h: Rebuild.
- * ecoff.c (ecoff_link_add_archive_symbols): If an archive has no
- armap, set bfd_error_no_armap rather than bfd_error_no_symbols.
- * elfcode.h (elf_link_add_archive_symbols): Likewise.
- * linker.c (_bfd_generic_link_add_archive_symbols): Likewise.
-
- * elfcode.h (elf_link_add_object_symbols): Permit common and
- indirect symbols in weakdefs BFD_ASSERT.
- * elf32-i386.c (elf_i386_adjust_dynamic_symbol): Simplify
- BFD_ASSERT to permit some legal, but odd, cases.
- * elf32-sparc.c (elf32_sparc_adjust_dynamic_symbol): Likewise.
- * elf32-m68k.c (elf_m68k_adjust_dynamic_symbol): Likewise.
-
- * Makefile.in: Rebuild dependencies.
- (BFD32_BACKENDS): Add versados.o.
- (CFILES): Add pe-i386.c, pei-i386.c, and versados.c.
-start-sanitize-arc
- (elf32-arc.o): New target. This target should be removed when
- elf32-arc.c can be added to CFILES, after which the automatic
- dependency building will handle it.
-end-sanitize-arc
-
-Sun Jul 2 17:49:32 1995 Ian Lance Taylor <ian@cygnus.com>
-
- * cofflink.c (_bfd_coff_generic_relocate_section): Cast base_file
- to FILE * before using it.
- * stab-syms.c: Revert yesterday's patch.
-
-Sat Jul 1 12:10:42 1995 Fred Fish <fnf@cygnus.com>
-
- * stab-syms.c (stdio.h): Include prior to libaout.h, which
- includes bfdlink.h, which now uses FILE.
-
-Sat Jul 1 00:11:08 1995 Ken Raeburn <raeburn@cygnus.com>
-
- * elfxx-target.h: New file.
-
- * libelf.h (struct elf_backend_data): Remove elf_64_p field.
- * elfxx-target.h (elfNN_bed): Don't set it.
-
- * elf32-target.h, elf64-target.h: Deleted.
- * Makefile.in (elf32-target.h, elf64-target.h): Build them from
- elfxx-target.h.
-
-Fri Jun 30 16:07:18 1995 Steve Chamberlain <sac@slash.cygnus.com>
-
- * cofflink.c (_bfd_coff_generic_relocate_section): Compare
- the full text of .reloc or .edata section names.
-
-Fri Jun 30 15:47:37 1995 Fred Fish <fnf@cygnus.com>
-
- * cofflink.c (_bfd_coff_generic_relocate_section):
- Remove extra '+'.
-
-Thu Jun 29 17:24:52 1995 Steve Chamberlain <sac@slash.cygnus.com>
-
- * coff-h8300.c (COFF_LONG_FILENAMES): Define.
-
-Wed Jun 28 18:04:42 1995 Steve Chamberlain <sac@slash.cygnus.com>
-
- * Makefile.in: versados.o is now conditionally built.
- * coffcode.h (add_data_entry): New function.
- (coff_write_object_contents): Clean up. Calculate
- data entries.
- * cofflink.c (_bfd_coff_generic_relocate_section):
- .reloc and .edata sections are IMAGE_BASED too.
- If there's a base_file then write out base information.
- * configure.host (i386-*-pe): New.
- * syms.c (coff_section_type): Only scan prefixes.
- * targets.c (bfd_target_vector): Versados is now conditionally
- built.
- * config/m68k-coff.mt: Build versados.o
- * hosts/i386pe.h: New file.
-
-Mon Jun 26 13:53:49 1995 Jeff Law (law@snake.cs.utah.edu)
-
- * elf32-hpa.c (elf32_hppa_relocate_section): Close comment before
- R_PARISC_DPREL21L handling.
-
-Thu Jun 22 19:28:36 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
-
- Sun May 7 11:53:41 MDT 1995 Bryan Ford <baford@cs.utah.edu>
-
- * config/i386-moss.mt: created.
-
-Thu Jun 22 08:56:10 1995 Steve Chamberlain <sac@slash.cygnus.com>
-
- * reloc.c (bfd_perform_relocation): Add case for -ve words.
-
-Wed Jun 21 13:13:49 1995 Jeff Law (law@snake.cs.utah.edu)
-
- * elf32-hppa.c (elf32_hppa_relocate_section): Don't try to apply a
- relocation against an undefined symbols.
-
-Wed Jun 21 10:16:10 1995 Steve Chamberlain <sac@slash.cygnus.com>
-
- * versados.c: Second pass/rewrite.
-
-Mon Jun 19 08:40:45 1995 Steve Chamberlain <sac@slash.cygnus.com>
-
- * syms.c (coff_section_type): Compare only the front part
- of a section name.
-
-Sat Jun 17 09:40:44 1995 Jeff Law (law@snake.cs.utah.edu)
-
- * elf32-hppa.c (elf32_hppa_size_stubs): Set the size of the stub
- section if we get an error.
-
- * elf32-hppa.c (elf32_hppa_bfd_final_link_relocate): Don't mess
- with the operands of an R_PARISC_DPREL21L relocation if the insn
- is not "addil <symbol>,%r27".
-
-Fri Jun 16 15:04:47 1995 Stan Shebs <shebs@andros.cygnus.com>
-
- * bfd-in.h (NT_subsystem, NT_stack_heap): Declare but don't
- define.
- * bfd-in2.h: Rebuilt.
- * bfd.c (NT_subsystem, NT_stack_heap): Define.
-
-Fri Jun 16 00:07:25 1995 Jeff Law (law@snake.cs.utah.edu)
-
- * elf32-hppa.c (elf32_hppa_bfd_link_link_relocate): Use the right
- type field (there are two!) when checking to see if $global$ is
- defined.
-
-Thu Jun 15 14:03:47 1995 Stan Shebs <shebs@andros.cygnus.com>
-
- * bfd-in.h, bfd-in2.h (bfd_boolean): Rename bfd_true, bfd_false
- to bfd_tttrue, bfd_fffalse so as not to conflict with functions.
- * coffswap.h (coff_swap_scnhdr_out): Remove version that was
- hacked for MPW C.
- * mpw-config.in: Set shell vars instead of pasting to makefile
- for each configuration, edit coffswap.h to make MPW C not choke.
- (i386-unknown-coff, sh-hitachi-hms): Recognize.
- * mpw-make.in (BFD_LIBS): Add versados.c.o.
-
- * versados.c (versados_scan): Properly cast results from bfd_alloc.
-
-Wed Jun 14 15:27:32 1995 Steve Chamberlain <sac@slash.cygnus.com>
-
- * cofflink.c (process_embedded_commands): New function
- reads and handles .drectve sections for PE.
- (coff_link_input_bfd): Call new function if PE.
-
-Mon Jun 12 12:09:39 1995 Jeff Law (law@snake.cs.utah.edu)
-
- * bfd-in.h (bfd_set_section_vma): Case true to a boolean.
- (bfd_set_cacheable): Likewise.
- * bfd-in2.h: Rebuilt.
-
-Fri Jun 9 12:20:28 1995 Steve Chamberlain <sac@rtl.cygnus.com>
-
- * elfcode.h (elf_sort_hdrs): Rewrite to be symmetrical.
-
-Fri Jun 9 12:49:00 1995 Jeff Law (law@snake.cs.utah.edu)
-
- * targets.c: Add copy_private_symbol_data and link_split_section
- to the target vector.
- * libbfd-in.h (_bfd_generic_bfd_copy_private_symbol_data): Define.
- (_bfd_nolink_bfd_link_split_section): Likewise.
- (bfd_generic_link_split_section): Declare.
- * syms.c (bfd_copy_private_symbol_data): Define.
- * linker.c (bf_link_split_section): Likewise.
- * som.c (som_bfd_copy_private_symbol_data): New function
- (som_bfd_link_split_section): Likewise.
- * All other targets updated with default versions of new routines.
-
- * Take out my braindamaged bfd_true/bfd_false changes from earlier
- today. Replace with just:
- * bfd-in.h: (TRUE_FALSE_ALREADY_DEFINED): Define this if
- compiling with g++-2.6 or later.
- * bfd-in2.h: Rebuilt.
-
-Fri Jun 9 07:54:29 1995 Steve Chamberlain <sac@slash.cygnus.com>
-
- * versados.c (struct esd, get_4): Lint; use unsigned chars.
-
- * coff-i960.c (coff_i960_relocate): Compare output section names
- when converting for vxworks.
-
-Wed Jun 7 19:01:30 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
-
- * elfcode.h (elf_fake_sections): Permit .scommon or COMMON
- sections as random SHT_NOBITS sections, in case a linker script is
- strange.
-
-Tue Jun 6 17:29:32 1995 Steve Chamberlain <sac@slash.cygnus.com>
-
- * bfd-in.h (NT_subsystem, NT_stack_heap): Moved from pe.h
- * coff-i386.c (coff_i386_rtype_to_howto): Get PE relocs right.
- * coffcode.h (coff_mkobject): Set pe tdata bit when using PE.
- * cofflink.c (COFF_WITH_PE code): Test on obj_pe bit rather
- than conditional compile.
- * configure.in: Fix PE dependencies.
- * libcoff-in.h (obj_pe): New.
- (coff_tdata): Added pe entry.
- * libcoff.h: Regenerated.
-
-Mon Jun 5 09:07:13 1995 Steve Chamberlain <sac@slash.cygnus.com>
-
- * coff-a29k.c (coff_a29k_adjust_symndx): Completely parenthesize
- macro.
-
-Mon Jun 5 02:15:20 1995 Ken Raeburn <raeburn@kr-laptop.cygnus.com>
-
- Linker support for m68k-elf from Andreas Schwab
- <schwab@issan.informatik.uni-dortmund.de>:
- * elfcode.h (elf_link_add_object_symbols): Check for NULL when
- looping through the symbol hashes.
- (elf_bfd_final_link): When looking for _init and _fini don't use
- the symbol if it is imported from another object.
- * elf32-m68k.c: Relocation type changed from REL to RELA. Regular
- and dynamic linking support functions added, similar to other elf
- targets.
-
- * config.bfd (i[345]86-*-gnu*): Use ELF configuration.
-
-Fri Jun 2 18:54:59 1995 Steve Chamberlain <sac@slash.cygnus.com>
-
- * versados.c: New file.
- * bfd-in2.h (struct _bfd): New field.
- * bfd.c (struct _bfd): New field.
- * configure.in (versados_vec): New field.
- * targets.c (bfd_flavor): Added versados.
-
-Thu Jun 1 13:51:49 1995 Steve Chamberlain <sac@slash.cygnus.com>
-
- * coffcode.h (sec_to_styp_flags, styp_to_sec_flags,
- coff_new_section_hook): Any section that starts ".stab"
- is now marked as debugging.
-
-Thu Jun 1 16:15:16 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
-
- * archive.c (_bfd_write_archive_contents): Disable extended name
- table until it can be made optional, so that native AR has half a
- chance on SunOS and HP/UX.
-
- * linker.c (_bfd_generic_link_output_symbols, case
- bfd_link_hash_indirect): Add cast to correct pointer types.
-
-Sat May 27 21:37:31 1995 J.T. Conklin <jtc@rtl.cygnus.com>
-
- * config.bfd (m68k-bull-sysv*): Added strip_underscore=yes.
- (m68k-est-coff): Removed. target does not effect object format.
-
-Wed May 24 10:52:01 1995 Steve Chamberlain <sac@slash.cygnus.com>
-
- * linker.c (_bfd_generic_link_output_symbols): Cope with
- indirect symbols.
-
- * elf32-i386.c (elf_i386_relocate_section): Give error
- message when linking to a shared reloc which isn't there.
-
-Wed May 24 10:40:00 1995 Steve Chamberlain <sac@slash.cygnus.com>
-
- Support for ARM-PE.
-
- * Makefile.in, coffcode.h, config.bfd, configure.in, pe-arm.c,
- pei-arm.c, coff-arm.c, reloc.c, targets.c, config/arm-pe.mt:
- Support for ARM COFF/PE.
-
-Tue May 23 19:24:58 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
-
- * bfd.c (bfd_get_relocated_section_contents): Now a function,
- tries calling routine from input bfd target vector for
- bfd_indirect_link_order. Put a declaration into the header file.
- * bfd-in2.h: Regenerated.
- * elf32-mips.c (gprel16_with_gp): New function, split out from
- mips_elf_gprel16_reloc.
- (mips_elf_gprel16_reloc): Call it. If output bfd target vector
- isn't elf flavoured, abort, since it's assumed to be elf in some
- of this code, including the code that looks up the gp value.
- (elf32_mips_get_relocated_section_contents): New function,
- modified from bfd_generic_get_relocated_section_contents to deal
- with passing gp to gprel16_with_gp.
- (bfd_elf32_bfd_get_relocated_section_contents): New macro.
- * elf32-target.h (bfd_elf32_bfd_get_relocated_section_contents):
- Don't define if already defined.
-
-Tue May 23 15:58:15 1995 Jeff Law (law@snake.cs.utah.edu)
-
- * Makefile.in: Install bfdlink.h too.
-
-Sun May 21 22:25:09 1995 Jeff Law (law@snake.cs.utah.edu)
-
- * elf32-hppa.c (elf32_hppa_relocate_section): Handle undefined and
- notsupported return codes from final_link_relocate (used when
- $global$ is undefined or nonexistant).
- (elf32_hppa_bfd_link_link_relocate): If $global$ exists, but is
- not defined,then return bfd_reloc_undefined.
-
-Fri May 19 10:00:14 1995 Steve Chamberlain <sac@rtl.cygnus.com>
-
- * coffswap.h: (IMAGE_BASE): Define to 0 if not.
-
-Thu May 18 04:24:01 1995 Ken Raeburn <raeburn@kr-laptop.cygnus.com>
-
- Wed May 10 14:28:16 1995 Richard Earnshaw (rearnsha@armltd.co.uk)
-
- * aoutx.h (aout_link_input_section_standard): If defined, call
- MY_relocatable_reloc before doing a partial relocation.
-
- * aout-arm.c: (WRITE_HEADERS): Delete.
- (NAME): Define version to override default in aoutx.h
- (MY(howto_table)): Reformat. Alter some entries slightly.
- (RELOC_ARM_BITS_NEG_{BIG,LITTLE}): Define.
- (MY(reloc_howto), MY(put_reloc), MY(relocatable_reloc)): New functions.
- (MY_reloc_howto, MY_put_reloc, MY_relocatable_reloc): Define.
- (MY(fix_pcrel_26)): Renamed from aoutarm_fix_pcrel_26, return
- bfd_reloc_ok not bfd_reloc_continue.
- (MY(fix_pcrel_26_done)): Likewise.
- (MY(bfd_reloc_type_lookup)): Renamed from aoutarm_reloc_type_lookup.
- (MY_bfd_link_hash_table_create, MY_bfd_link_add_symbols,
- MY_bfd_final_link): Delete.
- (MY_swap_std_reloc_in, MY_swap_std_reloc_out, MY_get_section_contents):
- Define.
- (aoutx.h): Include it.
- (MY(swap_std_reloc_{in,out})): New functions.
- Use RELOC_ARM_BITS_NEG_{BIG,LITTLE} to extract negative reloc bit.
- (aoutarm_squirt_out_relocs): Delete.
-
- From: David Taylor (dtaylor@armltd.co.uk)
- * config/arm[lb]-aout.mt: New files.
- * aout-arm.c: New file.
- * config.bfd: Handle arm{,e[lb]}-*-aout
- * configure.in: Add vetor for aout_arm_{big,little}_vec.
- * reloc.c: New relocation types for the ARM.
- * targets.c (aout_arm_{big,little}_vec): declare.
-
-Tue May 16 10:29:51 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
-
- * libbfd.c (bfd_stat): If bfd_cache_lookup returns an error,
- return an error to the caller. Call bfd_set_error on errors.
-
-Tue May 16 14:44:45 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
-
- * libcoff-in.h (coff_renumber_symbols): Modified prototypes in
- accordance with 11 May libcoff.h change.
-
-Thu May 11 16:43:14 1995 Steve Chamberlain <sac@slash.cygnus.com>
-
- tekhex.c (first_phase): Understand type 0 symbols.
- (tekhex_write_object_contents): Fix typo in final record.
-
-Thu May 11 16:43:14 1995 Steve Chamberlain <sac@slash.cygnus.com>
-
- * coff-i960.c (optcall_callback): don't try and optimize
- undefined refs.
- (coff_write_relocs): Search for broken relocs on the way
- out and fix them up.
- (coff_renumber_symbols): Calculate and return index of
- first undefined symbol.
- (coff_write_object_contents): Call coff_renumber_symbols
- and coff_write_relocs with the new args.
- * libcoff.h: (coff_renumber_symbols, coff_renumber_symbols):
- Modified prototypes.
-
-Thu May 11 16:43:14 1995 Steve Chamberlain <sac@slash.cygnus.com>
- Tom Griest <griest@cs.yale.edu>
-
- Initial support for PE format.
-
- * Makefile.in, targets.c, configure.in, config.bfd:
- Add support for i386-*-winnt and i386-*-pe.
- * archive.c (do_slurp_coff_armap): Understand NTPE format
- archives.
- (_bfd_slurp_extended_name_table): Turn \ in a filename
- into /.
- * bfd-in.h (bfd_link_subsystem, _bfd_link_stack_heap): New.
- * coff-i386.c (howto_table): Conditionalize PCRELOFFSET.
- * coffcode.h (IMAGE_BASE): New.
- (coff_compute_section_file_positions): Throw away .junk
- sections for PE, align symbols.
- (coff_write_object_contents): Throw away .junk sections
- for PE. Remember info on .idata and .rsrc sections.
- Fill in the PE header.
- (coff_slurp_symbol_table): PE uses C_SECTION class.
- * cofflink.c (_bfd_coff_final_link): Keep PE info up to date.
- (_bfd_coff_generic_relocate_section): Cope with PE relocs.
- * coffswap.h (coff_swap_{aout/file/scn/sym}hdr_{in/out}):
- New code for PE headers.
-
-Tue May 9 17:01:38 1995 Michael Meissner <meissner@tiktok.cygnus.com>
-
- * config.bfd: Add little endian PowerPC support.
- * configure.in: Ditto.
- * targets.c: Ditto.
- * config/ppcle-elf.mt: New file, for little endian PowerPC
- support.
- * config/ppc-elf.mt: Add little endian powerpc to the BFD
- selection vectors.
- * elf32-ppc.c (ppc_elf_merge_private_bfd_data): Complain if
- linking a different endian object than we expect.
- (TARGET_LITTLE_SYM, TARGET_LITTLE_NAME): Define, to provide little
- endian support.
-
-Tue May 2 16:32:24 1995 Jeff Law (law@snake.cs.utah.edu)
-
- * config.bfd (hppa*-*-lites*): Treat just like hppa*-*-*elf*.
-
-Tue Apr 25 19:38:43 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
-
- * coffgen.c (make_a_section_from_file): Initialize lma same as
- vma.
-
-Tue Apr 25 11:03:21 1995 Jason Molenda (crash@phydeaux.cygnus.com)
-
- * hosts/std-host.h: #include ansidecl.h 'cause PTR is used in
- std-host.h.
-
-Mon Apr 24 23:56:44 1995 Ken Raeburn (raeburn@kr-pc.cygnus.com)
-
- * hosts/i386linux.h (HAVE_PROCFS): Don't define it. Added lengthy
- comment explaining why.
-
-Mon Apr 24 10:34:02 1995 Michael Meissner <meissner@cygnus.com>
-
- * hosts/i386linux.h (HAVE_PROCFS): If NO_PROCFS is defined, don't
- define HAVE_PROCFS.
-
-Mon Apr 24 08:33:12 1995 Michael Meissner <meissner@cygnus.com>
-
- * elf32-ppc.c (ppc_elf_relocate_section): Do not continue
- processing unknown symbols to prevent a cascade of errors.
-
-Fri Apr 21 12:48:48 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
-
- Patches from H.J. Lu for Linux ELF core file support.
- * elfcode.h (elf_core_file_matches_executable_p) [HAVE_PROCFS]:
- Use prpsinfo_t instead of struct prpsinfo, for consistency.
- * hosts/i386linux.h (HAVE_PROCFS): Define.
-
-Thu Apr 20 09:07:39 1995 Steve Chamberlain <sac@slash.cygnus.com>
-
- * linker.c (link_action): Do the right thing when a undefined
- strong symbol appears after an undefined weak symbol.
-
-Fri Apr 14 16:51:17 1995 Michael Meissner <meissner@tiktok.cygnus.com>
-
- * elf32-ppc.c (ppc_elf_relocate_section): New function to relocate
- a whole section for the linker, bypassing bfd_perform_relocation.
- (ppc_elf_reloc_type_lookup): New function to map the BFD
- enumeration code into a howto structure.
- (ppc_elf_howto_raw): Rename from ppc_elf_howto_table.
- (ppc_elf_howto_table): New array that maps PowerPC relocation
- numbers to howto structures without a linear search. Change from
- using bfd_elf_generic_reloc to use ppc_elf_std_reloc.
- (ppc_elf_howto_init): Initialize ppc_elf_howto_table from
- ppc_elf_howto_raw.
- (ppc_elf_reloc_type_lookup): Use a case statement instead of a
- loop.
- (ppc_elf_std_reloc): Replacement for bfd_elf_generic_reloc.
- (ppc_elf_unsupported_reloc): Print a real error message, instead
- of calling abort.
- (ppc_elf_addr16_ha_inner): Abstract getting adjustment from
- ppc_elf_addr16_ha_reloc, so ppc_elf_relocate_section can use it
- too.
- (ppc_elf_addr16_ha_reloc): Call it.
- (ppc_elf_got16_inner): Abstract getting adjustment from
- ppc_elf_got16_reloc, so ppc_elf_relocate_section can use it too.
- (ppc_elf_got16_reloc): Call it.
- (ppc_elf_info_to_howto): Rename from powerpc_info_to_howto.
-
- * elfcode.h (elf_symbol_from_bfd_symbol): Omit space in debugging
- output.
- (elf_symbol_flags): Add debug function to decode flags so that
- defining DEBUG to be 4 will compile again.
- (elf_debug_section): Fix typo in debug output.
-
-Fri Apr 14 16:03:04 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
-
- * config.bfd: Add m68*-*-elf*.
- * elf32-m68k.c: Filled out implementation, except for dynamic
- linking support.
- * reloc.c (enum bfd_reloc_code_real): Added *_GOT_PCREL, *_GOTOFF,
- *_PLT_PCREL, *_PLTOFF, *_68K_* relocations for ELF.
- * libbfd.h, bfd-in2.h: Regenerated.
-
-Thu Apr 13 14:28:04 1995 Torbjorn Granlund <tege@adder.cygnus.com>
-
- * coff-m68k.c (COFF_DEFAULT_SECTION_ALIGNMENT_POWER): Change from
- 1 to 2.
- (bfd_target): Change minimum section alignment from 1 to 2.
-
-Wed Apr 12 12:40:04 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
-
- * aoutx.h (machine_type, case bfd_arch_mips): Treat R8000 like
- R6000 and R4000 for now.
-
-Tue Apr 4 12:28:25 1995 Stan Shebs <shebs@andros.cygnus.com>
-
- * mpw-config.in: New file, MPW version of configure.in.
- * mpw-make.in: New file, MPW version of Makefile.in.
- * hosts/mpw.h: New file, MPW host definitions.
- * ecoffswap.h (ecoff_swap_pdr_in, ecoff_swap_pdr_in) [MPW_C]:
- Alternate versions without ECOFF_64 that chokes MPW C.
- * coffswap.h (coff_swap_scnhdr_out): Add alternative version with
- partly-expanded macros.
-
-Thu Mar 30 14:56:21 1995 Ian Lance Taylor <ian@cygnus.com>
-
- * reloc.c (bfd_perform_relocation): Don't bother to check for
- overflow if the symbol is undefined.
-
-Thu Mar 30 14:32:26 1995 H.J. Lu (hjl@nynexst.com)
-
- * config.bfd: Change linux to default to elf. Using
- i[345]86-*-linuxaout will build a library which defaults to a.out.
- * config/i386-laout.mt: Rename from old config/i386-linux.mt.
- * config/i386-linux.mt: Rename from old config/i386-lelf.mt.
- Comment out EXTRALIBS.
- * config/i386-lelf.mt: Remove.
-
-Wed Mar 29 12:01:30 1995 Ian Lance Taylor <ian@cygnus.com>
-
- * coff-i960.c (coff_i960_relocate): Cache the section symbol in
- the used_by_bfd field of the section, to avoid looping for each
- reloc.
-
- * cpu-h8500.c (arch_info_struct): Change name from "H8/300" to
- "h8300" for consistency with other cpu-* files.
-
-Tue Mar 28 15:14:11 1995 Ian Lance Taylor <ian@cygnus.com>
-
- * bout.c (b_out_canonicalize_reloc): Handle SEC_CONSTRUCTOR
- sections.
- (b_out_get_reloc_upper_bound): Likewise.
-
- * linker.c (generic_link_add_symbol_list): Skip constructor
- symbols which the main linker code did not do anything with.
- (_bfd_generic_link_output_symbols): Use udata.p if it is set,
- rather than looking the symbol up in the hash table. Just pass
- through constructor symbols for which udata.p is not set. If the
- linker defined the symbol, clear the constructor flag.
-
-Tue Mar 21 10:50:32 1995 Jeff Law (law@snake.cs.utah.edu)
-
- * som.c (som_set_reloc_info): Sign extend constants from
- R_DATA_OVERRIDE fixups.
- * libhppa.h (sign_extend): Renamed from sign_ext. Fix.
- (low_sign_extend): Likewise.
-
-Mon Mar 20 22:39:10 1995 Jeff Law (law@snake.cs.utah.edu)
-
- * som.c (som_slurp_symbol_table): Tighten test to determine
- what symbols are section symbols.
-
-Sat Mar 18 01:54:45 1995 Ian Lance Taylor <ian@cygnus.com>
-
- * elfcode.h (elf_bfd_link_add_symbols): An empty archive is OK.
-
-Fri Mar 17 16:29:02 1995 Jeff Law (law@snake.cs.utah.edu)
-
- * som.c (som_bfd_copy_private_section_data): Just return true when
- either the input or output section isn't attached to a SOM BFD.
- (som_bfd_copy_private_bfd_data): Similarly for BFD private data.
-
-Fri Mar 17 11:50:34 1995 Ian Lance Taylor <ian@cygnus.com>
-
- * elfcode.h (elf_link_add_object_symbols): Check whether a dynamic
- object has already been included, and ignore it the second time.
-
-Wed Mar 15 11:56:40 1995 Ian Lance Taylor <ian@cygnus.com>
-
- * elf32-sparc.c (elf_sparc_howto_table): Change R_SPARC_GOT13 from
- complain_overflow_bitfield to complain_overflow_signed.
-
- * libelf.h (bfd_elf32__write_relocs): Don't declare.
- (bfd_elf64__write_relocs): Don't declare.
-
-Tue Mar 14 05:54:33 1995 Ken Raeburn (raeburn@kr-pc.cygnus.com)
-
- * stab-syms.c (aout_stab_name): Moved aout_stab_names to be local
- to this function. Recoded function to stop using table, to
- improve performance (on i486-netbsd host). Left old version
- intact under "#if 0" for further performance testing.
-
-Mon Mar 13 13:48:49 1995 Ian Lance Taylor <ian@cygnus.com>
-
- * elfcode.h (write_relocs): Make static. Use PTR argument as a
- pointer to a boolean variable set to true if something fails.
- Cast to PTR rather than void *.
- (sym_is_global): Rewrite for clarity.
- (map_program_segments): If the program header size is too small,
- call _bfd_error_handler and return failure rather than aborting.
- (NAME(bfd_elf,write_object_contents)): Pass boolean variable when
- calling write_relocs.
- (elf_symbol_from_bfd_symbol): Use BFD_ASSERT rather than abort.
- (struct elf_info_failed): Define.
- (NAME(bfd_elf,size_dynamic_sections)): Declare variables in inner
- blocks. Pass elf_info_failed structure when calling
- elf_export_symbol and elf_adjust_dynamic_symbol.
- (elf_export_symbol): Treat data argument as elf_info_failed rather
- than bfd_link_info. Set failed field on error.
- (elf_adjust_dynamic_symbol): Likewise.
- (struct elf_finfo_failed): Define.
- (elf_bfd_final_link): Pass elf_finfo_failed structure when calling
- elf_link_output_extsym. Use BFD_ASSERT rather than abort.
- (elf_link_output_extsym): Treat data argument as elf_finfo_failed
- rather than elf_final_link_info. Set failed field on error.
- (elf_link_input_bfd): Use BFD_ASSERT rather than abort.
- (elf_reloc_link_order): Likewise.
-
- * elf32-sparc.c (elf32_sparc_size_dynamic_sections): Only write
- out PLTRELSZ, PLTREL and JMPREL relocs if there is a .rela.plt
- section. Solaris 2.4 apparently does not handle empty reloc
- information correctly.
-
- * archive.c (bsd_write_armap): Cast getuid and getgid results to
- long, and print with %ld.
-
-start-sanitize-arc
-Sun Mar 12 05:22:10 1995 Doug Evans <dje@chestnut.cygnus.com>
-
- * elf32-arc.c (elf_arc_howto_table): Relocs with implicit addends
- don't work too well with zero src_masks. Correct values.
-end-sanitize-arc
-
-Fri Mar 10 16:41:05 1995 Ian Lance Taylor <ian@cygnus.com>
-
- * aoutx.h (translate_to_native_sym_flags): Always use the output
- section if it is not NULL.
-
-Thu Mar 9 15:06:25 1995 Ian Lance Taylor <ian@cygnus.com>
-
- * coffswap.h (coff_swap_scnhdr_out): If the line number count or
- the reloc count does not fit, print an error and return 0.
- * coffcode.h (coff_write_object_contents): Check return value of
- coff_swap_scnhdr_out.
- * ecoff.c (_bfd_ecoff_write_object_contents): Check return value
- of bfd_coff_swap_scnhdr_out.
-
- * bfd.c: Include <stdarg.h> or <varargs.h>, depending upon
- ANSI_PROTOTYPES.
- (bfd_error_handler_type): New global type.
- (_bfd_error_program_name): New static variable.
- (_bfd_default_error_handler): New static function.
- (_bfd_error_handler): New BFD private global variable.
- (bfd_set_error_handler): New globally visible function.
- (bfd_set_error_program_name): New globally visible function.
- * libbfd-in.h (_bfd_error_handler): Declare.
- * bfd-in2.h, libbfd.h: Rebuild.
-
- * aoutx.h (NAME(aout,swap_ext_reloc_in)): Add symcount parameter,
- and use it instead of bfd_get_symcount. Check r_index after
- setting r_extern based on whether this is a base relative reloc.
- (NAME(aout,swap_std_reloc_IN)): Add symcount parameter, and use it
- instead of bfd_get_symcount.
- (NAME(aout,slurp_reloc_table)): Pass bfd_get_symcount to reloc
- swap routines.
- * libaout.h (NAME(aout,swap_ext_reloc_in)): Add symcount parameter
- to declaration.
- (NAME(aout,swap_std_reloc_in)): Likewise.
- * sunos.c (sunos_canonicalize_dynamic_reloc): Pass
- info->dynsym_count to reloc swap routines.
- * aout-ns32k.c (MY_swap_std_reloc_in): Add symcount parameter.
- * hp300hpux.c (MY(swap_std_reloc_in)): Likewise.
- (MY(slurp_reloc_table)): Pass bfd_get_symcount to reloc swap
- routine.
- * i386lynx.c (NAME(lynx,swap_ext_reloc_in)): Add symcount
- parameter.
- (NAME(lynx,swap_std_reloc_in)): Likewise.
- (NAME(lynx,slurp_reloc_table)): Pass bfd_get_symcount to reloc
- swap routines.
-
-Thu Mar 9 12:04:05 1995 Michael Meissner <meissner@tiktok.cygnus.com>
-
- * bfd.c (bfd_merge_private_bfd_data): New function vector to be
- called by the linker to merge any private bfd data of the input
- files and the output file. Used by the PowerPC ELF support to
- check whether -mrelocatable is used for all modules.
- (bfd_set_private_flags): New function vector to be called by the
- assembler to set private flags. Used by the PowerPC ELF support
- to set that a particular object file was assembled with the
- -mrelocatable option.
-
- * targets.c (BFD_JUMP_TABLE_COPY): Add intiialization of the
- bfd_merge_private_bfd_data and bfd_set_private_flags function
- vectors.
-
- * bfd-in2.h, libbfd-in.h: Rebuild with bfd.c and targets.c
- changes.
-
- * elf32-ppc.c (ppc_elf_set_private_flags): New function to set the
- ELF e_flags field.
- (ppc_elf_copy_private_bfd_data): Copy the e_flags field from the
- input file to the output file.
- (ppc_elf_merge_private_bfd_data): Check for a mismatch between the
- e_flags field of all of the linker input files.
-
- * libelf.h (elf_obj_tdata): Add ppc_flags_init field so that the
- PowerPC support can check if compataible e_flags are present.
-
- * aout-target.h: Add NOP for the bfd_merge_private_bfd_data
- and bfd_set_private_flags function vectors.
- * coffcode.h: Ditto.
- * elf32-target.h: Ditto.
- * elf64-target.h: Ditto.
- * libbfd.h: Ditto.
- * libecoff.h: Ditto.
- * som.c: Ditto.
-
-Wed Mar 8 00:53:54 1995 Ian Lance Taylor <ian@cygnus.com>
-
- * cpu-mips.c (arch_info_struct): Add mips:8000 entry.
-
- * elfcode.h (swap_out_syms): Mark an undefined BSF_WEAK symbol as
- STB_WEAK rather than STB_GLOBAL.
-
-start-sanitize-arc
-Tue Mar 7 20:34:43 1995 Doug Evans <dje@chestnut.cygnus.com>
-
- * configure.in (SELECT_VECS): Split bfd_elf32_arc_vec into big/little.
- * targets.c (bfd_target_vector): Likewise.
- * elf32-arc.c (TARGET_BIG_SYM): Define.
- (TARGET_BIG_NAME): Define.
- * config/arc-elf.mt (DEFAULT_VECTOR): Set to bfd_elf32_littlearc_vec.
- (SELECT_VECS): Add bfd_elf32_bigarc_vec.
-end-sanitize-arc
-
-Tue Mar 7 12:23:47 1995 Ian Lance Taylor <ian@cygnus.com>
-
- * coffcode.h (bfd_coff_backend_data): Add new field
- _bfd_coff_adjust_symndx.
- (bfd_coff_adjust_symndx): Define.
- (coff_adjust_symndx): Define as NULL if not already defined.
- (bfd_coff_std_swap_table): Initialize new field to
- coff_adjust_symndx.
- * cofflink.c (coff_link_input_bfd): Call coff_adjust_symndx if it
- is defined.
- * coff-a29k.c (coff_a29k_adjust_symndx): New static function.
- (coff_adjust_symndx): Define before including coffcode.h.
- * libcoff.h: Rebuild.
-
- * format.c (bfd_check_format_matches): Skip binary_vec when
- searching through bfd_target_vector.
-
- * elfcode.h (elf_sort_hdrs): Check SHT_NOBITS before checking
- sh_size.
-
-Mon Mar 6 23:31:36 1995 Doug Evans <dje@chestnut.cygnus.com>
-
- * elfcode.h (elf_sort_hdrs): Keep SHT_NOBITS sections after
- !SHT_NOBITS ones.
-
-Mon Mar 6 09:53:08 1995 Jeff Law (law@snake.cs.utah.edu)
-
- * cpu-hppa.c (arch_info_struct): Support both PA1.0 and PA1.1
- machine types.
- (bfd_hppa_arch): Link in both PA1.0 and PA1.1 architecture info
- structures.
- * libhppa.h (enum pa_arch): New enumeration to describe the
- different variants of the PA architecture.
- * som.c (som_object_setup): Use new enumeration to set machine
- type.
- (som_finish_writing): If the machine type is PA1.1, then use the
- PA1.1 machine identifier in the output file.
-
-Thu Mar 2 15:58:24 1995 Ian Lance Taylor <ian@cygnus.com>
-
- * aoutx.h (NAME(aout,swap_ext_reloc_in)): Treat the index of a
- base relative reloc as an index into the symbol table, regardless
- of the setting of r_extern.
- (NAME(aout,swap_std_reloc_in)): Likewise.
-
- * aoutx.h (NAME(aout,set_section_contents)): Double check that the
- caller is writing to a valid section.
-
-Thu Mar 2 14:37:57 1995 Bryan Ford <baford@cs.utah.edu>
-
- * binary.c: Add support for reading binary files. Loads the raw
- contents of the file into a data section and wraps some symbols
- around it. The symbols `_binary_<filename>_start' and
- `_binary_<filename>_end' indicate the start and end of the data,
- while `_binary_<filename>_size' is an absolute symbol whose value
- is the size of the data. <filename> is the name of the binary
- input file, with all non-alphanumeric characters converted to
- underscores.
-
- * archures.c (bfd_arch_get_compatible): Assume users knows what
- they're doing if one of the architectures is bfd_arch_unknown.
-
-Wed Mar 1 17:30:46 1995 Michael Meissner <meissner@cygnus.com>
-
- * elf32-ppc.c (elf_powerpc_howto_table): For relocation
- R_PPC_GOT16, change complain_on_overflow to be
- complain_overflow_signed.
-
-Wed Mar 1 11:52:55 1995 Jason Molenda <crash@phydeaux.cygnus.com>
-
- * configure.host: Recognize powerpc-*-aix*.
-
-Wed Mar 1 11:57:39 1995 Ian Lance Taylor <ian@cygnus.com>
-
- * coff-i960.c (COFF_PAGE_SIZE): Define.
-
- * configure.in: Rewrite output of TDEFAULTS to avoid relying on
- semantics of single quotes in parameter substitution.
-
-Tue Feb 28 12:53:09 1995 Ian Lance Taylor <ian@cygnus.com>
-
- * elfcode.h (elf_sort_hdrs): Sort empty sections before non-empty
- sections, if they have the same VMA.
-
- * config.bfd (i[345]86-*-linuxelf*): New target. Use i386-lelf.
- (i[345]86-*-gnuelf*): New target. Use i386-gelf.
- * config/i386-lelf.mt: New file.
- * config/i386-gelf.mt: New file.
-
-Mon Feb 27 12:58:25 1995 Kung Hsu <kung@mexican.cygnus.com>
-
- * config.bfd: add a29k-*-vxworks configuration.
-
-Wed Feb 22 14:40:26 1995 Ian Lance Taylor <ian@cygnus.com>
-
- * libaout.h (NAME(aout,slurp_reloc_table)): Change declaration to
- use reloc_howto_type rather than const struct reloc_howto_struct.
-
-Tue Feb 21 18:19:22 1995 Ian Lance Taylor <ian@cygnus.com>
-
- * bout.c (b_out_slurp_reloc_table): Don't return an error if asked
- for relocations for the .bss section.
-
-Tue Feb 21 15:13:05 1995 Jeff Law (law@snake.cs.utah.edu)
-
- * som.c (som_bfd_ar_write_symbol_stuff): Handle objects with odd
- lengths.
-
-Fri Feb 17 12:34:36 1995 Michael Meissner <meissner@cygnus.com>
-
- * elf32-ppc.c (ppc_elf_got16_reloc): Make GOT style relocs add
- 32768, so the GOT pointer can point to 16384 pointers, instead of
- 8192.
-
-Fri Feb 17 11:45:38 1995 Ian Lance Taylor <ian@cygnus.com>
-
- * hosts/sysv4.h: Include <unistd.h>, <stdlib.h>, and <time.h>.
- Only define SEEK_SET and SEEK_CUR if they are not already defined.
- Remove all external function declarations.
-
- * syms.c (bfd_decode_symclass): Return 'W' for a weak symbol.
-
- * coffgen.c (coff_real_object_p): Set start address and flags
- before calling coff_mkobject_hook. Restore them on failure.
- * ecoff.c (_bfd_ecoff_mkobject_hook): If not ECOFF_AOUT_ZMAGIC,
- clear D_PAGED.
-
- * coffgen.c: Reindented.
-
-Thu Feb 16 14:37:23 1995 Doug Evans <dje@cygnus.com>
-
- * reloc.c (bfd_perform_relocation): Don't use bitpos in overflow
- calculations.
- (bfd_install_relocation): Likewise.
-
-Thu Feb 16 13:22:29 1995 Ian Lance Taylor <ian@cygnus.com>
-
- * hosts/std-host.h: Remove all function declarations which return
- int or void, except the one for free.
-
-Wed Feb 15 14:54:18 1995 Michael Meissner <meissner@tiktok.cygnus.com>
-
- * elf32-ppc.c (elf_powerpc_howto_table): Use a destination mask of
- 0xffffffff for R_PPC_REL32, not 0.
- (powerpc_reloc_map): Add low 16 bit, high 16 bit, and high 16 bit
- adjusted relocations.
-
-Tue Feb 14 17:47:17 1995 Ian Lance Taylor <ian@cygnus.com>
-
- * elf32-mips.c (struct mips_elf_find_line): Define.
- (mips_elf_find_nearest_line): New static function.
- (bfd_elf32_find_nearest_line): Define.
- * libelf.h (struct elf_obj_tdata): Add find_line_info field.
-
- * ecoff.c (_bfd_ecoff_swap_tir_in): Move to ecofflink.c.
- (_bfd_ecoff_swap_tir_out): Likewise.
- (_bfd_ecoff_swap_rndx_in): Likewise.
- (_bfd_ecoff_swap_rndx_out): Likewise.
- (cmp_fdrtab_entry): Likewise.
- (mk_fdrtab): Likewise.
- (lookup): Likewise.
- (_bfd_ecoff_find_nearest_line): Just call _bfd_ecoff_locate_line
- to do most of the work. Allocate find_line_info if necessary.
- * ecofflink.c: Include "aout/stab_gnu.h".
- (_bfd_ecoff_swap_tir_in): Move in from ecoff.c.
- (_bfd_ecoff_swap_tir_out): Likewise.
- (_bfd_ecoff_swap_rndx_in): Likewise.
- (_bfd_ecoff_swap_rndx_out): Likewise.
- (cmp_fdrtab_entry): Likewise. Use PTR instead of void *.
- (mk_fdrtab): Move in from ecoff.c. Add debug_info, debug_swap,
- and line_info arguments, and use them instead of ecoff_data.
- (fdrtab_lookup): Move in from lookup in ecoff.c. Remove abfd
- argument, add line_info argument. Use it instead of ecoff_data.
- (_bfd_ecoff_locate_line): New function, mostly from the old
- _bfd_ecoff_find_nearest_line in ecoff.c.
- * libecoff.h (ecoff_data_type): Remove find_buffer, fdrtab_len and
- fdrtab fields, replacing them find_line_info field.
- (_bfd_ecoff_swap_tir_in): Declare.
- (_bfd_ecoff_swap_tir_out): Declare.
- (_bfd_ecoff_swap_rndx_in): Declare.
- (_bfd_ecoff_swap_rndx_out): Declare.
- * libbfd-in.h (_bfd_ecoff_locate_line): Declare.
- * libbfd.h: Rebuild.
- * configure.in: Don't use ecoff.o for bfd_elf32_bigmips_vec or
- bfd_elf32_littlemips_vec.
- * Makefile.in: Rebuild dependencies.
-
-Tue Feb 14 14:04:22 1995 Michael Meissner <meissner@tiktok.cygnus.com>
-
- * libelf.h (elf_backend_data): Add fields elf_machine_alt1 and
- elf_machine_alt2 which provide alternate versions of the machine
- code.
-
- * elf32-ppc.c (ELF_MACHINE_ALT1, ELF_MACHINE_ALT2): Define to
- recognize old versions of the PowerPC machine code.
-
- * elf32-target.h (elf32_bed): Initialize alternate machine code
- fields defined by ELF_MACHINE_ALT1 and ELF_MACHINE_ALT2.
-
- * elf64-target.h (elf64_bed): Initialize alternate machine code
- fields defined by ELF_MACHINE_ALT1 and ELF_MACHINE_ALT2.
-
- * elfcode.h (elf_object_p, elf_core_file_p): In addition to the
- main machine code field, check the two alternate machine code
- fields.
-
-Tue Feb 14 12:46:48 1995 Ian Lance Taylor <ian@cygnus.com>
-
- * aoutf1.h (MACHTYPE_OK): Don't define if already defined. Don't
- accept M_SPARC if bfd_arch_sparc is not in the list of supported
- architectures, and don't accept a 680x0 machine type if
- bfd_arch_m68k is not in the list of supported architectures.
- * aout0.c (MACHTYPE_OK): Define.
-
-Mon Feb 13 23:25:38 1995 Ian Lance Taylor <ian@cygnus.com>
-
- * aoutx.h (NAME(aout,swap_ext_reloc_in)): Don't return a pointer
- to garbage if the symbol index is out of range.
- (NAME(aout,swap_std_reloc_in)): Likewise.
-
-start-sanitize-arc
-Mon Feb 13 09:35:30 1995 Doug Evans <dje@canuck.cygnus.com>
-
- * elf32-arc.c (reloc_type): New type R_ARC_B26.
- (elf_arc_howto_table): Likewise.
- * reloc.c (BFD_RELOC_ARC_B26): Likewise.
-
-Thu Feb 9 17:31:40 1995 Doug Evans <dje@canuck.cygnus.com>
-
- * archures (bfd_mach_arc_base): #define.
- (bfd_mach_arc_host, bfd_mach_arc_graphics, bfd_mach_arc_audio): Ditto.
- * cpu-arc.c (arch_info_struct): Define entries for each cpu variant.
- (bfd_arc_arch): Link each one in.
- (arc_get_mach): New function.
- * elf32-arc.c (arc_info_to_howto_rel): Renamed from arc_info_to_howto.
- (elf_info_to_howto_rel): Update.
- (arc_elf_object_p, arc_elf_final_write_processing): New functions.
- (elf_backend_object_p): Define.
- (elf_backend_final_write_processing): Define.
- (USE_REL): Define.
-end-sanitize-arc
-
-Thu Feb 9 18:36:52 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
-
- * Makefile.in (BFD32_BACKENDS): Add i386msdos.o.
-
-Thu Feb 9 12:02:35 1995 Ian Lance Taylor <ian@cygnus.com>
-
- * i386linux.c (NEEDS_SHRLIB): Define.
- (linux_tally_symbols): Crash if a NEEDS_SHRLIB symbol is
- undefined. From hjl@nynexst.com (H.J. Lu).
-
-Wed Feb 8 17:26:00 1995 Ian Lance Taylor <ian@cygnus.com>
-
- * linker.c (generic_link_check_archive_element): Allocate common
- symbol information structure. Don't bother to check for common
- symbol size overflow.
- (_bfd_generic_link_add_one_symbol): Likewise.
- * aoutx.h (aout_link_check_ar_symbols): Likewise.
- * linker.c (generic_link_check_archive_element): Adjust references
- to common symbol information for new structure.
- (_bfd_generic_link_add_one_symbol): Likewise.
- * aoutx.h (aout_link_check_ar_symbols): Likewise.
- (aout_link_add_symbols): Likewise.
- * ecoff.c (ecoff_link_add_externals): Likewise.
- * elfcode.h (elf_link_add_object_symbols): Likewise.
- (elf_link_output_extsym): Likewise.
- * sunos.c (sunos_add_one_symbol): Likewise.
-
-Wed Feb 8 09:53:42 1995 Doug Evans <dje@canuck.cygnus.com>
-
- * elfcode.h (elf_sort_hdrs): Put SHT_NOBITS sections after !SHT_NOBITS.
-
-Tue Feb 7 16:27:33 1995 Jeff Law (law@snake.cs.utah.edu)
-
- * som.c (som_bfd_find_nearest_line): Just return false, don't
- abort.
-
-Tue Feb 7 14:43:33 1995 Ken Raeburn (raeburn@kr-pc.cygnus.com)
-
- * ecoff.c: Reformatted some comments and brace constructs in
- recent changes to GNU style.
- (cmp_fdrtab_entry, mk_fdrtab, lookup): Use old-style function
- definitions.
-
-Tue Feb 7 14:21:28 1995 Ian Lance Taylor <ian@cygnus.com>
-
- * ecoffswap.h (ecoff_swap_pdr_in): Zero out intern before setting
- any of the fields.
-
-Mon Feb 6 20:01:24 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
-
- Sat Feb 4 14:20:24 1995 David Mosberger-Tang <davidm@piston.cs.arizona.edu>
-
- * ecoffswap.h (ecoff_swap_pdr_in, ecoff_swap_pdr_out): added
- internalizing/externalizing new "prof" field.
-
- * libecoff.h (ecoff_tdata): added fdrtab.
-
- * ecoff.c (_bfd_ecoff_find_nearest_line): Fixed.
-
-Mon Feb 6 14:25:24 1995 Ian Lance Taylor <ian@cygnus.com>
-
- * libelf.h (struct elf_link_hash_table): Add saw_needed field.
- * elfcode.h (elf_link_add_object_symbols): Set saw_needed if
- DT_NEEDED seen in .dynamic section.
- (elf_link_output_extsym): Warn if an undefined symbol is
- only referenced from a dynamic object, and not making a shared
- object, and saw_needed is false.
- * elf.c (_bfd_elf_link_hash_table_init): Initialize saw_needed.
-
- * libelf.h (ELF_LINK_HASH_DEFINED_WEAK): Don't define.
- * elfcode.h (elf_link_add_object_symbols): Don't clear or set
- ELF_LINK_HASH_DEFINED_WEAK.
- (elf_link_output_extsym): Don't check ELF_LINK_HASH_DEFINED_WEAK.
-
- Distinguish a weak defined symbol from a regular defined symbol.
- * linker.c (enum link_action): Add DEFW.
- (link_action): Add bfd_link_hash_defweak column.
- (_bfd_generic_link_add_one_symbol): Add DEFW case. Handle
- bfd_link_hash_defweak in a few other cases.
- * Many files (bfd_link_hash_undefweak): Renamed from
- bfd_link_hash_weak.
- * aoutx.h (aout_link_write_symbols): Handle bfd_link_hash_defweak.
- (aout_link_write_other_symbol): Likewise.
- (aout_link_input_section_std): Likewise.
- (aout_link_input_section_ext): Likewise.
- * bout.c (get_value): Likewise.
- * coff-a29k.c (coff_a29k_relocate_section): Likewise.
- * coff-alpha.c (alpha_convert_external_reloc): Likewise.
- (alpha_relocate_section): Likewise.
- * coff-mips.c (mips_relocate_section): Likewise.
- (mips_relax_section): Likewise.
- (bfd_mips_ecoff_create_embedded_relocs): Likewise.
- * cofflink.c (coff_write_global_sym): Likewise.
- (_bfd_coff_generic_relocate_section): Likewise.
- * ecoff.c (ecoff_link_add_externals): Likewise.
- (ecoff_link_write_external): LIkewise.
- * elf32-hppa.c (elf32_hppa_relocate_section): Likewise.
- (elf32_hppa_size_stubs): Likewise.
- * elf32-i386.c (elf_i386_adjust_dynamic_symbol): Likewise.
- (elf_i386_relocate_section): Likewise.
- (elf_i386_finish_dynamic_symbol): Likewise.
- * elf32-mips.c (mips_elf_output_extsym): Likewise.
- (mips_elf_relocate_section): Likewise.
- * elf32-sparc.c (elf32_sparc_adjust_dynamic_symbol): Likewise.
- (elf32_sparc_relocate_section): Likewise.
- * elfcode.h (elf_link_add_object_symbols): Likewise.
- (elf_adjust_dynamic_symbol): Likewise.
- (elf_bfd_final_link): Likewise.
- (elf_link_output_extsym): Likewise.
- * i386linux.c (linux_add_one_symbol): Likewise.
- (linux_tally_symbols): Likewise.
- (linux_finish_dynamic_link): Likewise.
- * linker.c (_bfd_generic_link_output_symbols): Likewise.
- (set_symbol_from_hash): Likewise.
- * reloc16.c (bfd_coff_reloc16_get_value): Likewise.
- (bfd_perform_slip): Likewise.
- * sunos.c (sunos_add_one_symbol): Likewise.
- (sunos_scan_std_relocs): Likewise.
- (sunos_scan_ext_relocs): Likewise.
- (sunos_scan_dynamic_symbol): Likewise.
- (sunos_write_dynamic_symbol): Likewise.
-
-Mon Feb 6 03:20:17 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
-
- Changes from Bryan Ford, baford@schirf.cs.utah.edu:
- * config.bfd (i[345]86-*-msdos*): New target.
- * configure.in (i386msdos_vec): Handle it.
- * i386msdos.c: New file.
- * config/i386-msdos.mt: New file.
- * bfd.c (enum bfd_error): Added new value bfd_error_file_too_big.
- (bfd_errmsgs): Added string to table.
- * libaout.h (reloc_type-lookup): Declare it.
- * targets.c (enum bfd_flavour): Added bfd_target_msdos_flavour.
- (i386msdos_vec): Declare.
- (bfd_target_vector): Add it to the list.
- * bfd-in2.h: Regenerated.
-
-Wed Feb 1 01:32:14 1995 Jeff Law (law@snake.cs.utah.edu)
-
- * som.c (som_set_reloc_info, case R_DATA_ONE_SYMBOL): If there's
- nothing in R_DATA_OVERRIDE, then try to find the addend in the
- section's contents.
- (som_write_fixups): Ignore the addend in a R_DATA_ONE_SYMBOL fixup.
-
- * som.c (som_object_setup): More heruistics to detect the
- braindamaged HP OSF1 linker.
- (setup_sections): Don't forget to free subspace_sections if we get
- an error.
- (som_slurp_string_table): Allocate strings on this bfd's obstack
- rather than directly out of the heap.
- (som_slurp_symbol_table): Likewise for the saved copy of the
- canonical symbols.
- (som_slurp_reloc_table): Likewise for the saved copy of the
- canonical relocations. Free the native relocations when we're
- done with them.
-
-Tue Jan 31 21:53:28 1995 Doug Evans <dje@canuck.cygnus.com>
-
- * libelf.h (struct elf_obj_tdata): New member program_header_size.
- * elfcode.h (get_program_header_size): New parameters sorted_hdrs,
- count, and maxpagesize. All callers updated.
- If sorted_hdrs is non-NULL, use it to compute the number of segments.
- Save result in case called again.
- (assign_file_positions_except_relocs): Sort headers before calling
- get_program_header_size.
-
-Tue Jan 31 15:27:53 1995 Ian Lance Taylor <ian@cygnus.com>
-
- * elfcode.h (map_program_segments): Add sorted_hdrs parameter.
- Search through it rather than through unsorted section headers.
- (assign_file_positions_except_relocs): Pass sorted_hdrs to
- map_program_segments.
-
-Mon Jan 30 22:04:53 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
-
- * ecoff.c (_bfd_ecoff_find_nearest_line): Fix problems in range
- checking. Expect argument OFFSET to be section-relative. From
- David Mosberger-Tang, davidm@piston.cs.arizona.edu.
-
-Mon Jan 30 11:22:11 1995 Ian Lance Taylor <ian@cygnus.com>
-
- * elfcode.h (NAME(bfd_elf,record_link_assignment)): Don't do
- anything if we are not linking an ELF file.
- (NAME(bfd_elf,size_dynamic_sections)): Likewise.
-
-Sat Jan 28 12:48:57 1995 Jeff Law (law@snake.cs.utah.edu)
-
- * som.c (compare_subspaces): New function to sort subspaces by
- their location in the object file.
- (setup_sections): When computing the index for each subspace,
- handle case where setup_sections reads the subspaces in a
- different order that they appear in the object file.
- (som_is_space): Also examine the output section for the containing
- section.
- (som_is_subspace, som_is_container): Likewise.
- (som_begin_writing): Don't prepare or write fixups here. When
- writing the symbol strings, use the unsorted symbol table.
- (som_write_object_contents): Don't write the symbol table here.
- (som_finish_writing): Prepare and write the fixups here. Likewise
- for the symbol table.
- (som_bfd_derive_misc_symbol_info): Undefined symbols always have
- type SS_UNSAT regardless of BSF_EXPORT.
- (som_set_reloc_info): Unpack and attach argument location
- information for R_PCREL_CALL and R_ABS_CALL relocations.
-
- * som.c (som_object_setup): New heuristic to determine if the
- entry and flags fields are switched in the exec header.
-
-Sat Jan 28 00:16:01 1995 Ian Lance Taylor <ian@cygnus.com>
-
- * elfcode.h (elf_link_add_object_symbols): Use *sym_hash instead
- of h if we might not be doing an ELF link.
-
-Fri Jan 27 16:13:42 1995 Ian Lance Taylor <ian@cygnus.com>
-
- * elf32-mips.c (mips_elf_final_link): If the size of an input
- .reginfo section is zero, force it to the correct size, since the
- linker emulation code may have clobbered it.
-
- * elfcode.h (elf_sort_hdrs): Correct SHF_ALLOC test.
- (assign_file_positions_except_relocs): Free sorted_hdrs.
-
-Thu Jan 26 09:00:12 1995 Steve Chamberlain <sac@splat>
-
- * srec.c (srec_set_section_contents): Fix off by
- one end address calculation.
-
- * config.bfd: (m68*-est-coff): New configuration.
-
-Thu Jan 26 11:39:21 1995 Ian Lance Taylor <ian@cygnus.com>
-
- * elfcode.h (elf_link_add_object_symbols): Only examine weakdef if
- we are using an ELF hash table.
-
- * aoutx.h (NAME(aout,some_aout_object_p)): Always set EXEC_P if
- the start address is in the .text section, even if STAT_FOR_EXEC
- is set. Just use STAT_FOR_EXEC as an additional test.
-
-Thu Jan 26 11:12:54 1995 Michael Meissner <meissner@cygnus.com>
-
- * elfcode.h (prep_headers): Use EM_PPC instead of
- EM_CYGNUS_POWERPC.
-
- * elf32-ppc.c (reloc_type): Add all System V.4 and eABI
- relocations currently defined.
- (powerpc_reloc_map): Adjust to new relocation names.
- (elf_powerpc_howto_table): Add most of the new relocations.
- (ELF_MACHINE_CODE): Use EM_PPC instead of EM_CYGNUS_POWERPC.
-
- * config.bfd: Add support for powerpc-*-eabi.
-
- * config/ppc-elf.mt: Add rs6000 architecture support to the
- PowerPC. Also add XCOFF support.
-
-Wed Jan 25 23:26:13 1995 Ian Lance Taylor <ian@cygnus.com>
-
- * coff-sh.c (CALC_ADDEND): Don't define.
- (coff_sh_relocate_section): Remove.
- (coff_relocate_section): Use _bfd_coff_generic_relocate_section.
-
-Tue Jan 24 14:22:47 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
-
- * elf32-mips.c (mips_elf_output_extsym): Set the value of the
- ECOFF symbol from the hash table entry.
-
-Mon Jan 23 14:53:35 1995 Steve Chamberlain <sac@splat>
-
- * coff-sh.c (coff_sh_relocate_section): Don't subtract
- vma twice.
-
-Mon Jan 23 13:33:18 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
-
- * coff-sh.c (sh_reloc): Don't ignore the previous contents of an
- R_SH_IMM32 reloc.
-
- * config.bfd (i[345]86-*-gnu*): Set bfd_name to i386-gnu.
- * config/i386-gnu.mt: New file. Include ELF support.
-
- * opncls.c (bfd_openstreamr): Call bfd_cache_init.
-
-Fri Jan 20 11:44:45 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
-
- * sunos.c (sunos_add_one_symbol): Only set the sunos specific
- fields if we are doing a sunos link.
-
-Wed Jan 18 12:28:17 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
-
- * cpu-h8300.c (h8300_info_struct): Change name from "H8/300" to
- "h8300" for consistency with other cpu-* files.
- (h8300h_info_struct): Change name from "H8/300H" to "h8300h".
- * coff-h8300.c (special): Remove unused variable diff.
-
-Tue Jan 17 10:52:32 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
-
- * bfd-in.h (bfd_byte, reloc_howto_type): Define here, not...
- * reloc.c (bfd_byte, reloc_howto_type): here.
- * Changed all occurrences of ``const struct reloc_howto_struct''
- to be ``reloc_howto_type'' instead.
- * bfd-in2.h, libbfd.h, libcoff.h: Rebuilt.
-
- * opncls.c (bfd_openstreamr): New function.
- * bfd-in2.h: Rebuilt.
-
- * elf32-mips.c (enum reloc_type): Define new relocs used on Irix.
- (elf_mips_howto_table): Add entries for new relocs.
- (mips_elf_section_from_shdr): Handle SHT_MIPS_MSYM,
- SHT_MIPS_DWARF, and SHT_MIPS_EVENTS.
- (mips_elf_fake_sections): Handle sections named .msym, .debug_*
- and .MIPS.events.*.
-
- * srec.c (srec_init): Remove unused local variable i.
-
-Sat Jan 14 19:09:48 1995 Steve Chamberlain <sac@jonny>
-
- * archures.c, Makefile.in, targets.c, bfd-in2.h, coffcode.h,
- config.bfd, configure.in, config/w65.mt: Initial support for the W65.
-
-Sun Jan 15 13:57:45 1995 Steve Chamberlain <sac@splat>
-
- * opncls.c (bfd_fdopenr): Configure for WIN32.
-
-Thu Jan 12 16:30:47 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
-
- * Makefile.in (diststuff): Include `headers'.
-
- * sunos.c (m68k_plt_first_entry, sparc_plt_first_entry): Now
- const.
- * tekhex.c (digs): Ditto.
- * elf32-i386.c (elf_i386_plt0_entry, elf_i386_plt_entry): Ditto.
-
- * srec.c, tekhex.c: Include libiberty.h. Delete static array
- hex_value and replace references to it with references to
- hex_init, hex_p, and hex_value.
- * Makefile.in: Updated dependencies.
-
- * archures.c (archures_init_table): Now const.
- (bfd_arch_init): Adjusted type of local var `ptable'.
-start-sanitize-rce
-
- * Makefile.in (ALL_MACHINES): Include cpu-rce.o.
- (BFD32_BACKENDS): Include aout-rce.o.
-end-sanitize-rce
-start-sanitize-arc
-
- * Makefile.in (ALL_MACHINES): Include cpu-arc.o.
- (BFD32_BACKENDS): Include elf32-arc.o.
-end-sanitize-arc
-
-Thu Jan 12 09:33:24 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
-
- * hosts/symmetry.h: Redefine `shared' to enable compilation
- with the native Dynix cc compiler.
- * i386dynix.c: Include aoutx.h instead of using routines
- from aout32.c.
-
-Wed Jan 11 21:31:41 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
-
- * reloc.c (reloc_howto_type): Make typedef include `const'.
- * aout-ns32k.c, aoutx.h, bout.c, cf-m68klynx.c, coff-i386.c,
- coff-i960.c, coff-m68k.c, cofflink.c, cpu-ns32k.c, ecoff.c,
- elf32-hppa.c, elf32-i386.c, elf32-mips.c, elf32-sparc.c,
- elfcode.h, libbfd-in.h, linker.c, mipsbsd.c, nlm32-ppc.c, oasys.c,
- reloc.c, som.c: Don't use `const' in combination with
- `reloc_howto_type'.
-start-sanitize-arc
- * elf32-arc.c: Ditto.
-end-sanitize-arc
- * bfd-in2.h, libbfd.h: Regenerated.
-
- * ecoff.c (ecoff_type_to_string): Local variable `buffer1' doesn't
- need to be static.
-
-Wed Jan 11 14:36:41 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
-
- * sunos.c (sunos_add_one_symbol): Don't core dump if a multiple
- definition of an absolute symbol is encountered.
-
- * linker.c (_bfd_generic_link_add_one_symbol): Ignore
- redefinitions of an absolute symbol to the same value.
-
-Mon Jan 9 15:51:32 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
-
- * elfcode.h (elf_link_add_object_symbols): It's reasonable for no
- flags to be set, so don't insist otherwise.
-
-Fri Jan 6 16:39:40 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
-
- * elfcode.h (elf_slurp_symbol_table): Don't set BSF_GLOBAL for an
- undefined or common symbol.
- (elf_link_add_object_symbols): Likewise.
-
-Wed Jan 4 14:14:05 1995 Jeff Law (law@snake.cs.utah.edu)
-
- * som.c (bfd_section_from_som_symbol): Only return sections which
- correspond to subspaces.
-
- * som.c (som_begin_writing): Don't forget to bump the
- total_subspaces when writing the unloadable subspaces.
-
-Wed Dec 28 20:54:47 1994 Jeff Law (law@snake.cs.utah.edu)
-
- * som.c (som_write_fixups): Use SEC_HAS_CONTENTS to identify
- bss-like sections.
- (som_get_section_contents): Likewise.
- (som_set_section_contents): Likewise.
-
-Tue Dec 27 14:03:47 1994 Jeff Law (law@snake.cs.utah.edu)
-
- * som.c (setup_sections): Turn off SEC_HAS_CONTENTS for bss-like
- sections.
-
-Tue Dec 20 15:30:12 1994 Ken Raeburn <raeburn@cujo.cygnus.com>
-
- * coffgen.c (bfd_debug_section): Deleted.
- (coff_section_from_bfd_index): Return absolute section for debug
- symbol.
- (coff_write_symbol): Set BSF_DEBUGGING for C_FILE symbols. If
- BSF_DEBUGGING is set, set section to N_DEBUG.
- (coff_bfd_make_debug_symbol): Use absolute section.
-
- * elfcode.h (assign_file_positions_except_relocs): In assertion,
- force all values to the same type.
-
-Tue Dec 20 11:11:58 1994 Steve Chamberlain (sac@jonny.cygnus.com)
-
- * coff-h8300.c (howto_table): All relocs get a special function.
- (special): Never do anything when linking -r.
-
-Tue Dec 20 13:58:01 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
-
- * i386linux.c (linux_add_one_symbol): Don't do anything Linux
- specific if this is not a Linux hash table. From Eric Youngdale
- <eric@aib.com>.
-
- Patches from kkojima@mix.or.jp (Kazumoto Kojima):
- * mipsbsd.c (mips_howto_table_ext): Change sizes of memory relocs
- apply to from two bytes to four bytes.
- * MY(reloc_howto_type_lookup): Handle BFD_RELOC_CTOR.
-
- * elf32-i386.c (elf_i386_relocate_section): Correct and expand the
- list of cases for which relocation need not be computed.
- * elf32-sparc.c (elf32_sparc_relocate_section): Likewise.
-
-start-sanitize-arc
-Tue Dec 20 09:01:01 1994 Doug Evans <dje@canuck.cygnus.com>
-
- * elf32-arc.c (elf_arc_howto_table, R_ARC_B22_PCREL): Value is
- right-shifted 2 bits. Fix dst_mask.
-end-sanitize-arc
-
-Mon Dec 19 23:09:16 1994 Jeff Law (law@snake.cs.utah.edu)
-
- * elf32-hppa.c (elf32_hppa_read_symext_info): Delete do_locals and
- do_globals arguments, always read symbol extension information for
- globals and locals. All callers changed.
- (elf32_hppa_size_stubs): Rework to only read symbol extension
- information once for each input bfd. 10% improvement in linker
- performance.
-
-Fri Dec 16 12:28:46 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
-
- * elfcode.h (elf_section_from_bfd_section): Check
- bfd_is_abs_section, etc., only after checking for the section in
- the BFD and after calling the backend routine.
-
-Wed Dec 14 20:21:58 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
-
- * elfcode.h (elf_map_symbols): Only use section symbols whose
- value is the start of the section, checking output_offset when
- using output_section. When creating a new symbol, set the value
- to 0, since BFD symbol values are section relative.
-
-Tue Dec 13 13:31:06 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
-
- * cpu-z8k.c (arch_info_struct): Make z8002 the default
- architecture.
-
-Fri Dec 9 12:43:05 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
-
- * elfcode.h (elf_bfd_link_add_symbols): If the first object in the
- archive is not an ELF object, pass the archive to the add_symbols
- entry point appropriate for the first object. From Eric Youngdale
- <eric@aib.com>.
- * aoutx.h (NAME(aout,link_add_symbols)): Similar change if the
- first object is not an a.out object.
-
- * elf32-i386.c (elf_i386_relocate_section): Don't compute
- relocation in cases where we won't use it.
- * elf32-sparc.c (elf32_sparc_relocate_section): Likewise.
-
-Thu Dec 8 14:19:41 1994 Ken Raeburn <raeburn@cujo.cygnus.com>
-
- * pc532-mach.c (NAME): Define to use ns32kaout prefix.
- * ns32knetbsd.c (NAME): Ditto.
- (ns32kaout_32_get_section_contents): Define to standard aout-32
- version.
-
-Fri Dec 2 13:56:49 1994 Ian Lance Taylor <ian@rtl.cygnus.com>
-
- * coff-mips.c (mips_read_relocs): New static function, broken out
- of mips_relax_section.
- (mips_relax_section): Call mips_read_relocs.
- (bfd_mips_ecoff_create_embedded_relocs): New function.
- * bfd-in.h (bfd_mnips_ecoff_create_embedded_relocs): Declare.
- * bfd-in2.h: Rebuild.
-
-Wed Nov 30 14:12:55 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
-
- * coff-sh.c: Use _bfd_dummy_target instead of no_archive.
-
-start-sanitize-arc
-Tue Nov 29 17:14:21 1994 Doug Evans <dje@canuck.cygnus.com>
-
- * archures.c: Initial support for the ARC.
- * reloc.c, targets.c, config.bfd, configure.in, elfcode.h: Likewise.
- * bfd-in2.h: Regenerated.
- * libbfd.h: Likewise.
- * config/arc-elf.mt: New file.
-end-sanitize-arc
-
-Tue Nov 29 14:00:19 1994 J.T. Conklin <jtc@.rtl.cygnus.com>
-
- * config.bfd (i[345]86-*-freebsd*): Use i386-bsd as bfd_name.
- * configure.host (i[345]86-*-freebsd*): Use i386bsd as my_host.
-
-Mon Nov 28 15:36:04 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
-
- * config/m68k-nbsd.mt (DEFAULT_VECTOR): set to m68knetbsd_vec.
- * Makefile.in: Rebuilt dependancies.
- (CFILES): Added m68knetbsd.c.
- (HFILES): Added netbsd.h.
-
-Wed Nov 23 19:21:41 1994 Steve Chamberlain (sac@jonny.cygnus.com)
-
- * coff-sh.c (shlcoff_vec): New target vector.
- (no_archive): New function.
- * coffcode.h (coff_set_arch_mach_hook, coff_set_flags): Handle
- little endian SH.
- * configure.in: Handle shl.
- * targets.c (bfd_target_vector): Add shlcoff_vec.
- * config/sh-coff.mt (SELECT_VECS): Handle shl_coff_vec.
-
-Wed Nov 23 10:50:13 1994 Jeff Law (law@snake.cs.utah.edu)
-
- * elfcode.h (write_relocs): Do not subtract the section's vma from
- the reloc's offset when writing .o's. Instead add the section's
- vma to the reloc's offset when writing an executable or shared
- library.
-
-Tue Nov 22 23:34:37 1994 Jeff Law (law@snake.cs.utah.edu)
-
- * elf32-hppa.c (elf32_hppa_bfd_final_link_relocate): Do not add
- input_section->vma to the relocation's offset.
-
-Mon Nov 21 12:37:25 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
-
- * srec.c (srec_get_reloc_upper_bound): Define.
- (srec_canonicalize_reloc): Define.
- (srec_bfd_reloc_type_lookup): Define.
- (srec_vec, symbolsrec_vec): Use BFD_JUMP_TABLE_RELOCS (srec).
-
-Sat Nov 19 03:10:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
-
- * configure.host (i[345]86-*-solaris*): Use solaris2 to
- enable extraction of procfs info from core file for GDB.
-
-Thu Nov 17 17:37:39 1994 Ken Raeburn <raeburn@cujo.cygnus.com>
-
- * reloc.c (bfd_reloc_code_type): Add new value BFD_RELOC_12_PCREL.
- * bfd-in2.h, libbfd.h: Rebuilt.
-
-Thu Nov 17 13:12:08 1994 Jeff Law (law@snake.cs.utah.edu)
-
- * bfd/elf32-hppa.c (elf32_hppa_bfd_final_link_relocated): Use the
- vma from the output_section containing $global$ when computing
- global_vlaue.
-
-Thu Nov 17 14:29:13 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
-
- * archive.c (_bfd_write_archive_contents): Round up the archive
- header size of the extended name table to an even number.
-
-Wed Nov 16 16:08:06 1994 Ken Raeburn <raeburn@cujo.cygnus.com>
-
- * coff-sh.c: Deleted some code that was commented out or inside
- "#if 0".
- (COFF_LONG_FILENAMES): Define.
-
- * cpu-sh.c (arch_info_struct): Convert name to lowercase, for
- consistency with other architectures.
-
-Sat Nov 12 23:50:10 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
-
- * elfcode.h (elf_export_symbol): Also export symbols which are
- referenced by a regular file.
-
-Fri Nov 11 14:29:31 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
-
- * elfcode.h (NAME(bfd_elf,size_dynamic_sections)): Add
- export_dynamic argument, and handle it.
- (elf_export_symbol): New function.
- * bfd-in.h (bfd_elf32_size_dynamic_sections): Update declaration.
- (bfd_elf64_size_dynamic_sections): Update declaration.
- * bfd-in2.h: Rebuild.
-
-Fri Nov 11 10:35:33 1994 Jeff Law (law@snake.cs.utah.edu)
-
- * hpux-core.c (hpux_core_struct): Delete handles for the
- data, reg and stack sections. They're never used. Delete
- accessor macros.
- (make_bfd_asection): Use bfd_make_section_anyway since debugging
- cores from dynamic executables may have several sections with the
- same logical name.
- (hpux_core_core_file_p): Don't save handles to data, reg and
- stack sections. Handle CORE_TEXT, CORE_MMF and CORE_SHM.
-
-Tue Nov 8 13:03:30 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
-
- * bout.c (callj_callback): Add new argument shrinking. Change all
- callers. Handle relocs against section symbols correctly. If not
- shrinking, don't subtract out dstidx; the subtraction is already
- in the object file.
-
-Sun Nov 6 12:52:00 1994 Jeff Law (law@snake.cs.utah.edu)
-
- * som.h: Conditionally include <shl.h> and <dl.h>.
-
-Thu Nov 3 18:19:13 1994 Ken Raeburn <raeburn@cujo.cygnus.com>
-
- * Makefile.in (ALL_MACHINES): Include m68knetbsd.o.
-
- * config/i386linux.mh (EXTRALIBS): Include -lm.
-
- Patches from DJ Delorie:
- * coff-go32.c: Replacement file, uses coff-i386.c with minor
- changes.
- * coff-i386.c (TARGET_UNDERSCORE): allow other files to override
- underscore also
- * makefile.dos: del ctor.o, add cofflink.o and elf32.o
-
- * aoutx.h (adjust_o_magic): If user set data section vma, use it
- to determine the default bss vma. Patch from Takada Hiroaki,
- hiro@is.s.u-tokyo.ac.jp.
- (machine_type, case bfd_arch_vax): Set *unknown to false. Patch
- from John David Anglin <dave@hiauly1.hia.nrc.ca>.
-
- * configure.in (tb): Rename ns32knetbsd_vec to pc532netbsd_vec,
- since that's what it's called.
-
-Wed Nov 2 15:24:51 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
-
- * archive.c (normalize): Change to take a BFD as an argument.
- Change VMS version to use bfd_alloc rather than malloc, so that we
- don't lose the memory forever.
- (_bfd_construct_extended_name_table): Check the name of an archive
- entry which is not being extended, and correct it if it is wrong.
- This is necessary in case the archive was constructed by another
- program which put an entry in the extended name table which we
- don't plan to put in ourselves. From jjc@jclark.com (James
- Clark).
- (bfd_dont_truncate_arname): Check return value of normalize.
-
-Mon Oct 31 14:19:08 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
-
- * elf32-hppa.c (ELF32_PARISC_SX_SIZE): Define.
- (ELF32_PARISC_SX_GET, ELF32_PARISC_SX_PUT): Define.
- (symextn_entry): Don't define.
- (symext_chain_size): Change type to bfd_size_type.
- (symextn_contents): Change type to bfd_byte *.
- (elf32_hppa_backend_begin_write_processing): Use
- ELF32_PARISC_SX_SIZE instead of sizeof (symext_entryS).
- (elf32_hppa_size_symext): Likewise. Also, change type of sizep to
- bfd_size_type *.
- (elf_hppa_tc_make_sections): Cast symextn_contents assignment to
- bfd_byte *. Use ELF32_PARISC_SX_PUT instead of direct assignment.
- (elf32_hppa_backend_symbol_table_processing): Use
- ELF32_PARISC_SX_SIZE instead of sizeof (symext_entryS). Use
- ELF32_PARISC_SX_GET insetad of direct assignment.
- (elf32_hppa_read_symext_info): Change type of contents, and its
- assignment cast, to bfd_byte *. Use ELF32_PARISC_SX_SIZE instead
- of sizeof (symextn_entry). Use symext_entryS instead of
- symextn_entry. Use ELF32_PARISC_SX_GET instead of direct
- assignment.
-
- * archive.c (bfd_dont_truncate_arname): Add the ar padding
- character, if there is room for it, even if the name is the
- maximum length.
-
- * elfcode.h (assign_file_positions_except_relocs): Sort the ELF
- headers by section address when assigning file positions.
- (elf_sort_hdrs): New static function.
-
-Sun Oct 30 18:56:58 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
-
- * elfcode.h (NAME(bfd_elf,size_dynamic_sections)): Create DT_INIT
- and DT_FINI dynamic entries based on the existence of _init and
- _fini symbols, not on the .init and .fini sections. This is
- compatible with some SVR4 linkers.
- (elf_bfd_final_link): Corresponding change.
-
-Sat Oct 29 12:18:10 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
-
- * elf32-i386.c (elf_i386_adjust_dynamic_symbol): Don't move a
- symbol with a PLT entry into the .plt section if it is defined in
- a regular file.
- * elf32-sparc.c (elf32_sparc_adjust_dynamic_symbol): Likewise.
-
- * linker.c (_bfd_generic_link_add_archive_symbols): It's not an
- error if an empty archive has no symbol table.
- * ecoff.c (ecoff_link_add_archive_symbols): Likewise.
- * elfcode.h (elf_link_add_archive_symbols): Likewise.
-
-Fri Oct 28 10:08:41 1994 J.T. Conklin (jtc@rtl.cygnus.com)
-
- NetBSD/m68k support, based on work by mikeb@snow.datametrics.com:
- * config.bfd (m68*-*-netbsd*): Use m68k-nbsd as bfd_name.
- * configure.in (m68knetbsd_vec): Added.
- * targets.c (bfd_m68knetbsd_vec): Added.
- * hosts/m68knbsd.h, config/m68k-nbsd.mt, m68knetbsd.c: New files.
- * Makefile.in (BFD32_BACKENDS, CFILES): Add m68knetbsd.c.
-
- miscellaneous cleanup required by all netbsd targets, based on work
- by Andrew Cagney <cagney@highland.com.au>:
- * netbsd.h (N_MAGIC, N_SET_MAGIC, N_GETMAGIC, N_GETMAGIC2, N_TXTADDR,
- N_TXTOFF, N_ALIGN, N_DATADDR, N_DATOFF): Removed. Generic a.out
- definitions work.
- * i386nbsd.c, ns32knbsd.c, sparcnbsd.c (__LDPGSZ): Removed.
- (MY(write_object_contents)): Use NetBSD's magic numbers
-
-Thu Oct 27 16:59:52 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
-
- * libelf.h (struct bfd_elf_section_data): Add field dynindx.
- * elfcode.h (NAME(bfd_elf,size_dynamic_sections)): Don't finalize
- the .dynsym, .dynstr or .hash sections until after the backend
- size_dynamic_sections routine, so that it can add dynamic symbols
- if it wants to.
- * elf32-i386.c (elf_i386_adjust_dynamic_symbol): Don't define the
- symbol to be in the .plt section when generating a shared library
- if it is a defined symbol.
- * elf32-sparc.c (elf32_sparc_adjust_dynamic_symbol): Likewise.
- (elf32_sparc_size_dynamic_sections): When generating a shared
- library, allocate space for a dynamic symbol for each output
- section, storing the index in the dynindx field of the ELF section
- data. Adjust the other dynindx fields to account for this.
- (elf32_sparc_adjust_dynindx): New static function.
- (elf32_sparc_relocate_section): When copying a reloc into a shared
- library, use the original addend as appropriate. Convert an
- R_SPARC_32 reloc into an R_SPARC_RELATIVE reloc. Use the dynamic
- symbol index of the output section, not the normal symbol index.
- (elf32_sparc_finish_dynamic_sections): Don't die if a section does
- not exist when setting the value of the dynamic tags. Write out
- a dynamic symbol for each output section.
-
-Wed Oct 26 01:15:51 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
-
- * aoutx.h (aout_link_input_section): Don't bother to read or write
- the relocs if there aren't any.
-
-Tue Oct 25 11:44:38 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
-
- * Makefile.in (ALL_MACHINES): Add tekhex.o.
- * targets.c (bfd_target_vector): If SELECT_VECS is not defined,
- include tekhex_vec.
- * tekhex.c (NIBBLE, ISHEX): Cast array arguments to unsigned char.
- (getvalue, getsym, out): Likewise.
- (find_chunk): Remove unused variable s.
- (first_phase): Remove unused variable s.
- (pass_over): Remove unused variable address.
- (tekhex_object_p): Remove unused variable section.
- (move_section_contents): Change return type from boolean to void.
- (tekhex_write_object_contents): Remove unused variables tdata and
- list.
-
- * linker.c (enum link_action): Add CIND.
- (link_action): Change COMMON_ROW\indr from MDEF to CREF. Change
- INDR_ROW\common from MDEF to CIND.
- (_bfd_generic_link_add_one_symbol): In CREF case, handle an
- existing symbol which is indirect rather than defined. Add new
- CIND case.
-
-Mon Oct 24 15:33:16 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
-
- Change S-record backend to use multiple sections to handle gaps in
- file.
- * srec.c (srec_data_list_struct): Move field next from last place
- to first. Change type of data to bfd_byte *.
- (struct srec_symbol): Define.
- (tdata_type): Remove done_symbol_read, count, strings, symbol_idx,
- string_size, string_idx. Change type of symbols to struct
- srec_symbol *. Add symtail and csymbols.
- (low, high): Remove.
- (size_symbols, fillup_symbols, size_srec, fillup): Remove.
- (white, skipwhite, pass_over, object_p): Remove.
- (srec_mkobject): Call srec_init. Adjust tdata initialization for
- field changes.
- (srec_get_byte, srec_bad_byte): New static functions.
- (srec_new_symbol, srec_scan): New static functions.
- (srec_object_p): Change type of b to bfd_byte. Explicitly set
- wrong_format error. Call srec_mkobject and srec_scan instead of
- object_p.
- (symbolsrec_object_p): Likewise. Also, change b to be only two
- bytes.
- (srec_read_section): New static function.
- (srec_get_section_contents): Call srec_read_section rather than
- pass_over. Handle zero length section correctly.
- (set_set_arch_mach): Change from function to macro.
- (srec_set_section_contents): Change data to bfd_byte *.
- (srec_write_record): Change data, end and src to bfd_byte *.
- (srec_write_header): Change buffer and dst to bfd_byte *.
- (srec_write_section): Change location to bfd_byte *.
- (srec_write_terminator): Change buffer to bfd_byte *.
- (srec_get_symtab_upper_bound): Don't call
- srec_get_section_contents.
- (srec_get_symtab): Rewrite.
-
- * ecoff.c (ecoff_set_symbol_info): Set udata.i to 0, not NULL.
-
-Fri Oct 21 16:43:13 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
-
- * libaout.h (machine_type): added M_68K_NETBSD and M_SPARC_NETBSD.
- * i386netbsd.c, ns32knetbsd.c, sparcnetbsd.c: removed RCS Id's.
- changed how PAGE_SIZE and SEGMENT_SIZE are defined so they are
- consistant with each other.
- * netbsd.h (N_HEADER_IN_TEXT, TEXT_START_ADDR): NetBSD fits its
- header into the start of its text segment.
-
-Fri Oct 21 17:13:07 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
-
- * targets.c (BFD_JUMP_TABLE_ARCHIVE): Add case for
- _construct_extended_name_table.
- (bfd_target): Add _bfd_construct_extended_name_table.
- * archive.c (_bfd_archive_bsd_construct_extended_name_table): New
- function.
- (_bfd_archive_coff_construct_extended_name_table): New function.
- (_bfd_construct_extended_name_table): Renamed by adding a leading
- underscore, and made externally visible. Added trailing_slash
- argument, and used it instead of elf_style. Changed type of
- tablen to bfd_size_type *.
- (_bfd_write_archive_contents): Use BFD_SEND to call
- construct_extended_name_table. Use the returned name.
- * libbfd-in.h (_bfd_construct_extended_name_table): Declare.
- (_bfd_noarchive_construct_extended_name_table): Define.
- (_bfd_archive_bsd_construct_extended_name_table): Declare.
- (_bfd_archive_coff_construct_extended_name_table): Declare.
- * bfd-in2.h: Rebuild.
- * libbfd.h: Rebuild.
- * som.c (som_construct_extended_name_table): New static function.
- * aout-target.h (MY_construct_extended_name_table): Define.
- * coff-rs6000.c (rs6000coff_construct_extended_name_table):
- Define.
- * ieee.c (ieee_construct_extended_name_table): Define.
- * libecoff.h (_bfd_ecoff_construct_extended_name_table): Define.
- * oasys.c (oasys_construct_extended_name_table): Define.
-
- Fix the ELF linker to not require an interpreter if no dynamic
- objects were seen, even when linking PIC code.
- * libelf.h (ELF_LINK_HASH_NEEDS_PLT): Define.
- (struct elf_link_hash_table): Add field dynamic_sections_created.
- * elfcode.h (elf_link_record_dynamic_symbol): Create dynstr if it
- doesn't already exist.
- (elf_link_add_object_symbols): Create dynamic sections based on
- dynamic_sections_created field, not dynobj field. Don't bother to
- set dynobj.
- (elf_link_create_dynamic_sections): If dynamic sections were
- already created, don't do anything. If dynobj is already set, use
- it; otherwise, set it to the bfd argument. Don't initialize
- dynsymcount. Only create dynstr if it does not exist. Set
- dynamic_sections_created to true.
- (NAME(bfd_elf,size_dynamic_sections)): Skip most of this function
- if no dynamic objects were seen.
- (elf_adjust_dynamic_symbol): If a symbol has the
- ELF_LINK_HASH_NEEDS_PLT flag set, let the backend adjust it.
- (elf_bfd_final_link): Change most decisions based on dynobj to
- check dynamic_sections_created instead.
- (elf_link_output_extsym): Only handle dynamic symbols if a dynamic
- object was seen.
- * elf.c (_bfd_elf_link_hash_table_init): Initialize new field
- dynamic_sections_created. Set dynsymcount to 1, not 0.
- * elf32-i386.c (elf_i386_create_dynamic_sections): Call
- elf_i386_create_got_section rather than creating the .got and
- .got.plt sections.
- (elf_i386_create_got_section): New static function.
- (elf_i386_check_relocs): Just call elf_i386_create_got_section if
- a GOT table is needed, not bfd_elf32_link_create_dynamic_sections.
- Only create the .rel.got section, and only make space for a reloc,
- for a global symbol or when generating a shared object. For a
- R_386_PLT32 reloc, just set the ELF_LINK_HASH_NEEDS_PLT flag.
- (elf_i386_adjust_dynamic_symbol): Rework initial assertion to
- permit ELF_LINK_HASH_NEEDS_PLT non dynamic symbols. Create a
- procedure linkage table entry for such symbols. But, if no
- dynamic objects were seen, never create a PLT entry.
- (elf_i386_size_dynamic_sections): If no dynamic objects were seen,
- skip most of this function, and force the size of the .rel.got
- section to zero.
- (elf_i386_relocate_section): For a R_386_GOT32 reloc against a global
- symbol when no dynamic object was seen, initialize the contents of
- the .got section. For a R_386_GOT32 against a local symbol, only
- create a R_386_RELATIVE reloc when generating a shared object.
- Treat a R_386_PLT32 reloc against a symbol for which we did not
- create a PLT entry as a R_386_PC32 reloc.
- (elf_i386_finish_dynamic_sections): Only fiddle with the dynamic
- entries and the PLT if we saw a dynamic object.
- * elf32-sparc.c (elf_sparc_howto_table): Fix R_SPARC_PC22 by
- setting rightshift to 10. Fix R_SPARC_WPLT20 by setting
- rightshift to 2, size to 2, bitsize to 30, and dst_mask to
- 0x3fffffff.
- (elf32_sparc_create_dynamic_sections): Don't set the size of the
- .plt section. Call elf32_sparc_create_got_section rather than
- creating the .got section.
- (elf32_sparc_check_relocs): Call elf32_sparc_create_got_section if
- a GOT table is needed, not bfd_elf32_link_create_dynamic_sections.
- Only create the .rela.got section, and only make space for a
- reloc, for a global symbol or when generating a shared object.
- Set the alignment of the .rela.got section to 2. For a
- R_SPARC_WPLT30 reloc, just set the ELF_LINK_HASH_NEEDS_PLT flag.
- (elf32_sparc_adjust_dynamic_symbol): Rework initial assertion to
- permit ELF_LINK_HASH_NEDS_PLT non dynamic symbols. Create a
- procedure linkage table for such symbols. But, if no dynamic
- objects were seen, never create a PLT entry. Initialize the size
- of the .plt section.
- (elf32_sparc_size_dynamic_sections): If no dynamic objects were
- seen, skip most of this function, and force the size of the
- .rela.got section to zero. Strip empty reloc sections, and strip
- an empty .plt section.
- (elf32_sparc_relocate_section): For a GOT reloc against a global
- symbol when no dynamic object was seen, initialize the contents of
- the .got section. For a GOT reloc against a local symbol, only
- create a R_SPARC_RELATIVE reloc when generating a shared object.
- Treat a R_SPARC_WPLT30 reloc against a symbol for which we did not
- create a PLT entry as a R_SPARC_WDISP30 reloc.
- (elf32_sparc_finish_dynamic_sections): Only fiddle with the
- dynamic entries and the PLT if we saw a dynamic object.
-
-Thu Oct 20 13:28:45 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
-
- * elfcode.h (elf_map_symbols): Don't worry about section symbols
- in a section not owned by any BFD.
- (elf_section_from_bfd_section): Separate out loop which calls
- backend routine. Check bfd_section and call the backend routine
- even for a section not owned by any BFD.
- * elf32-mips.c (mips_elf_section_from_bfd_section): Handle
- .acommon section.
-
-Wed Oct 19 13:28:29 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
-
- * coffgen.c (coff_print_symbol): Make names for section number and
- storage class slightly more verbose. It's not clear how many
- characters I can justify using up, but before this change they
- both were abbreviated "sc" which is (IMHO) clearly unacceptable.
-
-Wed Oct 19 01:26:39 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
-
- * binary.c (binary_set_section_contents): Set the base file
- position from the lowest section VMA, not the start address.
-
- * aoutx.h (NAME(aout,slurp_symbol_table)): Don't return an error
- if there are no symbols.
- * coffgen.c (coff_get_normalized_symtab): Likewise.
- * hp300hpux.c (MY(slurp_symbol_table)): Likewise.
-
-Tue Oct 18 12:56:43 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
-
- * aout-target.h (MY_bfd_copy_private_section_data): Only copy
- subformat to another bfd_target_aout_flavour file.
-
- * binary.c: New file for raw binary output format.
- * Makefile.in (BFD_LIBS): Add binary.o.
- (CFILES): Add binary.c.
- * targets.c (binary_vec): Declare.
- (bfd_target_vector): Include binary_vec.
-
- * srec.c (tdata_type): Add field tail.
- (srec_mkobject): Initialize tail.
- (srec_set_section_contents): Sort S record list by address.
-
-Mon Oct 17 11:38:16 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
-
- * elfcode.h (elf_map_symbols): Sort the symbols into a new array,
- rather than messing with Elf_Sym_Extra. Store the symbol index in
- the udata.i field.
- (swap_out_syms): Use outbound_syms as a pointer rather than as an
- array. Don't worry about elf_sym_num.
- * libelf.h (struct elf_sym_extra): Don't define.
- (Elf_Sym_Extra): Don't define.
- (struct elf_obj_tdata): Remove sym_extra field.
- (elf_sym_extra): Don't define.
- * elf32-hppa.c (elf32_hppa_backend_final_write_processing): Use
- udata.i rather than elf_sym_extra array.
-
- * syms.c (asymbol): Change udata field into a union.
- * bfd-in2.h: Rebuild.
- * aoutx.h (NAME(aout,translate_symbol_table)): Use udata.p rather
- than just udata.
- * bout.c (perform_slip): Likewise.
- * hp300hpux.c (MY(slurp_symbol_table)): Likewise.
- * ieee.c (ieee_slurp_external_symbols): Likewise.
- * linker.c (generic_link_add_symbol_list): Likewise.
- (default_indirect_link_order): Likewise.
- * oasys.c (oasys_slurp_symbol_table): Likewise.
- * reloc16.c (bfd_perform_slip): Likewise.
- * srec.c (fillup_symbols): Likewise.
- * coffcode.h (get_index): Use udata.i rather than just udata.
- (coff_slurp_symbol_table): Likewise.
- * coffgen.c (set_index): Likewise.
- * ecoff.c (ecoff_set_symbol_info): Likewise.
- * elfcode.h (elf_symbol_from_bfd_symbol): Likewise.
- * libecoff.h (ecoff_get_sym_index, ecoff_set_sym_index): Likewise.
- * som.c (compare_syms): Likewise.
- (som_prep_for_fixups): Likewise.
- (som_write_fixups): Likewise.
-
- Use a hash table when writing out ELF symbol names.
- * elfcode.h (elf_stringtab_init): New static function.
- (bfd_new_strtab, bfd_add_to_strtab, bfd_add_2_to_strtab): Remove.
- Change all callers to use elf_stringtab_init or
- _bfd_stringtab_add, and get stringtab lengths using
- _bfd_stringtab_size.
- (elf_fake_sections): Change ignored argument to pointer to
- boolean, and set the boolean to true if an error occurs. If an
- error has already occurred, don't do anything.
- (assign_section_numbers): Just set sh_size, not contents.
- (elf_compute_section_file_positions): Pass the address of a
- boolean to elf_fake_sections. Pass the address of a
- bfd_strtab_hash to swap_out_syms. Write out the .strtab section.
- (prep_headers): Change shstrtab to bfd_strtab_hash.
- (swap_out_syms): Take a pointer to a bfd_strtab_hash as an
- argument. Set it to the symbol names.
- (NAME(bfd_elf,write_object_contents)): Write out the section
- header names using _bfd_stringtab_emit.
- (elf_debug_section): Remove first argument; get the section name
- via the bfd_section pointer. Change caller.
- (elf_bfd_final_link): Write out the symbol names using
- _bfd_stringtab_emit. Likewise for the .dynstr section contents.
- Free the symbol names at the end of the function.
- (elf_link_input_bfd): Remove the last argument, output_names,
- from relocate_section. Save the old symbol contents before
- calling elf_link_output_sym, and restore them afterward.
- * libelf.h (struct elf_link_hash_table): Change dynstr field to
- struct bfd_strtab_hash.
- (struct elf_backend_data): Remove last argument, output_names,
- from elf_backend_relocate_section field.
- (struct strtab): Don't define.
- (struct elf_obj_tdata): Change strtab_ptr field to struct
- bfd_strtab_hash.
- * elf32-hppa.c (elf32_hppa_relocate_section): Remove last
- argument, output_names.
- * elf32-i386.c (elf_i386_relocate_section): Likewise.
- * elf32-mips.c (mips_elf_relocate_section): Likewise.
- * elf32-sparc.c (elf32_sparc_relocate_section): Likewise.
-
- * libbfd-in.h (DEFAULT_STRING_SPACE_SIZE): Don't define.
- (bfd_add_to_string_table): Don't declare.
- * libbfd.h: Rebuild.
- * libbfd.c (bfd_add_to_string_table): Remove.
-
- * elfcode.h (elf_swap_shdr_in): Use bfd_section, not rawdata.
- Clear contents field.
- (bfd_section_from_shdr): In SHT_STRTAB case, check bfd_section,
- not rawdata. Don't set rawdata if e_shstrndx. Use bfd_section
- rather than rawdata in commented out code. In SHT_REL[A] case,
- don't bother to check elf_section_data of section returned by
- section_from_elf_index.
- (elf_fake_sections): Set bfd_section, not rawdata. Don't set
- size.
- (elf_map_symbols): Don't set elf_num_section_syms. Don't create
- section symbols that already exist.
- (assign_file_position_for_section): Use bfd_section, not rawdata.
- (section_from_elf_index): Just check bfd_section field.
- (elf_section_from_bfd_section): Likewise.
- (elf_debug_section): Don't print rawdata, contents, or size.
- (elf_link_add_object_symbols): Don't error out if
- section_from_elf_index returns NULL.
- (elf_bfd_final_link): Check return value from
- section_from_elf_index against NULL, not bfd_is_abs_section.
- (elf_link_input_bfd): Don't check section_from_elf_index return
- value.
- * libelf.h (struct elf_obj_tdata): Remove num_section_syms field.
- (elf_num_section_syms): Don't define.
- * elf.c (elf_get_str_section): Store section contents in contents
- field rather than rawdata field.
- (elf_string_from_elf_section): Likewise.
- (_bfd_elf_make_section_from_shdr): Store BFD section pointer in
- bfd_section field rather than rawdata field.
- * elf32-hppa.c (elf32_hppa_read_symext_info): Use bfd_section
- rather than rawdata.
- (elf32_hppa_size_stubs): Likewise.
- (elf32_hppa_backend_symbol_table_processing): Don't set
- symextn_hdr->size; just use sh_size.
- * elf32-mips.c (mips_elf_final_write_processing): Use bfd_section
- rathern than rawdata.
- (mips_elf_section_from_shdr): Likewise.
- (mips_elf_section_processing): Likewise.
- (mips_elf_section_from_bfd_section): Remove rawdata check.
-
- * srec.c (pass_over): Set the start address for S7, S8 or S9.
-
-Fri Oct 14 19:15:46 1994 Ken Raeburn <raeburn@cujo.cygnus.com>
-
- * VERSION: Updated to 2.5.
-
-Fri Oct 14 11:07:50 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
-
- * bfd.c (bfd_scan_vma): Cast end to be non const before passing it
- to strtoul.
-
-Thu Oct 13 14:40:41 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
-
- * bfd.c (bfd_scan_vma): Pass end argument on to strtoul.
-
-Wed Oct 12 16:46:43 1994 Ken Raeburn <raeburn@cujo.cygnus.com>
-
- * opncls.c (bfd_realloc): Deleted, since it's broken and fixing it
- would make it slow. Besides, it isn't used much.
- * elfcode.h (elf_map_symbols): Always allocate new storage for the
- symbol table.
-
-Wed Oct 12 11:54:37 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
-
- * ecoff.c (ecoff_set_symbol_info): Mark local stProc, stLabel or
- stabs symbols as BSF_DEBUGGING.
-
- * rs6000-core.c (rs6000coff_core_file_matches_executable_p): Make
- str1 and str2 const pointers.
-
- * Makefile.in (INSTALL): Use top level install.sh script.
- * config/README (INSTALL): Remove.
- * config/delta88.mh (INSTALL): Remove.
- * config/i386v4.mh (INSTALL): Remove.
- * config/irix4.mh (INSTALL): Remove.
- * config/irix5.mh (INSTALL): Remove.
- * config/ncrt3000.mh (INSTALL): Remove.
-
-Tue Oct 11 13:57:56 1994 Eric Youngdale (eric@andante.aib.com)
-
- * elf32-i386.c (elf_i386_check_relocs): Make sure that a symbol
- with a global offset table entry or a procedure linkage table
- entry is added to the dynamic symbol table.
- * elf32-sparc.c (elf32_sparc_check_relocs): Likewise.
- * elf32-i386.c (elf_i386_adjust_dynamic_symbol): If a symbol has
- already gotten a procedure linkage table entry, change the
- definition to the PLT entry.
- * elf32-sparc.c (elf32_sparc_adjust_dynamic_symbol): Likewise.
-
-Tue Oct 11 17:12:00 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
-
- * lynx-core.c (lynx_core_file_p): SPARC Lynx appears to start
- dumping the .data section in a core file at a page boundary.
-
-Mon Oct 10 16:24:44 1994 Ken Raeburn <raeburn@cujo.cygnus.com>
-
- * cofflink.c (_bfd_coff_final_link): Cast argument to bfd_h_put_32
- to correct type.
- (coff_read_string_table): Cast argument to bfd_h_get_32 to correct
- type.
- * elfcode.h (elf_link_output_extsym): Cast argument to
- bfd_elf_hash to correct type.
-
- * elf32-sparc.c (elf_sparc_howto_table): The PC10, PC22, and
- WPLT30 relocations are PC-relative.
-
-Thu Oct 6 12:57:26 1994 Richard Earnshaw (rwe@pegasus.esprit.ec.org)
-
- * aoutx.h (adjust_o_magic): Correctly initialize vma if the vma of
- the text section was user-defined.
-
-Wed Oct 5 14:42:12 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
-
- * archive.c (bfd_construct_extended_name_table): SVR4 uses slash
- newline at the end of the file name, not just newline.
-
-Tue Oct 4 11:23:12 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
-
- * ecoff.c (_bfd_ecoff_new_section_hook): Default section alignment
- power to 4, rather than using align_power_min.
-
- * coffcode.h (coff_new_section_hook): Don't use align_power_min;
- use COFF_DEFAULT_SECTION_ALIGNMENT_POWER instead. Force the .stab
- and .stabstr sections to be aligned to no more than 2. Remove
- COFF_SPARC special cases.
- * coff-a29k.c: Define COFF_DEFAULT_SECTION_ALIGNMENT_POWER.
- * coff-apollo.c, coff-go32.c, coff-h8300.c: Likewise.
- * coff-h8500.c, coff-i386.c, coff-i960.c, coff-m68k.c: Likewise.
- * coff-m88k.c, coff-rs6000.c, coff-sh.c, coff-sparc.c: Likewise.
- * coff-we32k.c, coff-z8k.c: Likewise.
-
- * configure.in: Use ${config_shell} when running config.bfd.
-
- * cofflink.c (coff_link_input_bfd): Don't try to convert a long
- filename if the offset field is zero.
-
- * elfcode.h (swap_out_syms): If the alignment of a common symbol
- was not set, use a sensible default rather than zero.
-
-Mon Oct 3 16:04:29 1994 H.J. Lu (hjl@nynexst.com)
-
- * opncls.c (bfd_close): Honor umask when setting execution bits.
- (bfd_close_all_done): Likewise.
-
-Mon Oct 3 04:41:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
-
- * rs6000-core.c (rs6000coff_core_p): Set SEC_HAS_CONTENTS flag
- for .stack and .ldinfo sections. Cast coredata.c_tab to a
- file_ptr to avoid warnings from gcc.
-
-Fri Sep 30 13:11:38 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
-
- * elfcode.h (elf_bfd_final_link): Remove assertion when a non
- SEC_IN_MEMORY section is found in dynobj. This can happen when
- linking PIC compiled code.
-
-Thu Sep 29 15:21:44 1994 Ken Raeburn <raeburn@cujo.cygnus.com>
-
- * reloc.c (bfd_install_relocation): Change type of "data" to
- bfd_byte *, to go along with yesterday's change.
-
- * elf.c (bfd_elf_print_symbol): Moved here from elf_print_symbol
- in elfcode.h. (case bfd_print_symbol_all): Print symbol's size
- field, except for common symbols; print their alignment.
- * elfcode.h (elf_print_symbol): Deleted.
- * libelf.h (bfd_elf_print_symbol): Declare.
- (bfd_elf{32,64}_print_symbol): Replace declarations with macros.
-
- * syms.c (bfd_print_symbol_vandf): Show BSF_LOCAL and BSF_GLOBAL
- in one column. Use the column freed up to show BSF_FUNCTION and
- BSF_FILE.
-
-Thu Sep 29 12:29:01 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
-
- * syms.c (stt): Add .rdata and .rodata.
-
-Wed Sep 28 13:35:05 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
-
- * reloc.c (bfd_install_relocation): Cast data_start to bfd_byte *
- before trying to add values to it.
-
-Tue Sep 27 16:47:58 1994 Ken Raeburn <raeburn@cujo.cygnus.com>
-
- * elf32-hppa.c (elf32_hppa_backend_final_write_processing): Cast
- return value from elf_sym_extra.
- (elf32_hppa_build_stubs): Cast return value from bfd_zalloc.
- (elf32_hppa_size_stubs): Cast return value from malloc.
-
- * gen-aout.c (main): Declare and initialize "arch".
-
- * cofflink.c (coff_link_add_symbols): Cast return value of
- bfd_hash_allocate.
-
- * riscix.c (riscix_callback): Use PARAMS macro in prototype.
-
- * reloc.c (bfd_install_relocation): New function, mostly copied
- from bfd_perform_relocation, adjusted for the assembler's needs.
- * bfd-in2.h: Regenerated.
-
-Mon Sep 26 11:00:14 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
-
- * elfcode.h (assign_file_positions_except_relocs): Align the
- section VMA and the file position even if D_PAGED is not set.
-
- * bfd-in.h (bfd_seek): Change declaration to not mark fp const.
- * bfd-in2.h: Rebuild.
- * libbfd.c (bfd_seek): Don't mark parameters const, to avoid
- conflicts with declaration.
-
-Fri Sep 23 15:15:31 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
-
- * elfcode.h (map_program_segments): Don't abort if we allocated
- too much space for the program header, only if we allocated too
- little.
- (assign_file_positions_except_relocs): Similar change.
-
-Tue Sep 20 13:17:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
-
- * libaout.h: Fix comment.
- * ns32knbsd.h: Changed M_NS32K_NETBSD to M_532_NETBSD to match
- libaout.h.
-
-Tue Sep 20 15:23:21 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
-
- * Makefile.in: Rebuilt dependencies.
- (BFD32_BACKENDS): Add sparcnetbsd.o.
- (CFILES): Add ns32knetbsd.c and sparcnetbsd.c.
- * targets.c: ns32knetbsd_vec was renamed to pc532netbsd_vec.
-
- * coff-sh.c (rtype2howto): Remove; unused.
- (coff_sh_relocate_section): Remove unused local variable rstat.
- (reloc_processing): Comment out; unused.
-
-Fri Sep 16 12:12:27 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
-
- * aoutx.h (aout_link_write_other_symbol): If h->indx is -2, then
- always write it out even if it would normally be stripped.
- (aout_link_input_section_std): If we find a reloc against a
- stripped global symbol, force it to be written out rather than
- merely calling unattached_reloc.
- (aout_link_input_section_ext): Likewise.
- (aout_link_reloc_link_order): Likewise.
-
-Wed Sep 14 15:37:19 1994 Jeff Law (law@snake.cs.utah.edu)
-
- * som.h (struct somdata): New field sorted_syms.
- (obj_som_sorted_syms): Accessor macro.
- * som.c (som_object_setup): Initialize sorted_syms to NULL.
- (som_prep_for_fixups): Sort a copy of the BFD's symbol table;
- store the sorted symbol table in sorted_syms.
- (som_write_fixups): Initalize tmp_reloc to NULL to make GCC happy.
- (som_begin_writing): Similarly for exec_header. Pass the sorted
- symbol table to som_write_symbol_strings.
- (som_build_and_write_symbol_table): Use the sorted symbols rather
- than the canonical symbol table.
-
- * som.h (som_symbol_type): Add "stringtab_offset" field.
- * som.c (som_write_symbol_strings): Use "stringtab_offset"
- rather than destroying the "name" field in the BFD symbol.
- (som_build_and_write_symbol_table): Likewise.
-
-Wed Sep 14 15:06:55 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
-
- * aoutx.h (aout_link_write_symbols): Rename skip_indirect to
- skip_next. If we find an N_WARNING symbol which has already been
- written out, set skip_next.
-
- * libecoff.h (struct ecoff_tdata): Add field find_buffer.
- * ecoff.c: Include aout/stab_gnu.h.
- (ecoff_find_nearest_line): Handle stabs debugging information.
-
- * elfcode.h (elf_link_output_extsym): Keep a symbol marked as weak
- even if it is referenced by another object.
-
-Tue Sep 13 17:57:00 1994 Jeff Law (law@snake.cs.utah.edu)
-
- * som.c (som_fixup_formats): Case R_ENTRY (0xb3), set both
- 'T' and 'U' to grab all the unwind information.
- (som_set_reloc_info): Make 'U' unwind bits persist across
- multiple SOM relocations. Set the addend field of an R_ENTRY
- relocation to the value in 'T'; set the addend field on an
- R_EXIT relocation to the value in 'U'.
-
- * som.h (som_symbol_type): Delete unwind field.
-
- * som.c (som_write_fixups): For R_ENTRY fixups, get 32bits of
- unwind information from the addend field of the R_ENTRY, get the
- other 32bits from the addend field of the R_EXIT.
- (bfd_som_attach_unwind_info): Delete function and all references.
-
- * som.h (som_symbol_type): Delete unused a.out-related fields.
-
- * som.c (bfd_section_from_som_symbol): Use bfd_abs_section_ptr
- instead of &bfd_abs_section.
-
- * som.c (som_object_setup): Handle exec_entry and exec_flags being
- switched in executables created by the OSF1 linker.
- (som_write_fixups): Handle R_EXIT just like the R_{F,L,R}SEL
- fixups. Support R_ALT_ENTRY (handle just like R_EXIT).
-
-Tue Sep 13 16:04:07 1994 Steve Chamberlain (sac@jonny.cygnus.com)
-
- * cofflink.c (coff_link_input_bfd): syment_base is unsigned
- so can't compare -ve numbers with it.
-
-Mon Sep 12 20:31:17 1994 Steve Chamberlain (sac@jonny.cygnus.com)
-
- * configure.in (shcoff_vec): Use cofflink.o now.
- * coff-sh.c: Rewritten to use new fast coff backend.
-
-Tue Sep 13 16:23:57 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
-
- * aoutx.h (NAME(aout,final_link)): Don't assume that all the input
- files are a.out.
-
-Tue Sep 13 11:09:39 1994 J.T. Conklin (jtc@rtl.cygnus.com)
-
- * configure.host (sparc-*-netbsd): use sparcnbsd.
- (ns32k-*-netbsd): use ns32knbsd.
-
- * hosts/{nbsd,i386nbsd,ns32knbsd,sparcnbsd}.h: New files, NetBSD
- host support.
-
- * sparcnetbsd.c: New file, adds support for NetBSD/sparc.
- * config/sparc-nbsd.mt: Likewise.
-
- * netbsd.h: New file, definitions common to all netbsd ports.
- * i386netbsd.c: Use it.
- * ns32knetbsd.c: Use it.
-
- * Makefile.in, configure.in, targets.c, config/i386-nbsd.mt,
- config/ns32k-nbsd.mt: canonicalize netbsd targets to conform to
- file/variable naming conventions.
- * i386netbsd.c: New file, renamed from netbsd386.c.
- * ns32knetbsd.c: New file, renamed from netbsd532.c.
-
-Mon Sep 12 21:56:20 1994 Jeff Law (law@snake.cs.utah.edu)
-
- * som.c (som_reloc_skip): Correct off-by-one error for 4-byte
- R_NO_RELOCATION fixups.
- (bfd_section_from_som_symbol): Return the absolute section if the
- symbol isn't contained in any section in the output file.
- (som_slurp_symbol_table): ST_PRI_PROG and ST_SEC_PROG symbols are
- not function symbols (they are magic code labels which *can* be the
- targets of cross space branches). $START$ is not a section symbol.
-
-Mon Sep 12 11:43:08 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
-
- * coff-alpha.c (ecoffalpha_little_vec): Add SEC_CODE and SEC_DATA
- to section_flags.
- * coff-mips.c (ecoff_little_vec, ecoff_big_vec): Likewise.
-
- * elfcode.h (swap_out_syms): Set the type of an undefined symbol
- to STT_FUNC if the BSF_FUNCTION flag is set.