aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
1993-12-03 * config/solaris2.mh (HDEFINES): Remove -Dconst=Ian Lance Taylor2-0/+11
* hosts/solaris.h: If not __GNUC__, define const as empty.
1993-12-03 * config/mips/irix4.mh: Enable ser-tcp.o.Stu Grossman1-1/+1
1993-12-03 Fri Dec 3 09:47:30 1993 Pete Hoogenboom (hoogen@cs.utah.edu)Jeff Law1-0/+6
* tc-hppa.c: (tc_gen_reloc): Addend for a plabel relocation should be either 0 or 2 (no static link or static link required). Always assume no static link.
1993-12-03 * config/tc-hppa.c (md_apply_fix): Delete old wrapper function.Jeff Law2-44/+40
(md_apply_fix_1): Rename to md_apply_fix. Fix argument decls. Fix comments in various places. Always return a value. Avoid dereferencing a NULL fx_addsy. (hppa_force_relocation): Avoid dereferencing a NULL fx_addsy.
1993-12-03 * config/unix.exp: Add global before seeing if the variables forRob Savoye1-0/+6
nm, objdump, and size exist.
1993-12-03 * Makefile.in: Remove some stuff from the site.exp file.Rob Savoye1-11/+1
* config/unix.exp: Add global before seeing if the variables for nm, objdump, and size exist.
1993-12-03Deleted RCS crap, since it frequently seems to wind up being the onlyKen Raeburn1-178/+0
thing "changed", and somehow cvs thinks the file has really been modified.
1993-12-03Lots of changes for:Ken Raeburn7-74/+164
- sparc[lite]-coff as well as sparc-lynx - producing coff (including debug info) under BFD_ASSEMBLER option - cleanup of cpu-specific code in non-cpu-specific files (especially write.c) - providing common code to avoid duplication in cpu-specific files (specifically, md_number_to_chars) - stylistic changes & misc cleanup ================ * config/tc-sparc.c (tc_gen_reloc): Make adjustment to addend be dependent on howto fields, not on format flavour. * struc-symbol.h (struct symbol): New fields sy_obj and sy_tc, defined as types OBJ_SYMFIELD_TYPE and TC_SYMFIELD_TYPE, if those macros are defined. * config/obj-coff.h (TC_SYMFIELD_TYPE, OBJ_SYMFIELD_TYPE): Define. (TARGET_SYMBOL_FIELDS, I960_SYM_FIELDS): Don't define. (sy_tc, sy_obj): Define so that the fields look like they used to, until all references get changed. * write.c (fixup_segment): Lots of variables no longer register. Reordered some code for easier reading. * config/obj-coff.c (obj_coff_dim): dim_index no longer register. Deleted superfluous return statement. (obj_coff_line, obj_coff_size, obj_coff_scl, obj_coff_type, obj_coff_val, tag_init, tag_insert): Deleted superfluous return statement. (align, obj_coff_section): Deleted debugging printfs. * config/tc-i386.c (md_assemble): Discard some register decls. Use assignment rather than memcpy to copy template. (op_hash, reg_hash, prefix_hash): Default C initialization of statics is sufficient. * config/tc-sparc.c (print_insn): Array Reloc is now const, and points to const. * config/obj-coff.h (TARGET_FORMAT): Only use coff-sparc-lynx if TE_LYNX; use coff-sparc otherwise. [USE_NATIVE_HEADERS]: Delete this code; it isn't used. * write.c (fixup_segment): Call TC_VALIDATE_FIX, if defined, before processing a fixup. Call TC_ADJUST_RELOC_COUNT just before returning. Remove some i960-coff-specific code. (TC_ADJUST_RELOC_COUNT): Default to doing nothing. * config/tc-i960.h (TC_ADJUST_RELOC_COUNT) [OBJ_COFF]: Define. (i960_validate_fix): Declare. (TC_VALIDATE_FIX): Define. * config/tc-i960.c (i960_validate_fix): New function. * write.c (number_to_chars_littleendian): New function. Write out bytes in little endian order, doing size and range checking. (number_to_chars_bigendian): New function, similar. * write.h: Declare them. * config/tc-*.c (md_number_to_chars): Use them. * config/tc-vax.c (md_apply_fix): Ditto. * config/tc-i386.c (md_apply_fix): Ditto. * config/obj-coff.c: Rearranged code for handling line number data. (line_fsym): Renamed from function_lineoff in BFD_ASSEMBLER case, since the usage is different from non-BFD_ASSEMBLER case. (in_function, clear_function, set_function): New macros, to combine some of the functionality implemented in differnet ways in BFD_ASSEMBLER and non-... code. Used in other functions that used to check function_lineoff &c. (obj_emit_lineno): Split into two copies, one for BFD_ASSEMBLER, one for not. Non-BFD_ASSEMBLER version now has temporary variable to contain char* pointer pointed to by char** argument. Always follow CROSS_COMPILE code; easier to read that way. (obj_coff_ln): Don't call add_lineno or c_line_new if appline is set. (obj_coff_endef) [BFD_ASSEMBLER]: Don't do anything special for ".bf", it's been done elsewhere. (coff_frob_symbol): If ilne number data is pending, call add_linesym to flush it. (coff_frob_file): Don't do that here. * config/obj-coff.h (coff_frob_file): Declare. (obj_frob_file): Define, to call it. * config/tc-sparc.h (md_create_short_jump, md_create_long_jump, md_estimate_size_before_relax: Define them as macros calling as_fatal. * config/tc-sparc.c: Don't define them as functions.
1993-12-02 * ecoff.c: Added various casts for 32/64 bit cross targeting.Ian Lance Taylor1-0/+12
(ecoff_mkobject_hook): Set SEC_SHARED_LIBRARY for the .reginfo section so that the linker ignores it. * ecofflink.c: Added various casts for 32/64 bit cross targeting. (ecoff_add_bytes): Changed need argument to size_t. (bfd_ecoff_debug_link_other): Check return value of ecoff_add_string.
1993-12-02Since newlib claims not to support the alpha, don't try to configure newlibKen Raeburn1-2/+2
for an alpha target.
1993-12-02 * libnlm.h (struct nlm_obj_tdata): New field backend_data.Ian Lance Taylor1-0/+20
(nlm_backend_data, nlm_alpha_backend_data): New accessor macros. (struct nlm_backend_data): New field no_uninitialized_data. (nlm_no_uninitialized_data): New accessor macro. * nlmcode.h (nlm_compute_section_file_positions): Handle no_uninitialized_data. (nlm_external_reloc_compare): Sort relocs by address for a particular symbol, to make the sort more stable. (nlm_write_object_contents): Cast the arguments to qsort. Get the value of a debugging symbol the same way we get the value of a normal symbol. * nlm32-alpha.c: Various changes. Write out GP and .lita relocs. Set no_uninitialized_data to true. * nlm32-i386.c (nlm32_i386_backend), nlm32-sparc.c (nlm32_sparc_backend): Set no_uninitialized_data field false. * nlmswap.h (nlm_swap_fixed_header_out): Zero out destination before filling it in.
1993-12-02 * configure.in: Don't build ld for Irix 5. Don't build gas,Ian Lance Taylor2-1/+11
libg++ or libio for any Alpha target.
1993-12-02 * configure.in (mips*-sgi-irix5*): New target; use mh-irix5.Ian Lance Taylor2-0/+6
1993-12-02New file for Irix 5 host support.Ian Lance Taylor2-0/+4
1993-12-02New file for Alpha NetWare. External structure information.Ian Lance Taylor2-0/+167
1993-12-02 * Makefile (clean): Depend on clean-here.Jeff Law1-0/+4
1993-12-02 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadwordJeff Law1-0/+14
stores. * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword stores. (fpu_short_memory_tests): Likewise.
1993-12-02 * som.c (som_section_type, som_decode_symcalss): New functions.Jeff Law1-0/+7
(som_get_symbol_info): Use them. (som_slurp_symbol_table): Set the section of common and undefined symbols correctly.
1993-12-02Various entries.Ian Lance Taylor1-0/+50
1993-12-02 * libnlm.h (struct nlm_backend_data): New fieldsIan Lance Taylor4-301/+758
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.
1993-12-02 * nlmswap.h: Declare functions.Ian Lance Taylor1-0/+6
1993-12-02New files for preliminary Alpha NetWare support.Ian Lance Taylor2-0/+863
1993-12-02Remove unused declaration from nlmconv.c. Add ChangeLog entry forIan Lance Taylor2-3/+10
Sean's change.
1993-12-02Restore changes clobbered by Sean's check in.Ian Lance Taylor1-9/+24
1993-12-02Wed Dec 1 17:00:33 1993 Jason Merrill (jason@deneb.cygnus.com)Jason Merrill1-0/+5
* Makefile.in (GZIPPROG): Renamed from GZIP, which gzip uses for default arguments -- so it tried to compress itself.
1993-12-02 * ldgram.y (OPTION_Oval): New token.Ian Lance Taylor1-2/+4
(command_line_option): Accept and ignore it. * ldlex.l (<COMMAND>): Handle -On where n is a number.
1993-12-01Fix gnatsishnessJason Merrill1-3/+3
1993-12-01changes so farKen Raeburn1-0/+21
1993-12-01include fopen-bin.hKen Raeburn1-0/+2
1993-12-01variousKen Raeburn1-0/+20
1993-12-01handle sparccoff_vecKen Raeburn1-0/+1
1993-12-01declare sparccoff_vecKen Raeburn1-0/+1
1993-12-01handle sparc*-*-coff*Ken Raeburn1-0/+1
1993-12-01* configure.in: Group targets by CPU. Merge some m68k target entries withKen Raeburn2-8/+19
different CPU specs that use the same ld_target values. * configure.in: Add sparc*-*-coff. * config/coff-sparc.mt, emulparams/coff_sparc.sh: New files. * Makefile.in (ALL_EMULATIONS): Add em_coff_sparc.o. (em_coff_sparc.c): Add dependencies and build rules.
1993-12-01New file for bare sparc-coff support.Ken Raeburn2-0/+8
1993-12-01Various entries. Added entries for NetWare changes made by Sean aIan Lance Taylor1-0/+34
couple of weeks ago.
1993-12-01Added copyright notice and comments.Ian Lance Taylor1-0/+150
1993-12-01 * hosts/alphaosf.h (uint64_typeLOW, uint64_typeHIGH): Cast resultsIan Lance Taylor1-2/+4
to unsigned long.
1993-12-01 * config.bfd: Don't set target64 here, as the setting is ignored.Ian Lance Taylor2-6/+8
* configure.in (ecoffalpha_little_vec): Set target64.
1993-12-01 * bfd-in.h (uint64_typeLOW, uint64_typeHIGH): Fully parenthesizeIan Lance Taylor1-4/+4
for clarity. (fprintf_vma, sprintf_vma): Use %lx, not %x. * bfd-in2.h: Rebuilt.
1993-12-01 * config/tc-mips.c (macro): From wilson@cygnus.com: for M_L_DAB,Ian Lance Taylor2-2/+3
set coproc before doing goto ld.
1993-12-01 * config/tc-hppa.c (hppa_elf_mark_end_of_function): New function.Jeff Law2-43/+76
(pa_process_exit, pa_procend): Call it for ELF objects.
1993-12-01 * ldgram.y (OPTION_call_shared, OPTION_non_shared): New tokens.Ian Lance Taylor3-14/+70
(command_line_option): Accept and ignore them (for now). * ldlex.l (<COMMAND>): Handle -non_shared and -call_shared.
1993-12-01 * config/tc-mips.c (macro): Subtract 8 from offset in non PIC l.dIan Lance Taylor2-1/+18
case. See comment.
1993-11-30Add copyright notices and comments and a ChangeLog entry for Sean'sIan Lance Taylor1-0/+10
work.
1993-11-30Irix 4 core support entries.Ian Lance Taylor1-0/+16
1993-11-30 * irix-core.c: New file for Irix 4 and Irix 5 core support.Ian Lance Taylor2-2/+18
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.
1993-11-30handle space quoting issuesDavid D. Zuhn2-1/+19
1993-11-30New file for Irix 4 and Irix 5 core file support. Split out ofIan Lance Taylor1-0/+1
coff-mips.c.
1993-11-30 * gas/hppa/more.parse/parse.exp: Test for error on for subspaceJeff Law4-1/+12
directive is an XFAIL for SOM assmeblers. * gas/hppa/reloc/reloc.exp: Remove XFAIL for relocation on cross-subspace call test.