binutils-gdb.git
26 years ago* r5900 sim test case fix
Frank Ch. Eigler [Thu, 5 Nov 1998 15:42:02 +0000 (15:42 +0000)]
* r5900 sim test case fix

Thu Nov  5 10:37:40 EST 1998  Frank Ch. Eigler <fche@cygnus.com>

* t-prot3w.s: Correct test of prot3w insn.

26 years ago* top.c (gdb_readline): Allow CRLF line termination on systems
Christopher Faylor [Thu, 5 Nov 1998 14:08:48 +0000 (14:08 +0000)]
* top.c (gdb_readline): Allow CRLF line termination on systems
which define CRLF_SOURCE_FILES.
* win32-nat.c: 1) Add thread support, 2) fix ability to attach to
a running process, and 3) implement limited support for cygwin
signals.
(thread_rec): New function.
(child_add_thread): Ditto.
(child_init_thread_list): Ditto.
(child_delete_thread): Ditto.
(do_child_fetch_inferior_registers): Ditto.
(do_child_store_inferior_registers): Ditto.
(handle_output_debug_string): Ditto.
(child_fetch_inferior_registers): Use do_* function to perform
operation.
(child_store_inferior_registers): Ditto.
(child_continue): Ditto.
(child_thread_alive): Ditto.
(cygwin_pid_to_str): Ditto.
(handle_load_dll): Reorganize, add first attempt at reading
dll names from attached processes.  Change info messages to provide
more information when dll is already loaded.
(handle_exception): Changes mandated by new thread-aware structures.
(child_wait): Track thread creation/destruction.  Handle cygwin
signals.
(child_create_inferior): Ditto.
(child_resume): Ditto.
(child_kill_inferior): Ditto.  Close child process handle to avoid a
handle leak.
(child_ops): Fill out child_ops fields that deal with threads.
* config/i386/tm-cygwin32.h: Declare function and macro needed
for converting a cygwin "pid" to a string.
* config/i386/xm-cygwin32.h: define HAVE_SIGSETMASK as 0 since
sigsetmask is not defined in cygwin.

26 years ago* win32-nat.c: Remove obsolete PPC conditionals.
Christopher Faylor [Thu, 5 Nov 1998 13:41:40 +0000 (13:41 +0000)]
* win32-nat.c: Remove obsolete PPC conditionals.

26 years ago* build fix
Frank Ch. Eigler [Thu, 5 Nov 1998 09:42:06 +0000 (09:42 +0000)]
* build fix
Thu Nov  5 10:29:42 EST 1998  Frank Ch. Eigler  <fche@cygnus.com>
* r5900.igen (r59fp_opdiv): Correct erroneous FGR[FD] reference.

26 years agoPR 16522
Andrew Cagney [Thu, 5 Nov 1998 09:42:05 +0000 (09:42 +0000)]
PR 16522
Fix RSQRT.S instruction, add test case.

26 years ago * sim-main.h: Delete inclusion of config.h, include sim-basics.h
Doug Evans [Thu, 5 Nov 1998 07:56:02 +0000 (07:56 +0000)]
* sim-main.h: Delete inclusion of config.h, include sim-basics.h
before cgen-types.h.
* tconfig.in: Guard against multiple inclusion.
* cpu.h: Delete decls moved to genmloop.sh.
* cpux.h: Ditto.

26 years ago * genmloop.sh (eng.hin): Rename HAVE_PARALLEL_EXEC to
Doug Evans [Thu, 5 Nov 1998 07:53:37 +0000 (07:53 +0000)]
* genmloop.sh (eng.hin): Rename HAVE_PARALLEL_EXEC to
HAVE_PARALLEL_INSNS, define as 0 or 1.  Emit decls of fns in mloop.cin.
* cgen-engine.h: Typedefs of IADDR,CIA,SEM_ARG,SEM_PC moved ...
* cgen-sim.h: ... to here.

26 years agoAdd support for FR30
Nick Clifton [Thu, 5 Nov 1998 00:41:24 +0000 (00:41 +0000)]
Add support for FR30

26 years agoAdd support for the FR30.
Nick Clifton [Thu, 5 Nov 1998 00:26:25 +0000 (00:26 +0000)]
Add support for the FR30.

26 years agoAdded support for FR30
Nick Clifton [Thu, 5 Nov 1998 00:05:50 +0000 (00:05 +0000)]
Added support for FR30

26 years agoAdd support for FR30
Nick Clifton [Wed, 4 Nov 1998 23:58:00 +0000 (23:58 +0000)]
Add support for FR30

26 years agoadd some comments
Doug Evans [Wed, 4 Nov 1998 19:27:20 +0000 (19:27 +0000)]
add some comments

26 years ago * v850ice.c (do_gdb): New function.
Keith Seitz [Wed, 4 Nov 1998 01:17:03 +0000 (01:17 +0000)]
    * v850ice.c (do_gdb): New function.
        (ice_stepi): Use do_gdb to step properly.
        (ice_nexti): Use do_gdb to step properly.
        (view_source): Correct call to src window's location for new version.

26 years agoFix mn10200 build failure on redhat 5.0 linux.
Jim Wilson [Tue, 3 Nov 1998 20:28:12 +0000 (20:28 +0000)]
Fix mn10200 build failure on redhat 5.0 linux.
* c-exp.y (parse_number): Check TARGET_LONG_LONG_BIT when setting
high_bit to avoid undefined negative shift.

26 years ago * config/tc-m32r.c (assemble_two_insns): Ensure both insns
Doug Evans [Tue, 3 Nov 1998 05:05:58 +0000 (05:05 +0000)]
* config/tc-m32r.c (assemble_two_insns): Ensure both insns
are 16 bit insns.
PR 18135.

26 years ago * gas/m32r/error.exp: New error testcase driver.
Doug Evans [Tue, 3 Nov 1998 05:03:11 +0000 (05:03 +0000)]
* gas/m32r/error.exp: New error testcase driver.
* gas/m32r/wrongsize.s: New testcase.
PR 18135.

26 years ago * gas/m32r/fslot.[sd]: New testcase.
Doug Evans [Tue, 3 Nov 1998 04:25:28 +0000 (04:25 +0000)]
* gas/m32r/fslot.[sd]: New testcase.
* gas/m32r/m32r.exp: Run it.
* gas/m32r/fslotx.[sd]: New testcase.
* gas/m32r/m32rx.exp: Run it.
* gas/m32r/m32rx.[sd]: Update.
PR 18134.

26 years agoMon Nov 2 20:10:18 1998 Martin von Loewis <loewis@informatik.hu-berlin.de>
Ian Lance Taylor [Tue, 3 Nov 1998 01:16:02 +0000 (01:16 +0000)]
Mon Nov  2 20:10:18 1998  Martin von Loewis  <loewis@informatik.hu-berlin.de>

* app.c (do_scrub_begin): Set characters above 127 to be symbol
characters.
(do_scrub_chars): Add some casts to unsigned char to avoid
unwanted sign extension.
* read.c (lex_type): Set characters about 127 to be symbol
characters.
* config/tc-i386.c (md_begin): Set identifier_chars and
operand_chars for values above 127.

26 years agoMon Nov 2 15:26:33 1998 Geoffrey Noer <noer@cygnus.com>
Geoffrey Noer [Mon, 2 Nov 1998 23:28:59 +0000 (23:28 +0000)]
Mon Nov  2 15:26:33 1998  Geoffrey Noer  <noer@cygnus.com>

        * configure.in: Check cygwin* instead of cygwin32*.
        * configure: regenerate

26 years agoMon Nov 2 15:26:33 1998 Geoffrey Noer <noer@cygnus.com>
Geoffrey Noer [Mon, 2 Nov 1998 23:27:41 +0000 (23:27 +0000)]
Mon Nov  2 15:26:33 1998  Geoffrey Noer  <noer@cygnus.com>

        * configure.in: Check cygwin* instead of cygwin32*.

26 years agoMon Nov 2 15:19:33 1998 Geoffrey Noer <noer@cygnus.com>
Geoffrey Noer [Mon, 2 Nov 1998 23:20:51 +0000 (23:20 +0000)]
Mon Nov  2 15:19:33 1998  Geoffrey Noer  <noer@cygnus.com>

        * configure.in: drop "32" from config/mh-cygwin32.  Check
        cygwin* instead of cygwin32*.
        * config.sub: Check cygwin* instead of cygwin32*.

26 years agoMon Nov 2 15:15:33 1998 Geoffrey Noer <noer@cygnus.com>
Geoffrey Noer [Mon, 2 Nov 1998 23:18:10 +0000 (23:18 +0000)]
Mon Nov  2 15:15:33 1998  Geoffrey Noer  <noer@cygnus.com>

        * mh-cygwin32: delete
        * mh-cygwin: was mh-cygwin32

26 years agoMon Nov 2 15:05:33 1998 Geoffrey Noer <noer@cygnus.com>
Geoffrey Noer [Mon, 2 Nov 1998 23:16:11 +0000 (23:16 +0000)]
Mon Nov  2 15:05:33 1998  Geoffrey Noer  <noer@cygnus.com>

        * configure.in: detect cygwin* instead of cygwin32*
        * configure: regenerate

26 years agoMon Nov 2 15:05:33 1998 Geoffrey Noer <noer@cygnus.com>
Geoffrey Noer [Mon, 2 Nov 1998 23:08:52 +0000 (23:08 +0000)]
Mon Nov  2 15:05:33 1998  Geoffrey Noer  <noer@cygnus.com>

        * configure.in: detect cygwin* instead of cygwin32*
        * configure: regenerate

26 years agoMon Nov 2 14:59:33 1998 Geoffrey Noer <noer@cygnus.com>
Geoffrey Noer [Mon, 2 Nov 1998 23:02:04 +0000 (23:02 +0000)]
Mon Nov  2 14:59:33 1998  Geoffrey Noer  <noer@cygnus.com>

        * configure.in: detect cygwin* instead of cygwin32*
        * configure: regenerate

26 years agoDon't report error for dynamic links and --gc-sections.
Catherine Moore [Mon, 2 Nov 1998 20:52:40 +0000 (20:52 +0000)]
Don't report error for dynamic links and --gc-sections.

26 years ago* adding missing ChangeLog header line
Frank Ch. Eigler [Mon, 2 Nov 1998 11:51:27 +0000 (11:51 +0000)]
* adding missing ChangeLog header line

26 years ago * elf-m10300.c (mn10300_elf_relax_section): Do not use alloca,
Jeff Law [Mon, 2 Nov 1998 02:34:41 +0000 (02:34 +0000)]
    * elf-m10300.c (mn10300_elf_relax_section): Do not use alloca,
        use bfd_malloc and free instead and check return value from bfd_malloc.

26 years ago * libbfd-in.h (_bfd_dwarf1_find_nearest_line): Declare.
Ian Lance Taylor [Sun, 1 Nov 1998 21:25:43 +0000 (21:25 +0000)]
* libbfd-in.h (_bfd_dwarf1_find_nearest_line): Declare.
* libbfd.h: Rebuild.

26 years agoSun Nov 1 12:46:53 1998 Geoff Keating <geoffk@ozemail.com.au>
Ian Lance Taylor [Sun, 1 Nov 1998 17:51:29 +0000 (17:51 +0000)]
Sun Nov  1 12:46:53 1998  Geoff Keating  <geoffk@ozemail.com.au>

* elf32-ppc.c (ppc_elf_adjust_dynamic_symbol): Allocate two slots
for later PLT entries in large PLTs.
(ppc_elf_finish_dynamic_symbol): Allow for the extra slots.

26 years ago * elf32-ppc.c (ppc_elf_reload_section): Fix typo.
Jeff Law [Sun, 1 Nov 1998 03:11:16 +0000 (03:11 +0000)]
    * elf32-ppc.c (ppc_elf_reload_section): Fix typo.

26 years agoFri Oct 30 15:14:49 1998 Geoffrey Noer <noer@cygnus.com>
Geoffrey Noer [Sat, 31 Oct 1998 00:54:19 +0000 (00:54 +0000)]
Fri Oct 30 15:14:49 1998  Geoffrey Noer  <noer@cygnus.com>

        * dllwrap.c: change all references to cygwin32_ to cygwin_,
        change Cygwin target def to CYGWIN.

26 years ago From Philip Blundell <pb@nexus.co.uk>:
Catherine Moore [Fri, 30 Oct 1998 18:00:46 +0000 (18:00 +0000)]
    From Philip Blundell <pb@nexus.co.uk>:
        * arm.h (R_ARM_COPY, et al.): New relocs, used by Linux for PIC.
        (EF_ALIGN8): New flag.

26 years agoAdded missing keeper files.
Michael Snyder [Fri, 30 Oct 1998 17:39:48 +0000 (17:39 +0000)]
Added missing keeper files.

26 years ago* build fix for tx39 sim; caused by sky->devo merge
Frank Ch. Eigler [Fri, 30 Oct 1998 09:49:18 +0000 (09:49 +0000)]
* build fix for tx39 sim; caused by sky->devo merge
* dv-tx3904cpu.c (deliver_tx3904cpu_interrupt): Add dummy
interrupt level number to match changed SignalExceptionInterrupt
macro.

26 years ago* Updated sanitization
Frank Ch. Eigler [Fri, 30 Oct 1998 07:03:14 +0000 (07:03 +0000)]
* Updated sanitization
- remove memories of old sim/testsuite/sky directory
- add new dir sim/testsuite/mips64el-elf to "always-keep" list

26 years ago * lib/sim-defs.exp (sim_run): download target program to remote
Felix Lee [Fri, 30 Oct 1998 00:39:44 +0000 (00:39 +0000)]
    * lib/sim-defs.exp (sim_run): download target program to remote
        host, if necessary.  for unix-driven win32 testing.

26 years agoupdate
Geoffrey Noer [Thu, 29 Oct 1998 22:52:39 +0000 (22:52 +0000)]
update

26 years ago * cgen.h (CGEN_VERSION_{MAJOR,MINOR,FIXLEVEL}): Delete.
Doug Evans [Thu, 29 Oct 1998 19:40:37 +0000 (19:40 +0000)]
* cgen.h (CGEN_VERSION_{MAJOR,MINOR,FIXLEVEL}): Delete.

26 years agofix minor typo.
Michael Snyder [Thu, 29 Oct 1998 18:24:04 +0000 (18:24 +0000)]
fix minor typo.

26 years agoThu Oct 29 10:04:20 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
Michael Snyder [Thu, 29 Oct 1998 18:07:01 +0000 (18:07 +0000)]
Thu Oct 29 10:04:20 1998  Michael Snyder  <msnyder@cleaver.cygnus.com>

        [Support for trace debugging: registers that were not collected.]
        * remote.c (remote_fetch_registers): accept 'xxxx' in the register
        packet, with the meaning "register value is not available".
        Set register_valid to -1, which will connote "no value available".
        * findvar.c (read_relative_register_raw_bytes): return failure if
        register_valid == -1.  (value_of_register): return failure if
        register_valid == -1.  (read_var_value): return error if
        value_of_register fails for a register variable.
        (value_from_register): return failure if register_valid == -1.
        * eval.c (evaluate_subexp_standard): return error if
        value_of_register fails for a register used in an expression.
        * infcmd.c (do_registers_info): display "value not available"
        for registers for which register_valid == -1.

        * tracepoint.c (set_raw_tracepoint): just save the filename as is
        from the symbol table, rather than trying to prepend the dir name.
        Also save the bfd section.  (tracepoints_info): use the section
        when looking up the function name.
        * tracepoint.h: add section field to tracepoint struct.

26 years ago* Test cases for PR 18015.
Frank Ch. Eigler [Thu, 29 Oct 1998 17:28:18 +0000 (17:28 +0000)]
* Test cases for PR 18015.

Thu Oct 29 12:07:06 1998  Frank Ch. Eigler  <fche@cygnus.com>

* t-psrlvw.s (test_psrlvw): Add test for sign-extension in insn.
* t-padsbh.s: New test.
* t-mult1.s: New test.
* Makefile.in: Run them.

26 years ago* sky->devo merge, continued -- left out the r5900 TLB last time!
Frank Ch. Eigler [Thu, 29 Oct 1998 13:44:37 +0000 (13:44 +0000)]
* sky->devo merge, continued -- left out the r5900 TLB last time!
* includes a small PR 17224 tweak

26 years ago* monster sky->devo merge -- sky sim test suites
Frank Ch. Eigler [Thu, 29 Oct 1998 12:59:50 +0000 (12:59 +0000)]
* monster sky->devo merge -- sky sim test suites

26 years ago* sky->devo merge; dummy test suite directory for mips64el-skyb-elf target.
Frank Ch. Eigler [Thu, 29 Oct 1998 12:07:51 +0000 (12:07 +0000)]
* sky->devo merge; dummy test suite directory for mips64el-skyb-elf target.

26 years agocommit sanitized b20 branch
Geoffrey Noer [Thu, 29 Oct 1998 11:48:39 +0000 (11:48 +0000)]
commit sanitized b20 branch

26 years ago* Fixes for PR 18015, from customer.
Frank Ch. Eigler [Thu, 29 Oct 1998 09:30:11 +0000 (09:30 +0000)]
* Fixes for PR 18015, from customer.
Thu Oct 29 11:06:30 EST 1998  Frank Ch. Eigler <fche@cygnus.com>
* r5900.igen: Fix PSRLVW, MULTU1, PADSBH instructions,
as per customer patch.

26 years agoWed Oct 28 16:19:02 1998 Martin M. Hunt <hunt@cygnus.com>
Martin Hunt [Thu, 29 Oct 1998 00:58:34 +0000 (00:58 +0000)]
Wed Oct 28 16:19:02 1998  Martin M. Hunt  <hunt@cygnus.com>

* gdbtk-cmds.c (gdb_set_bp_addr): For callback, send full
pathname instead of just basename.

26 years ago * sim-if.c (sim_do_command): Handle "sim info reg {bbpsw,bbpc}".
Doug Evans [Wed, 28 Oct 1998 22:45:11 +0000 (22:45 +0000)]
* sim-if.c (sim_do_command): Handle "sim info reg {bbpsw,bbpc}".
Bring over from branch.

26 years agoFor cygwin hosts, we need to use the return value from the read
Drew Moseley [Wed, 28 Oct 1998 21:16:44 +0000 (21:16 +0000)]
For cygwin hosts, we need to use the return value from the read
routine as the number of bytes to process.  This apparently is due to
text-mode vs binary-mode.  If the mounts are done text-mode, then the
size returnedby fstat() may be different than the number of bytes
"read" in text mode.

26 years agoFixup previous delta by replacing 'unsigned long' with 'bfd_vma'
Nick Clifton [Wed, 28 Oct 1998 18:32:07 +0000 (18:32 +0000)]
Fixup previous delta by replacing 'unsigned long' with 'bfd_vma'

26 years ago* peripheral part of sky->devo merge
Frank Ch. Eigler [Wed, 28 Oct 1998 16:08:03 +0000 (16:08 +0000)]
* peripheral part of sky->devo merge
* patch approved by shebs
Wed Oct 28 12:33:52 EST 1998  Frank Ch. Eigler <fche@cygnus.com>
* configure.in: Accept both -skyb- and -sky- for
--with-sim-funit/gpu2 options.
* configure: Rebuilt.

26 years ago * sparcl-tdep.c (send_resp, sparclite_serial_start,
Mark Alexander [Wed, 28 Oct 1998 16:08:02 +0000 (16:08 +0000)]
* sparcl-tdep.c (send_resp, sparclite_serial_start,
sparclite_serial_write): Use remote_timeout instead of hardcoded
two second timeout.
(download): Fix adjustment of a.out load addresses.

26 years agoUnify (well almost) --enable-build-warnings configuration option
Andrew Cagney [Wed, 28 Oct 1998 02:01:32 +0000 (02:01 +0000)]
Unify (well almost) --enable-build-warnings configuration option
across GDB and SIM directories.

26 years agoApplied patch from Philip Blundell <pb@nexus.co.uk>: Make address variables
Nick Clifton [Tue, 27 Oct 1998 22:40:43 +0000 (22:40 +0000)]
Applied patch from Philip Blundell <pb@nexus.co.uk>:  Make address variables
unsigned to avoid problems when disassembling code at high-bit-set addresses.

26 years ago* Fix for testcase for checking PR 17362.
Frank Ch. Eigler [Tue, 27 Oct 1998 21:49:15 +0000 (21:49 +0000)]
* Fix for testcase for checking PR 17362.

Tue Oct 27 15:20:16 EST 1998  Frank Ch. Eigler <fche@cygnus.com>

* t-prot3w.s: Test changed spec of prot3w insn.

26 years agoFix comment.
Nick Clifton [Tue, 27 Oct 1998 21:20:35 +0000 (21:20 +0000)]
Fix comment.

26 years agoAdd support for producing a lsiting from piped input.
Nick Clifton [Tue, 27 Oct 1998 21:19:21 +0000 (21:19 +0000)]
Add support for producing a lsiting from piped input.

26 years ago * config/tc-mips.c (hilo_interlocks): Remove mips_3900.
Gavin Romig-Koch [Tue, 27 Oct 1998 14:04:03 +0000 (14:04 +0000)]
* config/tc-mips.c (hilo_interlocks): Remove mips_3900.
(append_insn): Account for the tx39's multiply behavior.
* mips.h (INSN_MULT): Added.
* mips-opc.c (IS_M): Added.

26 years ago* MONSTER sky -> devo merge
Frank Ch. Eigler [Tue, 27 Oct 1998 12:48:08 +0000 (12:48 +0000)]
* MONSTER  sky -> devo merge
* ChangeLog / ChangeLog.sky entries were merged with original time stamps;
  a few were moved between the files

26 years agoReplace syserr_list with more portable strerror().
Andrew Cagney [Tue, 27 Oct 1998 03:42:14 +0000 (03:42 +0000)]
Replace syserr_list with more portable strerror().

26 years agoMon Oct 26 14:07:59 1998 Mumit Khan <khan@xraylith.wisc.edu>
Geoffrey Noer [Tue, 27 Oct 1998 01:03:28 +0000 (01:03 +0000)]
Mon Oct 26 14:07:59 1998  Mumit Khan  <khan@xraylith.wisc.edu>

        * dllwrap.c (strhash): New function.
        (main): Use it to supply image base if not supplied by user.
        (program_version): Up to 0.2.4.

Mon Oct 26 14:07:59 1998  Mumit Khan  <khan@xraylith.wisc.edu>

        * dlltool.c (add_stdcall_alias): New global.
        (long_options): Add --add-stdcall-alias option.
        (main): Handle it.
        (scan_drectve_symbols): Add alias if --add-stdcall-alias is
        specified.
        (scan_filtered_symbols): Likewise.
        (gen_def_file): Output alias for stdcall syms if appropriate.

        * binutils.texi (dlltool): Document --add-stdcall-alias option.

        * dllwrap.c (long_options): Add --add-stdcall-alias option.
        (main): Handle it.

        * defparse.y (opt_name): Allow "." in name.
        * dlltool.c (def_name): Set dll_name from NAME entry in def file.
        (def_library): Set dll_name from LIBRARY entry in def file.

Mon Oct 26 14:07:59 1998  Mumit Khan  <khan@xraylith.wisc.edu>

        * dllwrap.c (long_options): --implib synonym for --output-lib.
        (main): Pass --export-all to dlltool only if specified.
        (program_version): Up to 0.2.3.

Mon Oct 26 14:07:59 1998  Mumit Khan  <khan@xraylith.wisc.edu>

        * dllwrap.c (mybasename): New function.
        (main): Run dlltool to create export definition file and import
        library file if necessary.
        Change exp_file_name so that it's based on the dll name.

26 years agoPR 17947: Add -> to indicate two instructions are explicitly serial
Michael Meissner [Tue, 27 Oct 1998 00:36:15 +0000 (00:36 +0000)]
PR 17947: Add -> to indicate two instructions are explicitly serial

26 years ago1998-10-26 16:05 Ulrich Drepper <drepper@cygnus.com>
Ulrich Drepper [Tue, 27 Oct 1998 00:08:03 +0000 (00:08 +0000)]
1998-10-26 16:05  Ulrich Drepper  <drepper@cygnus.com>

* lexsup.c (ld_options): Change text of -O to Optimize output file".
(parse_args): Set link_info.optimize based on -O argument.
* ldmain.c (main): Initialize link_info.optimze to false.
* ld.texinfo: Describe -O option.
* ld.1: Likewise.

26 years agoDescribe -O option.
Ulrich Drepper [Tue, 27 Oct 1998 00:07:50 +0000 (00:07 +0000)]
Describe -O option.

26 years ago(main): Initialize link_info.optimze to false.
Ulrich Drepper [Tue, 27 Oct 1998 00:07:26 +0000 (00:07 +0000)]
(main): Initialize link_info.optimze to false.

26 years ago(struct bfd_link_info): Add new field optimize.
Ulrich Drepper [Tue, 27 Oct 1998 00:05:11 +0000 (00:05 +0000)]
(struct bfd_link_info): Add new field optimize.

26 years ago1998-10-26 15:58 Ulrich Drepper <drepper@cygnus.com>
Ulrich Drepper [Tue, 27 Oct 1998 00:04:05 +0000 (00:04 +0000)]
1998-10-26 15:58  Ulrich Drepper  <drepper@cygnus.com>

* elf-bfd.h (struct elf_link_hash_entry): Add new field elf_hash_value.
* elflink.h (elf_collect_hash_codes): New function.  This function is
called for each exported symbol and we compute the ELF hash value for
it.
(compute_bucket_value): New function.  It is called from
size_dynamic_sections to determine the hash table size.  When we are
optimizing a better, but slower, algorithm is used.
(size_dynamic_sections): Call compute_bucket_value.

* elf.c (bfd_elf_hash): Optimize the hash function a bit.

26 years ago(elf_collect_hash_codes): New function. This function is called for
Ulrich Drepper [Tue, 27 Oct 1998 00:03:37 +0000 (00:03 +0000)]
(elf_collect_hash_codes): New function.  This function is called for
each exported symbol and we compute the ELF hash value for it.
(compute_bucket_value): New function.  It is called from
size_dynamic_sections to determine the hash table size.  When we are
optimizing a better, but slower, algorithm is used.
(size_dynamic_sections): Call compute_bucket_value.

26 years ago(bfd_elf_hash): Optimize the hash function a bit.
Ulrich Drepper [Tue, 27 Oct 1998 00:00:50 +0000 (00:00 +0000)]
(bfd_elf_hash): Optimize the hash function a bit.

26 years ago(struct elf_link_hash_entry): Add new field elf_hash_value.
Ulrich Drepper [Tue, 27 Oct 1998 00:00:13 +0000 (00:00 +0000)]
(struct elf_link_hash_entry): Add new field elf_hash_value.

26 years ago* config/rs6000/aix4.mh (NATDEPFILES): Move xcoffread.o from here.
Andrew Cagney [Mon, 26 Oct 1998 03:26:00 +0000 (03:26 +0000)]
* config/rs6000/aix4.mh (NATDEPFILES): Move xcoffread.o from here.
* config/rs6000/aix4.mt (TDEPFILES): To here.
* rdi-share/unixcomm.c: Provide definitions of SERPORT and PARPORT on
  BSD hosts.

26 years agoSun Oct 25 10:37:45 1998 Mumit Khan <khan@xraylith.wisc.edu>
Geoffrey Noer [Mon, 26 Oct 1998 01:23:29 +0000 (01:23 +0000)]
Sun Oct 25 10:37:45 1998  Mumit Khan  <khan@xraylith.wisc.edu>

        * dlltool.c (scan_all_symbols): Fix patch error.

26 years ago * config/tc-sh.c (sh_fix_adjustable): Adjust EXTERN and
Catherine Moore [Sat, 24 Oct 1998 20:24:50 +0000 (20:24 +0000)]
    * config/tc-sh.c (sh_fix_adjustable):  Adjust EXTERN and
        WEAK handling.

26 years agoadd ld-selective
Catherine Moore [Sat, 24 Oct 1998 19:50:53 +0000 (19:50 +0000)]
add ld-selective

26 years agoNew for ld-selective
Catherine Moore [Sat, 24 Oct 1998 19:43:14 +0000 (19:43 +0000)]
New for ld-selective

26 years ago * ld-selective: New directory with new files to test
Catherine Moore [Fri, 23 Oct 1998 21:32:56 +0000 (21:32 +0000)]
   * ld-selective:  New directory with new files to test
       selective linking.

       * lib/ld-lib.exp (ld_nm):  Strip leading underscore from $name.

26 years ago* Fixes for PRs 17559, 16602, brought over from sky branch.
Frank Ch. Eigler [Fri, 23 Oct 1998 11:31:32 +0000 (11:31 +0000)]
* Fixes for PRs 17559, 16602, brought over from sky branch.
start-sanitize-r5900
Fri Oct 23 12:06:00 EDT 1998  Frank Ch. Eigler <fche@cygnus.com>
* mips-opc.c (vrget, vclipw, vrnext): Correct COP2 opcodes
and masks.
end-sanitize-r5900

26 years ago* Fix for PR 17559 brought over from sky branch
Frank Ch. Eigler [Fri, 23 Oct 1998 11:30:09 +0000 (11:30 +0000)]
* Fix for PR 17559 brought over from sky branch
start-sanitize-r5900
Fri Oct 23 13:01:24 EDT 1998 Frank Ch. Eigler <fche@cygnus.com>
* gas/mips/vu0.[sd]: Update tests for VRNEXT and VRGET
instructions, to match corrected operand synatx.
end-sanitize-r5900

26 years agoWritten policy on GDB checkins.
Stan Shebs [Thu, 22 Oct 1998 20:34:42 +0000 (20:34 +0000)]
Written policy on GDB checkins.

26 years agoRevert last change.
Catherine Moore [Thu, 22 Oct 1998 17:46:33 +0000 (17:46 +0000)]
Revert last change.

26 years ago * config/tc-mips.c : support frame and regmask/fregmask when
Ron Unrau [Thu, 22 Oct 1998 16:02:52 +0000 (16:02 +0000)]
    * config/tc-mips.c : support frame and regmask/fregmask when
          MIPS_STABS_ELF is specified.

26 years ago1998-10-20 Syd Polk <spolk@cygnus.com>
Syd Polk [Tue, 20 Oct 1998 22:39:11 +0000 (22:39 +0000)]
1998-10-20  Syd Polk  <spolk@cygnus.com>

* Makefile.in configure.in: Add the ability to use tcl8.1 and tk8.1
if desired.

26 years ago1998-10-20 Syd Polk <spolk@cygnus.com>
Syd Polk [Tue, 20 Oct 1998 22:37:44 +0000 (22:37 +0000)]
1998-10-20  Syd Polk  <spolk@cygnus.com>

* acinclude.m4: Re-exported TCL_LIBS and TCL_LD_SEARCH_FLAGS
because itcl needs them.

26 years agoTue Oct 20 11:35:06 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
Ian Lance Taylor [Tue, 20 Oct 1998 15:36:31 +0000 (15:36 +0000)]
Tue Oct 20 11:35:06 1998  Alan Modra  <alan@spri.levels.unisa.edu.au>

* gas/i386/i386.exp: Run AMD insn test.
* gas/i386/amd.s: New test.
* gas/i386/amd.d: New test results.

26 years agoTue Oct 20 11:18:28 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
Ian Lance Taylor [Tue, 20 Oct 1998 15:33:27 +0000 (15:33 +0000)]
Tue Oct 20 11:18:28 1998  Alan Modra  <alan@spri.levels.unisa.edu.au>

* doc/c-i386.texi: Replace occurences of "opcode" with
"instruction mnemonic", "instruction", or "mnemonic" when
referring to the name of an instruction.  Use "opcode" when
referring to the sequence of machine bytes.

* config/tc-i386.c (opcode_chars): Rename to mnemonic_chars.
(is_opcode_char): Rename to is_mnemonic_char.
(md_assemble and i386_operand): Correct error messages from
        "opcode" to "instruction mnemonic"
Rename throughout opcode[] -> mnemonic[], opp -> mnem_p,
MAX_OPCODE_SIZE -> MAX_MNEM_SIZE,
DWORD_OPCODE_SUFFIX -> DWORD_MNEM_SUFFIX,
WORD_OPCODE_SUFFIX -> WORD_MNEM_SUFFIX,
BYTE_OPCODE_SUFFIX -> BYTE_MNEM_SUFFIX,
SHORT_OPCODE_SUFFIX -> SHORT_MNEM_SUFFIX
LONG_OPCODE_SUFFIX -> LONG_MNEM_SUFFIX

* config/tc-i386.h (*_MNEM_SUFFIX): Rename from *_OPCODE_SUFFIX.

26 years agoTue Oct 20 11:18:28 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
Ian Lance Taylor [Tue, 20 Oct 1998 15:24:45 +0000 (15:24 +0000)]
Tue Oct 20 11:18:28 1998  Alan Modra  <alan@spri.levels.unisa.edu.au>

* config/tc-i386.c (i386_operand): Check for garbage after
register name.

26 years ago * config/tc-i386.c (md_apply_fix3): Change handling of PCREL reloc
Ian Lance Taylor [Tue, 20 Oct 1998 14:51:09 +0000 (14:51 +0000)]
* config/tc-i386.c (md_apply_fix3): Change handling of PCREL reloc
  for BFD_ASSEMBLER to only change value when COFF if TE_PE.

26 years agoAdd vtable relocs.
Catherine Moore [Tue, 20 Oct 1998 01:28:46 +0000 (01:28 +0000)]
Add vtable relocs.

26 years ago * config/tc-sh.h (obj_fix_adjustable): Define.
Catherine Moore [Tue, 20 Oct 1998 01:26:55 +0000 (01:26 +0000)]
    * config/tc-sh.h (obj_fix_adjustable):  Define.
        * config/tc-sh.c (sh_force_relocation):  Handle VT relocs.
        (md_apply_fix):  Likewise.
        (tc_gen_reloc):  Likewise.
        (sh_fix_adjustable):  New.

26 years ago * sim-main.h: #include cpu-opc.h.
Doug Evans [Mon, 19 Oct 1998 23:33:40 +0000 (23:33 +0000)]
* sim-main.h: #include cpu-opc.h.
* arch.c,arch.h,decode.c,extract.c,model.c,sem.c: Regenerate
to get #include cleanup.
* decodex.c,extractx.c,modelx.c: Ditto.

26 years ago* Makefile.in (all-cgen): Depend on all-libiberty.
Doug Evans [Mon, 19 Oct 1998 22:45:16 +0000 (22:45 +0000)]
* Makefile.in (all-cgen): Depend on all-libiberty.

26 years ago1998-10-19 Jason Molenda (jsm@bugshack.cygnus.com)
Jason Molenda [Mon, 19 Oct 1998 22:25:28 +0000 (22:25 +0000)]
1998-10-19  Jason Molenda  (jsm@bugshack.cygnus.com)

        * configure.in (AM_EXEEXT): Use AC_EXEEXT instead.
        * configure: Regenerated.

Geoff just removed the AM_EXEEXT definition from ../binutils/aclocal.m4
so we would have been hosed in the near future.

26 years ago * Makefile.in (SIM_EXTRA_DEPS): Replace cgen headers with
Doug Evans [Mon, 19 Oct 1998 21:14:14 +0000 (21:14 +0000)]
* Makefile.in (SIM_EXTRA_DEPS): Replace cgen headers with
CGEN_INCLUDE_DEPS.
(M32RBF_INCLUDE_DEPS): Define.
(m32r .o's): Depend on it.
(mloop.c): Update call to genmloop.sh.
* cpu.h,cpuall.h: Regenerate.
* sim-main.h: Delete inclusion of cpu.h,decode.h, moved to cpuall.h.
#include cgen-scache.h,cgen-cpu.h.
* tconfig.in (WITH_FOO semantic macros): Delete.
* Makefile.in (M32RXF_INCLUDE_DEPS): Define.
(m32rx .o's): Depend on it.
(mloopx.c): Update call to genmloop.sh.
* cpux.h: Regenerate.

26 years ago * Make-common.in (CGEN_INCLUDE_DEPS): Define.
Doug Evans [Mon, 19 Oct 1998 21:00:59 +0000 (21:00 +0000)]
* Make-common.in (CGEN_INCLUDE_DEPS): Define.
(sim-core.o): Delete duplicate dependence on $(SIM_EXTRA_DEPS).
(sim-cpu.o,sim-endian.o,sim-hw.o): Ditto.
(cgen-run.o,cgen-scache.o,cgen-trace.o,cgen-utils.o): Delete
explicit cgen header dependencies, require SIM_EXTRA_DEPS to include
CGEN_INCLUDE_DEPS.
* cgen-cpu.h: New file.
* cgen-engine.h: New file.
* cgen-scache.h: New file.
* cgen-sim.h: Delete portions moved to new files.
* genmloop.sh: Generate two files eng.hin,mloop.cin explicitly,
rather than sending result to stdout.

26 years ago * cgen-asm.in (insert_1): New function.
Doug Evans [Mon, 19 Oct 1998 20:15:24 +0000 (20:15 +0000)]
* cgen-asm.in (insert_1): New function.
(insert_normal): Progress on handling ! CGEN_INT_INSN_P.
(insert_insn_normal): Update handling of CGEN_INT_INSN_P.
(@arch@_cgen_assemble_insn): Update type of `buf' arg.
* cgen-dis.in (extract_1): New function.
(extract_normal): buf_ctrl renamed to ex_info, update type.
Progress on handling of CGEN_INT_INSN_P.
(extract_insn_normal): buf_ctrl renamed to ex_info, update type.
Update handling of CGEN_INT_INSN_P.  Handle errors from
@arch@_cgen_extract_operand.
(print_insn): Renamed from print_int_insn.  Handle ! CGEN_INT_INSN_P.
(default_print_insn): Renamed from print_insn.
Handle ! CGEN_INT_INSN_P.
(print_insn_@arch@): Handle error returns from print_insn.
* cgen-opc.in (cgen_get_insn_value, cgen_put_insn_value): New fns.
(@arch@_cgen_lookup_insn): Update handling of CGEN_INT_INSN_P.
(@arch@_cgen_lookup_get_insn_operands): Ditto.
* m32r-opc.c,m32r-opc.h,m32r-asm.c,m32r-dis.c: Regenerate.

26 years ago * cgen.h (CGEN_INSN_INT): New typedef.
Doug Evans [Mon, 19 Oct 1998 19:50:37 +0000 (19:50 +0000)]
* cgen.h (CGEN_INSN_INT): New typedef.
(CGEN_INT_INSN_P): Renamed from CGEN_INT_INSN.
(CGEN_INSN_BYTES): Renamed from cgen_insn_t.
(CGEN_INSN_BYTES_PTR): New typedef.
(CGEN_EXTRACT_INFO): New typedef.
(cgen_insert_fn,cgen_extract_fn): Update.
(cgen_opcode_table): New member `insn_endian'.
(assemble_insn,lookup_insn,lookup_get_insn_operands): Update.
(insert_operand,extract_operand): Update.
(cgen_get_insn_value,cgen_put_insn_value): Add prototypes.

26 years ago * cgen.c (gas_cgen_finish_insn): Update handling of CGEN_INT_INSN_P.
Doug Evans [Mon, 19 Oct 1998 19:45:40 +0000 (19:45 +0000)]
* cgen.c (gas_cgen_finish_insn): Update handling of CGEN_INT_INSN_P.
* cgen.h (gas_cgen_finish_insn): Update prototype.
* config/tc-m32r.c (m32r_insn): CGEN_INT_INSN -> CGEN_INT_INSN_P.
cgen_insn_t -> CGEN_INSN_INT.
(make_parallel): Update handling of CGEN_INT_INSN_P.
(assemble_parallel_insn): Ditto.
(target_make_parallel): New function.
(md_assemble): Use it.

26 years agoFix typo.
Catherine Moore [Mon, 19 Oct 1998 18:21:05 +0000 (18:21 +0000)]
Fix typo.

26 years ago * acinclude.m4: undo previous gettext change
Felix Lee [Mon, 19 Oct 1998 16:58:17 +0000 (16:58 +0000)]
    * acinclude.m4: undo previous gettext change
        * aclocal.m4: rebuild with right version of aclocal.