📄 changelog-9697
字号:
* coff-i386.c (coff_i386_reloc): Don't offset a common symbol by its value if COFF_WITH_PE is defined.Tue Jul 22 17:19:45 1997 Robert Hoehne <robert.hoehne@Mathematik.TU-Chemnitz.DE> * coff-stubgo32.c: New file. * go32stub.h: New file. * coff-i386.c: If COFF_GO32_EXE, include coff/go32exe.h. * coffswap.h (coff_swap_filehdr_in): Invoke COFF_ADJUST_FILEHDR_IN_PRE and COFF_ADJUST_FILEHDR_IN_POST if they are defined. (coff_swap_filehdr_out): Invoke COFF_ADJUST_FILEHDR_OUT_PRE and COFF_ADJUST_FILEHDR_OUT_POST if they are defined. (coff_swap_aux_in): Invoke COFF_ADJUST_AUX_IN_PRE and COFF_ADJUST_AUX_IN_POST if they are defined. (coff_swap_aux_out): Invoke COFF_ADJUST_AUX_OUT_PRE and COFF_ADJUST_AUX_OUT_POST if they are defined. (coff_swap_scnhdr_in): Invoke COFF_ADJUST_SCNHDR_IN_PRE and COFF_ADJUST_SCNHDR_IN_POST if they are defined. (coff_swap_scnhdr_out): Invoke COFF_ADJUST_SCNHDR_OUT_PRE and COFF_ADJUST_SCNHDR_OUT_POST if they are defined. * targets.c (go32stubbedcoff_vec): Declare. (bfd_target_vector): Add go32stubbedcoff_vec. * configure.in (go32coff_vec): New target vector. (go32stubbedcoff_vec): Likewise. * config.bfd (i[3456]86-*-msdosdjgpp*): New target. (i[3456]86-*-go32*): Change to be like new msdosdjgpp*. * Makefile.in: Rebuild dependencies. (BFD32_BACKENDS): Add coff-stubgo32.o. (BFD32_BACKENDS_CFILES): Add coff-stubgo32.c. (HFILES): Add go32stub.h.Tue Jul 22 15:09:12 1997 Ian Lance Taylor <ian@cygnus.com> * configure.in: Check for fdopen. * configure, config.in: Rebuild. * opncls.c (bfd_fdopenr): Check HAVE_FDOPEN rather than VMS or __GO32__. Reindent a bit.Sun Jul 20 20:05:20 1997 Ian Lance Taylor <ian@cygnus.com> * sunos.c (sunos_create_dynamic_sections): Set SEC_LINKER_CREATED flag for newly created sections. (sunos_add_dynamic_symbols): Don't discard newly created sections if shared library is dynobj.Mon Jul 14 15:33:55 1997 Ian Lance Taylor <ian@cygnus.com> * elf.c (map_sections_to_segments): When checking whether including a section in a segment would force us to skip a page, align the address of the next segment to avoid wraparound problems.Tue Jul 8 12:11:29 1997 Fred Fish <fnf@cygnus.com> * coffcode.h (coff_write_object_contents): Initialize target id field to TIC80_TARGET_ID. * coffswap.h (coff_swap_filehdr_out): Swap out target id field if used. (coff_swap_filehdr_in): Swap in target id field if used.Mon Jul 7 16:41:20 1997 Ian Lance Taylor <ian@cygnus.com> * coff-i386.c (coff_i386_is_local_label_name): New static function if TARGET_UNDERSCORE. (coff_bfd_is_local_label_name): Define if TARGET_UNDERSCORE. (i386coff_vec): Add SEC_CODE and SEC_DATA to section_flags.Mon Jun 30 14:29:26 1997 Ian Lance Taylor <ian@cygnus.com> * elf32-m68k.c (howto_table): Use complain_overflow_bitfield, not complain_overflow_signed, for 32 bit PC relative relocations.Thu Jun 26 01:26:31 1997 Ian Lance Taylor <ian@cygnus.com> * elflink.h (elf_link_add_object_symbols): When a version indirection symbol is overridden, make the original symbol point at the real overriding symbol. * elf.c (bfd_elf_string_from_elf_section): Check for an invalid string index. * elflink.h (elf_link_output_extsym): Use the right section for a common symbol. * elf32-mips.c (mips_elf_link_output_symbol_hook): If a common symbol was in .scommon, mark it as SHN_MIPS_SCOMMON.Wed Jun 25 12:43:10 1997 H.J. Lu <hjl@gnu.ai.mit.edu> * elflink.h (elf_merge_symbols): Resolve indirect and warning symbols before checking for new symbols. * elfcore.h (elf_corefile_note): Move out of HAVE_SYS_PROCFS_H.Tue Jun 24 11:20:43 1997 Ian Lance Taylor <ian@cygnus.com> * coffgen.c (coff_object_p): Read the f_opthdr bytes from the file, not aoutsz bytes (they are different in XCOFF .o files). * xcofflink.c (xcoff_link_add_symbols): Permit symbols to be redefined by objects included from archives.Mon Jun 23 18:03:27 1997 Ian Lance Taylor <ian@cygnus.com> * elflink.h (elf_merge_symbol): In the case of a new defined symbol overriding an old defined symbol, return the hash table entry which we modify, even if it is the target of an indirection. (elf_link_add_object_symbols): If the real name of the symbol gets overridden, convert the versioned symbol into an indirect symbol to the real symbol. * elflink.h (elf_merge_symbol): New static function, broken out of elf_link_add_object_symbols. (elf_link_add_object_symbols): Call it.Sun Jun 22 19:40:57 1997 Ian Lance Taylor <ian@cygnus.com> * coff-i386.c (i3coff_object_p): If COFF_IMAGE_WITH_PE, hack to handle case where COFF filehdr does not immediately follow PE header. * coffgen.c (coff_object_p): Remove useless seek to current location.Wed Jun 18 19:03:38 1997 Ian Lance Taylor <ian@cygnus.com> * linker.c (link_action): Change COMMON_ROW/indr to from CREF to REFC.Tue Jun 17 11:55:02 1997 Ian Lance Taylor <ian@cygnus.com> * cofflink.c (_bfd_coff_link_input_bfd): If stripping debugging symbols, skip N_ABS symbols with debugging storage classes.Mon Jun 16 18:56:27 1997 Geoff Keating <geoffk@ozemail.com.au> * elf32-ppc.c (ppc_elf_relocate_section): Don't emit R_PPC_REL* relocs in shared libraries which refer to local symbols. Cope with addend when processing a GOT relocation. * elf32-ppc.c (ppc_elf_size_dynamic_sections): Only create symbols for sections that the linker didn't create. (ppc_elf_finish_dynamic_sections): Only try to write out a section symbol if it was created in ppc_elf_size_dynamic_sections. (ppc_elf_relocate_section): Complain if we have to generate a reloc relative to a section for which we didn't output a symbol. * elf32-ppc.c (ppc_elf_size_dynamic_sections): Clean up. PLT relocs are 'rela' relocs, like everything else. .rela.plt is not a read-only section, so we don't have to special-case it. * elf32-ppc.c (ppc_elf_adjust_dynamic_symbol): Entries in the .rela.bss section are (of course) 'rela' relocs not 'rel' relocs. * elf32-ppc.c (ppc_elf_check_relocs): Initialise srelgot. (ppc_elf_relocate_section): @got offsets are 4 from start of the actual .got section. * elflink.c (_bfd_elf_create_got_section): The three reserved words start from the symbol '_GLOBAL_OFFSET_TABLE_'. * elf32-ppc.c (ppc_elf_size_dynamic_sections): '.rela' is 5 characters, not 4. * elf32-ppc.c (ppc_elf_check_relocs): Use _bfd_elf_create_got_section to create the GOT rather than ppc_elf_create_linker_section. Create the '.rela.got' section ourselves. (ppc_elf_finish_dynamic_symbol): Set up GOT relocations when a symbol has a GOT entry. (ppc_elf_relocate_section): Record when a symbol is used through the GOT, and allocate space in the GOT for each such symbol. (ppc_elf_adjust_dynamic_symbol): Delete unused .got.plt stuff. (ppc_elf_create_linker_section): Delete unused LINKER_SECTION_GOT stuff. * elf32-ppc.c (ppc_elf_howto_raw): GOT16_HA relocs should be treated in a similar way to ADDR16_HA relocs. (ppc_elf_relocate_section): PLTREL24 relocs do not get copied into shared objects; the linker must deal with them. (ppc_elf_create_linker_section): Stop setting _GLOBAL_OFFSET_TABLE_ to the wrong value; delete unused LINKER_SECTION_PLT stuff. (ppc_elf_check_relocs): Delete unused LINKER_SECTION_PLT stuff. (ppc_elf_finish_dynamic_sections): Use BFD calls to get GOT section, not ELF-specific calls. (elf_backend_plt_not_loaded): Set to 1. (elf_backend_got_symbol_offset): Set to 4. * elf-bfd.h (elf_backend_data): Add 'plt_not_loaded' member for when ld.so fills in the PLT; and 'got_symbol_offset' member. * elflink.c (_bfd_elf_create_dynamic_sections): Apply plt_not_loaded member. (_bfd_elf_create_got_section): Apply got_symbol_offset. * elfxx-target.h (elf_backend_plt_not_loaded): Set default to 'loaded'. (elf_backend_G_O_T_offset): Set default to 0. (elfNN_bed): Set added fields. * elf32-ppc.c (ppc_elf_size_dynamic_sections): Was setting DT_RELENT in shared objects; should be DT_RELAENT. * elf32-ppc.c (ppc_elf_relocate_section): Propagate R_PPC_ADDR16_HA relocs to shared objects. Cope with case where such a reloc (in a non-shared object) refers to a symbol that's not defined.Mon Jun 16 14:42:14 1997 H.J. Lu <hjl@gnu.ai.mit.edu> * elfcode.h (put_signed_word): Define. (get_signed_word): Define. (elf_swap_reloca_in): Use get_signed_word for the r_addend field. (elf_swap_reloca_out): Use put_signed_word for the r_addend field. * elf32-m68k.c (elf_m68k_finish_dynamic_symbol): Use bfd_get_signed_32 to set the r_addend field. * elf64-mips.c (mips_elf64_swap_reloca_in): Use bfd_h_get_signed_64 to set the r_addend field.Mon Jun 16 12:31:29 1997 Ian Lance Taylor <ian@cygnus.com> * elf32-i386.c (elf_i386_relocate_section): When generating a shared library, do the relocation if the input section is not allocated in memory. * elflink.h (NAME(bfd_elf,size_dynamic_sections)): Call elf_link_assign_sym_version before elf_adjust_dynamic_symbol. (elf_fix_symbol_flags): New static function, broken out of elf_adjust_dynamic_symbol. (elf_adjust_dynamic_symbol): Call elf_fix_symbol_flags. (elf_link_assign_sym_version): Likewise. Permit a symbol to be forced local even if NEEDS_PLT is set. When forcing a symbol to be local, clear NEEDS_PLT. (elf_link_output_extsym): Remove unused local bed.Wed Jun 11 22:44:20 1997 Jeffrey A Law (law@cygnus.com) * elf32-mn10300.c (elf32_mn10300_link_hash_entry): New structure for derived elf linker hash table entries. References to elf_link_hash_entry changed appropriately. (elf32_mn10300_link_hash_table): New structure for derived elf linker hash table. (elf32_mn10300_hash_table): Define. (elf32_mn10300_link_hash_traverse): Likewise. (elf32_mn10300_link_hash_newfunc): New function. (elf32_mn10300_link_hash_table_create): Likewise. (elf32_mn10300_finish_hash_table_entry): Likewise. (mn10300_elf_relax_section): Handle "call" -> "calls", removal of prologue code, and call:32->call:16 relaxing. (compute_function_info: New function. (bfd_elf32_bfd_ilink_hash_table_create): Define.Wed Jun 11 00:00:07 1997 Ian Lance Taylor <ian@cygnus.com> * elflink.h (elf_link_output_extsym): Call finish_dynamic_symbol for a symbol which is being forced to be local. * elf32-i386.c (elf_i386_relocate_section): Write out the relocation value for a GOT reloc for a symbol which is turning into a local symbol. (elf_i386_finish_dynamic_symbol): If a symbol is turning into a local symbol, write out a RELATIVE reloc rather than a GLOB_DAT reloc. * elf32-m68k.c, elf32-sparc.c: Corresponding changes. * elf32-i386.c (elf_i386_relocate_section): Get the relocation value if the symbol is turning into a local symbol. * elf32-m68k.c (elf_m68k_relocate_section): Likewise. * elf32-sparc.c (elf32_sparc_relocate_section): Likewise.1997-06-10 22:58 Ulrich Drepper <drepper@cygnus.com> * elflink.h (elf_link_add_object_symbols): Also read verneed information by calling `_bfd_elf_slurp_version_tables'. (elf_link_add_object_symbols): For undefined symbols look for version information in the verneed records. (elf_link_add_object_symbols): Use soname of shared object for verneed record if it is available.Tue Jun 10 11:13:03 1997 H.J. Lu <hjl@gnu.ai.mit.edu> * cpu-arm.c: Add prototypes for compatible and scan. * cofflink.c: Add prototype for mark_relocs. * archive.c (bfd_special_undocumented_glue): Change filename to const pointer. Add prototype.Mon Jun 9 12:34:21 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> * elflink.h (elf_link_add_object_symbols): Ignore relocations of sections that will be discarded.1997-06-06 22:58 Ulrich Drepper <drepper@cygnus.com> * elflink.h (elf_link_find_version_dependencies): When searching for known version symbol skip non-matching verdef records, not matching records.Thu Jun 5 15:52:45 1997 Ian Lance Taylor <ian@cygnus.com> * cofflink.c (_bfd_coff_generic_relocate_section): Write a long, not a bfd_vma, to the base file, to match how dlltool reads it.Tue Jun 3 16:57:45 1997 Nick Clifton <nickc@cygnus.com> * reloc.c: Add thumb relocations. * bfd-in2.h: Add Thumb relocations. * libbfd.h: Add Thumb relocations.Mon Jun 2 10:41:52 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> * cpu-m68k.c (arch_info_struct): Fix 68060 cpu name.Fri May 30 12:46:27 1997 Ian Lance Taylor <ian@cygnus.com> * elf32-sparc.c (elf32_sparc_size_dynamic_sections): Set dynindx for a section even if it is not loaded. * cofflink.c (coff_link_add_symbols): If PE file, don't subtract section VMA. (_bfd_coff_link_input_bfd): Separate section VMA handling for input and output files. (_bfd_coff_generic_relocate_section): Check whether input file, not output file, is a PE file.Wed May 28 15:48:43 1997 Nick Clifton <nickc@cygnus.com> * coff-arm.c: (coff_arm_bfd_set_private_flags): Make static.Wed May 28 16:16:04 1997 Ian Lance Taylor <ian@cygnus.com> * coff-i386.c (coff_i386_reloc): Don't just exit if we see an R_IMAGEBASE reloc.Wed May 28 09:48:43 1997 Nick Clifton <nickc@cygnus.com> * cpu-arm.c (compatible): Add test for supersets of ARM architectures.Tue May 27 19:42:03 1997 Bob Manson <manson@charmed.cygnus.com> * cofflink.c (_bfd_coff_final_link): Initialize global_to_static member.Tue May 27 14:34:08 1997 Nick Clifton <nickc@cygnus.com> * coff-arm.c (coff_arm_bfd_set_private_flags): Make global. It is called directly by gas/config/tc-arm.c.Tue May 27 15:58:53 1997 Richard Henderson <rth@tamu.edu> * elf64-alpha.c (PLT_ENTRY_*): Use a new thread-safe format. (elf64_alpha_finish_dynamic_symbol): Fill it in properly.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -