aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
1995-07-13 * config/obj-coff.c (fixup_segment): Support MD_APPLY_FIX3.Ian Lance Taylor1-2/+6
1995-07-12 * configure.in (configdirs): Remove gdb.chill from default listFred Fish2-1/+9
of subdirs and then add it back in only if doing a native build. The current chill compiler does not yet work in any cross build.
1995-07-12fix some compilation warnings from sun ccKen Raeburn3-10/+23
1995-07-12fix more compilation bugsKen Raeburn2-2/+25
1995-07-12 * Revert all signal changes from Jul 6.Fred Fish2-12/+21
* gdb.base/{sigall.c signals.c}: Define away signal() and alarm() for sh-hms targets, allowing these tests to link, with no other changes. Testing is suppressed by setting "nosignals" in site.exp.
1995-07-12 * ldemul.h (ldemul_open_dynamic_archive): Add search parameter toIan Lance Taylor2-13/+41
declaration. (ld_emulation_xfer_type): Add search parameter to open_dynamic_archive entry point. * ldemul.c (ldemul_open_dynamic_archive): Add search parameter. * ldfile.c (ldfile_try_open_bfd): Rename from try_open_bfd, and make non-static. Change all callers to use new name. (ldfile_open_file_search): Make static. If entry is dynamic, call ldemul_open_dynamic_archive. (ldfile_open_file): Don't call ldemul_open_dynamic_archive. * ldfile.h (ldfile_open_file_search): Don't declare. (ldfile_try_open_bfd): Declare. * emultempl/elf32.em (gld${EMULATION_NAME}_open_dynamic_archive): Accept search parameter. Don't search for a library, just look in a single place. * emultempl/linux.em (gld${EMULATION_NAME}_open_dynamic_archive): Likewise.
1995-07-12 * objdump.c (dump_section_stabs): Only print each stabs sectionIan Lance Taylor1-0/+7
once. (compare_relocs): Make it clear to gcc that this always returns a value.
1995-07-12Wed Jul 12 10:40:23 1995 H.J. Lu <hjl@nynexst.com>Ian Lance Taylor2-7/+52
* objcopy.c (simple_copy): Preserve errno on failure. (smart_rename): Print error mesage if simple_copy fails.
1995-07-12Initial autoconfiscation; attempting also to remove use of bfd's sysdep.h file.Ken Raeburn2-2/+43
1995-07-12* libelf.h (elf_backend_data): Use unsigned, not unsigned char, for bitfields.Ken Raeburn1-3/+3
1995-07-12 * elf.c (bfd_section_from_shdr): In case SHT_REL[A], only get theIan Lance Taylor1-1/+4
BFD section for the sh_link section if it is a SYMTAB section. PR 7392.
1995-07-11 * aoutx.h (NAME(aout,link_add_symbols)): Don't bother to checkIan Lance Taylor3-51/+9
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.
1995-07-11 * archive.c (bfd_generic_archive_p): If the archive has a map, andIan Lance Taylor1-0/+4
the target was defaulted, but the first object in the archive can not be matched with that target, then return a bad format error.
1995-07-11 * elf64-sparc.c (elf_sparc_howto_table): Set howto for WDISP16 toIan Lance Taylor1-0/+6
elf64_wdisp16_reloc. (elf64_wdisp16_reloc): New static function. (elf64_sparc_relocate_section): New static function. (elf_backend_relocate_section): Define. PR 7333.
1995-07-11 * libelf.h (struct elf_size_info): Change type of last argument toIan Lance Taylor4-9/+25
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.
1995-07-11 * doc/c-mips.texi: Document -m4010 and -mno-4010.Ian Lance Taylor1-0/+18
1995-07-11Tue Jul 11 14:28:55 1995 Jeff Spiegel <jeffs@lsil.com>Ian Lance Taylor1-12/+57
* config/tc-mips.c (mips_4010): New static variable. (interlocks): New static variable. (md_begin): Check for a cpu of "r4010". Set mips_4010 correctly. If mips_4650 or mips_4010, set interlocks. (append_insn): Check interlocks, not mips_4650. (mips_emit_delays): Likewise. (mips_ip): Only permit INSN_4010 instructions if mips_4010. (md_longopts): Add "m4010" and "no-m4010". (md_parse_option): Accept -mcpu=r4010. Handle -m4010 and -no-m4010. (md_show_usage): Document -m4010 and -no-m4010.
1995-07-11Tue Jul 11 14:23:37 1995 Jeff Spiegel <jeffs@lsil.com>Ian Lance Taylor1-0/+11
* mips-opc.c (L1): Define. (mips_opcodes): Add R4010 instructions: flushi, flushd, flushid, addciu, madd, maddu, ffc, ffs, msub, msubu, selsi, selsr, waiti, and wb. Tue Jul 11 11:49:49 1995 Ian Lance Taylor <ian@cygnus.com> * mips-opc.c (mips_opcodes): For the move pseudo-op, prefer daddu if ISA 3 and addu otherwise, replacing or, since some MIPS chips have multiple add units but only a single logical unit.
1995-07-11 * ecoff.c (struct efdr): Add new field fake.Ian Lance Taylor1-0/+11
(init_file): Initialize fake. (add_file): Add new parameter fake. Change all callers. (ecoff_build_debug): Don't warn about a missing .end for a fake file. PR 6509.
1995-07-11Tue Jul 11 12:29:49 1995 Rick Sladkey <jrs@world.std.com>Ian Lance Taylor2-8/+60
* elf.c (_bfd_elf_find_nearest_line): Handle the simple case where there is no debugging information.
1995-07-11 * ldmisc.c (vfinfo): Don't print the line number if it isn'tIan Lance Taylor1-0/+11
meaningful.
1995-07-11 * ppc-opc.c (powerpc_operands): Change CR to use a bitsize of 3,Ian Lance Taylor1-0/+17
shifted by 18, without any insertion or extraction function. (insert_cr, extract_cr): Remove.
1995-07-10 * ld.h (ld_config_type): Add field warn_constructors.Ian Lance Taylor1-1/+8
* ldmain.c (add_to_set): Warn if config.warn_constructors. (constructor_callback): Likewise. * lexsup.c (parse_args): Handle -warn-constructors. * ld.texinfo, ld.1: Document -warn-constructors. PR 7406.
1995-07-10 * emultempl/elf32.em (gld${EMULATION_NAME}_check_needed): Don'tIan Lance Taylor1-0/+3
get confused by directory names if we searched for the file. PR 7401.
1995-07-10 Based on patches from H.J. Lu <hjl@nynexst.com>:Ian Lance Taylor2-2/+15
* ldlang.h (lang_input_statement_type): Add new field dynamic. * ldlang.c (new_afile): Set dynamic from config.dynamic_link. * ldfile.c: Include bfdlink.h. (ldfile_open_file): Check dynamic field of entry, not global dynamic_link field. Don't do a dynamic search when doing a relocateable link. * ldmain.c (main): Don't warn about dynamic_link for a relocateable link. * emultempl/sunos.em (gld${EMULATION_NAME}_find_so): Skip file if dynamic is false. (gld${EMULATION_NAME}_create_output_section_statements): Always loop over input files. * Makefile.in: Rebuild dependencies.
1995-07-10split cpu-specific documentation out to separate filesKen Raeburn5-0/+1068
1995-07-10* read.c (po_hash): Now static.Ken Raeburn1-0/+4
1995-07-10 Based on patches from H.J. Lu <hjl@nynexst.com>:Ian Lance Taylor1-0/+7
* config/tc-i386.c (md_apply_fix3): Rename from md_apply_fix1. Accept pointer to value and segment. Fix OBJ_ELF PCREL case to handle global defined symbols correctly. (md_apply_fix): Remove both versions. * config/tc-i386.h (MD_APPLY_FIX3): Define.
1995-07-10 * coff-arm.c (PCRELOFFSET): Define if not already defined.Ian Lance Taylor1-1/+5
* Makefile.in: Rebuild dependencies. (BFD32_BACKENDS): Add coff-arm.o (CFILES): Add coff-arm.c, pe-arm.c, pei-arm.c.
1995-07-10 * cofflink.c (_bfd_coff_generic_relocate_section): Remove unusedIan Lance Taylor2-6/+3
local i. * coff-arm.c (coff_arm_rtype_to_howto): Don't declare.
1995-07-10 * coff-i960.c (coff_i960_relocate): Correct typo: use ! on strcmp,Ian Lance Taylor1-0/+3
not on string.
1995-07-10 * aoutx.h (NAME(aout,link_hash_table_create)): Allocate hash tableIan Lance Taylor3-7/+15
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.
1995-07-10 * configure.in: When switching on ${cpu}, use ${cpu}, notIan Lance Taylor1-0/+6
$[target_cpu}, in default case. * configure: Rebuild.
1995-07-10 * ld.texinfo, ld.1: Document -Bstatic, -Bdynamic, -Bshared, andIan Lance Taylor5-11/+86
-shared. Mon Jul 10 13:29:43 1995 Eric Youngdale <eric@aib.com> * ldmain.c (main): Set link_info.symbolic to false. * lexsup.c (parse_args): Handle -Bsymbolic.
1995-07-10 Based on patches from Eric Youngdale <eric@aib.com>:Ian Lance Taylor2-0/+40
* 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.
1995-07-10add binary.o, tekhex.oKen Raeburn2-0/+7
1995-07-10Move testsuite ChangeLog entry into testsuite ChangeLog.Ian Lance Taylor1-1/+0
1995-07-10Remove C comment characters from modified FSF address in expect scripts.Ian Lance Taylor1-1/+1
1995-07-10 * ld-versados/versados.exp: If a test fails, report it correctly:Ian Lance Taylor1-0/+38
don't try to run the next test, and don't report a pass as well as a fail.
1995-07-10 * config/m68k-coff.mt (SELECT_VECS): Rename from SELECT_VECTORS.Ian Lance Taylor1-0/+8
Correct elements to be actual BFD vector names.
1995-07-10 * Makefile.in (Makefile): Don't depend upon @frags@.Ian Lance Taylor1-2/+2
(config.status): Depend upon @frags@.
1995-07-10Remove C comment characters from modified FSF address in expect scripts.Ian Lance Taylor2-2/+2
1995-07-08 * write.c (fixup_segment): Call resolve_symbol_value onIan Lance Taylor1-0/+5
sub_symbolP, in case it isn't in the symbol table. PR 7131.
1995-07-07fsf address update, but not in COPYING filesKen Raeburn63-318/+1505
1995-07-07 * read.c (s_lcomm): For .lcomm 1, set align to 0, not 1.Ian Lance Taylor2-1/+3
PR 5167.
1995-07-07 * elfread.c (elf_symtab_read): Fix a bug ignoring compilerKung Hsu1-1/+1
generated internal labels ($LM...).
1995-07-07 * coffgen.c (coff_renumber_symbols): Sort defined symbols that areIan Lance Taylor3-34/+69
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. PR 5491.
1995-07-07clean up new config stuff for mostlyclean, distcleanKen Raeburn1-0/+5
1995-07-07 * config/obj-coff.c (coff_frob_symbol): If SF_GET_FUNCTION, setIan Lance Taylor1-0/+10
BSF_FUNCTION. (symbol_globalP, symbol_global_lastP): New global variables. (yank_symbols): Sort defined global symbols to the end, just before the undefined symbols. (glue_symbols): Add two arguments, and use them instead of referring directly to global variables. (crawl_symbols): Call glue_symbols twice, once for defined globals and once for undefined. Add corresponding know calls. PR 5491.
1995-07-07clean up new config stuff for mostlyclean, distcleanKen Raeburn1-2/+2