summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* include/elf/Richard Henderson2002-05-307-391/+1040
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 Michael Chastain <mec@shout.net>Michael Chastain2002-05-303-0/+190
| | | | | | | From Benjamin Kosnik <bkoz@redhat.com> * gdb.c++/m-static.cc: New file. * gdb.c++/m-static.exp: New file.
* Fix for invalid conflict warning.Tom Rix2002-05-302-2/+7
|
* * lf.c (lf_print__gnu_copyleft): Convert multiline strings toDJ Delorie2002-05-304-44/+51
| | | | | | compatible format. * gen-idecode.c (print_run_until_stop_body): Likewise. * gen-model.c (gen_model_c): Likewise.
* Remove double printed import table lines; add Bound-To comment.Nick Clifton2002-05-302-69/+37
|
* * configure.in (vax-*-netbsd*): Don't build gas for thisJason Thorpe2002-05-302-0/+9
| | | | platform.
* 2002-05-29 Matt Thomas <matt@3am-software.com>Jason Thorpe2002-05-3010-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-29 Matt Thomas <matt@3am-software.com>Jason Thorpe2002-05-302-0/+55
| | | | * vax.h: New file
* Fix typo in previous entry.Jason Thorpe2002-05-301-2/+2
|
* * Makefile.in (ppc_tdep_h): Define.Jason Thorpe2002-05-3016-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.
* * macroscope.c (default_macro_scope): Put `void' in empty argumentJim Blandy2002-05-302-1/+6
| | | | list.
* *** empty log message ***gdbadmin2002-05-301-1/+1
|
* * config.bfd (arm-*-netbsd*): Add bfd_elf32_littlearm_vecJason Thorpe2002-05-292-0/+6
| | | | and bfd_elf32_bigarm_vec to targ_selvecs.
* * peXXigen.c (pe_print_idata): Fix seg faults on printing import tables withChristopher Faylor2002-05-292-71/+77
| | | | auto-imported symbols.
* file mi-events.c was initially added on branch kseitz_interps-20020528-branch.Keith Seitz2002-05-290-0/+0
|
* file mi.h was initially added on branch kseitz_interps-20020528-branch.Keith Seitz2002-05-290-0/+0
|
* Set the FSR and FAR registers if a Data Abort is detected.Nick Clifton2002-05-292-1/+13
|
* * Makefile.in (arch-utils.o): Add $(sim_regno_h).Andrew Cagney2002-05-298-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.
* Fix genreation of arm <->thumb glue stubs by ensuring that they are in the ↵Nick Clifton2002-05-294-39/+70
| | | | last section linked.
* Move declaration and initialisation of saw_line and saw_func out of for loop.Nick Clifton2002-05-291-0/+6
| | | | (Actual patch accidentally checked in yesterday!)
* * elf64-ppc.c (ppc64_elf_get_symbol_info): New function.Alan Modra2002-05-293-0/+27
| | | | | (bfd_elf64_get_symbol_info): Define. * elfxx-target.h (bfd_elfNN_get_symbol_info): Only define if undef.
* 2002-05-28 Michael Snyder <msnyder@redhat.com>Michael Snyder2002-05-292-9/+14
| | | | | * gdb.base/call-ar-st.exp: Allow for reduced floating point precision.
* * sim-regno.h: New file.Andrew Cagney2002-05-2910-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.
* * cpu-h8300.c: Make default h8300 machine first in machine list.Alan Modra2002-05-292-25/+20
|
* daily updateAlan Modra2002-05-291-1/+1
|
* *** empty log message ***gdbadmin2002-05-291-1/+1
|
* 2002-05-28 Marek Michalkiewicz <marekm@amelek.gda.pl>kseitz_interps-20020528-branchpointMarek Michalkiewicz2002-05-282-0/+8
| | | | | * configure.in (noconfigdirs): Don't compile libiberty, libstdcxx and libgcj for AVR.
* * ppcnbsd-nat.c: Rewrite.Jason Thorpe2002-05-286-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.
* Add DLX targetNick Clifton2002-05-282-2/+6
|
* 2002-05-28 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2002-05-283-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.
* * MAINTAINERS (--enable-gdb-build-warnings): Rewrite script to useAndrew Cagney2002-05-282-15/+36
| | | | | `tr' and `sed'. Mention that `broken' targets are not expected to build.
* Add DLX targetNick Clifton2002-05-2829-22/+1718
|
* daily updateAlan Modra2002-05-281-1/+1
|
* *** empty log message ***gdbadmin2002-05-281-1/+1
|
* 2002-05-27 Michael Chastain <mec@shout.net>Michael Chastain2002-05-273-0/+171
| | | | | | | From Benjamin Kosnik <bkoz@redhat.com> * gdb.c++/m-data.cc: New file. * gdb.c++/m-data.exp: New file.
* 2002-05-27 Michael Chastain <mec@shout.net>Michael Chastain2002-05-273-0/+216
| | | | | | | From Benjamin Kosnik <bkoz@redhat.com> * gdb.c++/try_catch.cc: New file. * gdb.c++/try_catch.exp: New file.
* 2002-05-27 Michael Chastain <mec@shout.net>Michael Chastain2002-05-272-5/+9
| | | | * gdb.c++/local.exp: Accept more nested types in output.
* Only perform access checks if 'check' is set.Nick Clifton2002-05-277-18/+25
| | | | | Report unknown machine numbers. Formatting tidy ups.
* Fixed date in my last ChangeLog entryMichal Ludvig2002-05-271-1/+1
|
* 2002-05-24 Michal Ludvig <mludvig@suse.cz>Michal Ludvig2002-05-272-22/+12
| | | | | * x86-64-tdep.c (x86_64_skip_prologue): Remove obsolete note. Let PC point right after the prologue before looking up symbols.
* Thumb BL instruction: Do not set LR to pc + 2, it has already been advanced.Nick Clifton2002-05-272-4/+11
|
* 2002-05-27 Martin M. Hunt <hunt@redhat.com>Martin Hunt2002-05-274-1/+48
| | | | | | | | | | | | | * i386-tdep.c (i386_register_virtual_type): Return builtin_type_vec128i for SSE registers. * gdbtypes.h (builtin_type_vec128i): Declare. * gdbtypes.c (build_builtin_type_vec128i): New function. (builtin_type_v2_double, builtin_type_v4_int64): New types. (builtin_type_vec128i): New type for SSE2 128-bit registers. (build_gdbtypes): Initialize new builtin vector types. (_initialize_gdbtypes): Register new vector types with gdbarch.
* 2002-05-26 Michael Chastain <mec@shout.net>Michael Chastain2002-05-272-2/+6
| | | | * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
* * MAINTAINERS: ns32k is not longer an obsolete candidate,Jason Thorpe2002-05-273-9/+11
| | | | | | | since it has been multi-arch'd. * NEWS: Note that ns32k-*-* is now partial multi-arch. Move Alpha and VAX multi-arch news entries to same section as other multi-arch news.
* * ns32k-tdep.c: include gdbtypes.h, inferior.h, regcache.h,Jason Thorpe2002-05-278-249/+425
| | | | | | | | | | | | | | | | | | target.s, arch-utils.h, ns32k-tdep.h. Make many functions static. Rename some register numbers to put them in ns32k-tdep private namespace. (ns32k_get_saved_register, ns32k_gdbarch_init_32082, ns32k_gdbarch_init_32382, ns32k_gdbarch_init, ns32k_dump_tdep): New functions. (_initialize_ns32k_tdep): Use gdbarch_register. * ns32k-tdep.h: New file. * ns32knbsd-tdep.c: New file. * config/ns32k/nbsdaout.mt (TDEPFILES): Add ns32knbsd-tdep.o. * config/ns32k/tm-nbsd.h: Include "ns32k/tm-ns32k.h". (IN_SOLIB_CALL_TRAMPOLINE, REGISTER_NAME, NUM_REGS, REGISTER_BYTES, REGISTER_BYTE): Remove. * config/ns32k/tm-ns32k.h: New file. * config/ns32k/tm-umax.h: Remove.
* *** empty log message ***gdbadmin2002-05-271-1/+1
|
* daily updateAlan Modra2002-05-271-1/+1
|
* * ns32k-tdep.c (ns32k_saved_pc_after_call,Jason Thorpe2002-05-263-30/+67
| | | | | | | | | | | | | ns32k_store_struct_return, ns32k_extract_return_value, ns32k_store_return_value, ns32k_extract_struct_value_address): New functions. * config/ns32k/tm-umax.h (SAVED_PC_AFTER_CALL): Define as ns32k_saved_pc_after_call. (STORE_STRUCT_RETURN): Define as ns32k_store_struct_return. (EXTRACT_RETURN_VALUE): Define as ns32k_extract_return_value. (STORE_RETURN_VALUE): Define as ns32k_store_return_value. (EXTRACT_STRUCT_VALUE_ADDRESS): Define as ns32k_extract_struct_value_address.
* * ns32k-tdep.c (ns32k_call_dummy_words, sizeof_ns32k_call_dummy_words,Jason Thorpe2002-05-263-29/+60
| | | | | | | | | | ns32k_fix_call_dummy): New. * config/ns32k/tm-umax.h (CALL_DUMMY_WORDS): Define as ns32k_call_dummy_words. (SIZEOF_CALL_DUMMY_WORDS): Define as sizeof_ns32k_call_dummy_words. (CALL_DUMMY, CALL_DUMMY_LENGTH, CALL_DUMMY_ADDR, CALL_DUMMY_NARGS): Remove. (FIX_CALL_DUMMY): Define as ns32k_fix_call_dummy.
* * ns32k-tdep.c (ns32k_breakpoint_from_pc, ns32k_frame_chain,Jason Thorpe2002-05-264-117/+173
| | | | | | | | | | | | | | | | | | ns32k_frame_saved_pc, ns32k_frame_args_address, ns32k_frame_locals_address, ns32k_frame_init_saved_regs, ns32k_push_dummy_frame, ns32k_pop_frame): New functions. * config/ns32k/tm-nbsd.h (FRAME_SAVED_PC): Remove. * config/ns32k/tm-umax.h (INNER_THAN): Define as core_addr_lessthan. (BREAKPOINT_FROM_PC): Define as ns32k_breakpoint_from_pc. (BREAKPOINT): Remove.. (FRAME_CHAIN): Define as ns32k_frame_chain. (FRAME_SAVED_PC): Define as ns32k_frame_saved_pc. (FRAME_ARGS_ADDRESS): Define as ns32k_frame_args_address. (FRAME_LOCALS_ADDRESS): Define as ns32k_frame_locals_address. (FRAME_FIND_SAVED_REGS): Remove. (FRAME_INIT_SAVED_REGS): Define as ns32k_frame_init_saved_regs. (PUSH_DUMMY_FRAME): Define as ns32k_push_dummy_frame. (POP_FRAME): Define as ns32k_pop_frame.