external/binutils.git
23 years ago * config/tc-i386.h (TC_RELOC_GLOBAL_OFFSET_TABLE): Removed, it's
Andreas Jaeger [Thu, 11 Jan 2001 11:38:24 +0000 (11:38 +0000)]
* config/tc-i386.h (TC_RELOC_GLOBAL_OFFSET_TABLE): Removed, it's
not used anywhere.

23 years agofix spelling typo
Nick Clifton [Thu, 11 Jan 2001 01:43:44 +0000 (01:43 +0000)]
fix spelling typo

23 years agoChange defn of LOCAL_LABEL_PREFIX to ""
Nick Clifton [Thu, 11 Jan 2001 01:43:20 +0000 (01:43 +0000)]
Change defn of LOCAL_LABEL_PREFIX to ""

23 years agoAllow ADRL relocs to be adjusted in arm-coff
Nick Clifton [Thu, 11 Jan 2001 01:40:18 +0000 (01:40 +0000)]
Allow ADRL relocs to be adjusted in arm-coff

23 years agoFix local label code to use LOCAL_LABEL_PREFIX
Nick Clifton [Thu, 11 Jan 2001 01:32:35 +0000 (01:32 +0000)]
Fix local label code to use LOCAL_LABEL_PREFIX

23 years ago2001-01-10 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Wed, 10 Jan 2001 18:58:36 +0000 (18:58 +0000)]
2001-01-10  Kazu Hirata  <kazu@hxi.com>

* scripttempl/h8500.sc: Fix formatting.
* scripttempl/h8500b.sc: Likewise.
* scripttempl/h8500c.sc: Likewise.
* scripttempl/h8500m.sc: Likewise.
* scripttempl/h8500s.sc: Likewise.

23 years ago * i386.exp: Add ssemmx2 and sse2 tests.
Jan Hubicka [Wed, 10 Jan 2001 14:32:32 +0000 (14:32 +0000)]
* i386.exp: Add ssemmx2 and sse2 tests.
(sse2.d, sse2.s, ssemmx2.d, ssemmx2.s): New tests.

23 years ago * i386.h (pinsrw): Add.
Jan Hubicka [Wed, 10 Jan 2001 14:31:46 +0000 (14:31 +0000)]
* i386.h (pinsrw): Add.
(pshufw): Remove.
(cvttpd2dq): Fix operands.
(cvttps2dq): Likewise.
(movq2q): Rename to movdq2q.

23 years ago * i386-dis.c (PREGRP15 - PREGRP24): New.
Jan Hubicka [Wed, 10 Jan 2001 14:14:25 +0000 (14:14 +0000)]
* i386-dis.c (PREGRP15 - PREGRP24): New.
(dis386_twobyt): Add SSE2 instructions.
(twobyte_uses_SSE_prefix: Rename from ... ; add new SSE instructions.
(twobyte_uses_f3_prefix): ... this one.
(grps): Add SSE instructions.
(prefix_user_table): Add two new slots; add SSE2 instructions.
(print_insn_i386): Rename uses_f3_prefix to uses_SSE_prefix;
Handle the REPNZ and Data16 prefixes as well; do proper lookup
to prefix_user_table.
(OP_E): Accept mfence and lfence as well.
(OP_MMX): Data16 prefix turns MMX to SSE; support REX extensions.
(OP_XMM): Support REX extensions.
(OP_EM): Likewise.
(OP_EX): Likewise.

23 years ago2001-01-10 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Wed, 10 Jan 2001 11:42:27 +0000 (11:42 +0000)]
2001-01-10  Kazu Hirata  <kazu@hxi.com>

* scripttempl/h8300.sc: Fix formatting.  Fix a comment typo.
* scripttempl/h8300h.sc: Fix formatting.
* scripttempl/h8300s.sc: Likewise.

23 years agoFix "movnti"
Alan Modra [Wed, 10 Jan 2001 00:24:43 +0000 (00:24 +0000)]
Fix "movnti"

23 years agofix patterns to match new behaviour of disassembler
Nick Clifton [Tue, 9 Jan 2001 22:08:42 +0000 (22:08 +0000)]
fix patterns to match new behaviour of disassembler

23 years agoUpdate address for bug reports.
Phil Blundell [Tue, 9 Jan 2001 21:05:35 +0000 (21:05 +0000)]
Update address for bug reports.

23 years agoFix disassembly of arm-elf instructions with relocs associated with them.
Nick Clifton [Tue, 9 Jan 2001 20:29:48 +0000 (20:29 +0000)]
Fix disassembly of arm-elf instructions with relocs associated with them.

23 years agofix spelling typoi
Nick Clifton [Tue, 9 Jan 2001 20:25:57 +0000 (20:25 +0000)]
fix spelling typoi

23 years agoAdd OBJDUMP_DEFS to configure and makefile
Nick Clifton [Tue, 9 Jan 2001 20:25:31 +0000 (20:25 +0000)]
Add OBJDUMP_DEFS to configure and makefile
Check for DISASSEMBLER_NEEDS_RELOCS in objdump and read in relocs if set.

23 years ago2001-01-09 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Tue, 9 Jan 2001 17:01:07 +0000 (17:01 +0000)]
2001-01-09  Jeff Johnston  <jjohnstn@redhat.com>

        * cgen.h (CGEN_SYNTAX_CHAR_TYPE): New typedef based on max number
        of operands (unsigned char or unsigned short).
        (CGEN_SYNTAX): Changed to make array CGEN_SYNTAX_CHAR_TYPE.
        (CGEN_SYNTAX_CHAR): Changed to cast to unsigned char.

23 years ago2001-01-09 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Tue, 9 Jan 2001 17:00:21 +0000 (17:00 +0000)]
2001-01-09  Jeff Johnston  <jjohnstn@redhat.com>

        * cgen-asm.in (parse_insn_normal): Changed syn to be
        CGEN_SYNTAX_CHAR_TYPE.  Changed all references to *syn
        as character to use CGEN_SYNTAX_CHAR macro and all comparisons
        to '\0' to use 0 instead.
        * cgen-dis.in (print_insn_normal): Ditto.
        * cgen-ibld.in (insert_insn_normal, extract_insn_normal): Ditto.

23 years ago2001-01-03 Philip Blundell <pb@futuretv.com>
Phil Blundell [Tue, 9 Jan 2001 11:13:42 +0000 (11:13 +0000)]
2001-01-03  Philip Blundell  <pb@futuretv.com>

* gas/vtable/vtable.exp: Don't run tests on Alpha.

23 years ago * regcache.c (set_register_cached, register_buffer,
Nicholas Duffek [Tue, 9 Jan 2001 00:12:48 +0000 (00:12 +0000)]
* regcache.c (set_register_cached, register_buffer,
real_register, pseudo_register fetch_register, store_register):
New functions.
(register_changed, read_relative_register_raw_bytes_for_frame,
registers_changed, registers_fetched, read_register_bytes,
read_register_gen, write_register_gen, read_register,
read_signed_register, write_register, supply_register): Replace
register_valid[] with register_cached() and
set_register_cached().
(read_register_bytes, read_register_gen, write_register_gen,
read_register, read_signed_register, write_register,
supply_register): Replace registers[] with register_buffer().
(read_register_bytes, read_register_gen, read_register,
read_signed_register): Call fetch_register().
(write_register_gen, write_register): Call real_register() and
store_register().
(write_register_bytes): Call store_register().
* value.h (set_register_cached, register_buffer): Prototype.
* remote.c (remote_fetch_registers): Allocate regs[] with a
run-time size.  Replace register_valid[] with
set_register_cached().
(store_register_using_P, remote_store_registers): Replace
registers[] with register_buffer().

23 years ago * regcache.c: Change "write-back" comment to "write-through".
Nicholas Duffek [Tue, 9 Jan 2001 00:11:28 +0000 (00:11 +0000)]
* regcache.c: Change "write-back" comment to "write-through".
Change "regno" to "regnum".
(read_register, read_signed_register): Remove "raw" from return
value description.
(supply_register): Spelling fix.
* value.h: Change "regno" to "regnum".

23 years ago* rltty.c (save_tty_chars): Fix compilation-stopping typo.
Christopher Faylor [Mon, 8 Jan 2001 14:57:30 +0000 (14:57 +0000)]
* rltty.c (save_tty_chars): Fix compilation-stopping typo.

23 years ago2001-01-08 Fernando Nasser <fnasser@redhat.com>
Fernando Nasser [Mon, 8 Jan 2001 12:47:49 +0000 (12:47 +0000)]
2001-01-08  Fernando Nasser  <fnasser@redhat.com>

* Makefile.in (install-gdbtk): Add .itcl files to the list of files
to be installed.

23 years ago2001-01-08 Bo Thorsen <bo@suse.de>
Andreas Jaeger [Mon, 8 Jan 2001 09:37:43 +0000 (09:37 +0000)]
2001-01-08  Bo Thorsen  <bo@suse.de>

        * config/tc-i386.c (i386_immediate, i386_displacement):
        GOTPCREL check fix.

23 years ago2000-01-07 David O'Brien <obrien@BSDi.com>
David O'Brien [Mon, 8 Jan 2001 05:25:58 +0000 (05:25 +0000)]
2000-01-07  David O'Brien  <obrien@BSDi.com>
* emultempl/elf32.em: Only perform Linux ld hints processing when
targeting Linux.

Approved by:  Nick Clifton <nickc@redhat.com>
              Message-Id: <200101040127.RAA15127@elmo.cygnus.com>

23 years ago * doc/c-i386.texi (i386-Arch): Remove spaces incorrectly inserted
Ian Lance Taylor [Mon, 8 Jan 2001 02:23:45 +0000 (02:23 +0000)]
* doc/c-i386.texi (i386-Arch): Remove spaces incorrectly inserted
in last change.

23 years ago2001-01-07 Philip Blundell <philb@gnu.org>
Phil Blundell [Sun, 7 Jan 2001 15:12:04 +0000 (15:12 +0000)]
2001-01-07  Philip Blundell  <philb@gnu.org>

* ld.texinfo (Bug Reporting): Update email address for reports.

23 years agoUpdate address for bug reports.
Phil Blundell [Sun, 7 Jan 2001 15:11:26 +0000 (15:11 +0000)]
Update address for bug reports.

23 years agoUpdate address for bug reports.
Phil Blundell [Sun, 7 Jan 2001 15:04:21 +0000 (15:04 +0000)]
Update address for bug reports.

23 years agoUpdate address for bug reports.
Phil Blundell [Sun, 7 Jan 2001 14:53:57 +0000 (14:53 +0000)]
Update address for bug reports.

23 years ago * config.sub, config.guess: Update from subversions.
Andreas Jaeger [Sun, 7 Jan 2001 12:04:21 +0000 (12:04 +0000)]
    * config.sub, config.guess: Update from subversions.

23 years ago * configure.in: Define DEFAULT_ARCH for i386.
Jan Hubicka [Sat, 6 Jan 2001 12:36:04 +0000 (12:36 +0000)]
* configure.in: Define DEFAULT_ARCH for i386.
* 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.

23 years ago2001-01-06 Jan Hubicka <jh@suse.cz>, Andreas Jaeger <aj@suse.de>
Andreas Jaeger [Sat, 6 Jan 2001 11:07:06 +0000 (11:07 +0000)]
2001-01-06  Jan Hubicka <jh@suse.cz>, Andreas Jaeger  <aj@suse.de>

* 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.

23 years ago * tc-i386.c (md_assemble): Handle third byte of the opcode as prefix.
Jan Hubicka [Fri, 5 Jan 2001 12:30:12 +0000 (12:30 +0000)]
* tc-i386.c (md_assemble): Handle third byte of the opcode as prefix.
* i386.h (i386_optab): Make [sml]fence template to use immext field.

23 years ago * i386-dis.c: Add x86_64 support.
Jan Hubicka [Fri, 5 Jan 2001 11:11:54 +0000 (11:11 +0000)]
* i386-dis.c: Add x86_64 support.
(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.

23 years ago2001-01-06 Ben Elliston <bje@redhat.com>
Ben Elliston [Fri, 5 Jan 2001 04:36:09 +0000 (04:36 +0000)]
2001-01-06  Ben Elliston  <bje@redhat.com>

* cgen.sh: Allow extrafiles to include the semantics files when
generating an ISA-specific decoder.

23 years ago2001-01-04 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Thu, 4 Jan 2001 23:27:08 +0000 (23:27 +0000)]
2001-01-04  Kazu Hirata  <kazu@hxi.com>

* som.c: Fix formatting.

23 years ago2001-01-04 Michael Snyder <msnyder@mvstp600e.cygnus.com>
Michael Snyder [Thu, 4 Jan 2001 23:22:45 +0000 (23:22 +0000)]
2001-01-04  Michael Snyder  <msnyder@mvstp600e.cygnus.com>

        * mips-tdep.c (mips_coerce_float_to_double): Fix typo in comment.

23 years ago * tc-i386.c (cpu_arch): Add Pentium4 and modify sledgehammer entry.
Jan Hubicka [Thu, 4 Jan 2001 21:27:56 +0000 (21:27 +0000)]
* tc-i386.c (cpu_arch): Add Pentium4 and modify sledgehammer entry.
* NEWS: Add note about Pentium4 support.

23 years ago * valops.c (VALUE_SUBSTRING_START): Delete.
Nicholas Duffek [Thu, 4 Jan 2001 19:58:32 +0000 (19:58 +0000)]
* valops.c (VALUE_SUBSTRING_START): Delete.

23 years ago * Makefile.in (SUBDIR_CLI_OBS): Add cli/cli-utils.o.
Nicholas Duffek [Thu, 4 Jan 2001 15:50:48 +0000 (15:50 +0000)]
* Makefile.in (SUBDIR_CLI_OBS): Add cli/cli-utils.o.
(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.

23 years ago * config/i386/tm-i386.h (REGISTER_CONVERT_TO_VIRTUAL,
Nicholas Duffek [Thu, 4 Jan 2001 15:46:22 +0000 (15:46 +0000)]
* config/i386/tm-i386.h (REGISTER_CONVERT_TO_VIRTUAL,
REGISTER_CONVERT_TO_RAW): Delete trailing semicolon.

23 years ago * gdbint.texinfo (POP_FRAME): Document use by return_command.
Nicholas Duffek [Thu, 4 Jan 2001 15:39:28 +0000 (15:39 +0000)]
* gdbint.texinfo (POP_FRAME): Document use by return_command.

23 years ago2001-01-03 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Wed, 3 Jan 2001 22:53:39 +0000 (22:53 +0000)]
2001-01-03  Kazu Hirata  <kazu@hxi.com>

* 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.

23 years ago* alphabsd-nat.c, i386-linux-nat.c, i386bsd-nat.c: Fix typo in comment.
J.T. Conklin [Wed, 3 Jan 2001 21:12:18 +0000 (21:12 +0000)]
* alphabsd-nat.c, i386-linux-nat.c, i386bsd-nat.c: Fix typo in comment.

23 years ago2001-01-03 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Wed, 3 Jan 2001 19:26:07 +0000 (19:26 +0000)]
2001-01-03  Kazu Hirata  <kazu@hxi.com>

* libbfd.c: Fix formatting.
* linker.c: Likewise.
* lynx-core.c: Likewise.

23 years ago * tc-i387.c (pi, pte, pt): Update.
Jan Hubicka [Wed, 3 Jan 2001 16:27:41 +0000 (16:27 +0000)]
* tc-i387.c (pi, pte, pt): Update.
(type_names): Add new types.

23 years ago * tc-i386.h (CpuK6, CpuAthlon, CpuSledgehammer, CpuMMX, Cpu3dnow,
Jan Hubicka [Wed, 3 Jan 2001 15:36:26 +0000 (15:36 +0000)]
* tc-i386.h (CpuK6, CpuAthlon, CpuSledgehammer, CpuMMX, Cpu3dnow,
CpuUnknown): Renumber
(CpuP4, CpuSSE2): New.
(CpuUnknownFlags): Add CpuP4 and CpuSSE2

* i386.h (i386_optab): Fix 64bit pushf template; Add instructions
introduced by Pentium4

23 years ago* generalization
Frank Ch. Eigler [Wed, 3 Jan 2001 15:10:26 +0000 (15:10 +0000)]
* generalization

2001-01-03  Richard Sandiford  <r.sandiford@redhat.com>

 cgen-dis.in (read_insn): Use bfd_get_bits()

23 years ago2001-01-03 Philip Blundell <pb@futuretv.com>
Phil Blundell [Wed, 3 Jan 2001 10:03:46 +0000 (10:03 +0000)]
2001-01-03  Philip Blundell  <pb@futuretv.com>

* config/tc-alpha.c (alpha_force_relocation): Handle vtable
relocs.
(alpha_fix_adjustable): Likewise.
(md_apply_fix): Likewise.

23 years ago2001-01-03 Philip Blundell <pb@futuretv.com>
Phil Blundell [Wed, 3 Jan 2001 09:51:52 +0000 (09:51 +0000)]
2001-01-03  Philip Blundell  <pb@futuretv.com>

* ld-elfvsb/elfvsb.exp: Run test on Linux/Alpha.
* ld-shared/shared.exp: Likewise.

23 years ago2001-01-02 Michael Snyder <msnyder@cleaver.cygnus.com>
Michael Snyder [Tue, 2 Jan 2001 23:51:35 +0000 (23:51 +0000)]
2001-01-02  Michael Snyder  <msnyder@cleaver.cygnus.com>

        * sh-tdep.c (sh_extract_return_value):  Allow for small return type.
        (sh_sh4_extract_return_value): Call sh_extract_return_value for

23 years agoRemove prototypes for obsolete static functions.
Michael Snyder [Tue, 2 Jan 2001 20:49:18 +0000 (20:49 +0000)]
Remove prototypes for obsolete static functions.

23 years ago * sparc-tdep.c: update copyright notice.
Michael Snyder [Tue, 2 Jan 2001 20:37:11 +0000 (20:37 +0000)]
* sparc-tdep.c: update copyright notice.

23 years agoOops, fix typo in previous check-in.
Michael Snyder [Tue, 2 Jan 2001 20:34:50 +0000 (20:34 +0000)]
Oops, fix typo in previous check-in.

23 years ago2001-01-02 Michael Snyder <msnyder@cleaver.cygnus.com>
Michael Snyder [Tue, 2 Jan 2001 20:32:50 +0000 (20:32 +0000)]
2001-01-02  Michael Snyder  <msnyder@cleaver.cygnus.com>

        * sparc-tdep.c (sparc-frame-chain): Fix typo in comment.

23 years ago2000-12-20 Michael Snyder <msnyder@mvstp600e.cygnus.com>
Michael Snyder [Tue, 2 Jan 2001 20:21:53 +0000 (20:21 +0000)]
2000-12-20  Michael Snyder  <msnyder@mvstp600e.cygnus.com>

        * 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.

23 years agoFix msr-bsd test
Nick Clifton [Tue, 2 Jan 2001 19:39:15 +0000 (19:39 +0000)]
Fix msr-bsd test

23 years ago2001-01-02 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Tue, 2 Jan 2001 19:22:56 +0000 (19:22 +0000)]
2001-01-02  Kazu Hirata  <kazu@hxi.com>

* peicode.h: Fix formatting.

23 years ago2001-01-02 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Tue, 2 Jan 2001 18:58:44 +0000 (18:58 +0000)]
2001-01-02  Kazu Hirata  <kazu@hxi.com>

* 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.

23 years ago* generalization
Frank Ch. Eigler [Tue, 2 Jan 2001 16:34:07 +0000 (16:34 +0000)]
* generalization

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()

23 years ago2001-01-01 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Mon, 1 Jan 2001 21:37:35 +0000 (21:37 +0000)]
2001-01-01  Kazu Hirata  <kazu@hxi.com>

* reloc.c: Fix formatting.
* riscix.c: Likewise.
* rs6000-core.c: Likewise.
* xcoff-target.h: Likewise.

23 years ago2001-01-01 Philip Blundell <philb@gnu.org>
Phil Blundell [Mon, 1 Jan 2001 14:54:03 +0000 (14:54 +0000)]
2001-01-01  Philip Blundell  <philb@gnu.org>

* ld-undefined/weak-undef.exp: New test.
* ld-undefined/weak-undef.s, ld-undefined/weak-undef.t: Supporting
files for above.

23 years ago2001-01-01 Philip Blundell <philb@gnu.org>
Phil Blundell [Mon, 1 Jan 2001 14:52:34 +0000 (14:52 +0000)]
2001-01-01  Philip Blundell  <philb@gnu.org>

* ld-elfvers/vers.exp: Run test on Linux/ARM.
* ld-elfvsb/elfvsb.exp: Likewise.
* ld-shared/shared.exp: Likewise.

23 years ago2001-01-01 Philip Blundell <philb@gnu.org>
Phil Blundell [Mon, 1 Jan 2001 13:43:06 +0000 (13:43 +0000)]
2001-01-01  Philip Blundell  <philb@gnu.org>

* 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'.

23 years ago2000-12-31 H.J. Lu <hjl@gnu.org>
H.J. Lu [Mon, 1 Jan 2001 01:51:17 +0000 (01:51 +0000)]
2000-12-31  H.J. Lu  <hjl@gnu.org>

* listing.c (listing_message): Allocate string only if it is
used.

* configure: Rebuild.

23 years agoFix problems with new EXACTLY_TWO_DASHES command line switch option.
Nick Clifton [Sun, 31 Dec 2000 19:56:04 +0000 (19:56 +0000)]
Fix problems with new EXACTLY_TWO_DASHES command line switch option.

23 years ago * doc/internals.texi (Relaxing with a table) <after relaxation>:
Hans-Peter Nilsson [Sun, 31 Dec 2000 19:54:58 +0000 (19:54 +0000)]
* doc/internals.texi (Relaxing with a table) <after relaxation>:
Point out caveats with generating fixups for the opcode in a frag.

23 years ago * configure.in: Add support for x86_64 and x86_64-*-linux-gnu*
Jan Hubicka [Sat, 30 Dec 2000 18:05:10 +0000 (18:05 +0000)]
* configure.in: Add support for x86_64 and x86_64-*-linux-gnu*
* 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.

23 years ago2000-12-29 H.J. Lu <hjl@gnu.org>
H.J. Lu [Fri, 29 Dec 2000 23:48:10 +0000 (23:48 +0000)]
2000-12-29  H.J. Lu  <hjl@gnu.org>

* listing.c (calc_hex): Print the variable part only if the
fragment type is rs_fill.

23 years ago* fnmatch.c: Make the note about the origins of this file more
DJ Delorie [Fri, 29 Dec 2000 20:16:02 +0000 (20:16 +0000)]
* fnmatch.c: Make the note about the origins of this file more
accurate, at least until we can sync with glibc.
* getopt.c: Ditto.
* getopt1.c: Ditto.
* md5.c: Ditto.
* obstack.c: Ditto.

23 years ago * doc/internals.texi (tc_conditional_pseudoop,
Hans-Peter Nilsson [Fri, 29 Dec 2000 18:32:47 +0000 (18:32 +0000)]
* doc/internals.texi (tc_conditional_pseudoop,
TC_LINKRELAX_FIXUP): Fix typos.

23 years ago * elfcode.h (elf_object_p): Also restore the bfd mach field on
Hans-Peter Nilsson [Fri, 29 Dec 2000 05:44:51 +0000 (05:44 +0000)]
* elfcode.h (elf_object_p): Also restore the bfd mach field on
error, by calling bfd_default_set_arch_mach with incoming
values.

23 years agoRequre that long options starting with 'o' only accept a double dash prefix.
Nick Clifton [Thu, 28 Dec 2000 19:54:33 +0000 (19:54 +0000)]
Requre that long options starting with 'o' only accept a double dash prefix.

23 years ago* error msg tweak
Frank Ch. Eigler [Thu, 28 Dec 2000 19:53:54 +0000 (19:53 +0000)]
* error msg tweak

2000-12-28  Frank Ch. Eigler  <fche@redhat.com>

* cgen-asm.in (parse_insn_normal): Print better error message for
instructions with missing operands.

23 years ago * write.c (subsegs_finish): Fix thinko last change -- don't
Richard Henderson [Thu, 28 Dec 2000 19:14:37 +0000 (19:14 +0000)]
    * write.c (subsegs_finish): Fix thinko last change -- don't
        "optimize" the alignment == 0 case.

23 years ago * as.h (rs_align_test): New.
Richard Henderson [Thu, 28 Dec 2000 10:07:56 +0000 (10:07 +0000)]
* as.h (rs_align_test): New.
* 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.

23 years agoFix debugging programs statically linked against the thread library.
Mark Kettenis [Wed, 27 Dec 2000 21:37:57 +0000 (21:37 +0000)]
Fix debugging programs statically linked against the thread library.
* 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.

23 years ago* Make-common.in (sim-io.o): Depend on targ-vals.h.
Alexandre Oliva [Wed, 27 Dec 2000 17:47:20 +0000 (17:47 +0000)]
* Make-common.in (sim-io.o): Depend on targ-vals.h.

23 years agoAdded Orjan Friberg to Write After Approval list.
Orjan Friberg [Wed, 27 Dec 2000 11:14:12 +0000 (11:14 +0000)]
Added Orjan Friberg to Write After Approval list.

23 years ago* bsearch.c: New file.
DJ Delorie [Tue, 26 Dec 2000 22:19:44 +0000 (22:19 +0000)]
* bsearch.c: New file.
* configure.in (funcs): Add bsearch.
(AC_CHECK_FUNCS): Likewise.
* configure, config.in: Regenerate.

23 years agoAdd --no-default-excludes option for PE targets
Nick Clifton [Tue, 26 Dec 2000 20:55:30 +0000 (20:55 +0000)]
Add --no-default-excludes option for PE targets

23 years ago2000-12-26 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Tue, 26 Dec 2000 19:50:50 +0000 (19:50 +0000)]
2000-12-26  Kazu Hirata  <kazu@hxi.com>

* vaxnetbsd.c: Fix formatting.
* versados.c: Likewise.
* vms-gsd.c: Likewise.
* vms-hdr.c: Likewise.
* vms-misc.c: Likewise.

23 years agoSynchronise with master FSF GCC sources
Nick Clifton [Tue, 26 Dec 2000 18:17:51 +0000 (18:17 +0000)]
Synchronise with master FSF GCC sources

23 years ago* archive.c (coff_write_armap): Don't write more than symbol_count
Alexandre Oliva [Mon, 25 Dec 2000 21:41:20 +0000 (21:41 +0000)]
* archive.c (coff_write_armap): Don't write more than symbol_count
`archive_member_file_ptr's.

23 years ago2000-12-25 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Mon, 25 Dec 2000 14:42:42 +0000 (14:42 +0000)]
2000-12-25  Kazu Hirata  <kazu@hxi.com>

* vms-tir.c: Fix formatting.

23 years agoGDB version and refcard copyright fixed.
Eli Zaretskii [Mon, 25 Dec 2000 09:10:46 +0000 (09:10 +0000)]
GDB version and refcard copyright fixed.

23 years ago2000-12-23 Ben Elliston <bje@redhat.com>
Ben Elliston [Sat, 23 Dec 2000 21:52:14 +0000 (21:52 +0000)]
2000-12-23  Ben Elliston  <bje@redhat.com>

* cgen-trace.c (trace_result): Handle 'f' type operands; output
them to the trace stream using sim_fpu_printn_fpu. Include
"sim-fpu.h".

23 years ago2000-12-23 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Sat, 23 Dec 2000 16:48:10 +0000 (16:48 +0000)]
2000-12-23  Kazu Hirata  <kazu@hxi.com>

* vms.c: Fix formatting.
* vms.h: Likewise.

23 years ago2000-12-15 Ben Elliston <bje@redhat.com>
Ben Elliston [Sat, 23 Dec 2000 11:51:04 +0000 (11:51 +0000)]
2000-12-15  Ben Elliston  <bje@redhat.com>

* sim-fpu.h (sim_fpu_printn_fpu): Declare.
* sim-fpu.c (print_bits): Add digits parameter. Print only as many
trailing digits as specified (-1 to print all digits).
(sim_fpu_print_fpu): New wrapper around sim_fpu_printn_fpu.
(sim_fpu_printn_fpu): Rename from sim_fpu_print_fpu; update calls
to print_bits ().

23 years ago* solib.c (solib_open): If path is relative, look for it
Mark Kettenis [Sat, 23 Dec 2000 00:27:20 +0000 (00:27 +0000)]
* solib.c (solib_open): If path is relative, look for it
literally.  This matches the behaviour of the GNU dynamic linker
more closely.

23 years ago* config/tc-d10v.c (md_assemble): set prev_seg and prev_subseg
DJ Delorie [Fri, 22 Dec 2000 22:06:32 +0000 (22:06 +0000)]
* config/tc-d10v.c (md_assemble): set prev_seg and prev_subseg
when we assemble the first half of a pair.

23 years ago2000-12-22 H.J. Lu <hjl@gnu.org>
H.J. Lu [Fri, 22 Dec 2000 21:03:24 +0000 (21:03 +0000)]
2000-12-22  H.J. Lu  <hjl@gnu.org>

* gas/i386/intel.s: Replace "nop" with ".p2align 4,0".
* gas/i386/intel.d: Updated.

23 years ago2000-12-22 H.J. Lu <hjl@gnu.org>
H.J. Lu [Fri, 22 Dec 2000 20:53:35 +0000 (20:53 +0000)]
2000-12-22  H.J. Lu  <hjl@gnu.org>

* config/tc-i386.c (reloc): Update the macro for non-bfd
assembler.
(BFD_RELOC_X86_64_GOTPCREL): Set to 0 for non-bfd assembler.

23 years ago2000-12-22 H.J. Lu <hjl@gnu.org>
H.J. Lu [Fri, 22 Dec 2000 20:36:02 +0000 (20:36 +0000)]
2000-12-22  H.J. Lu  <hjl@gnu.org>

* dwarf2dbg.c (dwarf2_finish): Remove #if BFD_ASSEMBLER.

23 years ago2000-12-22 Fernando Nasser <fnasser@redhat.com>
Fernando Nasser [Fri, 22 Dec 2000 15:03:10 +0000 (15:03 +0000)]
2000-12-22  Fernando Nasser  <fnasser@redhat.com>

        * README: Suggest building in an empty directory.

23 years ago2000-12-21 Michael Snyder <msnyder@mvstp600e.cygnus.com>
Michael Snyder [Fri, 22 Dec 2000 01:49:46 +0000 (01:49 +0000)]
2000-12-21  Michael Snyder  <msnyder@mvstp600e.cygnus.com>

        * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
        Add a RE to accept a non-ascii char if one is ever presented.

23 years ago* i386-tdep.c: Add missing ')' in comment.
Mark Kettenis [Thu, 21 Dec 2000 20:52:59 +0000 (20:52 +0000)]
* i386-tdep.c: Add missing ')' in comment.
(i386_extract_return_value): Return directly after issuing the
warning and filling *VALBUF with zeroes if we cannot get at the
floating-point registers.
(i386_store_return_value): New function.
* config/i386/tm-i386.h (STORE_RETURN_VALUE): Simply call
i386_store_return_value.
Add prototype for i386_store_return_value.

23 years ago* i386-linux-nat.c (store_fpxregs): Add code to detect support for
Mark Kettenis [Thu, 21 Dec 2000 20:18:45 +0000 (20:18 +0000)]
* i386-linux-nat.c (store_fpxregs): Add code to detect support for
the PTRACE_GETFPXREGS request, and return zero if it's not.

23 years agoFix for compiling under Solaris 2.8
Nick Clifton [Thu, 21 Dec 2000 18:43:33 +0000 (18:43 +0000)]
Fix for compiling under Solaris 2.8