aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
1999-08-05 Based on patches from Donn Terry <donn@interix.com>:Ian Lance Taylor5-114/+258
* coffcode.h (enum coff_symbol_classification): Define. (bfd_coff_backend_data): Rename _bfd_coff_sym_is_global to _bfd_coff_classify_symbol. Change return type. (bfd_coff_classify_symbol): Rename from bfd_coff_sym_is_global. (coff_slurp_symbol_table): Use coff_classify_symbol. (coff_classify_symbol): New static function. (coff_sym_is_global): Never define. (bfd_coff_std_swap_table): Initialize with coff_classify_symbol. * cofflink.c (coff_link_check_ar_symbols): Use bfd_coff_classify_symbol rather than bfd_coff_sym_is_global. (coff_link_add_symbols): Likewise. (_bfd_coff_link_input_bfd): Likewise. * coff-sh.c (bfd_coff_small_swap_table): Initialize with coff_classify_symbol. * libcoff.h: Rebuild.
1999-08-05 * xmalloc.c: Control all uses of SBRK with a single define,Ian Lance Taylor2-12/+23
USE_SBRK. Don't define it if __INTERIX.
1999-08-051999-08-05 Donn Terry <donn@interix.com>Ian Lance Taylor7-4/+47
* emulparams/i386pe.sh: Define ENTRY, SUBSYSTEM, and INITIAL_SYMBOL_CHAQR. * emulparams/i386pe_posix.sh: New file. * Makefile.am (YACC): If bison is not in the source tree, use @YACC@ rather than bison -y. (LEX): If flex is not in the source tree, use @LEX@ rather than flex. (ALL_EMULATIONS): Add ei386pe_posix.o. (ei386pe_posix.c): New target. * configure.tgt (i[3456]86-*-interix*): New target. * configure.host (i[3456]86-pc-interix*): New host. * Makefile.in: Rebuild.
1999-08-051999-08-05 Donn Terry <donn@interix.com>Ian Lance Taylor4-166/+188
* config/te-interix.h: New file. * configure.in (i386-*-interix*): New target. * configure: Rebuild.
1999-08-051999-08-05 Donn Terry <donn@interix.com>Ian Lance Taylor5-77/+97
* Makefile.am (YACC): If bison is not in the source tree, use @YACC@ rather than bison -y. (LEX): If flex is not in the source tree, use @LEX@ rather than flex. * configure.in: Build dlltool for i[3-6]86-*-interix. * Makefile.in, configure: Rebuild.
1999-08-05 * libhppa.h (R_HPPA_LTPSEL, R_HPPA_RTPSEL): New field selectorsJeff Law2-2/+9
(e_ltpsel, e_rtpsel): Similarly.
1999-08-05 * elf-hppa.h (_bfd_elf_hppa_gen_reloc_type): Handle 21bit e_ltpselJeff Law2-0/+13
and 14bit ertpsel. Handle 64bit psel.
1999-08-05 * config/tc-hppa.c (pa_chk_field_selector): Allow 3 byteJeff Law2-2/+8
selectors for ELF too. (selector_table): Add "ltp" and "rtp" selectors.
1999-08-04 * elf32-mips.c (_bfd_mips_elf_relocate_section): Tweak HI16/LO16Mark Mitchell2-7/+21
handling for REL relocations. And only left-shift R_MIPS26 relocation addends where necessary.
1999-08-04Support for gcc to generate 16-bit i386 code. (.code16gcc)Alan Modra6-65/+139
1999-08-04 * elf32-mips.c (mips_elf_next_lo16_addend): Rename to ...Mark Mitchell2-17/+29
(mips_elf_next_lo16_relocation): Don't compute the addend here. Just return the relocation found. (mips_elf_relocate_section): Pull the LO16 addend out of the section itself when using REL relocations.
1999-08-03 * elf32-mips.c (mips_elf_calculate_relocation): RestoreMark Mitchell2-0/+19
_DYNAMIC_LINK handling and handling of undefined symbols in shared libraries.
1999-08-03 * emulparams/elf32ppc.sh (MAXPAGESIZE): Change to 0x10000.Ian Lance Taylor3-2/+7
* emulparams/elf32ppclinux.sh (MAXPAGESIZE): Likewise.
1999-08-03 * elf32-ppc.c (ppc_elf_relocate_section): Don't use the relocationIan Lance Taylor2-1/+19
value of a symbol in a SEC_DEBUGGING section. Warn when doing a relocation against a symbol in an input section with no output section. From Daniel Jacobowitz <drow@false.org>.
1999-08-03 * coff-stgo32.c (go32_stubbed_coff_object_p): Remove; not used.Ian Lance Taylor2-52/+2
1999-08-03 * acinclude.m4 (BFD_CC_FOR_BUILD): Change to use conftest, and toIan Lance Taylor4-102/+117
look for generated file correctly. * aclocal.m4, configure: Rebuild.
1999-08-03 * floatformat.c: Add casts to avoid signed/unsigned warnings.Ian Lance Taylor3-7/+16
* pexecute.c: Add ATTRIBUTE_UNUSED as needed on Unix.
1999-08-03 * Makefile.in (install_to_libdir): Change $(TARGETLIB).n toIan Lance Taylor1-6/+6
$(TARGETLIB)n so it works on MSDOS. (install_to_tooldir): Likewise.
1999-08-031999-08-03 H.J. Lu <hjl@gnu.org>Ian Lance Taylor3-11/+7
* Makefile.am (ALL_EMULATIONS): Remove ego32.o. (ego32.c): Remove. * Makefile.in: Rebuild.
1999-08-03 * config/obj-coff.c (coff_frob_symbol): Always update set_end withIan Lance Taylor6-75/+82
next_set_end even if the end symbol is being discarded. * gasp.c: Add ATTRIBUTE_UNUSED as needed for non-BFD_ASSEMBLER. * output-file.c, symbols.c, config/tc-i386.c: Likewise. * config/obj-coff.c: Likewise. (seg_info_type): Remove. (seg_info_off_by_4): Change to array of segT. (s_get_segment): Adjust accordingly. (obj_pseudo_table): Fully initialize sentinel entry.
1999-08-03 * config/tc-mips.c (append_insn): Correct INSN_SYNC test. FromIan Lance Taylor2-1/+6
Ralf Baechle <ralf@uni-koblenz.de>.
1999-08-03Rationalize some of the i386 intel mode code.Alan Modra2-946/+892
Indentation and white space changes.
1999-08-03Fix typoMark Mitchell1-1/+1
1999-08-03 * elf32-mips.c (_bfd_mips_elf_relocate_section): Handle R_MIPS_26Mark Mitchell2-9/+28
and R_MIPS16_26 relocations correctly when relocating. (_bfd_mips_elf_check_relocs): Don't assume that R_MIPS_CALL_HI16 and R_MIPS_CALL_LO16 are for global symbols.
1999-08-03* config/tc-i386.c: Add INFER_ADDR_PREFIX code. Fix 16 bit mode nop.Alan Modra2-395/+436
1999-08-02import gdb-1999-08-02 snapshotJason Molenda88-640/+3223
1999-08-02This commit was generated by cvs2svn to track changes on a CVS vendorJason Molenda57-1624/+3715
branch.
1999-08-02import gdb-1999-08-02 snapshotJason Molenda57-1624/+3715
1999-08-02Jakub Jelinek <jj@ultra.linux.cz>Richard Henderson3-11/+13
* elflink.h (elf_bfd_final_link): Copy the whole isym, not just some fields. * elf64-sparc.c (sparc64_elf_output_arch_syms): Declare used variables and initialize them.
1999-08-01Fix typoMark Mitchell1-6/+4
1999-08-01 * elf32-mips.c (_bfd_mips_elf_final_link): Handle the case whereMark Mitchell2-6/+22
there are no global symbols requiring GOT entries. (_bfd_mips_elf_size_dynamic_sections): Likewise. (_bfd_mips_elf_finish_dynamic_symbol): Likewise. (_bfd_mips_elf_finish_dynamic_sections): Likewise.
1999-08-01 * elf32-mips.c (mips_elf_calculate_relocation): Undefined weakMark Mitchell2-8/+26
symbols are considered to have the value zero. (_bfd_mips_elf_relocate_section): Don't try to perform a relocation for an undefined symbol. (_bfd_mips_elf_check_relocs): Allocate locate GOT space for local GOT16 relocations.
1999-07-30Jakub Jelinek <jj@ultra.linux.cz>Richard Henderson2-9/+25
* elf64-sparc.c (sparc64_elf_build_plt): Cosmetic change - ABI wants ba,a,pt %xcc instead of %icc. Emit correct .PLT0-(.PLTN+4) initial value into the pointer slots of large PLT entries. (sparc64_elf_plt_ptr_offset): Fix calculation. (sparc64_elf_finish_dynamic_symbol): Negative value of R_SPARC_JMP_SLOT addend should be relative to load address, not .plt section start. (sparc64_elf_size_info): Sparc64 uses 32bit .hash entries.
1999-07-30Jakub Jelinek <jj@ultra.linux.cz>Richard Henderson4-2/+159
* config/tc-sparc.c (md_longopts): Add --no-undeclared-regs option. (sparc_ip): Warn if %g2 or %g3 register is used and not covered by .register pseudo-op if -64 and --no-undeclared-regs. (s_register, sparc_adjust_symtab): New functions. * config/tc-sparc.h (tc_adjust_symtab, sparc_adjust_symtab): Declare sparc_adjust_symtab as tc_adjust_symtab. * doc/c-sparc.texi: Add description of #ignore special literal for .register pseudo-op.
1999-07-30Jakub Jelinek <jj@ultra.linux.cz>Richard Henderson6-13/+463
* elf-bfd.h (struct elf_backend_data): Add print_symbol_all and output_arch_syms backend methods. * elfxx-target.h: Likewise. * elf64-sparc.c (sparc64_elf_bfd_link_hash_table_create, sparc64_elf_add_symbol_hook, sparc64_elf_output_arch_syms, sparc64_elf_get_symbol_type, sparc64_elf_symbol_processing): New functions. (sparc64_elf_size_dynamic_sections): Leave space for STT_REGISTER symbols in .dynsym, add their names into .dynstr. Put those symbols into dynlocal. (sparc64_elf_finish_dynamic_sections): Fix up DT_SPARC_REGISTER pointers to STT_REGISTER symbols in dynsym section. (sparc64_elf_print_symbol_all): New function. * elf.c (bfd_elf_print_symbol): Allow special backend symbol printing using the print_symbol_all hook.
1999-07-30Correctly handle Vtentry relocs.Catherine Moore2-1/+6
1999-07-30Fix up vtable entry relocsCatherine Moore2-0/+10
1999-07-30* Makefile.in (check-target-libio): Remove all-target-libstdc++Alan Modra2-1/+6
dependency as this causes "make check" to globally "make all"
1999-07-29 * elf32-mips.c (_bfd_mips_elf_final_link): Only re-sort dynsyms ifRichard Henderson2-1/+6
dynamic_sections_created.
1999-07-29 * elf32-mips.c (mips_info_to_howto_rel): Split out switch to ...Richard Henderson2-14/+31
(mips_rtype_to_howto): ... new function. (_bfd_mips_elf_relocate_section): Use it.
1999-07-28Fix an overflow checking bug uncovered when a 32 bit target is compiledAlan Modra3-18/+13
with a 64 bit bfd.
1999-07-28Fix oops.Jeff Law1-0/+1
1999-07-28 * hppa-dis.c (print_insn_hppa): Remove unnecessary test in 'E'Jeff Law2-5/+6
code.
1999-07-28 * hppa.h (pa_opcodes): Add "pushnom" and "pushbts".Jeff Law2-10/+17
* hppa.h (pa_opcodes): Mark all PA2.0 opcodes with FLAG_STRICT.
1999-07-28 * elf32-mips.c (_bfd_mips_elf_relocate_section): Fix typo.Mark Mitchell2-1/+5
1999-07-28Notice multlib switches.Nick Clifton2-6/+62
1999-07-28 * config/tc-hppa.c (pa_ip): Add 'J' and 'K' codeJeff Law2-0/+29
processing.
1999-07-28 * hppa.h (pa_opcodes): Change xmpyu, fmpyfadd,Jeff Law2-3/+8
and fmpynfadd to use 'J' and 'K' instead of 'E' and 'X'.
1999-07-27 * config/tc-sparc.h (tc_fix_adjustable): Don't adjust GOT, PLT, orIan Lance Taylor2-0/+11
VTABLE relocations.
1999-07-27Change to strip out only symbols that start with LOCAL_LABEL_PREFIX followedNick Clifton2-19/+27
by 'L'.