Christopher Faylor
e2b3dc2580
* exceptions.cc: Add stdlib.h include for alloca declaration.
...
* poll.cc: Ditto.
* termios.cc: Ditto.
* syscalls.cc (_write): Only allow zero length when fd is valid.
2001-11-15 03:25:52 +00:00
Alan Modra
d590035529
binutils/ChangeLog
...
* doc/binutils.texi (objdump): Document ppc -M options.
gas/ChangeLog
* config/tc-ppc.c (ppc_insert_operand): Pass (ppc_cpu | ppc_size)
to operand->insert.
(md_assemble): Likewise.
gas/testsuite/ChangeLog
* gas/ppc/booke.d: Modify reloc and target matches for powerpc64.
include/opcode/ChangeLog
* ppc.h (struct powerpc_operand <insert, extract>): Add dialect param.
opcodes/ChangeLog
* ppc-opc.c (PPC64): Revert 2001-10-12. Do include PPC_OPCODE_PPC.
(insert_bat, extract_bat, insert_bba, extract_bba,
insert_bd, extract_bd, insert_bdm, extract_bdm,
insert_bdp, extract_bdp, valid_bo,
insert_bo, extract_bo, insert_boe, extract_boe,
insert_ds, extract_ds, insert_de, extract_de,
insert_des, extract_des, insert_li, extract_li,
insert_mbe, extract_mbe, insert_mb6, extract_mb6,
insert_nb, extract_nb, insert_nsi, extract_nsi,
insert_ral, insert_ram, insert_ras,
insert_rbs, extract_rbs, insert_sh6, extract_sh6,
insert_spr, extract_spr, insert_tbr, extract_tbr): Add dialect param.
(extract_bd, extract_bdm, extract_bdp,
extract_ds, extract_des,
extract_li, extract_nsi): Implement sign extension without conditional.
(insert_bdm, extract_bdm,
insert_bdp, extract_bdp, valid_bo): Handle 64 bit branch hints.
(extract_bdm, extract_bdp): Correct 32 bit validation.
(AT1_MASK, AT2_MASK): Define.
(BBOAT_MASK): Define.
(BBOATCB_MASK, BBOAT2CB_MASK, BBOATBI_MASK): Define.
(BOFM64, BOFP64, BOTM64, BOTP64): Define.
(BODNZM64, BODNZP64, BODZM64, BODZP64): Define.
(PPCCOM32, PPCCOM64): Define.
(powerpc_opcodes): Modify existing 32 bit insns with branch hints
and add new patterns to implement 64 bit branches with hints. Move
booke instructions so they match before ppc64.
* ppc-dis.c (powerpc_dialect): Set PPC_OPCODE_64 in dialect for
64 bit default targets, and parse "32" and "64" in options.
Formatting fixes.
(print_insn_powerpc): Pass dialect to operand->extract.
2001-11-15 01:08:52 +00:00
Corinna Vinschen
7158264315
* fhandler.cc (fhandler_disk_file::fstat): Add setting access time
...
and creation time to last modification time for files on filesystems
not supporting multiple timestamps.
(fhandler_disk_file::fstat_helper): Set access time and creation
time in incoming Windows structure instead of in stat buf to avoid
incorrectly overwriting Epoch timestamp.
2001-11-14 21:47:41 +00:00
Corinna Vinschen
ac0ac6534d
* winsup.h: Remove alloca definition since it's now defined through
...
inclusion of stdlib.h.
* lib/cygwin_crt0.c: Ditto.
2001-11-14 10:47:54 +00:00
Corinna Vinschen
d7ca37e413
* libc/include/alloca.h: Move libc/sys/linux/include/alloca.h
...
to here. Rearrange for general inclusion by stdlib.h.
* libc/include/stdlib.h: Include <alloca.h> if __STRICT_ANSI__
isn't defined.
* libc/sys/linux/include/alloca.h: Move to libc/include.
2001-11-14 10:25:35 +00:00
Jeff Holcomb
7a90b1ef80
2001-11-13 Jeff Holcomb <jeffh@redhat.com>
...
Merged from net gcc:
2001-07-30 Jeff Sturm <jsturm@one-pont.com>
* ltcf-c.sh: Use $objext, not $ac_objext.
2001-07-27 Mark Kettenis <kettenis@gnu.org>
* ltcf-cxx.sh: Add support for GNU.
2001-07-22 Timothy Wall <twall@redhat.com>
* ltcf-c.sh: Don't disable shared libraries for AIX5/IA64. Preserve
default settings if using GNU tools with that configuration.
* ltcf-cxx.sh: Ditto.
* ltcf-gcj.sh: Ditto.
2001-07-21 Michael Chastain <chastain@redhat.com>
* ltconfig: Set max_cmd_len to a maximum of 512Kb, as it seems some
HPUX 11.0 systems have trouble with 1MB. Mark as gcc-local.
* ltmain.sh: Mark as gcc-local.
2001-11-14 06:24:41 +00:00
Jeff Holcomb
52aedda9da
2001-11-13 Jeff Holcomb <jeffh@redhat.com>
...
* Makefile.in (all-bison): Revert 2001-10-24.
Don't depend on texinfo.
2001-11-14 05:49:24 +00:00
Christopher Faylor
65814395b6
* syscalls.cc (_write): Allow zero length as per SUSv2.
2001-11-14 04:12:11 +00:00
Alan Modra
b83587946b
binutils/ChangeLog
...
* doc/binutils.texi (objdump): Document x86 -M options.
include/ChangeLog
* dis-asm.h (print_insn_i386): Declare.
opcodes/ChangeLog
* disassemble.c (disassembler): Call print_insn_i386.
* i386-dis.c (SUFFIX_ALWAYS): Define.
(struct dis_private): Add orig_sizeflag.
(print_insn_i386): Make it a wrapper, calling..
(print_insn): ..The old body of print_insn_i386. Avoid longjmp
warning without using volatile by moving orig_sizeflag to priv,
and removing inbuf. Parse disassembler_options.
(print_insn_i386_att, print_insn_i386_intel): Move initialisation
code to print_insn.
(putop): Remove #ifdef SUFFIX_ALWAYS.
2001-11-14 03:15:28 +00:00
Corinna Vinschen
03adcc0fda
* dir.cc (mkdir): Add HIDDEN file attribute if file has leading dot
...
and HIDDEN_DOT_FILES is defined.
* fhandler.cc (fhandler_base::open): Ditto.
* path.cc (symlink): Ditto.
* syscalls.cc (_rename): Ditto and remove HIDDEN file attribute if
new filename does not begin with a dot.
2001-11-13 21:49:06 +00:00
Geoffrey Keating
7a43fd8be1
Index: bfd/ChangeLog
...
2001-11-11 Geoffrey Keating <geoffk@redhat.com>
* dwarf2.c (decode_line_info): Properly deal with unknown standard
opcodes.
Index: binutils/ChangeLog
2001-11-11 Geoffrey Keating <geoffk@redhat.com>
* readelf.c (display_debug_lines): Deal with unknown standard
opcodes. Handle DW_LNS_set_prologue_end, DW_LNS_set_epilogue_begin,
DW_LNS_set_isa.
Index: include/elf/ChangeLog
2001-11-11 Geoffrey Keating <geoffk@redhat.com>
* dwarf2.h (dwarf_line_number_ops): Add DWARF 3 opcodes.
2001-11-13 20:13:30 +00:00
Tim Wall
7d9961e897
Fix tic54x testsuite failures and Lmem disassembly bugs.
2001-11-13 14:22:52 +00:00
Anthony Green
28f8744e02
Add __stack_base__
2001-11-13 03:31:14 +00:00
Hans-Peter Nilsson
4cede8c4ce
* libc/sys/mmixware/*: Correct spacing in all source files.
...
* libc/sys/mmixware/syscall.h: Move misplaced file...
* libc/sys/mmixware/sys/syscall.h: ...here.
2001-11-13 02:49:12 +00:00
Alan Modra
f513298e18
* i386.h (i386_optab): Add entries for "sldr", "smsw" and "str" to
...
accept WordReg.
* i386-dis.c (grps): Change "sldt", "str", and "smsw" entries
to "sldtQ", "strQ", "smswQ" respectively; all with Ev operand
category instead of Ew.
2001-11-13 01:03:55 +00:00
Corinna Vinschen
1716f3b52e
Fix ChangeLog entry.
2001-11-12 21:56:31 +00:00
Corinna Vinschen
d1ba802d67
* cygcheck.cc (dump_sysinfo): Redefine output format slightly.
2001-11-12 21:55:39 +00:00
Christopher Faylor
e1af9739e0
* cygcheck.cc (main): Slight formatting tweak.
2001-11-12 21:28:32 +00:00
Jeff Johnston
92dd5f23a5
2001-11-12 Hans-Peter Nilsson <hp@bitrange.com>
...
* COPYING.NEWLIB: Add BSD-style license/copyright blurb for my work.
2001-11-12 21:07:42 +00:00
Jeff Johnston
8be9b48be6
2001-11-12 Hans-Peter Nilsson <hp@bitrange.com>
...
* libc/include/machine/ieeefp.h: Add support for mmix target.
* libc/include/machine/setjmp.h: Ditto.
* configure.host: Ditto.
* libc/sys/mmixware/Makefile.am, libc/sys/mmixware/_exit.c,
libc/sys/mmixware/access.c, libc/sys/mmixware/aclocal.m4,
libc/sys/mmixware/chmod.c, libc/sys/mmixware/chown.c,
libc/sys/mmixware/close.c, libc/sys/mmixware/configure.in,
libc/sys/mmixware/creat.c, libc/sys/mmixware/crt0.c,
libc/sys/mmixware/execv.c, libc/sys/mmixware/execve.c,
libc/sys/mmixware/fork.c, libc/sys/mmixware/fstat.c,
libc/sys/mmixware/getpid.c, libc/sys/mmixware/gettime.c,
libc/sys/mmixware/isatty.c, libc/sys/mmixware/kill.c,
libc/sys/mmixware/lseek.c, libc/sys/mmixware/open.c,
libc/sys/mmixware/pipe.c, libc/sys/mmixware/read.c,
libc/sys/mmixware/sbrk.c, libc/sys/mmixware/setjmp.S,
libc/sys/mmixware/stat.c, libc/sys/mmixware/sys/syscall.h,
libc/sys/mmixware/time.c, libc/sys/mmixware/times.c,
libc/sys/mmixware/unlink.c, libc/sys/mmixware/utime.c,
libc/sys/mmixware/wait.c, libc/sys/mmixware/write.c: New files.
* libc/sys/mmixware/configure, libc/sys/mmixware/Makefile.in,
libc/sys/mmixware/aclocal.m4: Generate.
2001-11-12 21:04:41 +00:00
Corinna Vinschen
5e051b1bf7
* cygcheck.cc (dump_sysinfo): Add some more details.
2001-11-12 20:21:43 +00:00
Christopher Faylor
daccfdf9ef
Add missing ChangeLog entry.
2001-11-12 18:22:41 +00:00
Corinna Vinschen
e4087b7526
* cygcheck.cc (dump_sysinfo): Print more detailed OS information string
...
using OSVERSIONINFOEX information.
2001-11-12 17:55:52 +00:00
Corinna Vinschen
192b4f6261
* include/winbase.h (OSVERSIONINFOEX): Add definition.
...
* include/winnt.h: Add VER_NT_* and VER_SUITE_* defines.
2001-11-12 17:53:47 +00:00
Christopher Faylor
697b8c0c32
* fhandler_console.cc (fhandler_console::read): Revert 2001-10-23 change to
...
only honor keydown events.
2001-11-12 17:06:50 +00:00
Christopher Faylor
a36ee0b6b9
* include/cygwin/version.h: Bump version to 1.3.6.
2001-11-12 00:40:29 +00:00
Christopher Faylor
64bd8a83af
* path.h: New file.
2001-11-12 00:19:17 +00:00
Christopher Faylor
71f90de808
* cygcheck.cc (scan_registry): Open registry with read-only access.
...
(main): Reflect argument change for dump_setup.
* dump_setup.cc (dump_setup): Add preliminary extra argument for future use.
* path.cc (read_mounts): Open registry with read-only access.
2001-11-12 00:14:27 +00:00
Tim Wall
7d3480deef
Clarify length reference in comment
2001-11-11 15:45:34 +00:00
Christopher Faylor
fcc8ea58ce
fix typo.
2001-11-11 06:55:35 +00:00
Christopher Faylor
da9e28d0fa
* cygcheck.cc (main): Display package info when '-s' is specified.
...
* dump_setup.cc (dump_setup): Change header. Remove typo. Always sort
packages output.
2001-11-11 06:16:18 +00:00
Christopher Faylor
d0d517913c
* dump_setup.cc: New file.
...
* Makefile.in: Add info for dump_setup.o.
* cygcheck.cc (main): Recognize '-c' option for checking setup installed base.
* path.cc (cygpath): Read mount table if not loaded.
2001-11-11 06:07:36 +00:00
Christopher Faylor
2fac517df4
* Makefile.in (cygcheck.exe): Compile as -mno-cygwin executable.
...
* path.cc: New file.
* cygcheck.cc (init_paths): Use MS-DOS path syntax.
(cygwin_info): Properly display cygwin version numbers. Prettify some output.
(dump_sysinfo): Calculate max names of posix and ms-dos paths for prettier
output.
2001-11-11 03:06:59 +00:00
Christopher Faylor
c8b3452829
* dtable.cc (dtable::build_fhandler): Don't increment console fd count if new
...
operation fails. Increment fork_fixup field here.
(dtable::dup2): Don't increment fork_fixup field here.
(fdsock): Ditto.
2001-11-10 19:46:15 +00:00
Denis Chertykov
4d2f5ef1da
* avr.h: Update for new devices.
2001-11-10 09:40:53 +00:00
Corinna Vinschen
9a6c0a241b
* cygcheck.cc (dump_sysinfo): Print more detailed OS information string.
2001-11-09 17:18:36 +00:00
Robert Collins
4d1fdcb6f8
2001-11-10 Robert Collins <rbtcollins@hotmail.com>
...
* include/winnt.h: Add Danny Smith's text comment about gcc compiler warnings
with _AUTHORITY #defines.
2001-11-09 13:23:54 +00:00
Robert Collins
d0d69f141d
2001-11-09 Robert Collins <rbtcollins@hotmail.com>
...
* include/winnt.h (GetCurrentFiber): Create a prototype before the implementation;
(GetFiberData): Ditto.
2001-11-09 11:34:26 +00:00
Robert Collins
29c63d063f
2001-11-09 Robert Collins <rbtcollins@hotmail.com>
...
* include/winnt.h: Backout last change.
2001-11-09 08:31:37 +00:00
DJ Delorie
42f9fc4543
* configure.in (--enable-languages): Be more permissive about
...
syntax. Check for empty lists better. Warn about $LANGUAGES.
2001-11-09 02:21:21 +00:00
Corinna Vinschen
461903013c
* checksignal.c: New testcase.
2001-11-08 21:04:05 +00:00
Corinna Vinschen
80a429d20a
* select.cc: Set errno using set_sig_errno() throughout.
...
* signal.cc (signal): Always set SA_RESTART flag.
* syscalls.cc (_read): Revert previous patch.
2001-11-08 17:49:52 +00:00
Corinna Vinschen
036fd823dc
* select.cc (fhandler_tty_slave::ready_for_read): Return 0 on EBADF.
...
* syscalls.cc (_read): If ready_for_read() failed, save errno from
being overwritten by signal handler call.
2001-11-08 15:01:44 +00:00
Robert Collins
418c02db8f
2001-11-08 Robert Collins <rbtcollins@hotmail.com>
...
* include/winnt.h: Define *_SID_AUTHORITY appropriately. (nested
structures.)
GetCurrentFiber: Create a prototype before the implementation;
GetFiberData: Ditto.
2001-11-07 14:11:41 +00:00
Robert Collins
4cecec6cde
2001-11-08 Robert Collins <rbtcollins@hotmail.com>
...
* include/errno.h: Fix "errno is not a prototype" warning.
2001-11-07 14:10:25 +00:00
Corinna Vinschen
e2c07930f7
* lib/getopt.c (getopt_internal): Reset optind to 1 only if optreset
...
is not set.
2001-11-07 11:47:23 +00:00
Christopher Faylor
d0e406c653
* select.cc (fhandler_tty_slave::ready_for_read): Correct inverted not_open
...
test.
2001-11-06 18:02:56 +00:00
Hans-Peter Nilsson
e949606026
* Makefile.in (MAKEINFO): Use "missing" for makeinfo older than 4.0.
2001-11-06 07:20:20 +00:00
Christopher Faylor
82105181d8
* include/cygwin/version.h: Bump version to 1.3.5.
2001-11-05 23:13:47 +00:00
Corinna Vinschen
910e57ec84
* mmap.cc (mmap_record::find_empty): Add input parameter check.
2001-11-05 20:58:22 +00:00