aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2001-01-07Update address for bug reports.Phil Blundell3-3/+9
2001-01-07Update address for bug reports.Phil Blundell2-1/+6
2001-01-07 * config.sub, config.guess: Update from subversions.Andreas Jaeger3-144/+246
2001-01-06 * configure.in: Define DEFAULT_ARCH for i386.Jan Hubicka8-174/+521
* tc-i386.c (md_assemble): Return after the error message; move testing for 64bit operands to proper place. * i386.exp: Add tests for presence of 32bit versus 64bit output format; run both 64bit and 32bit tests when format is available; add x86_64 test. * x86_64.s: New file. * x86_64.d: New file.
2001-01-062001-01-06 Jan Hubicka <jh@suse.cz>, Andreas Jaeger <aj@suse.de>Andreas Jaeger3-31/+205
* doc/as.texinfo: Document '#' as comment character for i386 and x86_64. Add AMD x86-64 into menu of machine dependent information. * doc/c-i386.texi: Document x86_64 extensions.
2001-01-05 * tc-i386.c (md_assemble): Handle third byte of the opcode as prefix.Jan Hubicka4-23/+19
* i386.h (i386_optab): Make [sml]fence template to use immext field.
2001-01-05 * i386-dis.c: Add x86_64 support.Jan Hubicka3-305/+1493
(rex): New static variable. (REX_MODE64, REX_EXTX, REX_EXTY, REX_EXTZ): New constants. (USED_REX): New macro. (Ev, Ed, Rm, Iq, Iv64, Cm, Dm, Rm*, Ob64, Ov64): New macros. (OP_I64, OP_OFF64, OP_IMREG): New functions. (OP_REG, OP_OFF): Declare. (get64, get32, get32s): New functions. (r??_reg): New constants. (dis386_att): Change templates of instruction implicitly promoted to 64bit; change e?? to RMe?? for unwind RM byte instructions. (grps): Likewise. (dis386_intel): Likewise. (dixx86_64_att): New table based on dis386_att. (dixx86_64_intel): New table based on dis386_intel. (names64, names8rex): New global variable. (names32, names16): Add extended registers. (prefix_user_t): Recognize rex prefixes. (prefix_name): Print REX prefixes nicely. (op_riprel): New global variable. (start_pc): Set type to bfd_vma. (print_insn_i386): Detect the 64bit mode and use proper table; move ckprefix after initializing the buffer; output unused rex prefixes; output information about target of RIP relative addresses. (putop): Support 'O' and 'I'. Update handling of "P', 'Q', 'R' and 'S'; (print_operand_value): New function. (OP_E, OP_G, OP_REG, OP_I, OP_J, OP_DIR, OP_OFF, OP_D): Add support for REX prefix and new modes. (get64, get32s): New. (get32): Return bfd_signed_vma type. (set_op): Initialize the op_riprel. * disassemble.c (disassembler): Recognize the x86-64 disassembly.
2001-01-052001-01-06 Ben Elliston <bje@redhat.com>Ben Elliston2-0/+20
* cgen.sh: Allow extrafiles to include the semantics files when generating an ISA-specific decoder.
2001-01-042001-01-04 Kazu Hirata <kazu@hxi.com>Kazu Hirata2-222/+217
* som.c: Fix formatting.
2001-01-042001-01-04 Michael Snyder <msnyder@mvstp600e.cygnus.com>Michael Snyder2-1/+5
* mips-tdep.c (mips_coerce_float_to_double): Fix typo in comment.
2001-01-04 * tc-i386.c (cpu_arch): Add Pentium4 and modify sledgehammer entry.Jan Hubicka3-1/+9
* NEWS: Add note about Pentium4 support.
2001-01-04 * valops.c (VALUE_SUBSTRING_START): Delete.Nicholas Duffek2-2/+4
2001-01-04 * Makefile.in (SUBDIR_CLI_OBS): Add cli/cli-utils.o.Nicholas Duffek4-2/+72
(SUBDIR_CLI_SRCS): Add cli/cli-utils.c. (cli_utils_h): New variable. (cli/cli-utils.o): New rule. * cli/cli-utils.c: New file. * cli/cli-utils.h: New file.
2001-01-04 * config/i386/tm-i386.h (REGISTER_CONVERT_TO_VIRTUAL,Nicholas Duffek2-2/+7
REGISTER_CONVERT_TO_RAW): Delete trailing semicolon.
2001-01-04 * gdbint.texinfo (POP_FRAME): Document use by return_command.Nicholas Duffek2-1/+5
2001-01-032001-01-03 Kazu Hirata <kazu@hxi.com>Kazu Hirata11-210/+208
* ecoffswap.h: Fix formatting. * elf-bfd.h: Likewise. * elfarm-nabi.c: Likewise. * elfarm-oabi.c: Likewise. * elfcode.h: Likewise. * elfcore.h: Likewise. * elflink.c: Likewise. * elflink.h: Likewise. * elfxx-ia64.c: Likewise. * elfxx-target.h: Likewise.
2001-01-03* alphabsd-nat.c, i386-linux-nat.c, i386bsd-nat.c: Fix typo in comment.J.T. Conklin4-3/+8
2001-01-032001-01-03 Kazu Hirata <kazu@hxi.com>Kazu Hirata4-78/+65
* libbfd.c: Fix formatting. * linker.c: Likewise. * lynx-core.c: Likewise.
2001-01-03 * tc-i387.c (pi, pte, pt): Update.Jan Hubicka2-16/+24
(type_names): Add new types.
2001-01-03 * tc-i386.h (CpuK6, CpuAthlon, CpuSledgehammer, CpuMMX, Cpu3dnow,Jan Hubicka4-12/+190
CpuUnknown): Renumber (CpuP4, CpuSSE2): New. (CpuUnknownFlags): Add CpuP4 and CpuSSE2 * i386.h (i386_optab): Fix 64bit pushf template; Add instructions introduced by Pentium4
2001-01-03* generalizationFrank Ch. Eigler2-15/+5
2001-01-03 Richard Sandiford <r.sandiford@redhat.com> cgen-dis.in (read_insn): Use bfd_get_bits()
2001-01-032001-01-03 Philip Blundell <pb@futuretv.com>Phil Blundell2-1/+16
* config/tc-alpha.c (alpha_force_relocation): Handle vtable relocs. (alpha_fix_adjustable): Likewise. (md_apply_fix): Likewise.
2001-01-032001-01-03 Philip Blundell <pb@futuretv.com>Phil Blundell3-0/+7
* ld-elfvsb/elfvsb.exp: Run test on Linux/Alpha. * ld-shared/shared.exp: Likewise.
2001-01-022001-01-02 Michael Snyder <msnyder@cleaver.cygnus.com>Michael Snyder2-4/+18
* sh-tdep.c (sh_extract_return_value): Allow for small return type. (sh_sh4_extract_return_value): Call sh_extract_return_value for
2001-01-02Remove prototypes for obsolete static functions.Michael Snyder1-2/+0
2001-01-02 * sparc-tdep.c: update copyright notice.Michael Snyder2-3/+4
2001-01-02Oops, fix typo in previous check-in.Michael Snyder1-1/+1
2001-01-022001-01-02 Michael Snyder <msnyder@cleaver.cygnus.com>Michael Snyder2-1/+5
* sparc-tdep.c (sparc-frame-chain): Fix typo in comment.
2001-01-022000-12-20 Michael Snyder <msnyder@mvstp600e.cygnus.com>Michael Snyder6-38/+30
* arch-utils.c (default_frame_address): New function. Default implementation of frame_args_address and frame_locals_address. * arch-utils.h (default_frame_address): Export. * d10v-tdep.c (d10v_gdbarch_init): Use default_frame_address. (d10v_frame_args_address, d10v_frame_locals_address): Delete. * sh-tdep.c (sh_gdbarch_init): Use default_frame_address. (sh_frame_args_address, sh_frame_locals_address): Delete. * sparc-tdep.c (sparc_gdbarch_init): Use default_frame_address. (sparc_frame_address): Delete.
2001-01-02Fix msr-bsd testNick Clifton2-1/+6
2001-01-022001-01-02 Kazu Hirata <kazu@hxi.com>Kazu Hirata2-106/+105
* peicode.h: Fix formatting.
2001-01-022001-01-02 Kazu Hirata <kazu@hxi.com>Kazu Hirata11-77/+75
* pc532-mach.c: Fix formatting. * pe-arm.c: Likewise. * pe-i386.c: Likewise. * pe-mips.c: Likewise. * pe-ppc.c: Likewise. * pe-sh.c: Likewise. * pei-mips.c: Likewise. * pei-sh.c: Likewise. * ppcboot.c: Likewise. * ptrace-core.c: Likewise.
2001-01-02* generalizationFrank Ch. Eigler4-189/+37
2001-01-02 Richard Sandiford <rsandifo@redhat.com> * cgen-dis.c (hash_insn_array): Use bfd_put_bits(). (hash_insn_list): Likewise * cgen-ibld.in (insert_1): Use bfd_put_bits() and bfd_get_bits(). (extract_1): Use bfd_get_bits(). (extract_normal): Apply sign extension to both extraction methods. * cgen-opc.c (cgen_get_insn_value): Use bfd_get_bits() (cgen_put_insn_value): Use bfd_put_bits()
2001-01-012001-01-01 Kazu Hirata <kazu@hxi.com>Kazu Hirata5-99/+76
* reloc.c: Fix formatting. * riscix.c: Likewise. * rs6000-core.c: Likewise. * xcoff-target.h: Likewise.
2001-01-012001-01-01 Philip Blundell <philb@gnu.org>Phil Blundell4-0/+71
* ld-undefined/weak-undef.exp: New test. * ld-undefined/weak-undef.s, ld-undefined/weak-undef.t: Supporting files for above.
2001-01-012001-01-01 Philip Blundell <philb@gnu.org>Phil Blundell4-3/+12
* ld-elfvers/vers.exp: Run test on Linux/ARM. * ld-elfvsb/elfvsb.exp: Likewise. * ld-shared/shared.exp: Likewise.
2001-01-012001-01-01 Philip Blundell <philb@gnu.org>Phil Blundell8-0/+83
* gas/arm/adrl.s, gas/arm/pic.s, gas/arm/msr-bad.s: New tests. * gas/arm/arm.exp: Run them. * gas/arm/adrl.d, gas/arm/pic.d: Expected results for above. * gas/arm/arm6.s: Also test uppercase `CPSR' and `SPSR'.
2001-01-012000-12-31 H.J. Lu <hjl@gnu.org>H.J. Lu3-174/+184
* listing.c (listing_message): Allocate string only if it is used. * configure: Rebuild.
2000-12-31Fix problems with new EXACTLY_TWO_DASHES command line switch option.Nick Clifton4-5/+22
2000-12-31 * doc/internals.texi (Relaxing with a table) <after relaxation>:Hans-Peter Nilsson2-0/+15
Point out caveats with generating fixups for the opcode in a frag.
2000-12-30 * configure.in: Add support for x86_64 and x86_64-*-linux-gnu*Jan Hubicka5-273/+462
* NEWS: Add x86_64. * i386.h (i386_optab): Add "rex*" instructions; add swapgs; disable jmp/call far direct instructions for 64bit mode; add syscall and sysret; disable registers for 0xc6 template. Add 'q' suffixes to extendable instructions, disable obsoletted instructions, add new sign/zero extension ones. (i386_regtab): Add extended registers. (*Suf): Add No_qSuf. (q_Suf, wlq_Suf, bwlq_Suf): New.
2000-12-292000-12-29 H.J. Lu <hjl@gnu.org>H.J. Lu2-0/+6
* listing.c (calc_hex): Print the variable part only if the fragment type is rs_fill.
2000-12-29* fnmatch.c: Make the note about the origins of this file moreDJ Delorie6-10/+20
accurate, at least until we can sync with glibc. * getopt.c: Ditto. * getopt1.c: Ditto. * md5.c: Ditto. * obstack.c: Ditto.
2000-12-29 * doc/internals.texi (tc_conditional_pseudoop,Hans-Peter Nilsson2-2/+7
TC_LINKRELAX_FIXUP): Fix typos.
2000-12-29 * elfcode.h (elf_object_p): Also restore the bfd mach field onHans-Peter Nilsson2-0/+18
error, by calling bfd_default_set_arch_mach with incoming values.
2000-12-28Requre that long options starting with 'o' only accept a double dash prefix.Nick Clifton4-20/+76
2000-12-28* error msg tweakFrank Ch. Eigler2-1/+15
2000-12-28 Frank Ch. Eigler <fche@redhat.com> * cgen-asm.in (parse_insn_normal): Print better error message for instructions with missing operands.
2000-12-28 * write.c (subsegs_finish): Fix thinko last change -- don'tRichard Henderson2-7/+9
"optimize" the alignment == 0 case.
2000-12-28 * as.h (rs_align_test): New.Richard Henderson23-259/+421
* frags.c (NOP_OPCODE): Move default from read.c. (MAX_MEM_FOR_RS_ALIGN_CODE): New default. (frag_align_code): New. * frags.h (frag_align_code): Declare. * read.c (NOP_OPCODE): Remove. (do_align): Use frag_align_code. * write.c (NOP_OPCODE): Remove. (get_recorded_alignment): New. (cvt_frag_to_fill): Handle rs_align_test. (relax_segment): Likewise. (subsegs_finish): Align last subseg in section to the section alignment. Use frag_align_code. * write.h (get_recorded_alignment): Declare. * config/obj-coff.c (size_section): Handle rs_align_test. (fill_section, fixup_mdeps): Likewise. (write_object_file): Use frag_align_code. * config/tc-alpha.c (alpha_align): Use frag_align_code. (alpha_handle_align): New. * config/tc-alpha.h (HANDLE_ALIGN): New. (MAX_MEM_FOR_RS_ALIGN_CODE): New. * config/tc-i386.h (md_do_align): Use frag_align_code. (MAX_MEM_FOR_RS_ALIGN_CODE): New. * config/tc-ia64.c (ia64_md_do_align): Don't do code alignment. (ia64_handle_align): New. * config/tc-ia64.h (HANDLE_ALIGN): New. (MAX_MEM_FOR_RS_ALIGN_CODE): New. * config/tc-m32r.c (m32r_do_align): Remove. (m32r_handle_align): New. (fill_insn): Use frag_align_code. * config/tc-m32r.h (md_do_align): Remove. (HANDLE_ALIGN, MAX_MEM_FOR_RS_ALIGN_CODE): New. * config/tc-m88k.c, config/tc-m88k.h: Similarly. * config/tc-mips.c, config/tc-mips.h: Similarly. * config/tc-sh.c (sh_cons_align): Use rs_align_test. (sh_handle_align): Likewise. Handle rs_align_code. (sh_do_align): Remove. * config/tc-sh.h (md_do_align): Remove. (MAX_MEM_FOR_RS_ALIGN_CODE): New. * config/tc-sparc.c (sparc_cons_align): Use rs_align_test. (sparc_handle_align): Likewise. Handle rs_align_code. * config/tc-sparc.h (md_do_align): Remove. (MAX_MEM_FOR_RS_ALIGN_CODE): New.
2000-12-27Fix debugging programs statically linked against the thread library.Mark Kettenis2-46/+108
* thread-db.c: Various comment fixes and additions. Include "bfd.h", "symfile.h" and "objfiles.h". (keep_thread_db): New variable. (find_new_threads_callback): Remove prototype. (thread_db_find_new_threads): New prototype. (thread_db_push_target, thread_db_unpush_target): Remove functions. (deactivate_target): New function. (thread_db_new_objfile): If OBJFILE == NULL, force deactivation of target vector. Activate target vector directly instead of calling thread_db_push_target. Set keep_thread_db if thread library is detected in the main symbol file. Only enable thread event reporting if there actually is a child process. Likewise for detecting new threads, done by calling thread_db_find_new_threads instead of iterating over the threads ourselves. (thread_db_detach): Call deactivate_target instead of thread_db_unpush_target. (thread_db_wait): Bail out early if we're not debugging the multi-threaded child process yet. (thread_db_post_startup_inferior): New function. (thread_db_mourn_inferior): Call deactivate_target instead of thread_db_unpush_target. (init_thread_db_ops): Add thread_db_post_startup_inferior to thread_db_ops.