OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
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.

23 years agoFix unwind section bug found by linux kernel.
wilson [Wed, 23 Aug 2000 20:36:37 +0000 (20:36 +0000)]
Fix unwind section bug found by linux kernel.
* config/tc-ia64.c (output_unw_records): Set U & E flags only if
unwind.personality_routine is set.

23 years ago* write.c (TC_FIX_ADJUSTABLE): Remove the duplicate.
aoliva [Wed, 23 Aug 2000 18:20:44 +0000 (18:20 +0000)]
* write.c (TC_FIX_ADJUSTABLE): Remove the duplicate.

23 years agoChange News to NEWS.
hjl [Wed, 23 Aug 2000 16:42:13 +0000 (16:42 +0000)]
Change News to NEWS.

23 years agoProtoize.
kevinb [Wed, 23 Aug 2000 16:37:23 +0000 (16:37 +0000)]
Protoize.

23 years agoRevert previous erroneous checkin.
cgf [Wed, 23 Aug 2000 14:56:28 +0000 (14:56 +0000)]
Revert previous erroneous checkin.

23 years ago* include/sys/cygwin.h: Protect class definitions.
cgf [Wed, 23 Aug 2000 14:53:24 +0000 (14:53 +0000)]
* include/sys/cygwin.h: Protect class definitions.

23 years ago* config/tc-i386.h (TC_FIX_ADJUSTABLE): Do *NOT* define if target
aoliva [Wed, 23 Aug 2000 11:19:20 +0000 (11:19 +0000)]
* config/tc-i386.h (TC_FIX_ADJUSTABLE): Do *NOT* define if target
environment is pe.

23 years ago * gdbmi.texinfo: Change flathead -> @sc{gdb/mi}.
eliz [Wed, 23 Aug 2000 09:15:25 +0000 (09:15 +0000)]
* gdbmi.texinfo: Change flathead -> @sc{gdb/mi}.
Fix typos and markup mistakes (from Dmitry S.
Sivachenko <dima@Chg.RU>).

23 years agodummy checkin to test mailing list archive.
cgf [Tue, 22 Aug 2000 20:36:39 +0000 (20:36 +0000)]
dummy checkin to test mailing list archive.

23 years agodummy checkin to test mailing list archive.
cgf [Tue, 22 Aug 2000 20:27:51 +0000 (20:27 +0000)]
dummy checkin to test mailing list archive.

23 years agodummy checkin to test mailing list archive.
cgf [Tue, 22 Aug 2000 20:23:26 +0000 (20:23 +0000)]
dummy checkin to test mailing list archive.

23 years agodummy checkin to test mailing list archive.
cgf [Tue, 22 Aug 2000 20:20:42 +0000 (20:20 +0000)]
dummy checkin to test mailing list archive.

23 years agoFix bugs detecting w65 architecture.
nickc [Tue, 22 Aug 2000 20:11:35 +0000 (20:11 +0000)]
Fix bugs detecting w65 architecture.

23 years ago* dummy checkin
fche [Tue, 22 Aug 2000 20:10:14 +0000 (20:10 +0000)]
* dummy checkin

23 years agodummy check to test mailing list archive.
cgf [Tue, 22 Aug 2000 20:08:54 +0000 (20:08 +0000)]
dummy check to test mailing list archive.

23 years ago* cgen-cvs test - dummy checkin
fche [Tue, 22 Aug 2000 20:03:20 +0000 (20:03 +0000)]
* cgen-cvs test - dummy checkin

23 years ago2000-08-22 H.J. Lu <hjl@gnu.org>
hjl [Tue, 22 Aug 2000 19:34:36 +0000 (19:34 +0000)]
2000-08-22  H.J. Lu  <hjl@gnu.org>

* emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Search
the DT_RPATH/DT_RUNPATH entries for DT_NEEDED after
LD_LIBRARY_PATH for native linker. Display the needed DSO if
trace_file_tries is non-zero.
(gld${EMULATION_NAME}_try_needed): Report the needed DSO found
if trace_file_tries is non-zero.

* ld.texinfo: Document the usage of DT_RPATH/DT_RUNPATH.
* News: Mention it.

23 years ago2000-08-22 H.J. Lu <hjl@gnu.org>
hjl [Tue, 22 Aug 2000 19:33:15 +0000 (19:33 +0000)]
2000-08-22  H.J. Lu  <hjl@gnu.org>

* elf-bfd.h (elf_link_hash_table): Add runpath.

* bfd-in.h (bfd_elf_get_runpath_list): New prototype.
* bfd-in2.h: Rebuilt.

* elf.c (_bfd_elf_link_hash_table_init): Initialize the
"runpath" field to NULL.
(bfd_elf_get_runpath_list): New function.

* elflink.h (elf_link_add_object_symbols): Record DT_RPATH and
DT_RUNPATH entries.

23 years agoForgot to check this in with last commit!
brolley [Tue, 22 Aug 2000 19:27:32 +0000 (19:27 +0000)]
Forgot to check this in with last commit!

23 years ago* Dougly Correct class names
fche [Tue, 22 Aug 2000 19:25:13 +0000 (19:25 +0000)]
* Dougly Correct class names

23 years ago* oops
fche [Tue, 22 Aug 2000 19:20:57 +0000 (19:20 +0000)]
* oops

23 years ago2000-08-22 H.J. Lu <hjl@gnu.org>
hjl [Tue, 22 Aug 2000 19:14:30 +0000 (19:14 +0000)]
2000-08-22  H.J. Lu  <hjl@gnu.org>

* config.in (STRICTCOFF): New for strict COFF.

* configure.in: Define STRICTCOFF for i386-*-msdosdjgpp*,
i386-*-go32* and i386-go32-rtems*.
* configure: Rebuilt.

* config/obj-coff.c (obj_coff_endef): Follow the historical
behavior if STRICTCOFF is not defined.

* doc/internals.texi: Document STRICTCOFF.

23 years ago* snapshot of work toward more complete support of derived-operands
fche [Tue, 22 Aug 2000 19:14:30 +0000 (19:14 +0000)]
* snapshot of work toward more complete support of derived-operands

2000-08-22  Frank Ch. Eigler  <fche@redhat.com>

* Makefile.in (DIST_COMMON): Regenerated.
* ifield.scm (derived-ifield needed-iflds): New method.
* iformat.scm (-ifmt-lookup-sfmt!): Use base ifields for
sfmts built from derived-ifields.
* operand.scm (-derived-parse-encoding): Give derived-ifield a fixed
type symbol 'derived-ifield, not an unparseable string.
* utils-sim.scm (op-needed-iflds) Handler 'derived-ifield case.
(-sfmt-contents): Add tracing.

From Doug Evans <dje@transmeta.com>:
* sim.scm (operand cxmake-get): Result is a <c-expr>, not a string of
C code.

23 years ago2000-08-21 H.J. Lu <hjl@gnu.org>
hjl [Tue, 22 Aug 2000 19:11:55 +0000 (19:11 +0000)]
2000-08-21  H.J. Lu <hjl@gnu.org>

* gas/all/cofftag.d: Support the strict COFF.

23 years ago* libc/unix/getut.c (utmpname): added _CONST to reflect common use
dj [Tue, 22 Aug 2000 19:04:49 +0000 (19:04 +0000)]
* libc/unix/getut.c (utmpname): added _CONST to reflect common use
and prototype in cygwin's utmp.h

23 years ago* path.cc (symlink_info::check): Clear error on each iteration of extension
cgf [Tue, 22 Aug 2000 17:59:53 +0000 (17:59 +0000)]
* path.cc (symlink_info::check): Clear error on each iteration of extension
check.

23 years ago* Makefile.in: Don't include '.d' file if there are none generated yet.
cgf [Tue, 22 Aug 2000 15:25:25 +0000 (15:25 +0000)]
* Makefile.in: Don't include '.d' file if there are none generated yet.

23 years ago* include/sys/cygwin.h: Declare some thread classes.
cgf [Tue, 22 Aug 2000 15:12:29 +0000 (15:12 +0000)]
* include/sys/cygwin.h: Declare some thread classes.
* include/mntent.h: Avoid declaring functions.

23 years ago* winsup.h: Eliminate inclusion of most of the cygwin .h files. Use .h files
cgf [Tue, 22 Aug 2000 05:10:20 +0000 (05:10 +0000)]
* winsup.h: Eliminate inclusion of most of the cygwin .h files.  Use .h files
only in sources which require them.
* Makefile.in: Generate dependencies with -MD option.

23 years ago* config-ml.in (CC, CXX): Avoid trailing whitespace.
aoliva [Tue, 22 Aug 2000 05:01:20 +0000 (05:01 +0000)]
* config-ml.in (CC, CXX): Avoid trailing whitespace.
(LD_LIBRARY_PATH, SHLIB_PATH): Adjust for multilibs and export to
sub-configures.

23 years ago* elf32-sh.c (sh_elf_relocate_section) [R_SH_IND12W,
aoliva [Tue, 22 Aug 2000 04:58:25 +0000 (04:58 +0000)]
* elf32-sh.c (sh_elf_relocate_section) [R_SH_IND12W,
R_SH_DIR8WPN, R_SH_DIR8WPZ, R_SH_DIR8WPL]: Handle them
explicitly.  Improve validation of r_type.

23 years ago* write.c (TC_FIX_ADJUSTABLE): Define to 1, if not defined.
aoliva [Tue, 22 Aug 2000 04:52:39 +0000 (04:52 +0000)]
* write.c (TC_FIX_ADJUSTABLE): Define to 1, if not defined.
(fixup_segment) Use it instead of TC_DONT_FIX_NON_ADJUSTABLE.
* config/tc-i386.h (TC_DONT_FIX_NON_ADJUSTABLE): Remove.
<OBJ_ELF, OBJ_COFF, TE_PE> (TC_FIX_ADJUSTABLE): Define.
* config/tc-arm.h (TC_DONT_FIX_NON_ADJUSTABLE): Remove.
<OBJ_ELF> (TC_FIX_ADJUSTABLE): Define.
* config/tc-i960.h, config/tc-m68k.h, config/tc-v850.h:
Likewise.

23 years ago* cygerrno.h: New file. Use this throughout whenever errno manipulation is
cgf [Tue, 22 Aug 2000 03:58:46 +0000 (03:58 +0000)]
* cygerrno.h: New file.  Use this throughout whenever errno manipulation is
required.
* errno.cc: Use DWORD to hold Windows errors.
(geterrno_from_win_error): New function.
(seterrno_from_win_error): Use geterrno_from_win_error to convert supplied
windows error (suggested by Corinna Vinschen).
* path.cc (symlink_info): Add error element.
* path.cc (path_conv::check): Remove errno setting.  Use new symlink_info errno
element to set path_conv error, where appropriate.
(symlink_info::check): Set error element rather than attempting to manipulate
errno.  Add more checks for trailing / and /..  even though they are currently
useless.  Avoid setting EINVAL.
* path.cc (normalize_posix_path): Correct check for trailing /.

23 years ago2000-08-22 Eric Christopher <echristo@cygnus.com>
echristo [Tue, 22 Aug 2000 01:20:40 +0000 (01:20 +0000)]
2000-08-22  Eric Christopher  <echristo@cygnus.com>

* config/tc-mn10300.c: (md_apply_fix): New function.
(mn10300_force_relocation): New function.
(mn10300_fix_adjustable): New function.

* config/tc-mn10300.h: (TC_FORCE_RELOCATION): Define.
(TC_HANDLES_FX_DONE): Define.
(obj_fix_adjustable): Define.
(MD_APPLY_FIX3): Define.
(TC_LINKRELAX_FIXUP): Define.

* write.c: (TC_LINKRELAX_FIXUP):  Define if not
previously defined.
(fixup_segment): Use TC_LINKRELAX_FIXUP.

* doc/internals.texi: Document TC_LINKRELAX_FIXUP.

23 years agoZero out the dynamic allocated content space. Add a comment to remind us that
nickc [Mon, 21 Aug 2000 23:42:56 +0000 (23:42 +0000)]
Zero out the dynamic allocated content space.  Add a comment to remind us that
one day this ought to be fixed.

23 years agoZero out the dynamic allocated content space. Add a comment to remind us that
nickc [Mon, 21 Aug 2000 23:41:31 +0000 (23:41 +0000)]
Zero out the dynamic allocated content space.  Add a comment to remind us that
one day this ought to be fixed.

23 years ago2000-08-21 Jason Eckhardt <jle@cygnus.com>
jle [Mon, 21 Aug 2000 23:26:18 +0000 (23:26 +0000)]
2000-08-21  Jason Eckhardt  <jle@cygnus.com>
bfd:
* elf32-i860.c (elf32_i860_relocate_pc16): Just write the immediate
field with the newly relocated value instead of adding it to the
existing immediate field.
(elf32_i860_relocate_splitn): Likewise.
(elf32_i860_relocate_highadj): Likewise.

gas:
* config/tc-i860.c (md_apply_fix3): Do not insert the immediate
if the fixup resulted in a relocation.

23 years agoChanged email address of Ulrich Lauther
nickc [Mon, 21 Aug 2000 20:30:04 +0000 (20:30 +0000)]
Changed email address of Ulrich Lauther

23 years agoUpdate copyright.
cgf [Mon, 21 Aug 2000 18:27:38 +0000 (18:27 +0000)]
Update copyright.

23 years ago* include/cygwin/cygwin_dll.h (DECLARE_CYGWIN_DLL): hinstance,
dj [Mon, 21 Aug 2000 18:15:49 +0000 (18:15 +0000)]
* include/cygwin/cygwin_dll.h (DECLARE_CYGWIN_DLL): hinstance,
not handle. (reverse of previous diff)

23 years ago* include/cygwin/cygwin_dll.h (DECLARE_CYGWIN_DLL): handle,
dj [Mon, 21 Aug 2000 17:47:52 +0000 (17:47 +0000)]
* include/cygwin/cygwin_dll.h (DECLARE_CYGWIN_DLL): handle,
not hinstance.

23 years agoProtoization.
kevinb [Mon, 21 Aug 2000 17:30:58 +0000 (17:30 +0000)]
Protoization.

23 years ago* Contribute CGEN simulator build support code.
fche [Mon, 21 Aug 2000 15:52:38 +0000 (15:52 +0000)]
* Contribute CGEN simulator build support code.
* Patch was posted by bje@redhat.com.

23 years ago * Makefile.in (ALL_MODULES): Add all-cgen.
devans [Sun, 20 Aug 2000 22:56:17 +0000 (22:56 +0000)]
* Makefile.in (ALL_MODULES): Add all-cgen.
(CROSS_CHECK_MODULES,INSTALL_MODULES,CLEAN_MODULES): Similarily.
(all-cgen): New target.
(all-opcodes,all-sim): Depend on all-cgen.
* configure.in (host_tools): Add cgen.
Only configure cgen if --enable-cgen-maint.

23 years ago * rtl-c.scm (rtl-c-expr-with-estate): New fn.
devans [Sun, 20 Aug 2000 22:52:32 +0000 (22:52 +0000)]
* rtl-c.scm (rtl-c-expr-with-estate): New fn.
(rtl-c-expr-parsed,rtl-c-expr): New fns.
(-rtl-c-get): Rename from rtl-c-get.
(rtl-c-get): New fn for getter logging.

23 years agoCheck arches->gdbarch and not current_gdbarch when looking for a match.
cagney [Sat, 19 Aug 2000 05:32:23 +0000 (05:32 +0000)]
Check arches->gdbarch and not current_gdbarch when looking for a match.

23 years ago* include/winnt.h:Add enums for TokenRestrictedSids and TokenSessionId
corinna [Sat, 19 Aug 2000 00:20:00 +0000 (00:20 +0000)]
* include/winnt.h:Add enums for TokenRestrictedSids and TokenSessionId
to TOKEN_INFORMATION_CLASS type.
Add QUOTA_LIMITS type.

23 years ago* MAINTAINERS: Add myself as dcache.c maintainer.
jtc [Fri, 18 Aug 2000 22:52:22 +0000 (22:52 +0000)]
* MAINTAINERS: Add myself as dcache.c maintainer.

* remote-nindy.c (nindy_load): Invalidate dcache.

* dcache.c (dcache_invd): Renamed from dcache_flush.  The term
flush with respect to caches usually implies that data will be
written to memory.
(dcache_init, dcache_xfer_memory): Updated.
* monitor.c (flush_monitor_dcache, monitor_resume, monitor_load):
Updated.
* ocd.c (ocd_open, ocd_resume, bdm_reset_command): Updated.
* remote-bug.c (bug_load, bug_resume): Updated.
* remote-nindy.c (nindy_open, nindy_resume): Updated.
* remote-sds.c (sds_open, sds_resume): Updated.
* remote-utils.c (gr_open): Updated.
* remote.c (remote_open_1, remote_resume, remote_async_resume,
remote_cisco_open): Updated.
* wince.c (child_create_inferior, child_resume): Updated.

* monitor.c (monitor_open): Free dcache before creating a new one.
* dcache.c (dcache_free): New function.
* dcache.h (dcache_free): New prototype.
-------------------------------------------------------------------

23 years agoAdd dummy params where needed.
cagney [Fri, 18 Aug 2000 22:02:43 +0000 (22:02 +0000)]
Add dummy params where needed.

23 years ago* Makefile.in: hinfo.o -> dtable.o.
cgf [Fri, 18 Aug 2000 20:01:04 +0000 (20:01 +0000)]
* Makefile.in: hinfo.o -> dtable.o.