Corinna Vinschen
f3b39c459b
* libc/include/grp.h: Include Cygwin specific header.
...
* libc/include/sys/stat.h: Ditto. Don't define `struct stat'
when compiling for Cygwin.
* libc/include/sys/types.h: Don't define off_t, uid_t
and gid_t when compiling for Cygwin.
2002-02-09 20:40:37 +00:00
Corinna Vinschen
52296b850c
* include/cygwin/grp.h: New file.
...
* include/cygwin/stat.h: Ditto.
* include/cygwin/types.h: Add definitions for __off32_t,
__off64_t, off_t, __uid16_t, __uid32_t, uid_t, __gid16_t,
__gid32_t and gid_t.
* include/sys/cygwin.h: Use correct uid and gid types.
2002-02-09 20:39:55 +00:00
Matthew Green
82b3ac561c
* libc/include/sys/reent.h (_REENT_CHECK_EMERGENCY): Allocate
...
_REENT_EMERGENCY_SIZE, not sizeof(char *).
2002-02-09 13:01:46 +00:00
Corinna Vinschen
ff86860ba6
* dtable.cc (dtable::dup2): Revert previous patch.
...
* fhandler.h: Ditto.
(fhandler_socket::recv): Define new method.
(fhandler_socket::send): Ditto.
* fhandler_socket.cc (fhandler_socket::recv): New method.
(fhandler_socket::send): Ditto.
(fhandler_socket::read): Call fhandler_socket::recv() now.
(fhandler_socket::write): Call fhandler_socket::send() now.
* net.cc (class wsock_event): Move definition to wsock_event.h.
(fdsock): Revert previous patch.
(cygwin_recv): Move implementation to fhandler_socket::recv().
(cygwin_send): Move implementation to fhandler_socket::send().
* wsock_event.h: New file.
2002-02-09 10:40:48 +00:00
Corinna Vinschen
d0672acc75
* net.cc (get_2k_ifconf): Create interface entries for tokenring cards.
2002-02-09 09:01:18 +00:00
Alexandre Oliva
3e790816ce
Contribute sh64-elf.
...
2000-12-01 Alexandre Oliva <aoliva@redhat.com>
* configure.in: Added sh64-*-*.
2002-02-09 03:15:34 +00:00
Corinna Vinschen
fae28904e9
* dtable.cc (dtable::dup2): Store fd for fhandler_socket.
...
* fhandler.h (fhandler_base::set_fd): New virtual method.
(fhandler_base::get_fd): Ditto.
(fhandler_socket::set_fd): Ditto.
(fhandler_socket::get_fd): Ditto.
* fhandler_socket.cc (fhandler_socket::read): Call cygwin_recv instead
of native Winsock recv.
(fhandler_socket::write): Call cygwin_send instead of native Winsock
send.
* net.cc (fdsock): Store fd in fhandler_socket.
2002-02-08 11:54:10 +00:00
Alexandre Oliva
9f25eed9c9
Contribute sh64-elf.
...
2001-03-13 Alexandre Oliva <aoliva@redhat.com>
* configure.host (newlib_cflags) [sh*-*-*]: Enable long long
support in printf.
2001-01-29 Alexandre Oliva <aoliva@redhat.com>
* libc/machine/sh/setjmp.S [SH5]: Switch to SHmedia mode before
any labels.
2001-01-24 Alexandre Oliva <aoliva@redhat.com>
* libc/sys/sh/trap.S (___trap34) [SH5]: Don't trash r2.
2000-12-16 Alexandre Oliva <aoliva@redhat.com>
* libc/machine/sh/configure.in: Rework conditionals.
* libc/machine/sh/Makefile.am: Likewise.
* libc/machine/sh/configure, libc/machine/sh/Makefile.in: Rebuilt.
2000-12-01 Alexandre Oliva <aoliva@redhat.com>
* configure.host: Match `sh*'.
* libc/include/machine/setjmp.h: Define for SH5.
* libc/machine/sh/configure.in: Detect SH5.
* libc/machine/sh/configure: Rebuilt.
* libc/machine/sh/Makefile.am: Use only setjmp.S for SH5.
* libc/machine/sh/Makefile.in: Rebuilt.
* libc/machine/sh/asm.h: Adjust for SH5.
* libc/machine/sh/setjmp.S: Implement in SHmedia.
* libc/sys/sh/crt0.S: Likewise.
* libc/sys/sh/trap.S: Likewise.
2002-02-08 07:11:13 +00:00
Alexandre Oliva
561486e7f1
Contribute sh64-elf.
...
2002-01-23 Alexandre Oliva <aoliva@redhat.com>
* sh.h (R_SH_GOTPLT32, R_SH_GOT_LOW16, R_SH_GOT_MEDLOW16,
R_SH_GOT_MEDHI16, R_SH_GOT_HI16, R_SH_GOTPLT_LOW16,
R_SH_GOTPLT_MEDLOW16, R_SH_GOTPLT_MEDHI16, R_SH_GOTPLT_HI16,
R_SH_PLT_LOW16, R_SH_PLT_MEDLOW16, R_SH_PLT_MEDHI16,
R_SH_PLT_HI16, R_SH_GOTOFF_LOW16, R_SH_GOTOFF_MEDLOW16,
R_SH_GOTOFF_MEDHI16, R_SH_GOTOFF_HI16, R_SH_GOTPC_LOW16,
R_SH_GOTPC_MEDLOW16, R_SH_GOTPC_MEDHI16, R_SH_GOTPC_HI16,
R_SH_GOT10BY4, R_SH_GOTPLT10BY4, R_SH_GOT10BY8,
R_SH_GOTPLT10BY8, R_SH_COPY64, R_SH_GLOB_DAT64, R_SH_JMP_SLOT64,
R_SH_RELATIVE64): New relocs.
(R_SH_FIRST_INVALID_RELOC_4): Adjust.
2001-05-16 Alexandre Oliva <aoliva@redhat.com>
* sh.h: Renumbered and renamed some SH5 relocations to match
official numbers and names; moved unmaching ones to the range
0xf2-0xff.
2001-01-06 Hans-Peter Nilsson <hpn@cygnus.com>
* sh.h (sh64_get_contents_type): Declare.
(sh64_address_is_shmedia): Likewise.
2000-12-30 Hans-Peter Nilsson <hpn@cygnus.com>
* sh.h (sh64_elf_crange): New type.
(struct sh64_section_data): New.
(sh64_elf_section_data): New macro.
(EF_SH5): Rename back from EF_SH64.
2000-12-18 Hans-Peter Nilsson <hpn@cygnus.com>
* sh.h (SHF_SH5_ISA32_MIXED, SHT_SH5_CR_SORTED,
SH64_CRANGES_SECTION_NAME, SH64_CRANGE_SIZE,
SH64_CRANGE_CR_ADDR_OFFSET, SH64_CRANGE_CR_SIZE_OFFSET,
SH64_CRANGE_CR_TYPE_OFFSET): New macros.
2000-12-12 Hans-Peter Nilsson <hpn@cygnus.com>
* sh.h (EF_SH64): Don't define EF_SH64_ABI64.
2000-11-27 Hans-Peter Nilsson <hpn@cygnus.com>
* sh.h (EF_SH64_32BIT_ABI, EF_SH64_64BIT_ABI): Delete.
(EF_SH64_ABI64): New.
2000-11-23 Hans-Peter Nilsson <hpn@cygnus.com>
* sh.h (EF_SH64): Rename from EF_SH5.
(EF_SH64_32BIT_ABI): New.
(EF_SH64_64BIT_ABI): New.
(R_SH_PT_16, R_SH_SHMEDIA_CODE
R_SH_IMMU5, R_SH_IMMS6, R_SH_IMMU6, R_SH_IMMS10, R_SH_IMMS10BY2,
R_SH_IMMS10BY4, R_SH_IMMS10BY8, R_SH_IMMS16, R_SH_IMMU16,
R_SH_IMM_LOW16, R_SH_IMM_LOW16_PCREL, R_SH_IMM_MEDLOW16,
R_SH_IMM_MEDLOW16_PCREL, R_SH_IMM_MEDHI16, R_SH_IMM_MEDHI16_PCREL,
R_SH_IMM_HI16, R_SH_IMM_HI16_PCREL, R_SH_64, R_SH_64_PCREL): New
relocs.
2000-09-01 Ben Elliston <bje@redhat.com>
* sh.h (EF_SH5): Define.
2002-02-08 05:05:58 +00:00
Alexandre Oliva
99d5d81ebb
Contribute sh64-elf.
...
2000-11-25 Hans-Peter Nilsson <hpn@cygnus.com>
* dis-asm.h (print_insn_sh64): New prototype.
(print_insn_sh64l): New prototype.
(print_insn_sh64x_media): New prototype.
2002-02-08 05:01:25 +00:00
Jeff Johnston
a2a405aea6
2002-02-07 Jeff Johnston <jjohnstn@redhat.com>
...
* libc/machine/i386/Makefile.am: (mach_add_src): Remove.
(mach_add_obj): Conditionally set to setjmp.o or nothing.
(LIB_SOURCES): Remove $(mach_add_src).
(lib_a_LIBADD, lib_a_DEPENDENCIES): Add and set to $(mach_add_src).
(lib_la_LIBADD, lib_la_DEPENDENCIES): Ditto.
* libc/machine/i386/Makefile.in: Regenerate.
2002-02-07 19:15:15 +00:00
Corinna Vinschen
1f64102fa6
* net.cc (cygwin_getsockname): Fix handling of NULL sun_path.
2002-02-07 15:04:32 +00:00
Frank Ch. Eigler
7a149da931
* opcodes disassembler extension
...
[includes]
2002-02-04 Frank Ch. Eigler <fche@redhat.com>
* dis-asm.h (disassemble_info): New field `insn_sets'.
(INIT_DISASSEMBLE_INFO): Clear it.
[opcodes]
2002-02-04 Frank Ch. Eigler <fche@redhat.com>
* cgen-dis.in (print_insn_@arch@): Support disassemble_info.insn_sets.
2002-02-05 19:40:42 +00:00
Mark Salter
fb3b3429a4
*** empty log message ***
2002-02-05 18:13:21 +00:00
Mark Salter
2dc2c168c5
Add eh stuff and .jcr.
2002-02-05 18:12:23 +00:00
Mark Salter
61bc57ac89
Add crti to startfile.
2002-02-05 18:11:13 +00:00
Mark Salter
4fa60ba901
Add init/fini support.
2002-02-05 18:09:18 +00:00
DJ Delorie
bf317e4b79
merge from gcc
2002-02-05 17:53:03 +00:00
Jeff Johnston
994fa212ea
Fix typo.
2002-02-05 17:17:28 +00:00
Jeff Johnston
27478365a2
2002-02-05 Manik Raina <manik@cisco.com>
...
* libc/misc/dprintf (parse_number): #if 0 unused function.
* libc/stdlib/ldtoa.c (_ldcheck): Remove unused local variables
s, p, k, and outstr.
* libc/stdlib/dtoa.c (_dtoa_r): Initialize mlo.
2002-02-05 17:14:35 +00:00
Jeff Johnston
1c4bd58770
2002-02-04 Jeff Johnston <jjohnstn@redhat.com>
...
* COPYING.NEWLIB: Remove advertising clause from
Berkeley and Red Hat licenses.
2002-02-05 00:29:31 +00:00
Jeff Johnston
815a37f78a
2002-02-04 Jeff Johnston <jjohnstn@redhat.com>
...
* libc/include/sys/reent.h [(!_REENT_SMALL]: Add
_REENT_CHECK_EMERGENCY macro.
2002-02-04 18:38:44 +00:00
DJ Delorie
cef36985fa
Remove redundant entry.
2002-02-03 13:16:18 +00:00
DJ Delorie
c6e163358d
merge from gcc
2002-02-03 13:12:31 +00:00
Matthew Green
a4139c1259
* libc/reent/signgam.c (__signgam): Fix error in previous.
2002-02-03 12:53:04 +00:00
Matthew Green
8195aff714
* implement a new `struct _reent' that is significantly smaller. use this
...
if _REENT_SMALL is defined in config.h. define this for xstormy16.
2002-02-03 09:24:18 +00:00
Andrew Cagney
ad67ada2fc
Revert sh64 changes. Accidently committed.
2002-02-02 04:48:29 +00:00
Mo DeJong
f1eca01afe
* Makefile.in: Add all-tix to deps for all-snavigator
...
so that tix is built when building snavigator.
2002-02-02 01:42:53 +00:00
Geoffrey Keating
9c2e764253
In ld/ChangeLog:
...
* scripttempl/xstormy16.sc: Don't allocate extra space for the
stack.
In libgloss/ChangeLog:
* xstormy16/Makefile.in (SIM_OBJS): Remove sbrk.o, add
sim_malloc_start.o.
* xstormy16/eva_app.ld: Add __malloc_start.
* xstormy16/sbrk.c: Remove.
* xstormy16/sim_malloc_start.s: New file.
* xstormy16/sim_high.ld: Make the stack start immediately at the
end of the program.
In newlib/ChangeLog:
* configure.host (xstormy16): Don't use the generic malloc.
* libc/machine/xstormy16/Makefile.am: Build tiny-malloc.
* libc/machine/xstormy16/Makefile.in: Regenerate.
* libc/machine/xstormy16/mallocr.c: New file.
* libc/machine/xstormy16/tiny-malloc.c: New file.
2002-02-01 18:00:41 +00:00
Michael Meissner
2c8d73598c
Allow mips user to override memory size
2002-02-01 17:22:59 +00:00
Nick Clifton
d49d4a33da
Synchronize dates with FSF version of the ChangeLog. Remove spurious entry.
2002-02-01 12:27:55 +00:00
Ben Elliston
c59ac44df4
* sim-sh64.h: New file.
2002-02-01 12:04:27 +00:00
Ben Elliston
9d1376ced2
* config.guess: Import from master sources, rev 1.229.
...
* config.sub: Import from master sources, rev 1.240.
2002-02-01 11:49:27 +00:00
Hans-Peter Nilsson
8a359155df
* mmix.h: Tweak comments.
...
(MMIX_LD_ALLOCATED_REG_CONTENTS_SECTION_NAME): New.
[BFD_ARCH_SIZE] (_bfd_mmix_prepare_linker_allocated_gregs,
_bfd_mmix_finalize_linker_allocated_gregs,
_bfd_mmix_check_all_relocs): Provide prototypes.
2002-02-01 08:05:13 +00:00
Tom Rix
f93591afed
Support small archive for pre AIX 4.3
2002-02-01 05:47:14 +00:00
DJ Delorie
b045f89c22
merge from gcc
2002-01-31 19:01:07 +00:00
Nick Clifton
5d4ac1011e
Add support for OpenRISC 32-bit embedded processor
2002-01-31 17:33:03 +00:00
Corinna Vinschen
29a1ad942e
* mkpasswd.c (main): Set default home path for 9x/Me if --path-to-home
...
isn't given.
2002-01-31 12:43:29 +00:00
Danny Smith
ae334f668d
* include/mapi.h: New file.
...
* lib/mapi.def: Add missing function stubs.
* lib/test.c: Include mapi.h.
2002-01-30 17:33:27 +00:00
Corinna Vinschen
9783296270
* passwd.cc (ChangePW): Add parameter to differ between called for
...
checking old password and called for changing password. If called
for checking old password, return non-zero only if password is surely
incorrect.
(main): Call ChangePW() with additional parameter.
2002-01-30 11:57:16 +00:00
Christopher Faylor
8e2deb48d6
add more words
2002-01-30 02:44:21 +00:00
Christopher Faylor
1c2b9fe563
* dump_setup.cc (parse_filename): Don't consider '_' part of the version.
2002-01-29 18:37:00 +00:00
Corinna Vinschen
562d97451a
* net.cc (getdomainname): Fix registry key for 9x systems, too.
2002-01-29 13:39:41 +00:00
Corinna Vinschen
94ee02fa05
* net.cc (getdomainname): Fix registry key for NT systems.
2002-01-29 13:23:09 +00:00
Christopher Faylor
012858ecdc
* cygcheck.cc: Fix typo. Remove uid_t kludge. Rely on kludge in sys/cygwin.h
...
instead.
* getfacl.c: Add include to remove warning.
* mkgroup.c (main): Assign variables outside of parameter passing. This seems
to eliminate some compiler warnings.
2002-01-29 03:08:42 +00:00
Christopher Faylor
4239e5ecf4
* cygcheck.cc: Use specific cygwin includes, as required.
2002-01-29 02:28:44 +00:00
Christopher Faylor
de6f83626a
* Makefile.in (MINGW_INCLUDES): Change cygwin include.
...
* strace.cc: Use specific cygwin includes, as required.
(load_cygwin): New function. Loads cygwin DLL, if necessary.
(attach_process): Attaches strace to a running process.
(dostrace): Accept pid argument. Attach to pid if supplied.
(usage): Describe -p option. Correct system description.
(longopts): Alphabetize.
(opts): Ditto.
(main): Ditto. Handle -p option.
* Makefile.in (CXXFLAGS): Ensure that important settings are preserved even
when overriden by command line.
2002-01-29 02:03:32 +00:00
Christopher Faylor
494a66d9c5
* external.cc (cygwin_internal): Initialize various internal settings if
...
required to allow use of some things from user loaded DLL.
(CW_STRACE_ON): Add new feature.
(CW_CYGWIN_PID_TO_WINPID): Ditto.
* pinfo.cc (set_myself): Call "strace.hello" to initiate possible strace
session.
(pinfo::init): Guard against dereferencing uninitialized myself.
* sigproc.cc (wait_sig): Call strace.hello() when __SIGTRACE "signal" received.
* strace.cc (strace::hello): New method.
* wincap.cc (wincapc::init): Avoid initializing if already initialized.
* wincap.h (wincapc::wincapc): New method.
* include/sys/cygwin.h: Add new CW_ enums. Kludge typedefs of {g,u}id_t if
required.
* strace.h (strace::hello): Declare new method.
2002-01-29 02:02:03 +00:00
Jason Merrill
a489b37643
elf/dwarf2.h: Sync with gcc version.
2002-01-28 23:26:53 +00:00
DJ Delorie
9775e5a156
merge from gcc
2002-01-28 22:03:14 +00:00