]> sourceware.org Git - newlib-cygwin.git/log
newlib-cygwin.git
18 years ago* child_info.h (child_status): New enum.
Christopher Faylor [Mon, 20 Mar 2006 18:01:17 +0000 (18:01 +0000)]
* child_info.h (child_status): New enum.
(child_info::flag): Rename from 'straced'.
(child_info::isstraced): New function.
(child_info::iscygwin): Ditto.
(child_info_fork::handle_fork): Reparmize.
(child_info_fork::handle_failure): Ditto.
(child_info_spawn::handle_spawn): New function.
* dcrt0.cc (get_cygwin_startup_info): Use isstraced method.
(child_info_spawn::handle_spawn): Define new function from code previously in
dll_crt0_0.
(dll_crt0_0): Move spawn stuff into handle_spawn.  Only call
init_console_handler for fork case.
* sigproc.cc (child_info::child_info): Set flag appropriately.
(child_info::proc_retry): Treat exit code as "funny" if it's a cygwin process.
* spawn.cc (spawn_guts): Remove commented out flag setting.

18 years agorevert previous debugging checkin
Christopher Faylor [Mon, 20 Mar 2006 02:01:50 +0000 (02:01 +0000)]
revert previous debugging checkin

18 years ago* pinfo.cc (commune_process): Fix randomly invalid pointer which caused fifos
Christopher Faylor [Mon, 20 Mar 2006 01:59:23 +0000 (01:59 +0000)]
* pinfo.cc (commune_process): Fix randomly invalid pointer which caused fifos
to work incorrectly.

18 years ago* dcrt0.cc (dll_crt0_0): Oops. We need to bother with setting this in the
Christopher Faylor [Mon, 20 Mar 2006 01:16:39 +0000 (01:16 +0000)]
* dcrt0.cc (dll_crt0_0): Oops.  We need to bother with setting this in the
fork/exec case.

18 years ago* dcrt0.cc (dll_crt0_0): Don't bother with setting init_console_handler here
Christopher Faylor [Mon, 20 Mar 2006 01:11:30 +0000 (01:11 +0000)]
* dcrt0.cc (dll_crt0_0): Don't bother with setting init_console_handler here
since it will be set later when we discover if we have a ctty or not.
* exceptions.cc (init_console_handler): Properly remove NULL handler.

18 years ago * hppa.h (SHF_HP_TLS, SHF_HP_NEAR_SHARED, SHF_HP_FAR_SHARED,
John David Anglin [Mon, 20 Mar 2006 01:07:29 +0000 (01:07 +0000)]
* hppa.h (SHF_HP_TLS, SHF_HP_NEAR_SHARED, SHF_HP_FAR_SHARED,
SHF_HP_COMDAT, SHF_HP_CONST, SHN_TLS_COMMON, SHN_NS_COMMON,
SHN_NS_UNDEF, SHN_FS_UNDEF, SHN_HP_EXTERN, SHN_HP_EXTHINT,
SHN_HP_UNDEF_BIND_IMM, SHT_HP_OVLBITS, SHT_HP_DLKM, SHT_HP_COMDAT,
SHT_HP_OBJDICT, SHT_HP_ANNOT, STB_HP_ALIAS): Define.

18 years ago* pinfo.h (EXITCODE_OK): Define new constant.
Christopher Faylor [Sat, 18 Mar 2006 19:28:59 +0000 (19:28 +0000)]
* pinfo.h (EXITCODE_OK): Define new constant.
* sigproc.cc (child_info::sync): Return EXITCODE_OK if entering with exit_code
== 0.
(sig_send): Don't complain if sending signals while blocked if the sender isn't
in the main thread.

18 years ago* child_info.h (CURR_CHILD_INFO_MAGIC): Regenerate.
Christopher Faylor [Sat, 18 Mar 2006 19:17:21 +0000 (19:17 +0000)]
* child_info.h (CURR_CHILD_INFO_MAGIC): Regenerate.
(child_info::retry): Move here from fork subclass.
(child_info::exit_code): New field.
(child_info::retry_count): Max retry count for process start.
(child_info::proc_retry): Declare new function.
(child_info_fork::retry): Move to parent.
(child_info_fork::fork_retry): Ditto.
* dcrt0.cc (child_info::fork_retry): Rename and move.
(child_info_fork::handle_failure): Move.
(dll_crt0_0): Initialize console handler based on whether we have a controlling
tty or not.  Avoid nonsensical check for fork where it can never occur.
* environ.cc (set_proc_retry): Rename from set_fork_retry.  Set retry_count in
child_info.
(parse_thing): Reflect above change.
* exceptions.cc (dummy_ctrl_c_handler): Remove unused variable name.
(ctrl_c_handler): Always return TRUE for the annoying CTRL_LOGOFF_EVENT.
* fhandler_termios.cc (fhandler_termios::tcsetpgrp): Remove call to
init_console_handler.
* fhandler_tty.cc (fhandler_tty_slave::open): Just call mange_console_count
here and let it decide what to do with initializing console control handling.
* fork.cc (fork_retry): Remove definition.
(frok::parent): Define static errbuf and use in error messages (not thread safe
yet).  Close pi.hThread as soon as possible.  Protect pi.hProcess as soon as
possible.  Don't set retry_count.  That happens automatically in the
constructor now.  Accommodate name change from fork_retry to proc_retry.
* init.cc (dll_entry): Turn off ctrl-c handling early until we know how it is
supposed to be handled.
* pinfo.cc (_pinfo::dup_proc_pipe): Remember original proc pipe value for
failure error message.  Tweak debug message slightly.
* sigproc.cc (child_info::retry_count): Define.
(child_info::child_info): Initialize retry count.
(child_info::sync): Set exit code if process dies before synchronization.
(child_info::proc_retry): Rename from child_info_fork::fork_retry.  Use
previously derived exit code.  Be more defensive about what is classified as an
error exit.
(child_info_fork::handle_failure): Move here from dcrt0.cc.
* spawn.cc (spawn_guts): Maintain error mode when starting new process to avoid
annoying pop ups.  Move deimpersonate call within new loop.  Move envblock
freeing to end.  Loop if process dies prematurely with bad exit code.
* syscalls.cc (init_console_handler): Remove hopefully unneeded call to
init_console_handler.

18 years ago2006-03-18 Julien Lecomte <julienlecomte@users.sourceforge.net>
Danny Smith [Sat, 18 Mar 2006 04:02:54 +0000 (04:02 +0000)]
2006-03-18  Julien Lecomte <julienlecomte@users.sourceforge.net>

* include/wincon.h  (ENABLE_*): Add more defines.

2006-03-18  Jan Nijtmans <nijtmans@users.sourceforge.net>

* include/winnt.h (INHERITED_ACE): Define.
(VALID_INHERIT_FLAGS): Correct definition.

2006-03-18  Peter �strand  <astrand@cendio.se>

         * lib/wtsapi32.def: New file.

18 years ago2006-03-17 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Fri, 17 Mar 2006 22:27:37 +0000 (22:27 +0000)]
2006-03-17  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/sys/linux/linuxthreads/config.h: Remove definition
        of UINT32_C.

18 years ago* include/winbase.h (STATUS_DLL_INIT_FAILED): New define.
Christopher Faylor [Thu, 16 Mar 2006 03:05:39 +0000 (03:05 +0000)]
* include/winbase.h (STATUS_DLL_INIT_FAILED): New define.
(STATUS_DLL_INIT_FAILED_LOGOFF): Ditto.

18 years ago* cygheap.cc (init_cygheap::manage_console_count): Turn console control handler
Christopher Faylor [Thu, 16 Mar 2006 02:57:37 +0000 (02:57 +0000)]
* cygheap.cc (init_cygheap::manage_console_count): Turn console control handler
on/off depending on whether we have allocated a console or not.
* dcrt0.cc (child_info_fork::fork_retry): Add more potential retry statuses.
(dll_crt0_0): Turn on/off console control depending on whether we have a
controlling tty or not.
* exceptions.cc (init_console_handler): Change BOOL to bool.
* fhandler_console.cc (fhandler_console::need_invisible): Cosmetic change.
* winsup.h (init_console_handler): Reflect argument type change.
* wincap.h (supports_setconsolectrlhandler_null): Remove duplicate capability
throughout.
* wincap.cc: Ditto.

18 years ago2006-03-15 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Wed, 15 Mar 2006 22:38:59 +0000 (22:38 +0000)]
2006-03-15  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/stdio/wsetup.c (__swsetup): Don't make a buffer
        for a string I/O file that isn't using the asprintf family.

18 years ago* child_info.h (child_info_fork::fork_retry): Declare new function.
Christopher Faylor [Wed, 15 Mar 2006 00:29:14 +0000 (00:29 +0000)]
* child_info.h (child_info_fork::fork_retry): Declare new function.
* dcrt0.cc (child_info_fork::fork_retry): Define new function.
* fork.cc (frok::parent): Move retry decision into child_info_fork::fork_retry
and honor what it tells us to do.
* sigproc.cc (sig_send): Unhold signals on __SIGEXIT.

18 years ago* fork.cc (frok::parent): Improve error message.
Christopher Faylor [Tue, 14 Mar 2006 21:01:35 +0000 (21:01 +0000)]
* fork.cc (frok::parent): Improve error message.

18 years ago* dcrt0.cc (main_environ): Initialize to &__cygwin_environment.
Christopher Faylor [Tue, 14 Mar 2006 19:07:36 +0000 (19:07 +0000)]
* dcrt0.cc (main_environ): Initialize to &__cygwin_environment.
(dll_crt0_1): Move resourcelocks, thread interface, pinfo_init, and
uinfo_init...
(dll_crt0_0): ...to here.
(_dll_crt0): Call update_envptrs here after setting main_environ.
* environ.cc (environ_init): Eliminate initted variable.  Don't call
update_envptrs here.
* sigproc.cc (wait_sig): Use my_sendsig when calling CreatePipe to avoid a
dereference.

18 years ago2006-03-14 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Tue, 14 Mar 2006 16:26:44 +0000 (16:26 +0000)]
2006-03-14  Paolo Bonzini  <bonzini@gnu.org>

* Makefile.in: Regenerate.

18 years ago2006-03-14 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Tue, 14 Mar 2006 16:10:08 +0000 (16:10 +0000)]
2006-03-14  Paolo Bonzini  <bonzini@gnu.org>

Sync with gcc:
2006-03-10  Aldy Hernandez  <aldyh@redhat.com>

        * configure.in: Handle --disable-<component> generically.
        * configure: Regenerate.

2006-02-21 Rafael Avila de Espindola <rafael.espindola@gmail.com>

        * Makefile.tpl  (BUILD_CONFIGDIRS): Remove.
        (TARGET_CONFIGDIRS): Remove.
        * configure.in: Remove AC_SUBST(target_configdirs).
        * Makefile.in, configure: Regenerated.

18 years ago* child_info.h (child_info_fork::handle_failure): Declare new function.
Christopher Faylor [Mon, 13 Mar 2006 21:10:14 +0000 (21:10 +0000)]
* child_info.h (child_info_fork::handle_failure): Declare new function.
(child_info_fork::retry): New field.
* dcrt0.cc (__api_fatal_exit_val): Define.
(child_info_fork::handle_failure): Define new function.
(__api_fatal): Exit using __api_fatal_exit_val value.
* environ.cc (set_fork_retry): Set fork_retry based on CYGWIN environment
variable.
(parse_thing): Add "fork_retry" setting.
* fork.cc (fork_retry): Define.
(frok::parent): Reorganize to allow retry of failed child creation if child
signalled that it was ok to do so.
* heap.cc (heap_init): Signal parent via handle_failure when VirtualAlloc
fails.
* pinfo.h (EXITCODE_RETRY): Declare.
* sigproc.cc (child_info::sync): Properly exit with failure condition if called
for fork and didn't see subproc_ready.
* spawn.cc (spawn_guts): Use windows pid as first argument.
* winsup.h: Remove obsolete NEW_MACRO_VARARGS define.
(__api_fatal_exit_val): Declare.
(set_api_fatal_return): Define.
(in_dllentry): Declare.
* exceptions.cc (inside_kernel): Remove unneeded in_dllentry declaration.

18 years ago* cygwinenv.sgml: Explain about new fork_retry CYGWIN environment variable
Christopher Faylor [Mon, 13 Mar 2006 21:02:37 +0000 (21:02 +0000)]
* cygwinenv.sgml: Explain about new fork_retry CYGWIN environment variable
setting.

18 years ago* dcrt0.cc (dll_crt0_0): Reorganize so that sigproc_init is called a little
Christopher Faylor [Mon, 13 Mar 2006 18:29:48 +0000 (18:29 +0000)]
* dcrt0.cc (dll_crt0_0): Reorganize so that sigproc_init is called a little
later.  Add a comment.
* fork.cc (resume_child): Make void.
(frok::parent): Only zero pi when necessary.  Explicitly zero si.  Set
this_errno when child_copy fails.  Accommodate change to resume_child.
* sigproc.cc (sigalloc): Move global_sigs initialization here.
(sigproc_init): Move global_sigs.
(sig_send): Just check for flush signals once.
* wincap.h: Define supports_setconsolectrlhandler_null throughout.
* wincap.cc: Ditto.

18 years ago Fix typo.
Corinna Vinschen [Mon, 13 Mar 2006 11:25:07 +0000 (11:25 +0000)]
Fix typo.

18 years ago * autoload.cc (LoadDLLfuncNt): New define to wrap NT native functions.
Corinna Vinschen [Mon, 13 Mar 2006 11:22:51 +0000 (11:22 +0000)]
* autoload.cc (LoadDLLfuncNt): New define to wrap NT native functions.
Use for NT native functions throughout.
* dtable.cc (handle_to_fn): Treate return value of NtQueryObject as
NTSTATUS value.

18 years agotweak last ChangeLog description
Christopher Faylor [Mon, 13 Mar 2006 05:21:05 +0000 (05:21 +0000)]
tweak last ChangeLog description

18 years ago* cygtls.cc (_cygtls::remove): Reset initialized flag right away if we were
Christopher Faylor [Mon, 13 Mar 2006 04:26:57 +0000 (04:26 +0000)]
* cygtls.cc (_cygtls::remove): Reset initialized flag right away if we were
previously initialized.
* cygtls.h (_cygtls::initialized): Move nearer the end to catch situation when
Windows 98 mysteriously changes pieces of cygtls when thread is detaching.
* gendef (__sigfe_maybe): Simplify slightly.
* tlsoffsets.h: Regenerate.

18 years ago* cygtls.h (CYGTLS_INITIALIZED): Change to a little more unlikely value.
Christopher Faylor [Sun, 12 Mar 2006 23:57:05 +0000 (23:57 +0000)]
* cygtls.h (CYGTLS_INITIALIZED): Change to a little more unlikely value.
(CYGTLSMAGIC): Delete.
* dcrt0.cc (dll_crt0_0): Call sigproc_init during init startup.
(_dll_crt0): Don't worry about sync_startup.  Just wait for sigthread here.
* dll_init.cc (cygwin_detach_dll): Only pick up tls version of retaddr if we
have a valid tls.
* fork.cc (frok::child): Remove sigproc_init initialization since it happens
much earlier now.
* gendef: Recognize SIGFE_MAYBE.
(fefunc): Generate calls to _sigfe_maybe, if appropriate.
(_sigfe_maybe): New function.
* init.cc (search_for): Always initialize search_for, even on fork.
(calibration_thread): Delete.
(calibration_id): Delete.
(prime_threads): Delete.
(munge_threadfunc): Remove calibration_thread special case.  Avoid calling
thread function if we haven't yet hit the "search_for" thread.
(dll_entry): Remove prime_threads call.  Only call munge_threadfunc when
hwait_sig is active.  Ditto.  for _my_tls.remove ();
* sigproc.cc (hwait_sig): Make global.
(sigproc_init): Don't bother with sync_startup.
(sig_send): Treat flush as a no-op when signals are held.
(wait_sig): Cause signals to be held after fork.

18 years ago2006-03-10 Paul Brook <paul@codesourcery.com>
Paul Brook [Fri, 10 Mar 2006 17:20:30 +0000 (17:20 +0000)]
2006-03-10  Paul Brook  <paul@codesourcery.com>

bfd/
* elf32-arm.c (INTERWORK_FLAG): Handle EABIv5.
(elf32_arm_print_private_bfd_data): Ditto.
binutils/
* readelf.c (decode_ARM_machine_flags):  Handle EABIv5.
gas/
* config/tc-arm.c (md_begin): Handle EABIv5.
(arm_eabis): Add EF_ARM_EABI_VER5.
* doc/c-arm.texi: Document -meabi=5.
include/elf/
* arm.h (EF_ARM_EABI_VER5): Define.

18 years ago2006-03-10 Paul Brook <paul@codesourcery.com>
Paul Brook [Fri, 10 Mar 2006 17:16:49 +0000 (17:16 +0000)]
2006-03-10  Paul Brook  <paul@codesourcery.com>

include/opcode/
* arm.h (ARM_AEXT_V7_ARM): Include v6ZK extensions.

18 years ago * syscalls.cc (rename): Move existance check for oldpath further up
Corinna Vinschen [Thu, 9 Mar 2006 15:31:08 +0000 (15:31 +0000)]
* syscalls.cc (rename): Move existance check for oldpath further up
to the start of the function.  Avoid another case of a name collision
if oldpath is a shortcut and a file or directory newpath already exists.

18 years ago * include/winspool.h (DI_MEMORYMAP_WRITE): Define (DWORD type).
Dimitri Papadopoulos [Thu, 9 Mar 2006 13:23:24 +0000 (13:23 +0000)]
* include/winspool.h (DI_MEMORYMAP_WRITE): Define (DWORD type).
(FORM_USER,FORM_PRINTER): Define (DWORD type).
* include/winspool.h [_WIN32_WINNT >= 0x0500]
(DSPRINT_*): Define (DWORD type).
Thanks to:   Roland Schwingel <rolandschwingel at users dot sf dot net>

18 years ago * autoload.cc (NtClose): Define.
Corinna Vinschen [Thu, 9 Mar 2006 09:01:08 +0000 (09:01 +0000)]
* autoload.cc (NtClose): Define.
(NtOpenDirectoryObject): Define.
(NtQueryDirectoryObject): Define.
* fhandler_proc.cc: Include ctype.h and wchar.h.
(format_proc_partitions): Revamp loop over existing harddisks by
scanning the NT native \Device object directory and looking for
Harddisk entries.
* ntdll.h: Rearrange system call declarations alphabetically.
(DIRECTORY_QUERY): Define.
(struct _DIRECTORY_BASIC_INFORMATION): Define.
(NtOpenDirectoryObject): Declare.
(NtQueryDirectoryObject): Declare.

18 years ago Remove accidentally checked in ChangeLog entry.
Corinna Vinschen [Thu, 9 Mar 2006 09:00:10 +0000 (09:00 +0000)]
Remove accidentally checked in ChangeLog entry.

18 years ago * include/winspool.h (JOB_CONTROL_*,JOB_STATUS_*): Define.
Dimitri Papadopoulos [Thu, 9 Mar 2006 08:26:24 +0000 (08:26 +0000)]
* include/winspool.h (JOB_CONTROL_*,JOB_STATUS_*): Define.
Thanks to:   Roland Schwingel <rolandschwingel at users dot sf dot net>

18 years ago* cygtls.h (_cygtls::retaddr): New method.
Christopher Faylor [Wed, 8 Mar 2006 23:55:14 +0000 (23:55 +0000)]
* cygtls.h (_cygtls::retaddr): New method.
* dll_init.cc (cygwin_detach_dll): Use new tls function to find return address
since this function is now signal guarded.
(update_envptrs): Remove unneeded braces.
* syscalls.cc (statvfs): Coerce full_path to avoid a gcc warning.

18 years ago * syscalls.cc (statvfs): Simplify path name expression.
Corinna Vinschen [Wed, 8 Mar 2006 16:10:55 +0000 (16:10 +0000)]
* syscalls.cc (statvfs): Simplify path name expression.

18 years ago * syscalls.cc: Include winioctl.h.
Corinna Vinschen [Wed, 8 Mar 2006 16:07:28 +0000 (16:07 +0000)]
* syscalls.cc: Include winioctl.h.
(statvfs): Request correct volume size using DeviceIoControl if
quotas are enforced on the file system.

18 years ago2006-03-07 Eric Blake <ebb9@byu.net>
Jeff Johnston [Tue, 7 Mar 2006 22:20:18 +0000 (22:20 +0000)]
2006-03-07  Eric Blake  <ebb9@byu.net>

        * libc/stdio/freopen.c (_freopen_r) [HAVE_FCNTL]: For NULL
        filename, allow read-only or write-only FILE atop O_RDWR file
        descriptor.
        * libc/stdio64/freopen64.c (_freopen64_r) [HAVE_FCNTL]: Likewise.

18 years ago2006-03-07 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Tue, 7 Mar 2006 22:14:04 +0000 (22:14 +0000)]
2006-03-07  Jeff Johnston  <jjohnstn@redhat.com>

        * libm/common/sf_isinf.c[_DOUBLE_IS_32BITS]: Undef isinf.
        * libm/common/sf_isnan.c[_DOUBLE_IS_32BITS]: Undef isnan.

18 years ago * include/shellapi.h [_WIN32_IE >= 0x0600]
Dimitri Papadopoulos [Tue, 7 Mar 2006 10:59:46 +0000 (10:59 +0000)]
* include/shellapi.h  [_WIN32_IE >= 0x0600]
(SEE_MASK_NOZONECHECKS,SEE_MASK_FLAG_LOG_USAGE): Define on
Windows XP SP1 and Windows XP respectively.

18 years ago * include/shellapi.h (NOTIFYICONDATA_V*_SIZE): Define.
Dimitri Papadopoulos [Tue, 7 Mar 2006 10:45:35 +0000 (10:45 +0000)]
* include/shellapi.h (NOTIFYICONDATA_V*_SIZE): Define.
Thanks to:  Daniel Atallah <datallah at users dot sf dot net>
* include/shellapi.h  [_WIN32_IE >= 0x0500]
(NIS_*): Introduced in Version 5.0.

18 years ago * cygwinenv.sgml: Add missing </para> at transparent_exe.
Corinna Vinschen [Tue, 7 Mar 2006 09:21:28 +0000 (09:21 +0000)]
* cygwinenv.sgml: Add missing </para> at transparent_exe.

18 years ago * include/wingdi.h (CS_*): Correct WINVER guard on
Danny Smith [Mon, 6 Mar 2006 21:13:43 +0000 (21:13 +0000)]
* include/wingdi.h (CS_*): Correct WINVER guard on
Image Color Matching colour definitions.

18 years ago * include/shlobj.h (SFGAO_ISSLOW): Define.
Danny Smith [Mon, 6 Mar 2006 21:02:55 +0000 (21:02 +0000)]
* include/shlobj.h (SFGAO_ISSLOW): Define.
(SFGAO_DISPLAYATTRMASK): Define in terms of preceding display
attribute constants.

18 years ago * include/wingdi.h [WINVER >= 0x0500]
Dimitri Papadopoulos [Mon, 6 Mar 2006 14:30:30 +0000 (14:30 +0000)]
* include/wingdi.h  [WINVER >= 0x0500]
(GRADIENT_FILL_*,*_EMBEDED): Included in Windows 2000 and later.
Thanks to: David A. Capello <dacap at users dot sf dot net>

18 years ago * include/wingdi.h [WINVER >= 0x0500]
Dimitri Papadopoulos [Mon, 6 Mar 2006 14:29:04 +0000 (14:29 +0000)]
* include/wingdi.h  [WINVER >= 0x0500]
(INTERNET_STATE_*,*_EMBEDED): Included in Windows 2000 and later.
Thanks to: David A. Capello <dacap at users dot sf dot net>

18 years ago * include/wingdi.h [WINVER >= 0x0500]
Dimitri Papadopoulos [Mon, 6 Mar 2006 14:28:35 +0000 (14:28 +0000)]
* include/wingdi.h  [WINVER >= 0x0500]
(INTERNET_STATE_*,*_EMBEDED): Included in Windows 2000 and later.
Thanks to: David A. Capello <dacap at users dot sf dot net>

18 years agomissing changelog entry for my 2006-02-07 patch
Nathan Sidwell [Mon, 6 Mar 2006 13:46:53 +0000 (13:46 +0000)]
missing changelog entry for my 2006-02-07 patch
* m68k.h (m68008, m68ec030, m68882): Remove.
(m68k_mask): New.
(cpu_m68k, cpu_cf): New.
(mcf5200, mcf5206e, mcf521x, mcf5249, mcf528x, mcf5307, mcf5407

18 years ago bfd:
Nathan Sidwell [Mon, 6 Mar 2006 13:42:04 +0000 (13:42 +0000)]
bfd:
* archures.c (bfd_mach_mcf_isa_a_nodiv, bfd_mach_mcf_isa_b_nousp):
New.  Adjust other variants.
(bfd_default_scan): Update.
* bfd-in2.h: Rebuilt.
* cpu-m68k.c: Adjust.
(bfd_m68k_compatible): New. Use it for architectures.
* elf32-m68k.c (elf32_m68k_object_p): Adjust.
(elf32_m68k_merge_private_bfd_data): Adjust.  Correct isa-a/b
mismatch.
(elf32_m68k_print_private_bfd_data): Adjust.
* ieee.c (ieee_write_processor): Adjust.

binutils:
* readelf.c (get_machine_flags): Adjust.

gas:
* config/tc-m68k.c (m68k_extensions): Allow 'float' on both m68k
and cf.
(m68k_ip): <case 'J'> Check we have some control regs.
(md_parse_option): Allow raw arch switch.
(m68k_init_arch): Better detection of arch/cpu mismatch.  Detect
whether 68881 or cfloat was meant by -mfloat.
(md_show_usage): Adjust extension display.
(m68k_elf_final_processing): Adjust.

gas/testsuite:
* gas/m68k/arch-cpu-1.s: Tweak.
* gas/m68k/arch-cpu-1.d: Tweak.

include/elf:
* m68k.h (EF_M68K_ISA_MASK, EF_M68K_ISA_A,
EF_M68K_ISA_A_PLUS, EF_M68K_ISA_B, EF_M68K_ISA_C): Adjust.
(EF_M68K_ISA_A_NODIV, EF_M68K_ISA_B_NOUSP): New.
(EF_M68K_HW_DIV, EF_M68K_USP): Remove.
(EF_M68K_MAC, EF_M68K_EMAC, EF_M68K_FLOAT): Adjust.
(EF_M68K_EMAC_B): New.

ld/testsuite:
* ld-m68k: New tests.

18 years ago2006-03-05 Paul J. Lucas <pauljlucas@users.sourceforge.net>
Danny Smith [Sun, 5 Mar 2006 08:31:57 +0000 (08:31 +0000)]
2006-03-05  Paul J. Lucas  <pauljlucas@users.sourceforge.net>

* include/wininet.h (INTERNET_CONNECTED_INFO): Define structure.
(INTERNET_STATE_*): Define flags.
(INTERNET_OPTION_CONNECTED_STATE): Define constant.

18 years ago2006-03-05 Chris Wilson <chris+mingw@qwirx.com>
Danny Smith [Sun, 5 Mar 2006 07:49:45 +0000 (07:49 +0000)]
2006-03-05 Chris Wilson <chris+mingw@qwirx.com>

* include/sddl.h: New file.

18 years ago * hppa.h (pa_opcodes): Reorder bb opcodes so that pa10 opcodes come
John David Anglin [Sat, 4 Mar 2006 22:11:48 +0000 (22:11 +0000)]
* hppa.h (pa_opcodes): Reorder bb opcodes so that pa10 opcodes come
first.  Correct mask of bb "B" opcode.

18 years ago * dir.cc (opendir): Fix indentation.
Corinna Vinschen [Fri, 3 Mar 2006 20:19:26 +0000 (20:19 +0000)]
* dir.cc (opendir): Fix indentation.
* fhandler_disk_file.cc (fhandler_disk_file::opendir): Move storing
fhandler in file descriptor table to some point very late in function
to avoid double free'ing.  Add comment to explain what happens.
Add label free_mounts and don't forget to delete __DIR_mounts structure
if NtOpenFile fails.

18 years agoAdd linker relaxation support for the AVR
Nick Clifton [Fri, 3 Mar 2006 15:25:30 +0000 (15:25 +0000)]
Add linker relaxation support for the AVR

18 years ago * regtool.cc (options): Add 'binary'.
Corinna Vinschen [Fri, 3 Mar 2006 09:43:35 +0000 (09:43 +0000)]
* regtool.cc (options): Add 'binary'.
(usage): Document 'load|unload|save' and '-b'.
(find_key): Add 'options' parameter, add load/unload.
(cmd_set): Add KT_BINARY case.
(cmd_get): Add hex output in KT_BINARY case.
(cmd_load): New function.
(cmd_unload): New function.
(set_privilege): New function.
(cmd_save): New function.
(commands): Add load, unload and save.
(main): Add '-b'
* utils.sgml (regtool): Document it.

18 years ago* m32c/exit.S: Preserve r1.
DJ Delorie [Fri, 3 Mar 2006 03:20:58 +0000 (03:20 +0000)]
* m32c/exit.S: Preserve r1.

18 years ago * syscalls.cc (chroot): Disallow chroot into special directories.
Corinna Vinschen [Thu, 2 Mar 2006 18:08:09 +0000 (18:08 +0000)]
* syscalls.cc (chroot): Disallow chroot into special directories.
Return EPERM instead.

18 years ago2006-03-02 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Thu, 2 Mar 2006 16:46:12 +0000 (16:46 +0000)]
2006-03-02  Jeff Johnston  <jjohnstn@redhat.com>

        * libm/math/math.tex: Fix reference to sisnan.def which
        is now in common subdirectory.
        * libm/mathfp/mathfp.tex: Ditto.

18 years agoforce null checkin
Christopher Faylor [Thu, 2 Mar 2006 15:33:12 +0000 (15:33 +0000)]
force null checkin

18 years ago * fhandler_disk_file.cc (__DIR_mounts::check_missing_mount): Check
Corinna Vinschen [Thu, 2 Mar 2006 09:48:42 +0000 (09:48 +0000)]
* fhandler_disk_file.cc (__DIR_mounts::check_missing_mount): Check
cygdrive string length for those who have cygdrive mapped to "/".

18 years ago Import from the GCC tree:
Ben Elliston [Thu, 2 Mar 2006 00:54:27 +0000 (00:54 +0000)]
Import from the GCC tree:
2006-03-01  Jakub Jelinek  <jakub@redhat.com>

* dwarf2.h (DW_TAG_condition, DW_TAG_shared_type): New constants
from DWARF 3.
(DW_AT_description, DW_AT_binary_scale, DW_AT_decimal_scale,
DW_AT_small, DW_AT_decimal_sign, DW_AT_digit_count,
DW_AT_picture_string, DW_AT_mutable, DW_AT_threads_scaled,
DW_AT_explicit, DW_AT_object_pointer, DW_AT_endianity,
DW_AT_elemental, DW_AT_pure, DW_AT_recursive): New.
(DW_OP_form_tls_address, DW_OP_call_frame_cfa, DW_OP_bit_piece): New.
(DW_ATE_packed_decimal, DW_ATE_numeric_string, DW_ATE_edited,
DW_ATE_signed_fixed, DW_ATE_unsigned_fixed): New.
(DW_DS_unsigned, DW_DS_leading_overpunch, DW_DS_trailing_overpunch,
DW_DS_leading_separate, DW_DS_trailing_separate): New.
(DW_END_default, DW_END_big, DW_END_little): New.
(DW_END_lo_user, DW_END_hi_user): Define.
(DW_LNE_lo_user, DW_LNE_hi_user): Define.
(DW_CFA_val_offset, DW_CFA_val_offset_sf, DW_CFA_val_expression): New.
(DW_LANG_PLI, DW_LANG_ObjC, DW_LANG_ObjC_plus_plus, DW_LANG_UPC,
DW_LANG_D): New.

18 years ago * sec_helper.cc (set_cygwin_privileges): Request SE_BACKUP_NAME
Corinna Vinschen [Wed, 1 Mar 2006 23:14:25 +0000 (23:14 +0000)]
* sec_helper.cc (set_cygwin_privileges): Request SE_BACKUP_NAME
privileges.

18 years ago * fhandler_proc.cc (fhandler_proc::fstat): Always return fixed link
Corinna Vinschen [Wed, 1 Mar 2006 22:56:12 +0000 (22:56 +0000)]
* fhandler_proc.cc (fhandler_proc::fstat): Always return fixed link
count of 1 for /proc directory instead of incorrect PROC_LINK_COUNT.

18 years ago * fhandler.h (enum dirent_states): Remove dirent_saw_cygdrive,
Corinna Vinschen [Wed, 1 Mar 2006 22:37:25 +0000 (22:37 +0000)]
* fhandler.h (enum dirent_states): Remove dirent_saw_cygdrive,
dirent_saw_dev and dirent_saw_proc.
(fhandler_cygdrive::open): Declare.
(fhandler_cygdrive::close): Declare.
* fhandler_disk_file.cc (class __DIR_mounts): Move to beginning of file.
(__DIR_mounts::check_mount): New parameter to indicate if inode number
is needed in calling function or not. Add /proc and /cygdrive handling.
(__DIR_mounts::check_missing_mount): Ditto.
(path_conv::ndisk_links): Use __DIR_mounts class to create correct
hardlink count for directories with mount points in them.
(fhandler_disk_file::readdir_helper): Remove /dev, /proc and /cygdrive
handling.
(fhandler_cygdrive::open): New method.
(fhandler_cygdrive::close): New method.
(fhandler_cygdrive::fstat): Always return fixed inode number 2 and
fixed link count of 1. Drop call to set_drives.
(fhandler_cygdrive::opendir): Drop call to get_namehash.
(fhandler_cygdrive::readdir): Handle "." entry to return fixed inode
number 2.

18 years ago* cygwin.din: Fix some erroneous SIGFE/NOSIGFE settings.
Christopher Faylor [Wed, 1 Mar 2006 21:31:24 +0000 (21:31 +0000)]
* cygwin.din: Fix some erroneous SIGFE/NOSIGFE settings.
* cygthread.cc (cygthread::callfunc): Revert below change.  Make ev a manual
reset event again.  so that it will be reset by WaitFor*Object as appropriate.
(cygthread::stub): Ditto.
(cygthread::terminate_thread): Reset ev if it was found to have been set.

18 years ago* analyze_sigfe: New script.
Christopher Faylor [Wed, 1 Mar 2006 20:20:22 +0000 (20:20 +0000)]
* analyze_sigfe: New script.
* dllfixdbg: Add copyright.
* gendef: Ditto.
* gendevices: Ditto.
* gentls_offsets: Ditto.

18 years ago* cygthread.cc (cygthread::callfunc): Create ev as an auto-reset event so that
Christopher Faylor [Wed, 1 Mar 2006 18:23:24 +0000 (18:23 +0000)]
* cygthread.cc (cygthread::callfunc): Create ev as an auto-reset event so that
it will be reset by WaitFor*Object as appropriate.
(cygthread::stub): Ditto.
(cygthread::terminate_thread): Remove forced setting of thread termination.

18 years ago2006-03-01 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Wed, 1 Mar 2006 17:40:34 +0000 (17:40 +0000)]
2006-03-01  H.J. Lu  <hongjiu.lu@intel.com>

PR libgcj/17311
* ltmain.sh: Don't use "$finalize_rpath" for compile.

18 years ago * include/sys/dirent.h (struct __DIR): Rename __d_unused to
Corinna Vinschen [Wed, 1 Mar 2006 13:47:49 +0000 (13:47 +0000)]
* include/sys/dirent.h (struct __DIR): Rename __d_unused to
__d_internal.
* fhandler_disk_file.cc (struct __DIR_cache): Remove useless "typedef".
(d_dirname): Remove useless "struct".
(d_cachepos): Ditto.
(d_cache): Ditto.
(class __DIR_mounts): New class, implementing mount point tracking
for readdir.
(d_mounts): New macro for easy access to __DIR_mounts structure.
(fhandler_disk_file::opendir): Allocate __DIR_mounts structure and
let __d_internal element of dir point to it.
(fhandler_disk_file::readdir_helper): Add mount points in the current
directory, which don't have a real directory backing them.
Don't generate an inode number for /dev.  Add comment, why.
(fhandler_disk_file::readdir): Move filling fname to an earlier point.
Check if current entry is a mount point and evaluate correct inode
number for it.
(fhandler_disk_file::readdir_9x): Ditto.
(fhandler_disk_file::rewinddir): Set all mount points in this directory
to "not found" so that they are listed again after calling rewinddir().
(fhandler_disk_file::closedir): Deallocate __DIR_mounts structure.
* path.cc (mount_info::get_mounts_here): New method to evaluate a list
of mount points in a given parent directory.
* shared_info.h (class mount_info): Declare get_mounts_here.

18 years agoUpdate information about: config-ml.in; makefile.vms; mkdep; setup.com;
Nick Clifton [Wed, 1 Mar 2006 10:25:01 +0000 (10:25 +0000)]
Update information about: config-ml.in; makefile.vms; mkdep; setup.com;
etc/; intl/; utils/; compile; depcomp; install-sh; missing; ylwrap;
config/

18 years ago * fhandler_disk_file.cc (fhandler_disk_file::opendir): Use iscygdrive
Corinna Vinschen [Tue, 28 Feb 2006 20:26:52 +0000 (20:26 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::opendir): Use iscygdrive
instead of isspecial.
* path.h (path_conv::iscygdrive): New method.

18 years ago* exceptions.cc (_cygtls::interrupt_now): Remove "inside cygwin" check since
Christopher Faylor [Tue, 28 Feb 2006 20:02:16 +0000 (20:02 +0000)]
* exceptions.cc (_cygtls::interrupt_now): Remove "inside cygwin" check since
some cygwin functions are meant to be interrupted.

18 years ago * cygwin.din: Export __isinff, __isinfd, __isnanf, __isnand.
Corinna Vinschen [Tue, 28 Feb 2006 15:32:48 +0000 (15:32 +0000)]
* cygwin.din: Export __isinff, __isinfd, __isnanf, __isnand.
* include/cygwin/version.h: Bump API minor number to 155.

18 years ago * dir.cc (readdir_worker): Use slash as path separator when evaluating
Corinna Vinschen [Tue, 28 Feb 2006 12:20:11 +0000 (12:20 +0000)]
* dir.cc (readdir_worker): Use slash as path separator when evaluating
namehash for paths below /proc.
* fhandler_netdrive.cc (fhandler_netdrive::readdir): Use expensive
inode number evaluation on share names.

18 years ago* fhandler_disk_file.cc (fhandler_disk_file::opendir): Only set d_cachepos
Christopher Faylor [Tue, 28 Feb 2006 04:23:17 +0000 (04:23 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::opendir): Only set d_cachepos
under NT or suffer memory corruption.
(fhandler_disk_file::readdir_helper): Avoid else with a return.  Just calculate
extension location once when doing symlink checks.
(fhandler_disk_file::readdir): Make debug output more useful.
(fhandler_disk_file::readdir_9x): Ditto.  Eliminate redundant variable.

18 years ago* include/sys/termios.h (cfsetispeed): Just define as a function rather than
Christopher Faylor [Tue, 28 Feb 2006 01:31:04 +0000 (01:31 +0000)]
* include/sys/termios.h (cfsetispeed): Just define as a function rather than
resorting to a macro.
(cfsetospeed): Ditto.

18 years ago* sigproc.cc: Fix a comment.
Christopher Faylor [Tue, 28 Feb 2006 01:28:28 +0000 (01:28 +0000)]
* sigproc.cc: Fix a comment.

18 years ago* cygthread.cc (cygthread::release): Add a comment.
Christopher Faylor [Tue, 28 Feb 2006 01:27:41 +0000 (01:27 +0000)]
* cygthread.cc (cygthread::release): Add a comment.

18 years agoAdd missing comment regarding math.h.
Jeff Johnston [Tue, 28 Feb 2006 00:03:46 +0000 (00:03 +0000)]
Add missing comment regarding math.h.

18 years ago2006-02-27 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Mon, 27 Feb 2006 23:51:28 +0000 (23:51 +0000)]
2006-02-27  Jeff Johnston  <jjohnstn@redhat.com>

        * Makefile.am (MATHOBJS_IN_LIBC): Add s_isinfd, sf_isinff,
        s_isnand, and sf_isnanf object files.
        * Makefile.in: Regenerated.
        * libc/include/ieeefp.h: Undef isnan and isinf to avoid
        conflict if <math.h> has previously been included.
        * libc/include/math.h
        * libm/common/Makefile.am: Add new s_isinfd, s_isnand, sf_isinff,
        and sf_isnanf files.  Also support s_isnan, sf_isnan, s_isinf, and
        sf_isinf files which have been moved from math/mathfp directories.
        * libm/common/Makefile.in: Regenerated.
        * libm/common/s_isinfd.c: New file.
        * libm/common/s_isnand.c: Ditto.
        * libm/common/sf_isinff.c: Ditto.
        * libm/common/sf_isnanf.c: Ditto.
        * libm/common/s_isinf.c: Moved from libm/math directory.
        * libm/common/s_isnan.c: Ditto.
        * libm/common/sf_isinf.c: Ditto.
        * libm/common/sf_isnan.c: Ditto.
        * libm/math/Makefile.am: Remove isinf and isnan family functions
        which have been moved into common directory.
        * libm/mathfp/Makefile.am: Ditto.
        * libm/math/Makefile.in: Regenerated.
        * libm/mathfp/Makefile.in: Ditto.
        * libm/math/s_isinf.c: Removed.
        * libm/math/s_isnan.c: Ditto.
        * libm/math/sf_isinf.c: Ditto.
        * libm/math/sf_isnan.c: Ditto.
        * libm/mathfp/s_isinf.c: Ditto.
        * libm/mathfp/s_isnan.c: Ditto.
        * libm/mathfp/sf_isinf.c: Ditto.
        * libm/mathfp/sf_isnan.c: Ditto.

18 years ago * fhandler_netdrive.cc (fhandler_netdrive::fstat): Create unambiguous
Corinna Vinschen [Mon, 27 Feb 2006 17:46:29 +0000 (17:46 +0000)]
* fhandler_netdrive.cc (fhandler_netdrive::fstat): Create unambiguous
inode number.
(fhandler_netdrive::readdir): Ditto.

18 years agobfd/doc/
Carlos O'Donell [Mon, 27 Feb 2006 16:26:23 +0000 (16:26 +0000)]
bfd/doc/
2006-10-14  Carlos O'Donell  <carlos@codesourcery.com>

       * Makefile.am: Add html target.
       * Makefile.in: Regenerate.

bfd/
2006-10-14  Carlos O'Donell  <carlos@codesourcery.com>

       * po/Make-in: Add html target.

binutils/
2006-10-14  Carlos O'Donell  <carlos@codesourcery.com>

       * po/Make-in: Add html target.

gas/
2006-10-14  Carlos O'Donell  <carlos@codesourcery.com>

       * doc/Makefile.am: Add html target.
       * doc/Makefile.in: Regenerate.
       * po/Make-in: Add html target.

gprof/
2006-10-14  Carlos O'Donell  <carlos@codesourcery.com>

       * po/Make-in: Add html target.

ld/
2006-10-14  Carlos O'Donell  <carlos@codesourcery.com>

       * Makefile.am: Add html target.
       * Makefile.in: Regenerate.
       * po/Make-in: Add html target.

opcodes/
2006-10-14  Carlos O'Donell  <carlos@codesourcery.com>

       * po/Make-in: Add html target.

etc/
2006-10-14  Carlos O'Donell  <carlos@codesourcery.com>

       * Makefile.in: TEXI2HTML uses makeinfo. Define
       HTMLFILES. Add html targets.
       * configure.texi: Use ifnottex. Add alternative
       image format specifier as jpg.
       * standards.texi: Use ifnottex.

intl/
2006-10-14  Carlos O'Donell  <carlos@codesourcery.com>

       * intl/Makefile.in: Add html target.

18 years agogas/
H.J. Lu [Mon, 27 Feb 2006 15:35:37 +0000 (15:35 +0000)]
gas/

2006-02-27  H.J. Lu <hongjiu.lu@intel.com>

* gas/config/tc-i386.c (output_insn): Support Intel Merom New
Instructions.

* gas/config/tc-i386.h (CpuMNI): New.
(CpuUnknownFlags): Add CpuMNI.

gas/testsuite/

2006-02-27  H.J. Lu <hongjiu.lu@intel.com>

* gas/i386/i386.exp: Add merom and x86-64-merom.

* gas/i386/merom.d: New file.
* gas/i386/merom.s: Likewise.
* gas/i386/x86-64-merom.d: Likewise.
* gas/i386/x86-64-merom.s: Likewise.

include/opcode/

2006-02-27  H.J. Lu <hongjiu.lu@intel.com>

* i386.h (i386_optab): Support Intel Merom New Instructions.

opcodes/

2006-02-27  H.J. Lu <hongjiu.lu@intel.com>

* i386-dis.c (IS_3BYTE_OPCODE): New for 3-byte opcodes used by
Intel Merom New Instructions.
(THREE_BYTE_0): Likewise.
(THREE_BYTE_1): Likewise.
(three_byte_table): Likewise.
(dis386_twobyte): Use THREE_BYTE_0 for entry 0x38. Use
THREE_BYTE_1 for entry 0x3a.
(twobyte_has_modrm): Updated.
(twobyte_uses_SSE_prefix): Likewise.
(print_insn): Handle 3-byte opcodes used by Intel Merom New
Instructions.

18 years ago[include/elf]
DJ Delorie [Fri, 24 Feb 2006 22:10:35 +0000 (22:10 +0000)]
[include/elf]
* m32c.h: Add relax relocs.

[cpu]
* m32c.cpu (RL_TYPE): New attribute, with macros.
(Lab-8-24): Add RELAX.
(unary-insn-defn-g, binary-arith-imm-dst-defn,
binary-arith-imm4-dst-defn): Add 1ADDR attribute.
(binary-arith-src-dst-defn): Add 2ADDR attribute.
(jcnd16-5, jcnd16, jcnd32, jmp16.s, jmp16.b, jmp16.w, jmp16.a,
jmp32.s, jmp32.b, jmp32.w, jmp32.a, jsr16.w, jsr16.a): Add JUMP
attribute.
(jsri16, jsri32): Add 1ADDR attribute.
(jsr32.w, jsr32.a): Add JUMP attribute.

[opcodes]
* m32c-desc.c: Regenerate with linker relaxation attributes.
* m32c-desc.h: Likewise.
* m32c-dis.c: Likewise.
* m32c-opc.c: Likewise.

[gas]
* config/tc-m32c.h (md_apply_fix): Define to m32c_apply_fix.
(tc_gen_reloc): Don't define.
* config/tc-m32c.c (rl_for, relaxable): New convenience macros.
(OPTION_LINKRELAX): New.
(md_longopts): Add it.
(m32c_relax): New.
(md_parse_options): Set it.
(md_assemble): Emit relaxation relocs as needed.
(md_convert_frag): Emit relaxation relocs as needed.
(md_cgen_lookup_reloc): Add LAB_8_8 and LAB_8_16.
(m32c_apply_fix): New.
(tc_gen_reloc): New.
(m32c_force_relocation): Force out jump relocs when relaxing.
(m32c_fix_adjustable): Return false if relaxing.

[bfd]
* elf32-m32c.c (m32c_elf_howto_table): Add relaxation relocs.
(m32c_elf_relocate_section): Don't relocate them.
(compare_reloc): New.
(relax_reloc): Remove.
(m32c_offset_for_reloc): New.
(m16c_addr_encodings): New.
(m16c_jmpaddr_encodings): New.
(m32c_addr_encodings): New.
(m32c_elf_relax_section): Relax jumps and address displacements.
(m32c_elf_relax_delete_bytes): Adjust for internal syms.  Fix up
short jumps.

* reloc.c: Add m32c relax relocs.
* libbfd.h: Regenerate.

18 years ago* sigproc.cc (sigheld): Define new variable.
Christopher Faylor [Fri, 24 Feb 2006 21:40:28 +0000 (21:40 +0000)]
* sigproc.cc (sigheld): Define new variable.
(sig_dispatch_pending): Don't check sigq since that's racy.
(sig_send): Set sigheld flag if __SIGHOLD is specified, reset it if __SIGNOHOLD
is specified.  Ignore flush signals if we're holding signals.

18 years ago2006-02-24 Paul Brook <paul@codesourcery.com>
Jeff Johnston [Fri, 24 Feb 2006 20:43:19 +0000 (20:43 +0000)]
2006-02-24  Paul Brook  <paul@codesourcery.com>

* arm/redboot-crt0.S: Use cps in Thumb-2 mode.

18 years ago2006-02-24 Paul Brook <paul@codesourcery.com>
Paul Brook [Fri, 24 Feb 2006 15:36:36 +0000 (15:36 +0000)]
2006-02-24  Paul Brook  <paul@codesourcery.com>

gas/
* config/arm/tc-arm.c (arm_ext_v6_notm, arm_ext_div, arm_ext_v7,
arm_ext_v7a, arm_ext_v7r, arm_ext_v7m): New variables.
(struct asm_barrier_opt): Define.
(arm_v7m_psr_hsh, arm_barrier_opt_hsh): New variables.
(parse_psr): Accept V7M psr names.
(parse_barrier): New function.
(enum operand_parse_code): Add OP_oBARRIER.
(parse_operands): Implement OP_oBARRIER.
(do_barrier): New function.
(do_dbg, do_pli, do_t_barrier, do_t_dbg, do_t_div): New functions.
(do_t_cpsi): Add V7M restrictions.
(do_t_mrs, do_t_msr): Validate V7M variants.
(md_assemble): Check for NULL variants.
(v7m_psrs, barrier_opt_names): New tables.
(insns): Add V7 instructions.  Mark V6 instructions absent from V7M.
(md_begin): Initialize arm_v7m_psr_hsh and arm_barrier_opt_hsh.
(arm_cpu_option_table): Add Cortex-M3, R4 and A8.
(arm_arch_option_table): Add armv7, armv7a, armv7r and armv7m.
(struct cpu_arch_ver_table): Define.
(cpu_arch_ver): New.
(aeabi_set_public_attributes): Use cpu_arch_ver.  Set
Tag_CPU_arch_profile.
* doc/c-arm.texi: Document new cpu and arch options.
gas/testsuite/
* gas/arm/thumb32.d: Fix expected msr and mrs output.
* gas/arm/arch7.d: New test.
* gas/arm/arch7.s: New test.
* gas/arm/arch7m-bad.l: New test.
* gas/arm/arch7m-bad.d: New test.
* gas/arm/arch7m-bad.s: New test.
include/opcode/
* arm.h: Add V7 feature bits.
opcodes/
* arm-dis.c (arm_opcodes): Add V7 instructions.
(thumb32_opcodes): Ditto.  Handle V7M MSR/MRS variants.
(print_arm_address): New function.
(print_insn_arm): Use it.  Add 'P' and 'U' cases.
(psr_name): New function.
(print_insn_thumb32): Add 'U', 'C' and 'D' cases.

18 years ago* cygwin.din (_exit): Use signal front end.
Christopher Faylor [Fri, 24 Feb 2006 02:08:56 +0000 (02:08 +0000)]
* cygwin.din (_exit): Use signal front end.
(exit): Ditto.

18 years agobfd/
H.J. Lu [Thu, 23 Feb 2006 21:36:17 +0000 (21:36 +0000)]
bfd/

2006-02-23  H.J. Lu  <hongjiu.lu@intel.com>

* cpu-ia64-opc.c (ins_immu5b): New.
(ext_immu5b): Likewise.
(elf64_ia64_operands): Add IMMU5b.

gas/

2006-02-23  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-ia64.c (operand_match): Handle IA64_OPND_IMMU5b.

gas/testsuite/

2006-02-23  H.J. Lu  <hongjiu.lu@intel.com>

* gas/ia64/opc-i.s: Add tests for tf.
* gas/ia64/pseudo.s: Likewise.
* gas/ia64/opc-i.d: Updated.
* gas/ia64/pseudo.d: Likewise.

include/opcode/

2006-02-23  H.J. Lu  <hongjiu.lu@intel.com>

* ia64.h (ia64_opnd): Add IA64_OPND_IMMU5b.

opcodes/

2006-02-23  H.J. Lu  <hongjiu.lu@intel.com>

* ia64-opc-i.c (bXc): New.
(mXc): Likewise.
(OpX2TaTbYaXcC): Likewise.
(TF). Likewise.
(TFCM). Likewise.
(ia64_opcodes_i): Add instructions for tf.

* ia64-opc.h (IMMU5b): New.

* ia64-asmtab.c: Regenerated.

18 years ago* winsup.h (cygwin_hmodule): Declare.
Christopher Faylor [Thu, 23 Feb 2006 19:21:21 +0000 (19:21 +0000)]
* winsup.h (cygwin_hmodule): Declare.
* exceptions.cc (inside_kernel): Reverse return values to reflect function
name.  Return true if we're in cygwin1.dll or if we're executing in dll_entry.
(_cygtls::interrupt_now): Reflect reversal of inside_kernel return value.
* hookapi.cc (cygwin_hmodule): Remove declaration.
* init.cc (dll_entry): Use in_dllentry global to record that we are executing
in dllentry.

18 years ago2006-02-22 Nathan Sidwell <nathan@codesourcery.com>
Jeff Johnston [Wed, 22 Feb 2006 18:02:54 +0000 (18:02 +0000)]
2006-02-22  Nathan Sidwell  <nathan@codesourcery.com>

        * m68k/Makefile.in (CF_SCRIPTS): New.
        (all): Add CF_SCRIPTS.
        (m5208evb.ld, m5213evb.ld, m5235evb.ld, m5272c3.ld,
        m5282evb.ld): New targets
        (install): Iterate over CF_SCRIPTS.
        * m68k/crt0.S: Don't use dbra on any cf chips.
        * m68k/dbug-cf.sc: New.

18 years ago * exceptions.cc (_cygtls::interrupt_now): Reorder conditional
Corinna Vinschen [Wed, 22 Feb 2006 17:06:14 +0000 (17:06 +0000)]
* exceptions.cc (_cygtls::interrupt_now): Reorder conditional
to call inside_kernel only if this isn't locked.

18 years ago * fhandler.cc (fhandler_base::open): Add FILE_READ_ATTRIBUTES to
Corinna Vinschen [Wed, 22 Feb 2006 16:40:42 +0000 (16:40 +0000)]
* fhandler.cc (fhandler_base::open): Add FILE_READ_ATTRIBUTES to
access flags in case of query_read_control case, add FILE_READ_DATA
in case of query_stat_control.

18 years ago * include/ddk/ntifs,h (FILE_ID_FULL_DIRECTORY_INFORMATION): Revert
Danny Smith [Tue, 21 Feb 2006 08:28:01 +0000 (08:28 +0000)]
* include/ddk/ntifs,h (FILE_ID_FULL_DIRECTORY_INFORMATION): Revert
last change.
Remove file level #pragma pack(push,4)/#pragma pop.

18 years ago2006-02-20 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Mon, 20 Feb 2006 23:24:00 +0000 (23:24 +0000)]
2006-02-20  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/stdio/fflush.c (fflush): For an fflush on a read-only
        stream, turn off fseek/rewind optimization as per POSIX/SUSv3.
        * libc/stdio/fseek.c (_fseek_r): After a successful unoptimized
        seek, turn off the __SNPT no-optimization flag.

18 years agofix typo
Christopher Faylor [Mon, 20 Feb 2006 16:26:16 +0000 (16:26 +0000)]
fix typo

18 years ago* spawn.cc (av::fixup): Check for .bat and friends specifically now since these
Christopher Faylor [Mon, 20 Feb 2006 16:15:51 +0000 (16:15 +0000)]
* spawn.cc (av::fixup): Check for .bat and friends specifically now since these
extensions are no longer automatically detected.

18 years ago2006-02-20 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Mon, 20 Feb 2006 08:34:53 +0000 (08:34 +0000)]
2006-02-20  Paolo Bonzini  <bonzini@gnu.org>

PR bootstrap/25670

* Makefile.tpl ([+compare-target+]): Print explanation messages.

* Makefile.def (ADAFLAGS, BOOT_ADAFLAGS, LANGUAGES): New flags_to_pass.
* Makefile.tpl (BASE_FLAGS_TO_PASS): Support optional flags_to_pass.
(EXTRA_GCC_FLAGS): Remove ADAFLAGS, BOOT_ADAFLAGS, LANGUAGES,
BUILD_PREFIX, BUILD_PREFIX_1.
* configure.in: (BUILD_PREFIX, BUILD_PREFIX_1): Don't substitute.

* Makefile.def (bootstrap stage 1): Pass LIBCFLAGS too.
* Makefile.tpl (POSTSTAGE1_FLAGS_TO_PASS): Override LIBCFLAGS too.

* Makefile.tpl (configure-stage[+id+]-[+prefix+][+module+],
all-stage[+id+]-[+prefix+][+module+], : Use $(current_stage) instead
of `cat stage_current`.  Always provide the `r' and `s' variables.
(clean-stage[+id+]-[+prefix+][+module+]): Likewise, and make it into
a single shell execution.
(configure-[+prefix+][+module+], all-[+prefix+][+module+]): For
bootstrapped modules, make the stage1 module if the build was not
started yet, else build the current stage.
(all-host, all-target): Omit bootstrapped modules (if bootstrapping).
(all-build, all-host, all-target, [+make_target+]-host,
[+make_target+]-target): Do not use \-continued lines.
(target modules): Depend on stage_last, not all-gcc, if bootstrapping.
(current_stage, restrap, stage_last): New.

* Makefile.in: Regenerate.
* configure: Regenerate.

18 years agorevert erroneous checkin
Christopher Faylor [Mon, 20 Feb 2006 02:06:37 +0000 (02:06 +0000)]
revert erroneous checkin

18 years ago* exceptions.cc (stackdump): Avoid dumping more than once.
Christopher Faylor [Mon, 20 Feb 2006 02:04:31 +0000 (02:04 +0000)]
* exceptions.cc (stackdump): Avoid dumping more than once.

18 years ago* fhandler_disk_file.cc (fhandler_disk_file::opendir): Use NtOpenFile to open
Christopher Faylor [Sun, 19 Feb 2006 21:18:36 +0000 (21:18 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::opendir): Use NtOpenFile to open
the directory.
(fhandler_disk_file::readdir): Use NT_SUCCESS to determine if status represents
success.

This page took 0.072829 seconds and 5 git commands to generate.