aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2002-05-31*** empty log message ***gdbadmin1-1/+1
2002-05-31daily updateAlan Modra1-1/+1
2002-05-30 * config/tc-mips.c (OPTION_NO_M7000_HILO_FIX): Rename toThiemo Seufer3-4/+12
OPTION_MNO_7000_HILO_FIX. Add alternate "mno-fix7000" command line switch conforming to gcc conventions. * doc/c-mips.texi: Document -mno-fix7000 instead of no-mfix-7000.
2002-05-30 * config/tc-mips.c (macro_build_jalr): New Function.Thiemo Seufer2-82/+201
(md_begin): NewABI uses big GOTs. (macro_build): Recognize BFD_RELOC_MIPS_GOT_DISP, BFD_RELOC_MIPS_GOT_PAGE, BFD_RELOC_MIPS_GOT_OFST as valid. (load_address): Add some NewABI PIC support. (macro): Likewise. (md_apply_fix): Special handling for BFD_RELOC_MIPS_JALR. (tc_gen_reloc): Don't encode NewABI vtables in REL relocations.
2002-05-30Make safe_read_memory_integer() return non-zero result when successful.Kevin Buettner2-3/+24
2002-05-30 * doc/c-alpha.texi: Add docs for tls relocations.Richard Henderson2-0/+56
2002-05-30 * config/tc-mips.c (load_address): Use mips_gp_register insteadThiemo Seufer2-14/+26
of hardcoded value. Remove dbl parameter, use HAVE_32BIT_ADDRESSES instead. (macro): Use mips_gp_register instead of hardcoded value.
2002-05-30include/elf/Richard Henderson18-416/+1391
* alpha.h (R_ALPHA_TLSGD, R_ALPHA_TLSLDM, R_ALPHA_DTPMOD64, R_ALPHA_GOTDTPREL, R_ALPHA_DTPREL64, R_ALPHA_DTPRELHI, R_ALPHA_DTPRELLO, R_ALPHA_DTPREL16, R_ALPHA_GOTTPREL, R_ALPHA_TPREL64, R_ALPHA_TPRELHI, R_ALPHA_TPRELLO, R_ALPHA_TPREL16): New. bfd/ * elf64-alpha.c (ALPHA_ELF_LINK_HASH_LU_TLSGD, ALPHA_ELF_LINK_HASH_LU_TLSLDM, ALPHA_ELF_LINK_HASH_LU_FUNC): New. (ALPHA_ELF_GOT_ENTRY_RELOCS_DONE): Remove. (ALPHA_ELF_GOT_ENTRY_RELOCS_XLATED): Remove. (struct alpha_elf_got_entry): Add reloc_type, reloc_done, reloc_xlated. (struct alpha_elf_obj_tdata): Rename total_got_entries and n_local_got_entries to total_got_size and local_got_size. (elf64_alpha_howto, elf64_alpha_reloc_map): Update for TLS relocs. (alpha_got_entry_size): New. (elf64_alpha_relax_with_lituse): Use it. (elf64_alpha_relax_without_lituse): Likewise. (MAX_GOT_SIZE): Rename from MAX_GOT_ENTRIES. (get_got_entry): New. (elf64_alpha_check_relocs): Handle TLS relocs. Reorganize. (elf64_alpha_adjust_dynamic_symbol): Test LU_FUNC as a mask. (elf64_alpha_merge_ind_symbols): Check gotent->reloc_type. (elf64_alpha_can_merge_gots, elf64_alpha_merge_gots): Likewise. (elf64_alpha_calc_got_offsets_for_symbol): Use alpha_got_entry_size. (elf64_alpha_calc_got_offsets): Likewise. (alpha_dynamic_entries_for_reloc): New. (elf64_alpha_calc_dynrel_sizes): Use it. (elf64_alpha_size_dynamic_sections): Likewise. (elf64_alpha_relocate_section): Handle TLS relocations. * reloc.c: Add Alpha TLS relocations. * bfd-in2.h, libbfd.h: Rebuild. gas/ * expr.h (operatorT): Add O_md17..O_md32. * config/tc-alpha.c (O_lituse_tlsgd, O_lituse_tlsldm, O_tlsgd, O_tlsldm, O_gotdtprel, O_dtprelhi, O_dtprello, O_dtprel, O_gottprel, O_tprelhi, O_tprello, O_tprel): New. (USER_RELOC_P, alpha_reloc_op_tag, debug_exp): Include them. (DUMMY_RELOC_LITUSE_TLSGD, DUMMY_RELOC_LITUSE_TLSLDM): New. (LITUSE_TLSGD, LITUSE_TLSLDM): New. (struct alpha_reloc_tag): Add master, saw_tlsgd, saw_tlsld, saw_lu_tlsgd, saw_lu_tlsldm. Make multi_section_p a bit field. (md_apply_fix3): Handle TLS relocations. (alpha_force_relocation, alpha_fix_adjustable): Likewise. (alpha_adjust_symtab_relocs): Sort LITERAL relocs after the associated TLS reloc. Check lituse_tls relocs match up. (emit_insn): Handle TLS relocations. (ldX_op): Remove. gas/testsuite/ * gas/alpha/elf-tls-1.s, gas/alpha/elf-tls-1.d: New. * gas/alpha/elf-tls-2.s, gas/alpha/elf-tls-1.l: New. * gas/alpha/elf-tls-3.s, gas/alpha/elf-tls-1.l: New. * gas/alpha/alpha.exp: Run them.
2002-05-30 * ld-bootstrap/bootstrap.exp: Test --relax.Richard Henderson2-2/+13
2002-05-30 * config/tc-mips.c (mips_gprel_offset): New variable.Thiemo Seufer2-1/+7
(s_gpvalue): Use it.
2002-05-302002-05-30 Michael Chastain <mec@shout.net>Michael Chastain3-0/+190
From Benjamin Kosnik <bkoz@redhat.com> * gdb.c++/m-static.cc: New file. * gdb.c++/m-static.exp: New file.
2002-05-30d10v fixes.Tom Rix2-72/+77
2002-05-30Some d10v gas tests.Tom Rix79-0/+5593
2002-05-30Fix for invalid conflict warning.Tom Rix2-2/+7
2002-05-30* lf.c (lf_print__gnu_copyleft): Convert multiline strings toDJ Delorie4-44/+51
compatible format. * gen-idecode.c (print_run_until_stop_body): Likewise. * gen-model.c (gen_model_c): Likewise.
2002-05-30Remove double printed import table lines; add Bound-To comment.Nick Clifton2-69/+37
2002-05-30* NEWS: Add entry for VAX ELF support.Jason Thorpe2-0/+8
2002-05-30* configure.in (vax-*-netbsd*): Don't build gas for thisJason Thorpe2-0/+9
platform.
2002-05-302002-05-29 Matt Thomas <matt@3am-software.com>Jason Thorpe6-252/+71
Jason Thorpe <thorpej@wasabisystems.com> * Makefile.am (ALL_EMULATIONS): Add eelf32vax.o and evaxnbsd.o. (eelf32vax.c) (evaxnbsd.c): New rules. * Makefile.in: Regenerate. * configure.tgt (vax-*-netbsdelf*) (vax-*-netbsdaout*) (vax-*-netbsd*): New targets. * emulparams/elf32vax.sh: New file. * emulparams/vaxnbsd.sh: New file.
2002-05-302002-05-29 Matt Thomas <matt@3am-software.com>Jason Thorpe10-684/+2462
* Makefile.am (BFD32_BACKENDS): Add elf32-vax.lo. (BFD32_BACKENDS_CFILES): Add elf32-vax.c. (elf32-vax.lo): New rule. * Makefile.in: Regenerate. * configure.in (bfd_elf32_vax_vec) (vaxnetbsd_vec): New vectors. * configure: Regenerate. * config.bfd (vax-*-netbsdelf*) (vax-*-netbsdaout*) (vax-*-netbsd*): New targets. * elf32-vax.c: New file. * reloc.c: Add VAX relocations. * bfd-in2.h: Regenerate. * targets.c (_bfd_target_vector): Add bfd_elf32_vax_vec.
2002-05-302002-05-29 Matt Thomas <matt@3am-software.com>Jason Thorpe2-0/+55
* vax.h: New file
2002-05-30Fix typo in previous entry.Jason Thorpe1-2/+2
2002-05-30* Makefile.in (ppc_tdep_h): Define.Jason Thorpe16-435/+448
(ppc-linux-nat.o) (ppc-linux-tdep.o) (rs6000-tdep.o): Use $(ppc_tdep_h). (ppc-sysv-tdep.o) (ppcnbsd-nat.o) (ppcnbsd-tdep.o): New dependency lists. * ppc-tdep.h: Use generic OS ABI framework. * ppc-linux-tdep.c (_initialize_ppc_linux_tdep, ppc_linux_init_abi): New functions. (ppc_sysv_abi_broken_use_struct_convention) (ppc_sysv_abi_use_struct_convention) (ppc_sysv_abi_push_arguments): Move to... * ppc-sysv-tdep.c: ...here. * ppcnbsd-nat.c: Don't include gdbcore.h and regcache.h. * rs6000-tdep.c (process_note_abi_tag_sections) (get_elfosabi): Remove. (rs6000_gdbarch_init): Use generic OS ABI framework. (rs6000_dump_tdep): New function. (_initialize_rs6000_tdep): Use gdbarch_register. * config/powerpc/linux.mt (TDEPFILES): Add ppc-sysv-tdep.o. * config/powerpc/nbsd.mh (NATDEPFILES): Remove solib-legacy.o. * config/powerpc/aix.mt (TDEPFILES): Use ppc-sysv-tdep.o instead of ppc-linux-tdep.o. * config/powerpc/nbsd.mt (TDEPFILES): Likewise. * config/powerpc/ppc-eabi.mt (TDEPFILES): Likewise. * config/powerpc/ppc-sim.mt (TDEPFILES): Likewise. * config/powerpc/ppcle-eabi.mt (TDEPFILES): Likewise. * config/powerpc/ppcle-sim.mt (TDEPFILES): Likewise. * config/powerpc/vxworks.mt (TDEPFILES): Likewise.
2002-05-30 * MAINTAINERS: Add self as M68k maintainer.Ben Elliston2-0/+5
2002-05-30* macroscope.c (default_macro_scope): Put `void' in empty argumentJim Blandy2-1/+6
list.
2002-05-30*** empty log message ***gdbadmin1-1/+1
2002-05-29* config.bfd (arm-*-netbsd*): Add bfd_elf32_littlearm_vecJason Thorpe2-0/+6
and bfd_elf32_bigarm_vec to targ_selvecs.
2002-05-29* peXXigen.c (pe_print_idata): Fix seg faults on printing import tables withChristopher Faylor2-71/+77
auto-imported symbols.
2002-05-29Set the FSR and FAR registers if a Data Abort is detected.Nick Clifton2-1/+13
2002-05-29* Makefile.in (arch-utils.o): Add $(sim_regno_h).Andrew Cagney8-25/+37
* arch-utils.c: Include "sim-regno.h". * gdbarch.sh: Don't include "sim-regno.h". * gdbarch.h, gdbarch.c: Regenerate. * sim-regno.h (legacy_register_sim_regno): Move declaration from here. * arch-utils.h (legacy_register_sim_regno): To here. * remote-sim.c (legacy_register_sim_regno): Move function from here. * arch-utils.c (legacy_register_sim_regno): To here.
2002-05-29Fix genreation of arm <->thumb glue stubs by ensuring that they are in the ↵Nick Clifton6-50/+124
last section linked.
2002-05-29Move declaration and initialisation of saw_line and saw_func out of for loop.Nick Clifton1-0/+6
(Actual patch accidentally checked in yesterday!)
2002-05-29 * binutils-all/objcopy.exp (strip_test_with_saving_a_symbol):Alan Modra2-23/+29
Revert 2001-11-15. Instead allow `D main'.
2002-05-29 * elf64-ppc.c (ppc64_elf_get_symbol_info): New function.Alan Modra3-0/+27
(bfd_elf64_get_symbol_info): Define. * elfxx-target.h (bfd_elfNN_get_symbol_info): Only define if undef.
2002-05-292002-05-28 Michael Snyder <msnyder@redhat.com>Michael Snyder2-9/+14
* gdb.base/call-ar-st.exp: Allow for reduced floating point precision.
2002-05-29* sim-regno.h: New file.Andrew Cagney10-48/+164
* Makefile.in (sim_regno_h): Define. (d10v-tdep.o, remote-sim.o): Add dependency on $(sim_regno_h). * remote-sim.c: Include "sim-regno.h" and "gdb_assert.h". (legacy_register_sim_regno): New function. (one2one_register_sim_regno): New function. (gdbsim_fetch_register): Rewrite. (gdbsim_store_register): Only store a register when REGISTER_SIM_REGNO is valid. * d10v-tdep.c: Include "sim-regno.h". (d10v_ts2_register_sim_regno): Add legacy_regiter_sim_regno check. (d10v_ts3_register_sim_regno): Ditto. * gdbarch.sh: Include "sim-regno.h". (REGISTER_SIM_REGNO): Set default to legacy_register_sim_regno. * gdbarch.h, gdbarch.c: Regenerate. * arch-utils.h (default_register_sim_regno): Delete declaration. * arch-utils.c (default_register_sim_regno): Delete function.
2002-05-29 * cpu-h8300.c: Make default h8300 machine first in machine list.Alan Modra2-25/+20
2002-05-29*** empty log message ***gdbadmin1-1/+1
2002-05-29daily updateAlan Modra1-1/+1
2002-05-282002-05-28 Marek Michalkiewicz <marekm@amelek.gda.pl>Marek Michalkiewicz2-0/+8
* configure.in (noconfigdirs): Don't compile libiberty, libstdcxx and libgcj for AVR.
2002-05-28 * config/tc-mips.c: Replace GP in comments by $gp.Thiemo Seufer2-67/+94
(mips_big_got): Initialize. (mips_trap): Initialize. (load_address): Use mips_gp_register instead of hardcoded value. Remove dbl parameter, use HAVE_32BIT_ADDRESSES instead. (macro): Use mips_gp_register instead of hardcoded value. (macro2): Change load_address calls. (md_pcrel_from): Comment formatting. (s_cpload): Use mips_gp_register instead of hardcoded value. (s_cprestore): Likewise. Comment formatting. (s_gpword): Fix data type. (s_cpadd): Use mips_gp_register instead of hardcoded value. (nopic_need_relax): Replace GP in comments by $gp. (mips_elf_final_processing): Better comment.
2002-05-28* ppcnbsd-nat.c: Rewrite.Jason Thorpe6-106/+346
* ppcnbsd-tdep.c: New file. * ppcnbsd-tdep.h: New file. * config/powerpc/nbsd.mh (NATDEPFILES): Remove corelow.o, solib.o, and solib-svr4.o. * config/powerpc/nbsd.mt (TDEPFILES): Add ppcnbsd-tdep.o, nbsd-tdep.o, and corelow.o.
2002-05-28Add DLX targetNick Clifton2-2/+6
2002-05-282002-05-28 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni3-4/+23
* interp.c (sim_create_inferior): Add comment. From Alan Matsuoka <alanm@redhat.com>: From 2001-04-27 Jason Eckhardt <jle@cygnus.com>: * simops.c (OP_4400): Output "mvf0f" instead of "mf0f". (OP_4401): Output "mvf0t" instead of "mf0t". (OP_460B): Do not output a flag register. (OP_4609): Do not output a flag register.
2002-05-28* MAINTAINERS (--enable-gdb-build-warnings): Rewrite script to useAndrew Cagney2-15/+36
`tr' and `sed'. Mention that `broken' targets are not expected to build.
2002-05-28Add noew about DLX contribution.Nick Clifton2-0/+3
2002-05-28Add DLX targetNick Clifton59-197/+3937
2002-05-28 * ld-cris/libdso-2.d: Tweak for combreloc now default on.Hans-Peter Nilsson2-15/+19
2002-05-28daily updateAlan Modra1-1/+1
2002-05-28*** empty log message ***gdbadmin1-1/+1