changelog-9193
来自「基于4个mips核的noc设计」· 代码 · 共 1,606 行 · 第 1/5 页
TXT
1,606 行
* config.bfd: For sparc*-*-coff, use sparc-coff. * configure.in: Handle sparccoff_vec. * targets.c (sparccoff_vec): Declare. * reloc.c (bfd_get_reloc_size): New function. (struct reloc_howto_type): Update documentation of size field.Wed Dec 1 14:39:05 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) * nlm32-alpha.c: New file; preliminary Alpha NetWare support. * config.bfd (alpha-*-netware*): New target; use alpha-nlm. * config/alpha-nlm.mt: New file. * configure.in (nlm32_alpha_vec): New vector; use nlm32-alpha.o, nlm32.o, and nlm.o. * Makefile.in (BFD32_BACKENDS): Added nlm32-alpha.o. (CFILES): Added nlm32-alpha.c. Rebuilt dependencies. * targets.c (nlm32_alpha_vec): Declare. * libnlm.h (struct nlm_backend_data): New fields optional_prefix_size, nlm_backend_object_p, nlm_write_prefix, nlm_set_public_section, nlm_get_public_offset. Removed unused nlm_write_reloc field. Changed nlm_write_import to remove unnecessary symbol argument. Renamed nlm_write_externals to nlm_write_external, and changed cound argument from bfd_vma to bfd_size_type. (nlm_optional_prefix_size, nlm_backend_object_p_func, nlm_write_prefix_func, nlm_set_public_section_func, nlm_get_public_offset_func): New accessor macros. (nlm_write_reloc_func): Removed. (nlm_write_external_func): Adjusted for field renaming. * nlm32-i386.c (nlm_i386_write_import): Renamed from nlm_i386_write_reloc. Removed old nlm_i386_write_import which just called old nlm_i386_write_reloc. (nlm_i386_write_external): Renamed from nlm_i386_write_externals. Declared. Changed second argument from bfd_vma to bfd_size_type. (nlm32_i386_backend): Adjusted for changes to fields and names. * nlm32-sparc.c (nlm_sparc_mangle_relocs): Removed unused, ifdeffed out code. (nlm_sparc_write_import): Removed second argument. (nlm_sparc_write_external): Renamed from nlm_sparc_write_externals. Changed second argument from bfd_vma to bfd_size_type. (nlm32_sparc_backend): Adjusted for changes to fields and names. * nlmcode.h: Removed some unused code. (nlm_object_p): Don't destroy tdata pointer. Call backend_object_p function if it exists. (nlm_slurp_symbol_table): Removed unused variable rcount. Call set_public_section_func if it exists instead of checking NLM_HIBIT. (nlm_compute_section_file_positions): Account for optional_prefix_size. (nlm_write_object_contents): Account for optional_prefix_size. Removed useless variable write_reloc_func. Changed declaration and call of write_import_func. Call write_prefix_func if it exists. Removed unused variables len and temp. Call get_public_offset_func if it exists rather than setting NLM_HIBIT. * nlmswap.h: Declare functions. * bfd-in.h (uint64_typeLOW, uint64_typeHIGH): Fully parenthesize for clarity. (fprintf_vma, sprintf_vma): Use %lx, not %x. * bfd-in2.h: Rebuilt. * hosts/alphaosf.h (uint64_typeLOW, uint64_typeHIGH): Cast results to unsigned long. * config.bfd: Don't set target64 here, as the setting is ignored. * configure.in (ecoffalpha_little_vec): Set target64. * config/alphaosf.mt (TDEFINES): Removed; setting host parameters in TDEFINES is wrong. * coff-alpha.c (alpha_ecoff_get_relocated_section_contents): Remove unused variable output_section.Tue Nov 30 16:45:23 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) * irix-core.c: New file for Irix 4 and Irix 5 core support. Functions taken out of coff-mips.c. Handle vmap type VMAPFILE. * coff-mips.c: Irix 4 core file support moved to irix-core.c. * targets.c: If IRIX_CORE defined, include irix_core_vec in target_vector. * config/irix4.mh (HDEFINES): Add -DIRIX_CORE. (HDEPFILES): Define to be irix-core.o. * config/irix5.mh (HDEFINES): Define to be -DIRIX_CORE. (HDEPFILES): Define to be irix-core.o. * Makefile.in (OPTIONAL_BACKENDS): Added irix-core.o. Removed sco-core.o, which no longer exists. (CFILES): Added all *-core.c files. Rebuilt dependencies.Wed Nov 24 02:02:41 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) * elfcode.h (map_program_segments): Restore check of file_size != mem_size, but only if SHT_PROGBITS. * ecofflink.c: New file to hold ECOFF debug information linking routines. * ecoff.c (ecoff_clear_output_flags, ecoff_rel, ecoff_dump_seclet, ecoff_add_string, ecoff_get_debug): Removed. Functionality now in ecofflink.c. (ecoff_get_extr, ecoff_set_index): New functions. (ecoff_slurp_symbolic_info): Don't save raw_size. (ecoff_bfd_seclet_link): Rewrote to use ecofflink.c functions. (ecoff_compute_section_file_positions): Don't set EXEC_P just because there is a start address. (ecoff_write_object_contents): Handle external symbols here. Use ecofflink.c functions to write out debugging information. * elf32-mips.c (mips_elf_read_ecoff_info, mips_elf_get_extr, mips_elf_set_index): New functions. (mips_elf_seclet_link): Discard empty sections, the .options section and .gptab sections. Handle linking .mdebug section. * libecoff.h (ecoff_data_type): Removed raw_size and ifdbase. * libelf.h (elf_symbol_type): Added mips_extr to tc_data union. * bfd-in.h: Added prototypes for routines in ecofflink.c (some are called by gas, so they are public). * bfd-in2.h: Rebuilt. * Makefile.in (BFD_LIBS): Added ecofflink.o. (CFILES): Added ecofflink.c. (ecofflink.o): New target. Rebuilt dependencies.Mon Nov 22 22:26:42 1993 Jeffrey A. Law (law@snake.cs.utah.edu) * som.c (hppa_object_p): Also recognize SHARED_MAGIC_CNX as a valid magic number if it's been defined.Mon Nov 22 14:17:36 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) * ecoff.c (ecoff_mkobject): Don't create .scommon section; linker no longer requires it. (ecoff_bfd_seclet_link, ecoff_sizeof_headers, ecoff_write_object_contents): Don't treat .scommon section specially.Mon Nov 22 10:54:27 1993 Fred Fish (fnf@cygnus.com) Merged changes from kev@spuds.geg.mot.com (Kevin A. Buettner): * bfd/config/delta88.mh (HDEFINES): Define this to be -DPTRACE_CORE. * bfd/config/delta88.mh (HDEPFILES): Defined to be ptrace-core.o. * bfd/ptrace-core.c: New file for dealing with core files with start with the ptrace_user structure found on BCS compliant systems. * bfd/targets.c (ptrace_core_vec): New vector.Mon Nov 22 02:33:12 1993 Jeffrey A. Law (law@snake.cs.utah.edu) * Minimal support for reading SOM fixup streams. Allows objdump -r to do something reasonable. * som.c (som_get_reloc_upper_bound): Implement. (som_canonicalize_reloc): Implement. (som_set_reloc_info, som_slurp_reloc_table): New functions.Sun Nov 21 13:46:55 1993 Ken Raeburn (raeburn@cambridge.cygnus.com) * hosts/lynx.h (FPRINTF_ALREADY_DECLARED): Define. * hosts/sparclynx.h: Include lynx.h instead of duplicating it.Fri Nov 19 14:34:04 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) * coff-a29k.c (a29k_reloc): For R_IREL, don't left shift signed_value before sign extending it. Don't subtract out reloc_entry->address. This makes it compatible with what gas is generating. * elfcode.h (elf_fake_sections): Accept .sbss as the name for a SHT_NOBITS sections. (map_program_segments): Don't leave the loop after the first SHT_NOBITS section. (assign_file_positions_except_relocs): Only force sh_offset and sh_addr to match modulo maxpagesize for a section which is not SHT_NOBITS. Changed the method used to force page alignment after a SHT_NOBITS section to only do it for the last such consecutive section, and to really force page alignment.Fri Nov 19 04:02:01 1993 Ken Raeburn (raeburn@cambridge.cygnus.com) * coffcode.h (coff_slurp_symbol_table): Print more verbose message in the case of an unknown (or unhandled) storage class. * config/i386-lynx.mt (TDEFINES): FPRINTF_ALREADY_DECLARED should not be defined here, since it is a host attribute, not a target one. * config/m68k-lynx.mt, config/sparc-lynx.mt: Ditto. * coffcode.h (coff_bfd_reloc_type_lookup): Don't define if already defined. * coff-sparc.c: Define some relocations, based on ELF relocations. (enum reloc_type, bfd_coff_generic_reloc, coff_sparc_howto_table, struct coff_reloc_map, sparc_reloc_map, coff_sparc_reloc_type_lookup): Borrowed from elf32-sparc.c and elf.c, renamed. (coff_bfd_reloc_type_lookup): Define to be coff_sparc_reloc_.... (rtype2howto): Index into coff_sparc_howto_table using dst->r_type.Thu Nov 18 11:45:39 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) * config.bfd (mips*-*-irix5*): New target; use mipsbelf. * configure.host (mips-sgi-irix5*) New host; use irix5 (no hosts/irix5.h created; just use std-host.h). * config/irix5.mh: New file; like irix4.mh, but don't use -G or -lmalloc. * Makefile.in: Rebuilt dependencies. * ecoffswap.h: Changed type of internal pointers for swap out functions to const *. * elf32-mips.c (mips_elf_got16_reloc): New function. Handle GOT16 correctly for assembler, but linker support not implemented. (elf_mips_howto_table): Use mips_elf_got16_reloc for GOT16. (mips_elf_sym_is_global): New function; at least on Irix 5, all non section symbols are considered global. (elf_backend_sym_is_global): Define. (mips_elf_final_write_processing): New function. Set the MIPS architecture level correctly. (elf_backend_final_write_processing): Define. (mips_elf_section_from_shdr): Handle SHT_MIPS_OPTIONS. (mips_elf_fake_sections): Set entsize of .mdebug or .reginfo section to 1. Handle .options section. (mips_elf_acom_section, mips_elf_acom_symbol, mips_elf_acom_symbol_ptr): New static variables, used to build a generic .acommon section to hold SHN_MIPS_ACOMMON symbols. (mips_elf_symbol_processing): Handle SHN_MIPS_ACOMMON symbols by putting them all in a global .acommon section. * elfcode.h (bfd_section_from_shdr): Don't dump core if target section has no ELF section data. (elf_make_sections): Set addralign of reloc section to 4. (elf_fake_sections): Likewise. (map_program_segments): Don't consider section 0. (assign_file_positions_except_relocs): Don't consider section 0. In the main loop, skip the symtab and strtab sections, since their positions are set elsewhere. (swap_out_syms): Set addralign of symtab section to 4. Set addralign of strtab sections to 1. (assign_file_positions_for_relocs): Don't consider section 0. (write_object_contents): Don't write out section 0. * libelf.h (struct elf_backend_data): Added fields elf_backend_sym_is_global and elf_backend_final_write_processing. * elf32-target.h (elf32_bed): Added corresponding initializers. * elf64-target.h (elf64_bed): Likewise. * elfcode.h (sym_is_global): Take abfd argument. Call elf_backend_sym_is_global if it is not NULL. (elf_map_symbols): Pass abfd to sym_is_global. (write_object_contents): Call elf_backend_final_write_processing if it is defined.Wed Nov 17 18:43:28 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) * libecoff.h: Include coff/ecoff.h. (struct ecoff_backend_data): Move external debugging information fields into a single field pointing to an ecoff_debug_swap structure. (ecoff_data_type): Move debugging information fields into a single field pointing to an ecoff_debug_info structure. * coff-alpha.c, coff-mips.c, ecoff.c: Corresponding changes.Wed Nov 17 17:38:58 1993 Sean Eric Fagan (sef@cygnus.com) * nlmswap.h: New file to swap fixed header. Included by NLM backends. * libnlm.h (struct reloc_and_sec): Define. (struct nlm_backend_data): Add fields fixed_header_size, nlm_read_import, nlm_write_import, nlm_swap_fhdr_in, nlm_swap_fhdr_out. (nlm_fixed_header_size, nlm_read_import_func, nlm_write_import_func, nlm_swap_fixed_header_in_func, nlm_swap_fixed_header_out_func, nlm_write_external_func): New accessor macros. * nlmcode.h: Use new functions. * nlm32-i386.c: Provide new functions. * nlm32-sparc.c: New file; SPARC NLM backend.Wed Nov 17 13:56:10 1993 Stan Shebs (shebs@rtl.cygnus.com) * i386lynx.c (swap_std_reloc_in, swap_ext_reloc_in): Ignore garbage bits appearing in the upper end of symbolnums. * config/sparc-lynx.mt (TDEFINES): Add -DFPRINTF_ALREADY_DECLARED.Tue Nov 16 17:03:41 1993 Stu Grossman (grossman at cygnus.com) * lynx-core.c (lynx_core_file_p): Change bfd_zalloc to bfd_alloc. * m68klynx.c: Define core file macros. * hosts/i386lynx.h, hosts/m68klynx.h, hosts/lynx.h: Move all non-architecture specific stuff into lynx.h.Tue Nov 16 15:45:54 1993 Jim Kingdon (kingdon@lioth.cygnus.com) * i386linux.c: Define new macro ZMAGIC_DISK_BLOCK_SIZE to 1024, and change PAGE_SIZE to 4096.Mon Nov 15 11:48:08 1993 Ken Raeburn (raeburn@rtl.cygnus.com) * Makefile.in (diststuff): New target. * VERSION: Updated.Sun Nov 14 23:33:01 1993 Jeffrey A. Law (law@snake.cs.utah.edu) * som.c (som_object_setup): Do not create dummy ".text", ".data", and ".bss" sections. (setup_sections): Do not set SEC_HAS_CONTENTS if a section's size is zero. Recognize BSS type sections and turn off SEC_LOAD and SEC_DATA (so binutils/size works). Set the correct value for a section's _raw_size. (som_slurp_symbol_table): Program entry points, and millicode are also functions. Mark them as such. Also mark L$* symbols as debugging symbols. * bfd-in2.h: Rebuilt.Sat Nov 13 15:27:15 1993 Jeffrey A. Law (law@snake.cs.utah.edu) * som.c (som_bfd_reloc_type_lookup): Add missing prototype. Returns a pointer to constant data. Delete bogus #define which made the function useless. * som.c (som_prep_for_fixups): New function. (som_write_fixups): New function.
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?