changelog-9193
来自「基于4个mips核的noc设计」· 代码 · 共 1,606 行 · 第 1/5 页
TXT
1,606 行
* coff-h8300.c (h8300_reloc16_estimate): Declare return type. Remove useless statement probably left by code copy. * cpu-i960.c (compatible): Fully bracket matrix initializer. * elf32-hppa.c (hppa_elf_build_arg_reloc_stub): Use bfd_xmalloc rather than xmalloc. Use realloc and check the return value rather than xrealloc. (hppa_elf_get_section_contents): Add some casts. * elf32-i386.c (elf_i386_reloc_type_lookup): Remove unused variable. Add default case to switch. * hp300hpux.c: Declare aout_32_write_syms. * i386bsd.c, i386linux.c, netbsd386.c (N_SHARED_LIB): Define as 0 (definition from aout/aout64.h is always 0 anyhow). * i386lynx.c (swap_std_reloc_in): Remove unused variable. * ieee.c (ieee_write_id): length can never be negative. (read_id): Likewise. (ieee_archive_p): Remove unused variable. * libcoff-in.h (bfd_perform_slip): Declare. * libcoff.h: Rebuilt. * oasys.c (oasys_write_sections): Remove zero initialization of static structure. * reloc16.c: Indentation change.Wed Oct 27 16:51:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com) * configure.in, config/i386-mach3.mt: Update for new configuration (--with-targets and so on). * hosts/i386mach3.h: Declare errno. * targets.c: Declare i386mach3_vec.Wed Oct 27 12:18:07 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) * nlmcode.h (nlm_swap_auxiliary_headers_in, nlm_swap_auxiliary_headers_out): Handle sharedDebugRecordOffset and sharedDebugRecordCount fields.Tue Oct 26 16:21:12 1993 Jim Kingdon (kingdon@lioth.cygnus.com) * targets.c (target_vector): Remove SCO_CORE. On Sep 11 1993, we started using trad-core.c for SCO instead. * targets.c (target_vector): Re-enable generic ELF and NLM targets.Tue Oct 26 16:53:12 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) * elfcode.h (assign_file_position_for_section): Align sh_offset to sh_addralign (this is what UnixWare does, and it shouldn't hurt).Tue Oct 26 10:16:54 1993 Ken Raeburn (raeburn@cygnus.com) From Jeff Law and Pete Hoogenboom at Utah: * elf32-hppa.h (hppa_elf_stub_finish): Add prototype. (ELF32_HPPA_R_ARG_RELOC): Renamed without the ELF32 prefix and moved into libhppa.h. All references changed. (ELF32_HPPA_R_CONSTANT, ELF32_HPPA_R_ADDEND): Likewise. (get_opcode and opcode defines): Move into libhppa.h * elf32-hppa.c (hppa_elf_insn2fmt): Rename and move info libhppa.h. * libhppa.h (HPPA_R_*): Moved here. Reformatted slightly to make for easier reading. (get_opcode): Moved here. FIXME! this really should be a C function inside the opcode library! (bfd_hppa_insn2fmt): Likewise. * targets.c (target_vector): Enable elf32-hppa vector. * elf32-hppa.c (hppa_elf_get_section_contents): Add new comments and clarify existing comments. Do not use DEFUN to declare this function. Fix numerous indention problems. Correctly handle cases where symbol extension section may need to be read from disk, read from memory, or built then read from memory. * elf32-hppa.h: Reformat with gnu-indent and hand fix numerous formatting and indention problems gnu-indent can not handle. Clarify some comments about relocation types. Comment basic relocation "classes". Group PARAM declarations together. (HPPA_SXT_{NULL, SYMNDX, RG_RELOC}): Make members of a new enumerated type rather than #defines.Tue Oct 26 02:40:46 1993 Stu Grossman (grossman at cygnus.com) * som.c (hppa_object_setup): Set SEC_CODE for .text section so that GDB can figure out text_start and text_end.Mon Oct 25 16:05:23 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) Fix up warnings from gcc -Wall: * coffgen.c (coff_print_symbol): Use %lx and cast n_value to unsigned long. Use %ld for tagndx. Use %lx for offset + vma and cast it to unsigned long. * ecoff.c (ecoff_emit_aggregate): Use %ld. (ecoff_print_symbol): Use %ld, and cast indx and sym_base to long. * coffcode.h (dummy_reloc16_estimate): Specify return type. * libbfd.c (bfd_write): If not everything is written out, set bfd_error to system_call_error. If the return value is non-negative, set errno to ENOSPC (if ENOSPC is defined). (bfd_seek): If the seek fails, set bfd_error to system_call_error. (bfd_generic_set_section_contents): For a bad offset + count, set bfd_error to bad_value. * seclet.c (rel): Don't abort. Instead, return false.Mon Oct 25 09:59:37 1993 Ken Raeburn (raeburn@cygnus.com) * aoutx.h (reloc_type_lookup): Handle BFD_RELOC_SPARC_WDISP22.Fri Oct 22 20:35:54 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com) * config.bfd: handle mips*-* instead of mips-*, use mips*el instead of mips-*-*lFri Oct 22 14:03:33 1993 Mark Eichin (eichin@cygnus.com) * m68k-lynx.mt, i386-lynx.mt (TDEFINES): set FPRINTF_ALREADY_DECLARED because the objdump.c declaration of fprintf collides with the native one.Fri Oct 22 11:50:25 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) * targets.c (target_vector): Enable MIPS ELF vectors.Fri Oct 22 07:51:51 1993 Jim Kingdon (kingdon@lioth.cygnus.com) * config.bfd: Use bigmips for mips-sony-bsd*. * configure.host, config.bfd: Add * to end of all OS names.Thu Oct 21 12:16:26 1993 Ken Raeburn (raeburn@cygnus.com) * elfcode.h (FILE_ALIGN): Renamed from EALIGN, to avoid conflict with Ultrix header files. * som.h (struct som_section_data_struct): Renamed from som_section_data to avoid conflict with macro by that name. Changes from Jeff Law and Peter Hoogenboom at Utah: * elf32-hppa.c (hppa_elf_reloc): Target register for a 'jump in delay slot' optimization in combination with a long call stub should always be r31. * elf32-hppa.c: (hppa_elf_relocate_insn): To be consistent across all relocation types, retrieve instruction addends from the relocation entry rather than from the instruction itself. * elf32-hppa.c: (hppa_elf_relocate_insn): Fix a relocation error that only occurred when the addend of an 'addil' or 'ldil' was larger than 21 bits and very close to a 2K byte boundary. * elf32-hppa.c: (hppa_elf_reloc): Handle the optimization in which a jump is placed in the delay slot of a function call. The jump was being accomplished via an adjustment to the return pointer. This optimization would break the long call stub code, if there was any. * elf32-hppa.c: (hppa_elf_build_long_branch_stub): Corrections to long branch stubs to avoid use of general register 2. * hppa_stubs.h: New stub instructions. * elfcode.h: Declare bfd_elf_find_section. * som.h (som_section_data): Add new "subspace_index" field. * som.c (setup_sections): Save the original SOM subspace index in the BFD section associated with that subspace. (som_get_symtab_upper_bound): Implement. (som_get_symtab): Implement. (som_print_symbol): Implement. (som_slurp_string_table): New function to read a string table from a SOM object file. (som_section_from_subspace_index): New function to return the section which corresponds to a SOM subspace index. (som_slurp_symbol_table): New function to read the symbol table from a SOM object file. (som_make_empty_symbol): Check for errors from bfd_zalloc. (som_new_section_hook): Initialize subspace_index field to -1 instead of 0. * som.c (som_object_setup): Fix polarity of test to set HAS_RELOC. Set EXEC_P for executables. (setup_sections): Correctly identify when a section has relocations. (log2): New function. (setup_sections): Correctly convert between SOM alignments and BFD alignments. * som.c (setup_sections): Do not set SEC_ALLOC or SEC_LOAD for sections which correspond to SOM spaces, doing so confuses many utilities. Set assorted SEC_* flags for SOM subspaces which correspond to BFD sections. * elf32-hppa.c: (elf32_hppa_backend_fake_sections): The stab string table should have sh_type == SHT_STRTAB. Add processing to make it so. * elfcode.h: (bfd_section_from_shdr): String tables (other than .strtab) were not getting the file offsets recorded, so they could not be read from disk. * elfcode.h: (elf_make_sections): Leave the sh_addr field of the section header and the vma field of a section at 0 if the section is not part of the program execution image. (e.g., .stab) * som.[hc]: Change target vector prefix from "hppa" to "som". Consistently use obj_som prefix to access fields in backend data structures. Fix all callers/references. * som.h: Do not include files only needed for core file reading here. Include a.out for both HOST_HPPAHPUX and HOST_HPPABSD. Delete forward structure declarations, they are unnecessary. (struct somdata): Delete aux_hdr, and hp_symbol_entry_size fields. Change "symbols" to "symtab". Add "stringtab" and "reloc_filepos" fields for future use. Change obj_som_* macros as appropriate. (som_section_data): New structure to keep SOM specific information about BFD sections (for future use). * som.c: Provide PARAMS declarations for all functions currently in this file. (struct container): Delete unwanted structure definition. (som_object_setup): Add comments. Use som_mkobject to allocate SOM specific information in the BFD; use information from the file and (possibly empty) auxiliary headers to initialize this information. Delete redundant bfd_get_symcount (abfd) "calls". (setup_sections): Return type is now boolean, fix return statements. "Fix" handling of BSS like subspaces in the computation of the containing space's size. If the subspace has relocations, set the appropriate BFD section flags and record the index into and the size of the fixup stream. Always return a value. (som_object_p): Set bfd_error appropriately if errors are detected from bfd_{read,seek} functions. Handle EXECLIBMAGIC type files. Do not try to read a non-existant auxiliary header. (som_mkobject): Flesh out. (som_section_hook): Allocate space to hold SOM specific information about sections.Thu Oct 21 12:41:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com) gcc -Wall lint: * coff-h8300.c, coffcode.h: Change shrink parameter in *_reloc16_estimate to unsigned to match prototype. * archive.c: Avoid "/*" in comment.Thu Oct 21 13:05:16 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) * dep-in.sed: Create our own line breaks for a more aesthetic Makefile. * Makefile.in: Rebuilt dependencies. * elf32-mips.c: Include "seclet.h". (mips_elf_fake_sections): Force size of .reginfo section to sizeof Elf32_External_RegInfo. (mips_elf_seclet_link): New function. Link the .reginfo section specially, and pass everything else to the generic routine. (bfd_elf32_bfd_seclet_link): Define macro. * elf32-target.h: If bfd_elf32_bfd_seclet_link is already defined, don't override it.Wed Oct 20 12:22:37 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) * libnlm.h (nlm_backend_data): Added signature field. (nlm_signature): New macro. * nlmcode.h (nlm_object_p, nlm_write_object_contents): Use the NLM signature from the backend rather than the constant NLM_SIGNATURE. * nlm32-i386.c (nlm32_i386_backend): Initialize signature field. * aoutf1.h (MACHTYPE_OK): Accept M_UNKNOWN. (NAME(sunos,set_arch_mach)): Treat M_UNKNOWN as 68000, not 68020.Wed Oct 20 10:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com) * hosts/i386bsd.h [__bsdi__]: Define HOST_DATA_START_ADDR.Wed Oct 20 10:10:07 1993 Ken Raeburn (raeburn@cygnus.com) * Makefile.in (HFILES): New variable, for use in "make dep". (.dep): Depend on $(CFILES) and $(HFILES). Delete .dep1 and remake it, so that "$?" is complete. (.dep1): Don't need to remove .dep1 first. (dep.sed): Depend on config.status, not Makefile. (CFILES): Add nlm.c.Tue Oct 19 15:26:26 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) * coff-alpha.c: Implemented reloc handling for the linker, made various other related changes. * libecoff.h (ecoff_backend_data): Added rdata_in_text field. Renamed finish_reloc to adjust_reloc_in. Added adjust_reloc_out field. (ecoff_bfd_get_relocated_section_contents): Don't define. * ecoff.c (ecoff_sec_to_styp_flags, ecoff_styp_to_sec_flags): Handle .lita section. (ecoff_slurp_reloc_table): Handle RELOC_SECTION_FINI. finish_reloc backend field renamed to adjust_reloc_in. (ecoff_bfd_seclet_link): Adjust number of aux entries to debug_align boundary. (ecoff_compute_section_file_positions): If rdata_in_text put .rdata section in text segment, not data segment. Put .pdata section in text segment. (ecoff_write_object_contents): Likewise. Also, call adjust_reloc_out, and handle .lita, .xdata, .pdata, .fini and absolute sections when writing out relocs. * coffswap.h (coff_swap_aouthdr_out): For ALPHAECOFF, output 2 for bldrev field, as on Alpha OSF/1. Padding field is now 2 bytes. * coff-mips.c (mips_ecoff_swap_reloc_out): Added assertion. (mips_adjust_reloc_in): Renamed from mips_finish_reloc. (mips_adjust_reloc_out): New function (does nothing). (mips_ecoff_backend_data): Initialize new fields. (ecoff_bfd_get_relocation_section_contents): Define to be bfd_generic_get_relocated_section_contents. * reloc.c (bfd_perform_relocation): Added casts to avoid Alpha OSF/1 cc bug.Thu Oct 14 01:10:35 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) * reloc.c (bfd_perform_relocation): Add comments attempting to explain PC relative relocations. * coffcode.h (styp_to_sec_flags): Don't set SEC_DEBUGGING until it
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?