OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
23 years ago* errno.cc (set_errno_from_win_error): Actually use arguments to strace_printf.
cgf [Thu, 31 Aug 2000 20:07:53 +0000 (20:07 +0000)]
* errno.cc (set_errno_from_win_error): Actually use arguments to strace_printf.

23 years ago2000-08-31 Kazu Hirata <kazu@hxi.com>
kazu [Thu, 31 Aug 2000 18:36:17 +0000 (18:36 +0000)]
2000-08-31  Kazu Hirata  <kazu@hxi.com>

* frags.c: Fix formatting.
* macro.c: Likewise.

23 years ago2000-08-31 Eric Christopher <echristo@cygnus.com>
echristo [Thu, 31 Aug 2000 18:30:50 +0000 (18:30 +0000)]
2000-08-31  Eric Christopher  <echristo@cygnus.com>

* config/tc-mn10300.c:  Cleanup and fix warnings.
(md_pseudo_table): Add initializers.
(md_show_usage): Cleanup.
(md_parse_option): Fix warnings.
(md_undefined_symbol): Fix warnings.
(md_conver_frag): Fix warnings.
(tc_gen_reloc): Fix warnings.
(md_apply_fix3): Fix warnings.
(check_operand): Fix warnings.

23 years agoJust realized the list is in alphabetical order, so
davea [Thu, 31 Aug 2000 17:53:22 +0000 (17:53 +0000)]
Just realized the list is in alphabetical order, so
changed my new entry to put things in alphabetical order.

23 years agoAdd myself to write-after-approval list.
davea [Thu, 31 Aug 2000 17:48:18 +0000 (17:48 +0000)]
Add myself to write-after-approval list.

23 years ago* acinclude.m4: Include libtool and gettext macros from the
aoliva [Thu, 31 Aug 2000 09:46:11 +0000 (09:46 +0000)]
* acinclude.m4: Include libtool and gettext macros from the
top level.
* aclocal.m4, configure: Rebuilt.

23 years ago* acinclude.m4: Include libtool and gettext macros from the
aoliva [Thu, 31 Aug 2000 09:45:08 +0000 (09:45 +0000)]
* acinclude.m4: Include libtool and gettext macros from the
top level.
* aclocal.m4, configure: Rebuilt.

23 years ago* acinclude.m4: Include libtool and gettext macros from the
aoliva [Thu, 31 Aug 2000 09:42:47 +0000 (09:42 +0000)]
* acinclude.m4: Include libtool and gettext macros from the
top level.
* aclocal.m4, configure: Rebuilt.

23 years ago* acinclude.m4: Include libtool and gettext macros from the
aoliva [Thu, 31 Aug 2000 09:41:33 +0000 (09:41 +0000)]
* acinclude.m4: Include libtool and gettext macros from the
top level.
* aclocal.m4, configure: Rebuilt.

23 years ago* acinclude.m4: Include libtool and gettext macros from the
aoliva [Thu, 31 Aug 2000 09:37:59 +0000 (09:37 +0000)]
* acinclude.m4: Include libtool and gettext macros from the
top level.
* aclocal.m4, configure: Rebuilt.

23 years ago* acinclude.m4: Include libtool and gettext macros from the
aoliva [Thu, 31 Aug 2000 09:35:49 +0000 (09:35 +0000)]
* acinclude.m4: Include libtool and gettext macros from the
top level.
* aclocal.m4, configure: Rebuilt.

23 years ago* ltconfig, ltmain.sh: Updated from libtool multi-language branch.
aoliva [Thu, 31 Aug 2000 09:25:10 +0000 (09:25 +0000)]
* ltconfig, ltmain.sh: Updated from libtool multi-language branch.
* libtool.m4, ltcf-c.sh: Copied from libtool multi-language branch.
* gettext.m4: New file, extracted from aclocal.m4.

23 years agoIn src/gas/ChangeLog:
geoffk [Thu, 31 Aug 2000 06:48:48 +0000 (06:48 +0000)]
In src/gas/ChangeLog:
2000-08-30  Mark Hatle  <mhatle@mvista.com>

* config/tc-ppc.c (md_parse_option): Recognize -m405.

In src/opcodes/ChangeLog:
2000-08-30  Mark Hatle  <mhatle@mvista.com>

* ppc-opc.c Add XTLB macro for a few PPC 4xx extended mnemonics.
(powerpc_opcodes): Add table entries for PPC 405 instructions.
Changed rfci, icbt, mfdcr, dccci, mtdcr, iccci from PPC to PPC403
instructions.
Added extended mnemonic mftbl as defined in the 405GP manual
for all PPCs.

23 years ago2000-08-31 Kazu Hirata <kazu@hxi.com>
kazu [Thu, 31 Aug 2000 06:11:03 +0000 (06:11 +0000)]
2000-08-31  Kazu Hirata  <kazu@hxi.com>

* listing.c: Fix formatting.

23 years agoProtoization.
kevinb [Thu, 31 Aug 2000 03:19:06 +0000 (03:19 +0000)]
Protoization.

23 years agoRename bfd_elf_get_arch_size to bfd_get_arch_size().
kevinb [Thu, 31 Aug 2000 00:39:10 +0000 (00:39 +0000)]
Rename bfd_elf_get_arch_size to bfd_get_arch_size().

23 years ago* resrc.c (close_input_stream): delete extraneous logic
dj [Wed, 30 Aug 2000 23:06:03 +0000 (23:06 +0000)]
* resrc.c (close_input_stream): delete extraneous logic

23 years ago* times.cc (gettimeofday): use GetSystemTimeAsFileTime to avoid a
dj [Wed, 30 Aug 2000 22:37:24 +0000 (22:37 +0000)]
* times.cc (gettimeofday): use GetSystemTimeAsFileTime to avoid a
conversion
(FACTOR): correct value
(genf): set milliseconds to zero, DOW to 4.

23 years ago2000-08-30 Kazu Hirata <kazu@hxi.com>
jjohnstn [Wed, 30 Aug 2000 22:17:16 +0000 (22:17 +0000)]
2000-08-30  Kazu Hirata  <kazu@hxi.com>

        * libc/sys/h8300hms/crt0.S: Optimize for both speed and code size.

23 years ago* ld-undefined/undefined.exp (hppa*64*-*-*, mn10300-*-elf,
aoliva [Wed, 30 Aug 2000 22:01:46 +0000 (22:01 +0000)]
* ld-undefined/undefined.exp (hppa*64*-*-*, mn10300-*-elf,
sh-*-*): With dwarf-2, `undefined function' can't pass.

23 years agoApplied patch from David Edelsohn <dje@watson.ibm.com>.
kevinb [Wed, 30 Aug 2000 20:35:26 +0000 (20:35 +0000)]
Applied patch from David Edelsohn <dje@watson.ibm.com>.

23 years ago2000-08-30 Kazu Hirata <kazu@hxi.com>
kazu [Wed, 30 Aug 2000 18:51:25 +0000 (18:51 +0000)]
2000-08-30  Kazu Hirata  <kazu@hxi.com>

* tic80-dis.c: Fix formatting.

23 years ago2000-08-30 Werner Almesberger <Werner.Almesberger@epfl.ch>
jjohnstn [Wed, 30 Aug 2000 18:34:52 +0000 (18:34 +0000)]
2000-08-30  Werner Almesberger  <Werner.Almesberger@epfl.ch>

        * libc/posix/execve.c: included unistd.h for "_execve" prototype.
        * libc/misc/unctrl.c libc/sys/sysvi386/crt0.c (sccsid): changed
        "#ifndef lint" to "#if defined(LIBC_SCCS) && !defined(lint)" like
        everywhere else.

23 years agoCorrect for missing patch
geoffk [Wed, 30 Aug 2000 18:31:59 +0000 (18:31 +0000)]
Correct for missing patch

23 years ago * libc/string/swab.c: Specify that it's defined in <unistd.h>.
geoffk [Wed, 30 Aug 2000 18:30:14 +0000 (18:30 +0000)]
* libc/string/swab.c: Specify that it's defined in <unistd.h>.
* libc/include/string.h: Don't include <sys/types.h>,
as it causes really bad namespace pollution.  Don't declare
swab(), it is properly declared in unistd.h.

23 years ago2000-08-29 Michael Snyder <msnyder@seadog.cygnus.com>
msnyder [Wed, 30 Aug 2000 18:12:21 +0000 (18:12 +0000)]
2000-08-29  Michael Snyder  <msnyder@seadog.cygnus.com>

        * elf.c: Eliminate references to __sparcv9 macro; replace with
        autoconf variables HAVE_PSINFO32_T etc.
        * configure.in: Auto-configure HAVE_PSINFO_32_T, HAVE_PRPSINFO32_T,
        HAVE_PSTATUS32_T, HAVE_PRSTATUS32_T, HAVE_PRSTATUS32_T_PR_WHO.
        * config.in: Ditto.
        * acinclude.m4 (BFD_HAVE_SYS_PROCFS_TYPE) define _SYSCALL32 so it can
        detect the above typedefs.  (BFD_HAVE_SYS_PROCFS_TYPE_MEMBER): Ditto.
        * aclocal.m4: Ditto.
        * configure: Regenerate.

23 years ago2000-08-29 Michael Snyder <msnyder@seadog.cygnus.com>
msnyder [Wed, 30 Aug 2000 18:12:03 +0000 (18:12 +0000)]
2000-08-29  Michael Snyder  <msnyder@seadog.cygnus.com>

        * elf.c: Eliminate references to __sparcv9 macro; replace with
        autoconf variables HAVE_PSINFO32_T etc.
        * configure.in: Auto-configure HAVE_PSINFO_32_T, HAVE_PRPSINFO32_T,
        HAVE_PSTATUS32_T, HAVE_PRSTATUS32_T, HAVE_PRSTATUS32_T_PR_WHO.
        * config.in: Ditto.
        * acinclude.m4 (BFD_HAVE_SYS_PROCFS_TYPE) define _SYSCALL32 so it can
        detect the above typedefs.  (BFD_HAVE_SYS_PROCFS_TYPE_MEMBER): Ditto.
        * aclocal.m4: Ditto.
        * configure: Regenerate.

23 years ago2000-08-29 Kazu Hirata <kazu@hxi.com>
kazu [Wed, 30 Aug 2000 03:55:39 +0000 (03:55 +0000)]
2000-08-29  Kazu Hirata  <kazu@hxi.com>

* w65-dis.c: Fix formatting.

23 years ago2000-08-29 Kazu Hirata <kazu@hxi.com>
kazu [Wed, 30 Aug 2000 03:51:46 +0000 (03:51 +0000)]
2000-08-29  Kazu Hirata  <kazu@hxi.com>

* app.c: Fix a comment typo.  Fix formatting.

23 years ago2000-08-29 Michael Snyder <msnyder@seadog.cygnus.com>
msnyder [Wed, 30 Aug 2000 00:58:58 +0000 (00:58 +0000)]
2000-08-29  Michael Snyder  <msnyder@seadog.cygnus.com>

        * valops.c (value_cast): Indentation fix-up.
        * acconfig.h (HAVE_PRGREGSET32_T, HAVE_PRFPREGSET32_T,
        HAVE_STRUCT_LINK_MAP32): New configure macros.
        * config.in: Ditto.
        * configure.in: Test for the above new macros.
        * breakpoint.c: Update copyright date.
        * core-sol2.c: Include v9/sys/privregs.h directly to
        work around a bug in Sun's Solaris 8 header files.
        (fetch_core_registers): Use the above new configure macros to
        handle cross-debugging of 32-bit core files on a 64-bit host.
        * sol-thread.c (ps_pdmodel) New function.
        (rw_common): For debugging of 32-bit apps on a 64-bit host,
        truncate addresses to 32 bits.
        * solib.c (solib_extract_address): Functionize.  Make 32/64 aware.
        (LM_ADDR, LM_NEXT, LM_NAME): Ditto.
        (IGNORE_FIRST_LINK_MAP): Ditto.
        (first_link_map_member): Make 32/64 aware.
        (open_symbol_file_object): Ditto.
        (current_sos): Ditto.

23 years ago2000-08-29 Michael Snyder <msnyder@cleaver.cygnus.com>
msnyder [Tue, 29 Aug 2000 23:31:10 +0000 (23:31 +0000)]
2000-08-29  Michael Snyder  <msnyder@cleaver.cygnus.com>

        * i386-linux-nat.c (i386_linux_skip_solib_resolver,
        skip_hurd_resolver, find_minsym_and_objfile): Move these
        solib functions into i386-linux-tdep.c for cross debugging.
        * i386-linux-tdep.c: Receive the above functions.

23 years agoFix stack offset correction for 68hc11
ciceron [Tue, 29 Aug 2000 19:12:26 +0000 (19:12 +0000)]
Fix stack offset correction for 68hc11

23 years ago* grp.cc (getgroups): fail with EINVAL if array is not large
dj [Tue, 29 Aug 2000 18:59:25 +0000 (18:59 +0000)]
* grp.cc (getgroups): fail with EINVAL if array is not large
enough to hold all supplementary group IDs.

23 years ago2000-08-29 Werner Almesberger <Werner.Almesberger@epfl.ch>
jjohnstn [Tue, 29 Aug 2000 18:09:15 +0000 (18:09 +0000)]
2000-08-29  Werner Almesberger  <Werner.Almesberger@epfl.ch>

        * libc/unix/getpwent.c (getpwnam, getpwuid, getpwent): removed
        (broken) support for non-existent /etc/passwd field "comment".

23 years ago2000-08-29 Dave Brolley <brolley@redhat.com>
brolley [Tue, 29 Aug 2000 15:25:37 +0000 (15:25 +0000)]
2000-08-29  Dave Brolley  <brolley@redhat.com>

* utils-gen.scm (gen-ifld-extract): Pass total-len if
adata-integral-insn is true for this architecture.

23 years agoFix some ia64 gas failures.
twall [Tue, 29 Aug 2000 12:15:50 +0000 (12:15 +0000)]
Fix some ia64 gas failures.

23 years ago* signal.cc (_raise): New function.
cgf [Tue, 29 Aug 2000 02:06:49 +0000 (02:06 +0000)]
* signal.cc (_raise): New function.
* exceptions.cc (unused_sig_wrapper): Remove _raise.
* sigproc.h (class sigframe): Default frames to skip to zero or suffer from
exuberant optimization.
* fhandler_tty.cc (fhandler_tty::write): Set appropriate errno when WriteFile
to pipe fails.

23 years ago* kill.c (main): Avoid skipping next argument when a signal number is
cgf [Tue, 29 Aug 2000 01:58:00 +0000 (01:58 +0000)]
* kill.c (main): Avoid skipping next argument when a signal number is
specified.
* Makefile.in: Always clean dumper.exe.

23 years agoProtoization.
kevinb [Tue, 29 Aug 2000 01:56:58 +0000 (01:56 +0000)]
Protoization.

23 years agoFix segfault from last memory-leak fixing patch.
wilson [Mon, 28 Aug 2000 22:08:36 +0000 (22:08 +0000)]
Fix segfault from last memory-leak fixing patch.
* ia64-dis.c (print_insn_ia64): Add failed label after ia64_free_opcode
call.  Change last goto to use failed instead of done.

23 years ago* i386-linux-nat.c (fetch_inferior_registers): Move call to
kettenis [Mon, 28 Aug 2000 21:54:36 +0000 (21:54 +0000)]
* i386-linux-nat.c (fetch_inferior_registers): Move call to
dummy_sse_values ...
(supply_fpregset): ... here.

23 years ago2000-08-27 Werner Almesberger <Werner.Almesberger@epfl.ch>
jjohnstn [Mon, 28 Aug 2000 20:06:54 +0000 (20:06 +0000)]
2000-08-27  Werner Almesberger  <Werner.Almesberger@epfl.ch>

        * libc/posix/scandir.c (DIRSIZ, scandir): use struct dirent.d_namlen
        only if _DIRENT_HAVE_D_NAMLEN is defined.
        (alphasort): aligned prototype with
        libc/sys/cygwin/sys/dirent.h and simplified function body.
        * libc/posix/telldir.c (telldir): changed "telldir" prototype to
        long telldir (DIR *) as mentioned in annex B of POSIX.1

23 years ago2000-08-28 Dave Brolley <brolley@redhat.com>
brolley [Mon, 28 Aug 2000 18:20:29 +0000 (18:20 +0000)]
2000-08-28  Dave Brolley  <brolley@redhat.com>

* Makefile.in: Use of @true confuses VPATH. Remove it.
* cpu.h: Regenerated.
* cpux.h: Regenerated.
* decode.c: Regenerated.
* decodex.c: Regenerated.
* model.c: Regenerated.
* modelx.c: Regenerated.
* sem-switch.c: Regenerated.
* sem.c: Regenerated.
* semx-switch.c: Regenerated.

23 years ago2000-08-28 Dave Brolley <brolley@redhat.com>
brolley [Mon, 28 Aug 2000 18:19:41 +0000 (18:19 +0000)]
2000-08-28  Dave Brolley  <brolley@redhat.com>

* cpu.h: Regenerated.
* decode.c: Regenerated.

23 years ago2000-08-28 Dave Brolley <brolley@redhat.com>
brolley [Mon, 28 Aug 2000 18:18:49 +0000 (18:18 +0000)]
2000-08-28  Dave Brolley  <brolley@redhat.com>

* cgen-trace.c (sim_cgen_disassemble_insn): Make sure entire insn is
in insn_value if it will fit.

23 years ago2000-08-28 Dave Brolley <brolley@redhat.com>
brolley [Mon, 28 Aug 2000 18:17:54 +0000 (18:17 +0000)]
2000-08-28  Dave Brolley  <brolley@redhat.com>

* cgen-ibld.in (cgen_put_insn_int_value): New function.
(insert_normal): Allow for non-zero word_offset with CGEN_INT_INSN_P.
(insert_insn_normal): Use cgen_put_insn_int_value with CGEN_INT_INSN_P.
(extract_normal): Allow for non-zero word_offset with CGEN_INT_INSN_P.
* cgen-dis.in (read_insn): New static function.
(print_insn): Use read_insn to read the insn into the buffer and set
up for disassembly.
(print_insn): in CGEN_INT_INSN_P, make sure that the entire insn is
in the buffer.
* fr30-asm.c: Regenerated.
* fr30-desc.c: Regenerated.
* fr30-desc.h Regenerated.
* fr30-dis.c: Regenerated.
* fr30-ibld.c: Regenerated.
* fr30-opc.c: Regenerated.
* fr30-opc.h Regenerated.
* m32r-asm.c: Regenerated.
* m32r-desc.c: Regenerated.
* m32r-desc.h Regenerated.
* m32r-dis.c: Regenerated.
* m32r-ibld.c: Regenerated.
* m32r-opc.c: Regenerated.

23 years ago2000-08-27 Werner Almesberger <Werner.Almesberger@epfl.ch>
jjohnstn [Mon, 28 Aug 2000 17:50:06 +0000 (17:50 +0000)]
2000-08-27  Werner Almesberger  <Werner.Almesberger@epfl.ch>

        * libc/machine/i386/i386mach.h: added SOTYPE_FUNCTION to set type
        of global entry points if _I386MACH_NEED_SOTYPE_FUNCTION is defined;
        Added __CLI and __STI macros (controlled via
        _I386MACH_ALLOW_HW_INTERRUPTS macro).
        * libc/machine/i386/f_atan2.S libc/machine/i386/f_atan2f.S
        libc/machine/i386/f_frexp.S libc/machine/i386/f_frexpf.S
        libc/machine/i386/f_ldexp.S libc/machine/i386/f_ldexpf.S
        libc/machine/i386/f_log.S libc/machine/i386/f_log10.S
        libc/machine/i386/f_log10f.S libc/machine/i386/f_logf.S
        libc/machine/i386/f_tan.S libc/machine/i386/f_tanf.S
        libc/machine/i386/memchr.S libc/machine/i386/memcmp.S
        libc/machine/i386/memcpy.S libc/machine/i386/memmove.S
        libc/machine/i386/memset.S libc/machine/i386/setjmp.S
        libc/machine/i386/strchr.S libc/machine/i386/strlen.S:
        (that's libc/machine/i386/*.S) added SOTYPE_FUNCTION(symbol)
        for all global entry points.
        * libc/machine/i386/setjmp.S: removed code replicated in
        libc/machine/i386/i386mach.h and included i386mach.h instead;
        Use __CLI and __STI instead of cli and sti.

23 years ago2000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
jjohnstn [Mon, 28 Aug 2000 17:45:56 +0000 (17:45 +0000)]
2000-08-23  Werner Almesberger  <Werner.Almesberger@epfl.ch>

        * libc/stdlib/mprec.c (ulp, b2d, d2b): changed a few expressions
        like  x << y-z  to the equivalent  x << (y-z).
        (d2b): changed if statements with assignment to perform the
        assignment prior to the if check.
        * libc/reent/reent.c: included stdlib.h for "_free_r" prototype.
        * libc/unix/getpass.c (getpass): moved "echo" assignment out of if.
        * libc/unix/ttyname.c: included string.h for "strcpy" prototype.
        * libc/unix/getcwd.c (ISDOT): added parentheses to clarify && and ||
        precedence.
        * libc/include/sys/unistd.h: added "vfork" prototype (for popen.c).
        Added "_execve" prototype (for execl.c, execle.c, execv.c, and
        execve.c).
        * libc/posix/popen.c (popen): added parentheses to clarify && and ||
        precedence.
        * libm/math/e_cosh.c (__ieee754_cosh): changed parentheses to
        clarify && and || precendence (and to remove pascalism).
        * libm/math/e_sinh.c (__ieee754_sinh): Ditto.
        * libm/math/s_infconst.c: added another pair of braces to all
        initializers for __infinity (need three: for __infinity[1] array,
        for union __dmath, and for i[2]).

23 years ago2000-08-28 Kazu Hirata <kazu@hxi.com>
kazu [Mon, 28 Aug 2000 16:37:54 +0000 (16:37 +0000)]
2000-08-28  Kazu Hirata  <kazu@hxi.com>

* tic30-dis.c: Fix formatting.

23 years ago2000-08-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
ezannoni [Sun, 27 Aug 2000 22:30:28 +0000 (22:30 +0000)]
2000-08-27  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>

* pa64solib.c (pa64_solib_load_symbols): Don't use ANOFFSET as an
  lvalue.
* xcoffread.c (xcoff_symfile_offsets): Ditto
* somsolib.c (som_solib_section_offsets): Ditto.
* somread.c (som_symfile_offsets): Ditto.
* rs6000-nat.c (vmap_symtab): Ditto.
* remote-vx.c (vx_add_symbols): Ditto.
* remote-os9k.c (rombug_wait): Ditto.

23 years ago* gregset.h: Protect against multiple inclusion. Remove some
kettenis [Sun, 27 Aug 2000 21:37:16 +0000 (21:37 +0000)]
* gregset.h: Protect against multiple inclusion.  Remove some
redundant spaces.

23 years agoReclaim reloc space for symbols that have been forced local.
amodra [Sun, 27 Aug 2000 08:10:16 +0000 (08:10 +0000)]
Reclaim reloc space for symbols that have been forced local.

23 years ago* win32-nat.c (dll_symbol_command): Tack a .dll on the end of a supplied
cgf [Sun, 27 Aug 2000 04:21:34 +0000 (04:21 +0000)]
* win32-nat.c (dll_symbol_command): Tack a .dll on the end of a supplied
argument if it is missing an extension.

* corelow.c: Define O_BINARY if it isn't defined.
(core_open): Open core file in binary mode.
* config/i386/tm-cygwin.h (child_clear_solibs): Rename from child_clear_solib.
* config/i386/cygwin.mh: Add dependency from corelow.o.
* win32-nat.c (register_loaded_dll): New function.  Add dll to the list of
currently loaded dlls.
(handle_load_dll): Use register_loaded_dll.
(child_solib_add): Distinguish between active process and core targets.
(solib_symbols_add): Load symbols from loaded dll.
(core_dll_symbols_add): New function.  Load symbols from dll referenced in
core.
(core_section_load_dll_symbols): New function.
(dll_code_sections_add): New function.
(map_single_dll_code_section): New function.
(fetch_elf_core_registers): New function.
(_initialize_core_win32): New function.

23 years ago2000-08-27 Kazu Hirata <kazu@hxi.com>
kazu [Sat, 26 Aug 2000 18:50:14 +0000 (18:50 +0000)]
2000-08-27  Kazu Hirata  <kazu@hxi.com>

* sh-dis.c: Fix formatting.

23 years agoProtoization.
kevinb [Sat, 26 Aug 2000 17:29:53 +0000 (17:29 +0000)]
Protoization.

23 years agoMulti-arch support for 68hc11
ciceron [Sat, 26 Aug 2000 13:36:25 +0000 (13:36 +0000)]
Multi-arch support for 68hc11

23 years ago* pinfo.h (pinfo): Un-inline release.
cgf [Sat, 26 Aug 2000 03:48:37 +0000 (03:48 +0000)]
* pinfo.h (pinfo): Un-inline release.
* pinfo.cc (pinfo::release): Move here from pinfo.h.
* sigproc.cc (proc_terminate): Remove bogus 'pinfo child' which caused strange
destruction of random regions of memory when destructor was invoked.

23 years ago* dcrt0.cc (dll_crt0_1): Move set_os_type.
cgf [Sat, 26 Aug 2000 01:36:20 +0000 (01:36 +0000)]
* dcrt0.cc (dll_crt0_1): Move set_os_type.
(_dll_crt0): To here.
(cygwin_dll_init): And here.
* external.cc (fillout_pinfo): Use more foolproof method for scanning for pids.
* pinfo.cc (set_myself): Eliminate myself_identity.init.
* sigproc.cc (wait_sig): Do it here instead to reduce the amount of time where
there could potentially be two processes with the same pid.
* spawn.cc (spawn_guts): Eliminate duplicate initialization.
* include/sys/cygwin.h: Mark unused PID_* elements.

23 years agoFri Aug 25 16:57:05 2000 David Taylor <taylor@texas.cygnus.com>
taylor [Fri, 25 Aug 2000 21:03:00 +0000 (21:03 +0000)]
Fri Aug 25 16:57:05 2000  David Taylor  <taylor@texas.cygnus.com>

* regcache.c (register_changed): New function.
* value.h: Declare it.

23 years agoFri Aug 25 12:11:21 2000 David Taylor <taylor@texas.cygnus.com>
taylor [Fri, 25 Aug 2000 20:51:18 +0000 (20:51 +0000)]
Fri Aug 25 12:11:21 2000  David Taylor  <taylor@texas.cygnus.com>

* symtab.c (search_symbols): Fix off by one error in index for
  initializing variables ourtype, ourtype2, ourtype3, and ourtype4.
(symtab_symbol_info): fix similar off by one error.

Fri Aug 25 12:03:15 2000  David Taylor  <taylor@texas.cygnus.com>

* gdbarch.sh (TARGET_ADDR_BIT): New macro for the number
of bits in gdb's representation of a target address.
* gdbarch.c, gdbarch.h: Regenerated.
* gdbtypes.c (build_gdbtypes): Use TARGET_ADDR_BIT instead of
  TARGET_PTR_BIT when initializing builtin_type_CORE_ADDR.
* printcmd.c (print_address_numeric): Use TARGET_ADDR_BIT instead
  of TARGET_PTR_BIT, because we're printing an address, not a pointer.

23 years agoWhen choosing the target for a particular endianness, do nothing if the target
nickc [Fri, 25 Aug 2000 20:44:08 +0000 (20:44 +0000)]
When choosing the target for a particular endianness, do nothing if the target
is not supported.

23 years ago2000-08-24 H.J. Lu <hjl@gnu.org>
hjl [Fri, 25 Aug 2000 20:24:10 +0000 (20:24 +0000)]
2000-08-24  H.J. Lu  <hjl@gnu.org>

* emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Don't
check -rpath nor LD_RUN_PATH for cross link.
* ld.texinfo: Document the change.

23 years ago* libc/include/sys/unistd.h (environ): this one isn't from the
dj [Fri, 25 Aug 2000 20:14:44 +0000 (20:14 +0000)]
* libc/include/sys/unistd.h (environ): this one isn't from the
DLL, no __IMPORT

23 years ago * exec.cc (_execve): Change definition according to declaration in
corinna [Fri, 25 Aug 2000 19:52:04 +0000 (19:52 +0000)]
    * exec.cc (_execve): Change definition according to declaration in
        newlib/libc/include/sys/unistd.h.

23 years agoCorrectly calculate the pc relative offset of the target destination for jmp
nickc [Fri, 25 Aug 2000 18:40:14 +0000 (18:40 +0000)]
Correctly calculate the pc relative offset of the target destination for jmp
instructions.

23 years ago* libc/stdlib/system.c (do_system): Eliminate explicit declaration of environ
cgf [Fri, 25 Aug 2000 17:39:06 +0000 (17:39 +0000)]
* libc/stdlib/system.c (do_system): Eliminate explicit declaration of environ
when compiling under cygwin since it is already declared in unistd.h.

23 years ago* Makefile.in: Only build dumper.exe when all of its library and include
cgf [Fri, 25 Aug 2000 16:50:08 +0000 (16:50 +0000)]
* Makefile.in: Only build dumper.exe when all of its library and include
dependencies are available.

23 years agoAdd entry "How do I uninstall Cygwin?"
davidsb [Fri, 25 Aug 2000 16:35:16 +0000 (16:35 +0000)]
Add entry "How do I uninstall Cygwin?"

23 years ago* Makefile.in: Make failure to build dumper.exe a non-error.
cgf [Fri, 25 Aug 2000 15:45:42 +0000 (15:45 +0000)]
* Makefile.in: Make failure to build dumper.exe a non-error.

23 years agominor formatting fixes
davidsb [Fri, 25 Aug 2000 13:33:38 +0000 (13:33 +0000)]
minor formatting fixes

23 years agoMajor re-write of "Installation using the setup.exe program".
davidsb [Fri, 25 Aug 2000 13:15:10 +0000 (13:15 +0000)]
Major re-write of "Installation using the setup.exe program".

23 years agoMinor changes.
davidsb [Fri, 25 Aug 2000 12:57:19 +0000 (12:57 +0000)]
Minor changes.

23 years ago2000-08-24 Pierre Muller <muller@ics.u-strasbg.fr>
muller [Fri, 25 Aug 2000 07:54:32 +0000 (07:54 +0000)]
2000-08-24  Pierre Muller  <muller@ics.u-strasbg.fr>
       * Makefile.in: add rules to compile and link pascal specific files.
       * config/djgpp/fnchange.lst: add substitution for p-exp.tab.c.

23 years ago* external.cc (cygwin_internal): Add CW_INIT_EXCEPTIONS to allow cygwin
cgf [Fri, 25 Aug 2000 02:27:41 +0000 (02:27 +0000)]
* external.cc (cygwin_internal): Add CW_INIT_EXCEPTIONS to allow cygwin
exception handling on threads not created by cygwin.
* sigproc.cc (proc_terminate): Don't release pinfo structs since we are
exiting.
* include/sys/cygwin.h: Add CW_INIT_EXCEPTIONS.

23 years ago* ps.cc (main): Always print a cygwin process using cygwin paths.
cgf [Fri, 25 Aug 2000 02:25:52 +0000 (02:25 +0000)]
* ps.cc (main): Always print a cygwin process using cygwin paths.

23 years ago2000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
jjohnstn [Thu, 24 Aug 2000 22:32:38 +0000 (22:32 +0000)]
2000-08-23  Werner Almesberger  <Werner.Almesberger@epfl.ch>

        * libc/stdlib/mprec.c (ulp, b2d, d2b): changed a few expressions
        like  x << y-z  to the equivalent  x << (y-z).
        (d2b): changed if statements with assignment to perform the
        assignment prior to the if check.
        * libc/reent/reent.c: included stdlib.h for "_free_r" prototype.
        * libc/unix/getpass.c (getpass): moved "echo" assignment out of if.
        * libc/unix/ttyname.c: included string.h for "strcpy" prototype.
        * libc/unix/getcwd.c (ISDOT): added parentheses to clarify && and ||
        precedence.
        * libc/include/sys/unistd.h: added "vfork" prototype (for popen.c).
        Added "_execve" prototype (for execl.c, execle.c, execv.c, and
        execve.c).
        * libc/posix/popen.c (popen): added parentheses to clarify && and ||
        precedence.
        * libm/math/e_cosh.c (__ieee754_cosh): changed parentheses to
        clarify && and || precendence (and to remove pascalism).
        * libm/math/e_sinh.c (__ieee754_sinh): Ditto.
        * libm/math/s_infconst.c: added another pair of braces to all
        initializers for __infinity (need three: for __infinity[1] array,
        for union __dmath, and for i[2]).

23 years ago* ps.cc (main): Always print a cygwin process using cygwin paths.
cgf [Thu, 24 Aug 2000 22:04:29 +0000 (22:04 +0000)]
* ps.cc (main): Always print a cygwin process using cygwin paths.

23 years ago2000-08-24 David Edelsohn <dje@watson.ibm.com>
geoffk [Thu, 24 Aug 2000 21:42:35 +0000 (21:42 +0000)]
2000-08-24  David Edelsohn  <dje@watson.ibm.com>

* ppc-opc.c (powerpc_opcodes): Add rfid, mtsrd, mtsrdin, mtmsrd.

23 years ago* select.cc (cygwin_select): Correct logic for "always_ready" fds or when there
cgf [Thu, 24 Aug 2000 21:19:14 +0000 (21:19 +0000)]
* select.cc (cygwin_select): Correct logic for "always_ready" fds or when there
is no wait specified.
* syslog.cc (pass_handler::set_message): Zero the buffer prior to setting it.

23 years agoChange attribution.
cgf [Thu, 24 Aug 2000 19:07:29 +0000 (19:07 +0000)]
Change attribution.

23 years agoChange attribution.
cgf [Thu, 24 Aug 2000 19:07:14 +0000 (19:07 +0000)]
Change attribution.

23 years ago* Makefile.common: Add bupdir2 to reference above the i686-pc-cygwin directory.
cgf [Thu, 24 Aug 2000 19:05:38 +0000 (19:05 +0000)]
* Makefile.common: Add bupdir2 to reference above the i686-pc-cygwin directory.

23 years ago* Makefile.in: Add dumper.exe target and associated mechanisms for building it.
cgf [Thu, 24 Aug 2000 19:03:12 +0000 (19:03 +0000)]
* Makefile.in: Add dumper.exe target and associated mechanisms for building it.
* dumper.cc: New file.
* dumper.h: New file.
* module_info.cc: New file.
* parse_pe.cc: New file.

23 years ago2000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
jjohnstn [Thu, 24 Aug 2000 18:51:08 +0000 (18:51 +0000)]
2000-08-23  Werner Almesberger  <Werner.Almesberger@epfl.ch>

        * libc/stdlib/abort.c: changed description: uses "raise" instead of
        "getpid" and "kill"; added: uses "write" and "_exit".
        Also included unistd.h for "_exit" prototype.
        * libc/stdlib/system.c: included unistd.h for "execve" prototype,
        reent.h for "_fork_r" and "_wait_r" prototypes.
        (do_system): changed  extern char *environ[] to POSIX-friendly
        extern char **environ.
        * libc/stdlib/wctomb_r.c: included string.h for "strlen" and "strcmp"
        prototypes.
        * libc/stdlib/remove.c: included reent.h for "_unlink_r" prototype.
        * libc/reent/execr.c: included sys/wait.h for "wait" prototype.
        * libc/reent/fstatr.c: included sys/stat.h for "fstat" prototype.
        * libc/reent/openr.c: included fcntl.h for "open" prototype.
        * libc/reent/signalr.c: included signal.h for "kill" prototype,
        unistd.h for "getpid" prototype.
        * libc/reent/statr.c: included sys/stat.h for "stat" prototype.
        * libc/reent/timer.c: included sys/time.h for "gettimeofday" prototype.
        * libc/unix/getut.c (utmpname): removed local, incorrect "strdup"
        prototype.  Also included stdlib.h for "abort", string.h for
        "strdup" and "strncmp" prototypes.
        * libc/unix/getlogin.c: included string.h for "strncmp", "memset", and
        "strncpy", unistd.h for "read" and "close" prototypes.
        * libc/posix/execvp.c: included string.h for "strchr", "strlen", and
        "strcat" prototypes.

23 years ago* include/cygwin/core_dump.h: New file, contains structures used in cygwin core
cgf [Thu, 24 Aug 2000 18:39:27 +0000 (18:39 +0000)]
* include/cygwin/core_dump.h: New file, contains structures used in cygwin core
core files.
* include/sys/procfs.h: New file, needed to autoconfigure cygwin core dumps
support in bfd.

23 years ago* environ.cc (parse_thing): nobinmode should force O_TEXT.
cgf [Thu, 24 Aug 2000 17:54:43 +0000 (17:54 +0000)]
* environ.cc (parse_thing): nobinmode should force O_TEXT.
(regopt): Use correct path to find LOCAL_MACHINE registry options.
* fhandler.cc (fhandler_base::open): Set binary mode only when binmode ==
O_BINARY.
* pipe.cc (pipe): Pipe handling should rely on binmode not _fmode now that the
two are different.

23 years ago * NEWS: Mention support for CRIS.
hp [Thu, 24 Aug 2000 17:42:51 +0000 (17:42 +0000)]
* NEWS: Mention support for CRIS.

23 years agoAllow common symbols to have an alignment of 1 if explicitly requested, and
nickc [Thu, 24 Aug 2000 17:41:40 +0000 (17:41 +0000)]
Allow common symbols to have an alignment of 1 if explicitly requested, and
not overridden by other definitions.

23 years ago* include/sys/cygwin.h (strace_printf_wrap): Force printing when
cgf [Thu, 24 Aug 2000 17:23:35 +0000 (17:23 +0000)]
* include/sys/cygwin.h (strace_printf_wrap): Force printing when
_STRACE_SYSTEM.
(strace_printf_wrap1): Ditto.

23 years ago2000-08-24 Kazu Hirata <kazu@hxi.com>
kazu [Thu, 24 Aug 2000 17:20:17 +0000 (17:20 +0000)]
2000-08-24  Kazu Hirata  <kazu@hxi.com>

* z8k-dis.c: Fix formatting.

23 years ago * config/tc-avr.h (TC_IMPLICIT_LCOMM_ALIGNMENT): New macros.
denisc [Thu, 24 Aug 2000 16:54:03 +0000 (16:54 +0000)]
    * config/tc-avr.h (TC_IMPLICIT_LCOMM_ALIGNMENT): New macros.
        Sets `.lcomm' alignment to zero.

23 years ago * config/tc-avr.h (TC_IMPLICIT_LCOMM_ALIGNMENT): New macros.
denisc [Thu, 24 Aug 2000 16:50:21 +0000 (16:50 +0000)]
* config/tc-avr.h (TC_IMPLICIT_LCOMM_ALIGNMENT): New macros.
Sets `.lcomm' alignment to zero.

23 years ago* debug.h: Allow some debug defines for use in header files.
cgf [Thu, 24 Aug 2000 16:33:03 +0000 (16:33 +0000)]
* debug.h: Allow some debug defines for use in header files.

23 years ago2000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
jjohnstn [Thu, 24 Aug 2000 16:25:35 +0000 (16:25 +0000)]
2000-08-23  Werner Almesberger  <Werner.Almesberger@epfl.ch>

        * libc/stdio/stdio.c (__swrite): declare "oldmode" only if it's
        used later (ifdef __SCLE)
        * libc/stdio/vfscanf.c (__svfscanf): declare "state" only if it's
        used later (ifdef MB_CAPABLE)
        * libc/string/memset.c (memset): removed unused variables "count"
        and "unaligned_addr"
        * libc/locale/locale.c (_setlocale_r): declare "lc_ctype" and
        "last_lc_ctype" only of they're used later (ifdef MB_CAPABLE)
        * libc/unix/getpwent.c (getpwnam): removed unused variables "uid"
        and "gid"

23 years ago2000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
jjohnstn [Thu, 24 Aug 2000 16:11:59 +0000 (16:11 +0000)]
2000-08-23  Werner Almesberger  <Werner.Almesberger@epfl.ch>

        * libc/stdlib/envlock.c: changed documented "__env_lock" and
        "__env_unlock" prototype from "void *" or "char *" to
        "struct _reent *" to match real function.  Also added include
        of envlock.h.
        * libc/stdlib/mlock.c: changed documented "__malloc_lock" and
        "__malloc_unlock" prototype from "void *" or "char *" to
        "struct _reent *" to match real function.
        * libc/stdlib/envlock.h: added "__env_lock" and "__env_unlock"
        prototypes (for getenv_r.c and setenv_r.c).

23 years ago2000-08-24 Frank Ch. Eigler <fche@redhat.com>
fche [Thu, 24 Aug 2000 15:35:47 +0000 (15:35 +0000)]
2000-08-24  Frank Ch. Eigler  <fche@redhat.com>

* hardware.scm (<hw-immediate> get-index-mode): Define method.
* operand.scm (<operand> gen-pretty-name): Tolerate no op:sem-name.
* rtl-c.scm (-c-rtl-get): Improve an error message.
* sim.scm (-op-gen-set-trace): Support <derived-operand> lvalues.

23 years ago2000-08-20 Michael Chastain <chastain@redhat.com>
cagney [Thu, 24 Aug 2000 10:48:22 +0000 (10:48 +0000)]
2000-08-20  Michael Chastain  <chastain@redhat.com>

      * remote.c (read_frame): Handle SERIAL_TIMEOUT while reading
      checksum.

23 years ago* dcrt0.cc (dll_crt0_1): Move exception list and constructor stuff earlier in
cgf [Thu, 24 Aug 2000 04:07:50 +0000 (04:07 +0000)]
* dcrt0.cc (dll_crt0_1): Move exception list and constructor stuff earlier in
the process.  Use new second argument to set_myself.
(cygwin_dll_init): Initialize exception list and constructor stuff here.
(_dll_crt0): And here.  Also, deal with inherited pinfo shared memory region
from parent.
* pinfo.cc (set_myself): Accept a second argument signifying the a shared
memory region, passed from an execing parent.
(pinfo_init): Ditto.
* pinfo.h: Ditto.
* shared.h (child_info): Add a handle field to pass to child.
* spawn.cc (spawn_guts): Create a shared handle to pass to an execed child.
* winsup.h: Remove extraneous declaration.

23 years ago2000-08-23 H.J. Lu <hjl@gnu.org>
hjl [Wed, 23 Aug 2000 23:03:00 +0000 (23:03 +0000)]
2000-08-23  H.J. Lu  <hjl@gnu.org>

* emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Get
the current runpath list from bfd_elf_get_runpath_list ()
before search.

23 years ago* config/tc-i386.h <OBJ_MAYBE_ELF, OBJ_MAYBE_COFF>
aoliva [Wed, 23 Aug 2000 21:12:48 +0000 (21:12 +0000)]
* config/tc-i386.h <OBJ_MAYBE_ELF, OBJ_MAYBE_COFF>
(TC_FIX_ADJUSTABLE): Define.