]> sourceware.org Git - newlib-cygwin.git/log
newlib-cygwin.git
19 years agoRevert 2005-05-30 close_all_files changes.
Christopher Faylor [Thu, 2 Jun 2005 02:36:50 +0000 (02:36 +0000)]
Revert 2005-05-30 close_all_files changes.
* spawn.cc (spawn_guts): When execing, close all files after the child has
synced with us.

19 years ago* fhandler_disk_file.cc (fhandler_disk_file::fchown): Make sure that disk open
Christopher Faylor [Thu, 2 Jun 2005 01:50:23 +0000 (01:50 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::fchown): Make sure that disk open
is called in case we're passed in a non-existent device.

19 years ago* include/machine/stdlib.h: New file.
Christopher Faylor [Wed, 1 Jun 2005 18:24:31 +0000 (18:24 +0000)]
* include/machine/stdlib.h: New file.

19 years ago* thread.h (List_remove): Revert most of 2005-05-30 change.
Christopher Faylor [Wed, 1 Jun 2005 14:55:45 +0000 (14:55 +0000)]
* thread.h (List_remove): Revert most of 2005-05-30 change.

19 years ago* cygwin.sc: Don't output .reloc or .rsrc sections. Clean up stuff around
Christopher Faylor [Wed, 1 Jun 2005 04:42:44 +0000 (04:42 +0000)]
* cygwin.sc: Don't output .reloc or .rsrc sections.  Clean up stuff around
.cygheap and use a workaround to get things working with newer
(broken?) binutils.

19 years ago* cygheap.cc (cygheap_end): Remove bogus section attribute.
Christopher Faylor [Wed, 1 Jun 2005 04:00:40 +0000 (04:00 +0000)]
* cygheap.cc (cygheap_end): Remove bogus section attribute.
* cygwin.sc: Make __cygheap_mid absolute.  Remove unused _cygheap_foo.

19 years ago* child_info.h (child_info::cygheap_h): Delete.
Christopher Faylor [Wed, 1 Jun 2005 03:46:56 +0000 (03:46 +0000)]
* child_info.h (child_info::cygheap_h): Delete.
(child_info::dwProcessId): New field.
* cygheap.cc (init_cheap): Delete.
(dup_now): Ditto.
(cygheap_setup_for_child): Ditto.
(cygheap_setup_for_child_cleanup): Ditto.
(cygheap_fixup_in_child): Simplify.  Use new "child_copy" function to copy heap
from parent.
(_csbrk): Don't attempt allocation if within cygheap section.  Fix so that more
than one allocation will succeed.
(cygheap_init): Reset possibly-nonzero region to zero.
* cygheap.h (cygheap_setup_for_child): Delete declaration.
(cygheap_setup_for_child_cleanup): Ditto.
(cygheap_start): Define as an array.
* cygwin.sc: Modernize.  Remove unneeded sections.  Define cygheap here.
* dcrt0.cc (do_exit): Reflect argument change to close_all_files.
* dtable.cc (dtable::vfork_parent_restore): Ditto.
* dtable.h: Ditto.
* fhandler.h: Ditto.
* fork.cc (fork_copy): Call ReadProcessMemory if there is no thread
(indicating that we're execing).
(fork_child): Don't mess with hParent.
(fork_parent): Remove hParent stuff.  It happens earlier now.  Remove call to
cygheap_setup_for_child* stuff.
(fork): Put child_info_stuff in grouped structure.  Issue error if parent
handle is not set.
(child_copy): New function.
* sigproc.cc (child_info::child_info): Put cygheap settings here.  Set parent
handle.
(child_info::~child_info): Close parent handle if it exists.
* spawn.cc (spawn_guts): Reorganize so that ciresrv is allocated at only the
last minute so that cygheap changes are reflected.  Delete cygheap_setup*
calls.
* syscalls.cc (close_all_files): Add an argument to flag when the fd entry
should be released.
* winsup.h (close_all_files): Add an argument to close_all_files declaration.
Declare child_copy.

19 years ago * alpha.h (LITUSE_ALPHA_JSRDIRECT): New.
Richard Henderson [Tue, 31 May 2005 22:52:31 +0000 (22:52 +0000)]
    * alpha.h (LITUSE_ALPHA_JSRDIRECT): New.

19 years ago* thread.h (List_remove): Make node parameter const. Use simple comparison and
Christopher Faylor [Mon, 30 May 2005 18:37:41 +0000 (18:37 +0000)]
* thread.h (List_remove): Make node parameter const.  Use simple comparison and
assignment rather than InterlockedCompareExchangePointer since access is
already synchronized.

19 years ago* dlfcn.cc (set_dl_error): Use UNIX error rather than Windows error.
Christopher Faylor [Mon, 30 May 2005 18:20:28 +0000 (18:20 +0000)]
* dlfcn.cc (set_dl_error): Use UNIX error rather than Windows error.

19 years ago * cygcheck.cc (dump_sysinfo): Recognize XP Media Center and Tablet PC
Corinna Vinschen [Mon, 30 May 2005 15:49:31 +0000 (15:49 +0000)]
* cygcheck.cc (dump_sysinfo): Recognize XP Media Center and Tablet PC
Editions. Change .NET to 2003 throughout.  Recognize 2003 Web Server
and Datacenter Server. Report when running in terminal server session.

19 years agomerge from gcc
DJ Delorie [Mon, 30 May 2005 01:12:16 +0000 (01:12 +0000)]
merge from gcc

19 years ago* cygmagic: Remove debugging cruft missed on 2005-05-21.
Christopher Faylor [Mon, 30 May 2005 00:54:01 +0000 (00:54 +0000)]
* cygmagic: Remove debugging cruft missed on 2005-05-21.

19 years ago * alpha.h (DT_ALPHA_PLTRO): New.
Richard Henderson [Sun, 29 May 2005 23:18:26 +0000 (23:18 +0000)]
    * alpha.h (DT_ALPHA_PLTRO): New.

19 years ago * path.cc (path_conv::check): Move component to function scope. Set
Corinna Vinschen [Sun, 29 May 2005 11:04:02 +0000 (11:04 +0000)]
* path.cc (path_conv::check): Move component to function scope. Set
PATH_RO only on *real* FH_NETDRIVEs or on non-FH_NETDRIVE virtual
paths. Allow non-retrievable shares to be handled as files.

19 years ago * include/limits.h (LLONG_MIN, LLONG_MAX, ULLONG_MAX): Always define.
Corinna Vinschen [Sun, 29 May 2005 10:05:56 +0000 (10:05 +0000)]
* include/limits.h (LLONG_MIN, LLONG_MAX, ULLONG_MAX): Always define.

19 years ago* thread.h (pthread_key::set): Inline.
Christopher Faylor [Sun, 29 May 2005 02:42:36 +0000 (02:42 +0000)]
* thread.h (pthread_key::set): Inline.
(pthread_key::get): Ditto.
* thread.cc (pthread::set): Delete.
(pthread::get): Ditto.

19 years ago* cygwin.din: Remove signal front end from pthread_[gs]etspecific.
Christopher Faylor [Sun, 29 May 2005 02:26:29 +0000 (02:26 +0000)]
* cygwin.din: Remove signal front end from pthread_[gs]etspecific.

19 years ago* fhandler_tty.cc (fhandler_tty_slave:tcflush): Use signed comparison.
Christopher Faylor [Sun, 29 May 2005 00:05:49 +0000 (00:05 +0000)]
* fhandler_tty.cc (fhandler_tty_slave:tcflush): Use signed comparison.

19 years ago* times.cc (time_ms::usecs): Coerce comparison to signed or whole test is a
Christopher Faylor [Sat, 28 May 2005 21:31:17 +0000 (21:31 +0000)]
* times.cc (time_ms::usecs): Coerce comparison to signed or whole test is a
no-op.

19 years ago* how-using.texinfo : Update the mkdir -p section
Joshua Daniel Franklin [Sat, 28 May 2005 20:35:58 +0000 (20:35 +0000)]
* how-using.texinfo : Update the mkdir -p section

19 years agomerge from gcc
DJ Delorie [Sat, 28 May 2005 19:49:21 +0000 (19:49 +0000)]
merge from gcc

19 years agowhite space
Christopher Faylor [Fri, 27 May 2005 18:42:03 +0000 (18:42 +0000)]
white space

19 years ago* cygheap.h: Reference _cygheap_start via .cygheap section.
Christopher Faylor [Fri, 27 May 2005 18:26:19 +0000 (18:26 +0000)]
* cygheap.h: Reference _cygheap_start via .cygheap section.
* environ.cc: Fix force_into_environment typo throughout.
(spenvs): Export CYGWIN_DEBUG if DEBUGGING.

19 years ago* cygcheck.cc (load_cygwin): Make half-hearted attempt to work with older DLLs.
Christopher Faylor [Fri, 27 May 2005 15:45:53 +0000 (15:45 +0000)]
* cygcheck.cc (load_cygwin): Make half-hearted attempt to work with older DLLs.
* strace.cc (load_cygwin): Ditto.

19 years ago* include/cygwin/version.h: Bump DLL minor number to 18.
Christopher Faylor [Thu, 26 May 2005 18:19:26 +0000 (18:19 +0000)]
* include/cygwin/version.h: Bump DLL minor number to 18.

19 years agoinclude/
Richard Henderson [Wed, 25 May 2005 23:32:35 +0000 (23:32 +0000)]
include/
* demangle.h (DEMANGLE_COMPONENT_HIDDEN_ALIAS): New.
libiberty/
* cp-demangle.c (d_dump): Handle DEMANGLE_COMPONENT_HIDDEN_ALIAS.
(d_make_comp, d_print_comp): Likewise.
(d_special_name): Generate one.
* testsuite/demangle-expected: Add a hidden alias test.

19 years agoforced checkin
Christopher Faylor [Wed, 25 May 2005 18:30:18 +0000 (18:30 +0000)]
forced checkin

19 years ago2005-05-25 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Wed, 25 May 2005 14:23:03 +0000 (14:23 +0000)]
2005-05-25  Paolo Bonzini  <bonzini@gnu.org>

* Makefile.tpl (stage[+id+]-start): Iterate over target module as well.
(Dependencies): Consider target modules for bootstrap dependencies.
Make target bootstrap modules depend on each stage's gcc.
* Makefile.in: Regenerate.

19 years ago * ChangeLog: Remove accidentally checked in entry.
Corinna Vinschen [Wed, 25 May 2005 08:41:28 +0000 (08:41 +0000)]
* ChangeLog: Remove accidentally checked in entry.

19 years ago* fhandler.h (fhandler_base::mkdir): New virtual method.
Christopher Faylor [Wed, 25 May 2005 04:32:59 +0000 (04:32 +0000)]
* fhandler.h (fhandler_base::mkdir): New virtual method.
(fhandler_base::rmdir): Ditto.
(fhandler_disk_file:mkdir): New method.
(fhandler_disk_file:rmdir): Ditto.
* dir.cc (mkdir): Implement with fhandlers.
(rmdir): Ditto.
* fhandler.cc (fhandler_base::mkdir): New virtual method.
(fhandler_base::rmdir): Ditto.
(fhandler_disk_file::mkdir): New method.
(fhandler_disk_file::rmdir): Ditto.

fhandler_random.cc: white space.

19 years ago* include/cygwin/version.h: Bump API minor number to 129.
Christopher Faylor [Wed, 25 May 2005 03:46:10 +0000 (03:46 +0000)]
* include/cygwin/version.h: Bump API minor number to 129.

19 years agoAdd top comment
Christopher Faylor [Wed, 25 May 2005 03:43:58 +0000 (03:43 +0000)]
Add top comment

19 years ago* cygwin.din: Export mkdtemp.
Christopher Faylor [Wed, 25 May 2005 03:40:07 +0000 (03:40 +0000)]
* cygwin.din: Export mkdtemp.
* mktemp.cc: New file.
* Makefile.in (DLL_OFILES): Add mktemp.o

19 years agomerge from gcc
DJ Delorie [Tue, 24 May 2005 21:00:54 +0000 (21:00 +0000)]
merge from gcc

19 years ago * hppa.h (FLAG_STRICT): Correct comment.
John David Anglin [Mon, 23 May 2005 16:26:43 +0000 (16:26 +0000)]
* hppa.h (FLAG_STRICT): Correct comment.
(pa_opcodes): Update load and store entries to allow both PA 1.X and
PA 2.0 mneumonics when equivalent.  Entries with cache control
completers now require PA 1.1.  Adjust whitespace.

19 years ago * include/stdint.h (INTMAX_C, UINTMAX_C): Fix definition.
Corinna Vinschen [Mon, 23 May 2005 13:13:00 +0000 (13:13 +0000)]
* include/stdint.h (INTMAX_C, UINTMAX_C): Fix definition.

19 years ago * cygcheck.cc (dump_sysinfo_services): Add new function that uses
Corinna Vinschen [Mon, 23 May 2005 09:54:44 +0000 (09:54 +0000)]
* cygcheck.cc (dump_sysinfo_services): Add new function that uses
new cygrunsrv options to dump service info.
(dump_sysinfo): Call dump_sysinfo_services if running under NT.
Change 'Cygnus' to 'Cygwin' in output.

19 years ago* spawn.cc (find_exec): Accept a PATH-like string in place of an environment
Christopher Faylor [Sun, 22 May 2005 03:54:29 +0000 (03:54 +0000)]
* spawn.cc (find_exec): Accept a PATH-like string in place of an environment
variable.
* dlfcn.cc (get_full_path_of_dll): Search /usr/bin (for windows compatibility)
and /usr/lib (for UNIX compatibility) when looking for shared libraries.
* environ.cc (conv_envvars): Put back LD_LIBRARY_PATH since it is used by
get_full_path_of_dll().
* errno.cc (errmap): Map MOD_NOT_FOUND to ENOENT.
* cygmagic: Remove debugging cruft.

19 years ago* cygcheck.cc (load_cygwin): Remove debugging statement.
Christopher Faylor [Fri, 20 May 2005 16:50:39 +0000 (16:50 +0000)]
* cygcheck.cc (load_cygwin): Remove debugging statement.

19 years ago* cygcheck.cc (dump_sysinfo): Don't attempt to use path if it is not set.
Christopher Faylor [Fri, 20 May 2005 16:38:42 +0000 (16:38 +0000)]
* cygcheck.cc (dump_sysinfo): Don't attempt to use path if it is not set.
(nuke): Fix off by one error in allocation of environment variable.
(load_cygwin): Always set PATH even if cygwin environment is empty.

19 years ago * arm/elf-redboot.ld, iq2000/sim.ld, m68hc11/sim-valid-m68hc11.ld,
Corinna Vinschen [Fri, 20 May 2005 15:45:45 +0000 (15:45 +0000)]
* arm/elf-redboot.ld, iq2000/sim.ld, m68hc11/sim-valid-m68hc11.ld,
* m68hc11/sim-valid-m68hc12.ld, mcore/elf-cmb.ld, mips/cfe.ld,
* mips/ddb-kseg0.ld, mips/ddb.ld, mips/dve.ld, mips/idt.ld,
* mips/idt32.ld, mips/idt64.ld, mips/jmr3904app-java.ld,
* mips/jmr3904app.ld, mips/jmr3904dram-java.ld, mips/jmr3904dram.ld,
* mips/nullmon.ld, mips/pmon.ld, mn10200/eval.ld, mn10200/sim.ld,
* mn10300/asb2303.ld, mn10300/asb2305.ld, mn10300/eval.ld,
* mn10300/sim.ld, rs6000/ads.ld, rs6000/mbx.ld, rs6000/yellowknife.ld,
* sh/sh1lcevb.ld, sh/sh2lcevb.ld, sh/sh3bb.ld, sh/sh3lcevb.ld,
* sparc/elfsim.ld, sparc/ex930.ld, sparc/ex931.ld, sparc/ex934.ld,
* sparc/sparc86x.ld, xstormy16/eva_app.ld, xstormy16/eva_stub.ld,
* xstormy16/sim_high.ld, xstormy16/sim_rom.ld: Add .debug_ranges
section.

19 years ago2005-05-20 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Fri, 20 May 2005 07:16:11 +0000 (07:16 +0000)]
2005-05-20  Paolo Bonzini  <bonzini@gnu.org>

* Makefile.def (configure-gcc): Depend on binutils having been built.
(all-gcc): No need to do it here.
* Makefile.in: Regenerate.

19 years ago * bfd/Makefile.am, binutils/Makefile.am, etc/Makefile.in
Zack Weinberg [Thu, 19 May 2005 23:49:46 +0000 (23:49 +0000)]
* bfd/Makefile.am, binutils/Makefile.am, etc/Makefile.in
* gas/Makefile.am: Have 'all' depend on 'info'.
* ld/Makefile.am: Have 'all' depend on 'info' and 'ld.1'.
* bfd/Makefile.in, binutils/Makefile.in, gas/Makefile.in
* ld/Makefile.in: Regenerate.

19 years ago * crt1.c (_gnu_exception_handler): Handle illegal instruction
Danny Smith [Thu, 19 May 2005 22:44:13 +0000 (22:44 +0000)]
* crt1.c (_gnu_exception_handler): Handle illegal instruction
OS exception as a signal if user has defined a SIGILL handler.

19 years ago * include/cygwin/in.h: Add comment.
Corinna Vinschen [Thu, 19 May 2005 21:22:37 +0000 (21:22 +0000)]
* include/cygwin/in.h: Add comment.

19 years ago * include/cygwin/in.h: Define IPPROTO_xxx values as macros to
Corinna Vinschen [Thu, 19 May 2005 21:18:17 +0000 (21:18 +0000)]
* include/cygwin/in.h: Define IPPROTO_xxx values as macros to
accomodate SUSv3.

19 years agofix comment
Christopher Faylor [Thu, 19 May 2005 20:37:51 +0000 (20:37 +0000)]
fix comment

19 years agofix comment
Christopher Faylor [Thu, 19 May 2005 20:34:42 +0000 (20:34 +0000)]
fix comment

19 years ago2005-05-19 Paul Brook <paul@codesourcery.com>
Paul Brook [Thu, 19 May 2005 20:25:24 +0000 (20:25 +0000)]
2005-05-19  Paul Brook  <paul@codesourcery.com>

* configure.in: Rewrite misleading error message when requested
language cannot be built.
* configure: Regenerate.

19 years ago* include/limits.h: Include features.h, as on linux.
Christopher Faylor [Thu, 19 May 2005 19:45:28 +0000 (19:45 +0000)]
* include/limits.h: Include features.h, as on linux.

19 years ago* include/endian.h: New file.
Christopher Faylor [Thu, 19 May 2005 19:44:31 +0000 (19:44 +0000)]
* include/endian.h: New file.

19 years ago * cygwin.sc: Add Dwarf-2 debug sections.
Corinna Vinschen [Thu, 19 May 2005 17:04:28 +0000 (17:04 +0000)]
* cygwin.sc: Add Dwarf-2 debug sections.

19 years ago * mmap.cc (mmap64): Make granularity an automatic variable.
Corinna Vinschen [Thu, 19 May 2005 08:43:17 +0000 (08:43 +0000)]
* mmap.cc (mmap64): Make granularity an automatic variable.

19 years ago * ppc.h (PPC_OPCODE_POWER5): Define.
Alan Modra [Thu, 19 May 2005 06:59:36 +0000 (06:59 +0000)]
* ppc.h (PPC_OPCODE_POWER5): Define.

19 years ago* fhandler.h (fhandler_cygdrive::seekdir): Delete declaration.
Christopher Faylor [Thu, 19 May 2005 05:43:55 +0000 (05:43 +0000)]
* fhandler.h (fhandler_cygdrive::seekdir): Delete declaration.
(fhandler_cygdrive::seekdir): Delete.
* fhandler.h (fhandler_cygdrive::iscygdrive_root): Delete method.
(fhandler_cygdrive::telldir): Delete declaration.
* fhandler_disk_file.cc: Remove all uses of fhandler_cygdrive::iscygdrive_root.
(fhandler_disk_file::mkdir): New method.
(fhandler_disk_file::rmdir): Ditto.
(fhandler_cygdrive::telldir): Delete.

19 years ago2005-05-19 Kelley Cook <kcook@gcc.gnu.org>
R. Kelley Cook [Thu, 19 May 2005 03:50:19 +0000 (03:50 +0000)]
2005-05-19  Kelley Cook  <kcook@gcc.gnu.org>

* accross.m4: Delete file.

19 years ago* external.cc: Move pids declaration to file scope and use less enthusiastic
Christopher Faylor [Thu, 19 May 2005 01:25:20 +0000 (01:25 +0000)]
* external.cc: Move pids declaration to file scope and use less enthusiastic
constructor.
* pinfo.h (winpids::winpids): Remove default setting.
* fhandler_fifo.cc (fhandler_fifo::open_not_mine): Accommodate removal of
default setting.
* fhandler_proc.cc (fhandler_proc::readdir): Ditto.

19 years ago* cygtls.h (_local_storage::unknown_thread_name): New buffer.
Christopher Faylor [Wed, 18 May 2005 23:30:02 +0000 (23:30 +0000)]
* cygtls.h (_local_storage::unknown_thread_name): New buffer.
* tlsoffsets.h: Regenerate.
* cygthread.cc (cygthread::name): Use new thread-local buffer.
* exceptions.cc (handle_exceptions): Avoid unnecessary initialization of static
variables to zero.
* fork.cc (slow_pid_reuse) Ditto.

19 years agobinutils/ChangeLog
Ben Elliston [Wed, 18 May 2005 22:42:09 +0000 (22:42 +0000)]
binutils/ChangeLog
* readelf.c (read_and_display_attr_value): Handle a DW_AT_encoding
value of DW_ATE_GNU_decimal_float.

include/elf/ChangeLog
* dwarf2.h (enum dwarf_type): Assign DW_ATE_GNU_decimal_float from
the user-defined encoding space pending inclusion in the standard.

19 years ago * mmap.cc (mmap64): Avoid compiler warning.
Corinna Vinschen [Wed, 18 May 2005 17:23:17 +0000 (17:23 +0000)]
* mmap.cc (mmap64): Avoid compiler warning.
* ntea.cc (NTReadEA): Ditto.
* hires.h (hires_base): Remove useless usecs function.

19 years ago * bfd/elf32-arm.c: Make all #ifndef OLD_ARM_ABI blocks
Zack Weinberg [Wed, 18 May 2005 16:48:15 +0000 (16:48 +0000)]
* bfd/elf32-arm.c: Make all #ifndef OLD_ARM_ABI blocks
unconditional.
* include/elf/arm.h: Make all #ifndef OLD_ARM_ABI blocks
unconditional, delete all #ifdef OLD_ARM_ABI blocks.

19 years ago2005-05-18 Brian Dessent <brian@dessent.net>
Brian Dessent [Wed, 18 May 2005 11:56:27 +0000 (11:56 +0000)]
2005-05-18  Brian Dessent  <brian@dessent.net>

* install.texinfo ("How do I uninstall..."): Rewrite to cover
removing services, dealing with permissions, and other common
tasks for removing Cygwin completely.

19 years ago * fhandler_netdrive.cc (fhandler_netdrive::telldir): Remove since it's
Corinna Vinschen [Wed, 18 May 2005 10:32:37 +0000 (10:32 +0000)]
* fhandler_netdrive.cc (fhandler_netdrive::telldir): Remove since it's
equivalent to fhandler_virtual::telldir now anyway.
* fhandler.h (class fhandler_netdrive): Remove telldir.

19 years ago * fhandler_netdrive.cc (fhandler_netdrive::telldir): Implement.
Corinna Vinschen [Wed, 18 May 2005 10:23:40 +0000 (10:23 +0000)]
* fhandler_netdrive.cc (fhandler_netdrive::telldir): Implement.
(fhandler_netdrive::seekdir): Implement.
(fhandler_netdrive::closedir): Call rewinddir to have only one point
of calling WNetCloseEnum.

19 years agoinclude/elf:
Zack Weinberg [Wed, 18 May 2005 05:40:10 +0000 (05:40 +0000)]
include/elf:
* arm.h: Import complete list of official relocation names
and numbers from AAELF.  Define FAKE_RELOCs for old names.
Remove a few old names no longer used anywhere.

bfd:
* elf32-arm.c: Wherever possible, use official reloc names
from AAELF.
(elf32_arm_howto_table, elf32_arm_tls_gd32_howto)
(elf32_arm_tls_ldo32_howto, elf32_arm_tls_ldm32_howto)
(elf32_arm_tls_le32_howto, elf32_arm_tls_ie32_howto)
(elf32_arm_vtinherit_howto, elf32_arm_vtentry_howto)
(elf32_arm_pc11_howto, elf32_arm_thm_pc9_howto, elf32_arm_got_prel)
(elf32_arm_r_howto): Replace with elf32_arm_howto_table_1,
elf32_arm_howto_table_2, and elf32_arm_howto_table_3.
Add many new relocations from AAELF.
(elf32_arm_howto_from_type): Update to match.
(elf32_arm_reloc_map): Add entries for R_ARM_THM_JUMP24,
R_ARM_THM_JUMP11, R_ARM_THM_JUMP19, R_ARM_THM_JUMP8,
R_ARM_THM_JUMP6, R_ARM_GNU_VTINHERIT, and R_ARM_GNU_VTENTRY.
(elf32_arm_reloc_type_lookup): Use elf32_arm_howto_from_type.
(elf32_arm_final_link_relocate): Add support for
R_ARM_THM_JUMP24, R_ARM_THM_JUMP19, R_ARM_THM_JUMP6.  Remove
case entries redundant with default.

* reloc.c: Reorganize ARM relocations.  Add Thumb
assembler-internal relocations BFD_RELOC_ARM_T32_OFFSET_U8,
BFD_RELOC_ARM_T32_OFFSET_IMM, BFD_RELOC_ARM_T32_IMMEDIATE.
Add visible relocations BFD_RELOC_THUMB_PCREL_BRANCH7,
BFD_RELOC_THUMB_BRANCH20, BFD_RELOC_THUMB_BRANCH25.
Delete unused relocations BFD_RELOC_ARM_GOT12, BFD_RELOC_ARM_COPY.
* bfd-in2.h, libbfd.h: Regenerate.

opcodes:
* arm-dis.c (thumb_opcodes): Add disassembly for V6T2 16-bit
instructions.  Adjust disassembly of some opcodes to match
unified syntax.
(thumb32_opcodes): New table.
(print_insn_thumb): Rename print_insn_thumb16; don't handle
two-halfword branches here.
(print_insn_thumb32): New function.
(print_insn): Choose among print_insn_arm, print_insn_thumb16,
and print_insn_thumb32.  Be consistent about order of
halfwords when printing 32-bit instructions.

gas:
* hash.c (hash_lookup): Add len parameter.  All callers changed.
(hash_find_n): New interface.
* hash.h: Prototype hash_find_n.
* sb.c: Include as.h.
(scrub_from_sb, sb_to_scrub, scrub_position): New statics.
(sb_scrub_and_add_sb): New interface.
* sb.h: Prototype sb_scrub_and_add_sb.
* input-scrub.c (input_scrub_include_sb): Use sb_scrub_and_add_sb.

* config/tc-arm.h (TC_FORCE_RELOCATION_LOCAL): Remove
reference to BFD_RELOC_ARM_GOT12 which is never generated.
* config/tc-arm.c: Rewrite, adding Thumb-2 support.

gas/testsuite:
* gas/arm/arm.exp: Convert all existing "gas_test" tests to
"run_dump_test" tests.  Run more tests unconditionally.  Run new tests.
* gas/arm/arch4t.s, gas/arm/arch6zk.s, gas/arm/arm3.s, gas/arm/arm6.s
* gas/arm/arm7dm.s, gas/arm/bignum1.s, gas/arm/float.s
* gas/arm/immed.s, gas/arm/iwmmxt.s, gas/arm/offset.s, gas/arm/thumb.s:
Adjust to work as a dump test.
* gas/arm/arch4t.d, gas/arm/arch6zk.d, gas/arm/arm3.d, gas/arm/arm6.d
* gas/arm/arm7dm.d, gas/arm/bignum1.d, gas/arm/float.d
* gas/arm/immed.d, gas/arm/iwmmxt.d, gas/arm/offset.d, gas/arm/thumb.d:
New files.

* gas/arm/armv1-bad.l, gas/arm/armv1-bad.s: Remove tests for
diagnostics that don't happen in the first pass anymore.

* gas/arm/iwmmxt-bad.l, gas/arm/r15-bad.l, gas/arm/req.l
* gas/arm/vfp-bad.l:
Update expected diagnostics.
* gas/arm/pic.d: Update expected reloc name.
* gas/arm/thumbv6.d: CPY no longer appears in disassembly.
* gas/arm/r15-bad.s: Avoid two-argument mul.
* gas/arm/req.s: Adjust comments.
* gas/arm/maverick.d, gas/arm/maverick.s: Avoid inappropriate
use of PC.

* gas/arm/macro-1.d, gas/arm/macro1.s
* gas/arm/t16-bad.l, gas/arm/t16-bad.s
* gas/arm/tcompat.d, gas/arm/tcompat.s
* gas/arm/tcompat2.d, gas/arm/tcompat2.s
* gas/arm/thumb32.d, gas/arm/thumb32.s
New test pair.

ld/testsuite:
* ld-arm/mixed-app.d: Adjust expected disassembly a little.

19 years ago2005-05-17 Brian Dessent <brian@dessent.net>
Brian Dessent [Wed, 18 May 2005 01:10:06 +0000 (01:10 +0000)]
2005-05-17  Brian Dessent  <brian@dessent.net>

* winsup.api/signal-into-win32-api.c (main): Use 'NULL' instead of '0'
in argument list to avoid compiler warning with gcc4.
* winsup.api/ltp/execle01.c (main): Ditto.
* winsup.api/ltp/execlp01.c (main): Ditto.
* winsup.api/ltp/fcntl07.c (do_exec): Ditto.
* winsup.api/ltp/fcntl07B.c (do_exec): Ditto.

19 years ago * fhandler.h (class fhandler_netdrive): Add method rewinddir.
Corinna Vinschen [Tue, 17 May 2005 20:34:15 +0000 (20:34 +0000)]
* fhandler.h (class fhandler_netdrive): Add method rewinddir.
* fhandler_netdrive.cc (struct netdriveinf): New structure to
store thread arguments.
(thread_netdrive): Thread handling all potentially blocking
WNet... calls.
(create_thread_and_wait): Start and wait for above thread.
(fhandler_netdrive::exists): Change to call create_thread_and_wait
instead of calling WNet... function.
(fhandler_netdrive::readdir): Ditto.  Fix error handling.
(fhandler_netdrive::rewinddir): New method.

19 years ago * external.cc (cygwin_internal): Avoid compiler warning.
Corinna Vinschen [Tue, 17 May 2005 08:46:41 +0000 (08:46 +0000)]
* external.cc (cygwin_internal): Avoid compiler warning.

19 years agowhite space
Christopher Faylor [Tue, 17 May 2005 01:29:27 +0000 (01:29 +0000)]
white space

19 years ago* dcrt0.cc (dll_crt0_0): Don't do fixup_after_exec if dynamically loaded since
Christopher Faylor [Tue, 17 May 2005 01:27:31 +0000 (01:27 +0000)]
* dcrt0.cc (dll_crt0_0): Don't do fixup_after_exec if dynamically loaded since
the state of fds is unknown at this point.

19 years ago* cygcheck.cc (cygwin_internal): Define as a "C" function.
Christopher Faylor [Tue, 17 May 2005 01:26:16 +0000 (01:26 +0000)]
* cygcheck.cc (cygwin_internal): Define as a "C" function.
* strace.cc (cygwin_internal): Ditto.
* cygpath.cc (print_version): Update copyright.

19 years ago* include/sys/cygwin.h (enum cygwin_getinfo_types): Add CW_DEBUG_SELF.
Christopher Faylor [Tue, 17 May 2005 01:21:06 +0000 (01:21 +0000)]
* include/sys/cygwin.h (enum cygwin_getinfo_types): Add CW_DEBUG_SELF.
* external.cc (cygwin_internal): Implement CW_DEBUG_SELF.
* init.cc (dll_entry): Minor rearrangement of code.

19 years ago* path.cc (path_conv::check): Remove embedded dots before slashes.
Christopher Faylor [Tue, 17 May 2005 01:08:58 +0000 (01:08 +0000)]
* path.cc (path_conv::check): Remove embedded dots before slashes.

19 years ago * environ.cc (conv_envvars): Remove LD_LIBRARY_PATH entirely.
Corinna Vinschen [Mon, 16 May 2005 15:48:36 +0000 (15:48 +0000)]
* environ.cc (conv_envvars): Remove LD_LIBRARY_PATH entirely.
It doesn't belong here.

19 years ago* cygcheck.cc (load_cygwin): Avoid calling putenv with a NULL path.
Christopher Faylor [Mon, 16 May 2005 03:18:29 +0000 (03:18 +0000)]
* cygcheck.cc (load_cygwin): Avoid calling putenv with a NULL path.

19 years ago./
Daniel Jacobowitz [Sun, 15 May 2005 18:19:37 +0000 (18:19 +0000)]
./
* ylwrap: Import from Automake 1.9.5.
binutils/
* acinclude.m4: Remove obsolete code.
* configure.in: Update AC_PREREQ.
* doc/Makefile.am (binutils_TEXINFOS): Define.
(config.texi): Depend on distributed files instead of built
files.
(binutils.dvi, binutils.info): Remove unnecessary rules.
(DISTCLEANFILES): Remove.
(install-data-local): Renamed from install.
(info-local): Renamed from info.
* Makefile.in, aclocal.m4, config.in, configure,
doc/Makefile.in: Regenerated.
gas/
* Makefile.am (m68k-parse.c, itbl-parse.c): Update ylwrap
invocation.
* Makefile.in: Regenerated.
ld/
* Makefile.am (AM_MAKEINFOFLAGS): Define.
(TEXI2DVI): Define.
(ldver.texi): Depend on distributed files instead of built files.
(ld.info): Include $(srcdir) in the rule target.  Remove actions.
(ld.dvi): Remove actions.
(MAINTAINERCLEANFILES): Add configdoc.texi.
(CONFIG_STATUS_DEPENDENCIES): Add bfd/configure.in.
(install-data-local): Renamed from install.
(Makefile): Remove explicit dependency.
* acinclude.m4: Remove obsolete code.
* configure.in: Update AC_PREREQ.  Remove extra $CONFIG_SHELL.
* Makefile.in, aclocal.m4, config.in, configure: Regenerated.
gdb/
* Makefile.in (.y.c): Update ylwrap invocation.

19 years ago * cygcheck.cc (load_cygwin): Don't touch $PATH for now.
Corinna Vinschen [Sun, 15 May 2005 12:29:47 +0000 (12:29 +0000)]
* cygcheck.cc (load_cygwin): Don't touch $PATH for now.
(print_version): Fix copyright.
* strace.cc (print_version): Ditto.

19 years ago * environ.cc (conv_envvars): Treat LD_LIBRARY_PATH as path list.
Corinna Vinschen [Sun, 15 May 2005 12:04:13 +0000 (12:04 +0000)]
* environ.cc (conv_envvars): Treat LD_LIBRARY_PATH as path list.

19 years ago * fhandler_disk_file.cc (fhandler_base::fstat_by_handle): Check
Corinna Vinschen [Sat, 14 May 2005 21:12:10 +0000 (21:12 +0000)]
* fhandler_disk_file.cc (fhandler_base::fstat_by_handle): Check
return code from GetFileSize and set file size to 0 if necessary.
* fhandler_netdrive.cc (fhandler_netdrive::fstat): Set permissions
to read/execute for all.

19 years agoinclude/elf/
Alan Modra [Sat, 14 May 2005 05:07:15 +0000 (05:07 +0000)]
include/elf/
* ppc.h (DT_PPC_GOT): Rename from DT_PPC_GLINK.
bfd/
* elf32-ppc.c (ppc_elf_size_dynamic_sections): Set DT_PPC_GOT,
not DT_PPC_GLINK.
(ppc_elf_finish_dynamic_sections): Likewise.
binutils/
* readelf.c (get_ppc_dynamic_type): Display DT_PPC_GOT, not
DT_PPC_GLINK.

19 years agoreally fix typo.
Christopher Faylor [Fri, 13 May 2005 22:40:19 +0000 (22:40 +0000)]
really fix typo.

19 years agofix typo
Christopher Faylor [Fri, 13 May 2005 22:09:32 +0000 (22:09 +0000)]
fix typo

19 years ago* path.cc (normalize_posix_path): Do normalization on . and .. after a '//'.
Christopher Faylor [Fri, 13 May 2005 21:05:46 +0000 (21:05 +0000)]
* path.cc (normalize_posix_path): Do normalization on .  and ..  after a '//'.

19 years ago Add missing ChangeLog entry.
Corinna Vinschen [Fri, 13 May 2005 21:01:32 +0000 (21:01 +0000)]
Add missing ChangeLog entry.

19 years ago * fhandler.h (fhandler_netdrive::readdir): Remove useless comment.
Corinna Vinschen [Fri, 13 May 2005 20:29:31 +0000 (20:29 +0000)]
* fhandler.h (fhandler_netdrive::readdir): Remove useless comment.

19 years ago * include/winnetwk.h (WNetGetResourceParentA): Add missing declaration.
Corinna Vinschen [Fri, 13 May 2005 20:28:00 +0000 (20:28 +0000)]
* include/winnetwk.h (WNetGetResourceParentA): Add missing declaration.
(WNetGetResourceParentW): Ditto.
* include/ddk/ntifs.h (FILE_ID_FULL_DIRECTORY_INFORMATION): Define.

19 years ago* mount.cc (mount_commands): Display "-X" option when appropriate.
Christopher Faylor [Fri, 13 May 2005 20:24:20 +0000 (20:24 +0000)]
* mount.cc (mount_commands): Display "-X" option when appropriate.

19 years ago * autoload.cc (WNetGetResourceParentA): Import.
Corinna Vinschen [Fri, 13 May 2005 20:20:02 +0000 (20:20 +0000)]
* autoload.cc (WNetGetResourceParentA): Import.
(WNetOpenEnumA): Import.
(WNetEnumResourceA): Import.
(WNetCloseEnum): Import.
* fhandler.h (fhandler_netdrive::telldir): Add declaration.
(fhandler_netdrive::seekdir): Ditto.
(fhandler_netdrive::closedir): Ditto.
* fhandler_netdrive.cc: Drop explicit including windows.h.  Include
winnetwk.h instead of shlwapi.h.  Include dirent.h.
(fhandler_netdrive::readdir): Implement.
(fhandler_netdrive::telldir): New method.
(fhandler_netdrive::seekdir): New method.
(fhandler_netdrive::closedir): Ditto.

19 years agoRemove PC_FULL from path_conv usage throughout.
Christopher Faylor [Fri, 13 May 2005 15:46:07 +0000 (15:46 +0000)]
Remove PC_FULL from path_conv usage throughout.
* path.h (enum pathconv_arg): Change PC_FULL to PC_NOUILL.
* path.cc (path_conv::check): Test for PC_NOFULL rather than !PC_FULL.
(cygwin_conv_to_win32_path): Use PC_NOFULL to force non-absolute path.

19 years ago* fhandler_netdrive.cc (fhandler_netdrive::exists): Assert that "//" exists.
Christopher Faylor [Fri, 13 May 2005 13:23:38 +0000 (13:23 +0000)]
* fhandler_netdrive.cc (fhandler_netdrive::exists): Assert that "//" exists.

19 years ago* cygtls.cc (_cygtls::remove): Eliminate compiler warning.
Christopher Faylor [Fri, 13 May 2005 03:21:39 +0000 (03:21 +0000)]
* cygtls.cc (_cygtls::remove): Eliminate compiler warning.
* dir.cc (mkdir): Check path for writability.
(rmdir): Ditto.  Remove check for special directories.
* path.cc (path_conv::check): Set PATH_RO for virtual devices.  Set error if
read-only and asked for writability.
* path.h (pathconv_arg): Add PC_WRITABLE.
(path_types): Add PATH_RO.
(path_conv::isro): Add (currently unused) check for read-only filesystem.
Return "ENOSHARE" when we know a share doesn't exist.
* include/sys/mount.h: Add MOUNT_RO flag.
* autoload.cc (WNetGetResourceInformationA): Import.
* fhandler_netdrive.cc (fhandler_netdrive::exists): Detect actual existence of
remote system rather than always assuming that it exists.

19 years ago2005-05-12 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Thu, 12 May 2005 22:10:26 +0000 (22:10 +0000)]
2005-05-12  Jeff Johnston  <jjohnstn@redhat.com>

        * configure.host (mn10300-*): Add long long I/O support by default.

19 years ago2005-05-12 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Thu, 12 May 2005 22:06:26 +0000 (22:06 +0000)]
2005-05-12  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/sys/linux/getpwuid.c: Removed.
        * libc/sys/linux/getpwnam.c: Removed.
        * libc/sys/linux/getpwent.c: New file containing logic
        from files removed above.  This allows overriding of file
        in libc/unix.
        * libc/sys/linux/Makefile.am: Support changes above.
        * libc/sys/linux/Makefile.in: Regenerated.

19 years agomerge from gcc
DJ Delorie [Thu, 12 May 2005 20:00:35 +0000 (20:00 +0000)]
merge from gcc

19 years agoPR bootstrap/21230
DJ Delorie [Thu, 12 May 2005 16:35:35 +0000 (16:35 +0000)]
PR bootstrap/21230
* warnings.m4 (ACX_PROG_CC_WARNING_ALMOST_PEDANTIC): Add
double quotes around GCC variable.

19 years ago* dcrt0.cc (do_global_dtors): Don't call dll_global_dtors here.
Christopher Faylor [Wed, 11 May 2005 21:53:54 +0000 (21:53 +0000)]
* dcrt0.cc (do_global_dtors): Don't call dll_global_dtors here.
(__main): Reinstate atexit of do_global_dtors.
(cygwin_exit): Call dll_global_dtors here.
(do_exit): And here.

19 years ago * ppc.h (R_PPC_RELAX32, R_PPC_RELAX32PC, R_PPC_RELAX32_PLT,
Alan Modra [Wed, 11 May 2005 14:08:45 +0000 (14:08 +0000)]
* ppc.h (R_PPC_RELAX32, R_PPC_RELAX32PC, R_PPC_RELAX32_PLT,
R_PPC_RELAX32PC_PLT) Adjust.
(R_PPC_REL16, R_PPC_REL16_LO, R_PPC_REL16_HI, R_PPC_REL16_HA): Define.
(DT_PPC_GLINK): Define.

19 years ago* cygtls.cc (_cygtls::remove): Clear exitsock after close.
Christopher Faylor [Wed, 11 May 2005 03:33:38 +0000 (03:33 +0000)]
* cygtls.cc (_cygtls::remove): Clear exitsock after close.
* fhandler_console.cc (fhandler_console::write_normal): Store character in a
local variable for potential future inspection.

19 years ago * Makefile.in (DLL_OFILES): Add fhandler_mailslot.o.
Corinna Vinschen [Tue, 10 May 2005 20:56:07 +0000 (20:56 +0000)]
* Makefile.in (DLL_OFILES): Add fhandler_mailslot.o.
* devices.h (FH_KMSG): Define new device.
* devices.in: Add "/dev/kmsg" entry.
* devices.cc: Regenerate.
* dtable.cc (build_fh_pc): Handle case FH_KMSG.
* fhandler.h (class fhandler_mailslot): New class.
(class select_stuff): Add device_specific_mailslot pointer.
* fhandler_mailslot.cc: New file.
* select.cc (peek_mailslot): New function.
(verify_mailslot): Ditto.
(struct mailslotinf): New stuct to handle select on mailslots.
(thread_mailslot): New function.
(start_thread_mailslot): Ditto.
(mailslot_cleanup): Ditto.
(fhandler_mailslot::select_read): New method.
* syslog.cc (klog_guard): New muto.
(dev_kmsg): Local mailslot for kernel message device.
(vklog): New function.
(klog): Ditto.
* winsup.h (vklog): Declare.
(klog): Ditto.
* include/sys/syslog.h: Define _PATH_KLOG.

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