afe56517952002-05-23 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston
2002-05-23 18:46:04 +0000
7078175474* elf.c (_bfd_elf_make_section_from_shdr): Set SEC_THREAD_LOCAL for symbols from SHF_TLS section. (_bfd_elf_print_private_bfd_data): Add PT_TLS. (elf_fake_sections): Set SHF_TLS for SEC_THREAD_LOCAL sections. (map_sections_to_segments): Build PT_TLS segment if necessary. (assign_file_positions_for_segments): Likewise. (get_program_header_size): Account for PT_TLS segment. (swap_out_syms): Set type of BSF_THREAD_LOCAL symbols and symbols from SEC_THREAD_LOCAL sections to STT_TLS. * reloc.c: Add 386 and IA-64 TLS relocs. * section.c (SEC_THREAD_LOCAL): Define. (SEC_CONSTRUCTOR_TEXT, SEC_CONSTRUCTOR_DATA, SEC_CONSTRUCTOR_BSS): Remove. * elflink.h (elf_link_add_object_symbols): Support .tcommon. (size_dynamic_sections): If DF_STATIC_TLS, set DF_FLAGS unconditionally. (struct elf_final_link_info): Add first_tls_sec. (elf_bfd_final_link): Set first_tls_sec. Compute elf_hash_table (info)->tls_segment. (elf_link_output_extsym): Handle STT_TLS symbols. (elf_link_input_bfd): Likewise. * syms.c (BSF_THREAD_LOCAL): Define. * bfd-in2.h: Rebuilt. * libbfd.h: Rebuilt. * elf32-i386.c (elf_i386_tls_transition, dtpoff_base, tpoff, elf_i386_mkobject, elf_i386_object_p): New functions. (elf_howto_table): Add TLS relocs. (elf_i386_reloc_type_lookup): Support TLS relocs. (elf_i386_info_to_howto_rel): Likewise. (struct elf_i386_link_hash_entry): Add tls_type. (struct elf_i386_obj_tdata): New. (elf_i386_hash_entry, elf_i386_tdata, elf_i386_local_got_tls_type): New macros. (struct elf_i386_link_hash_table): Add tls_ldm_got. (link_hash_newfunc): Clear tls_type. (elf_i386_check_relocs): Support TLS relocs. (elf_i386_gc_sweep_hook): Likewise. (allocate_dynrelocs): Likewise. (elf_i386_size_dynamic_sections): Likewise. (elf_i386_relocate_section): Likewise. (elf_i386_finish_dynamic_symbol): Likewise. (bfd_elf32_mkobject, elf_backend_object_p): Define. * elfxx-ia64.c (struct elfNN_ia64_dyn_sym_info): Add tprel_offset, dtpmod_offset, dtprel_offset, tprel_done, dtpmod_done, dtprel_done, want_tprel, want_dtpmod, want_dtprel. (elfNN_ia64_tprel_base, elfNN_ia64_dtprel_base): New functions. (ia64_howto_table): Add TLS relocs, rename R_IA64_LTOFF_TP22 to R_IA64_LTOFF_TPREL22. (elf_code_to_howto_index): Add TLS relocs. (elfNN_ia64_check_relocs): Support TLS relocs. (allocate_global_data_got): Account for TLS .got data. (allocate_dynrel_entries): Account for TLS dynamic relocations. (elfNN_ia64_install_value): Supprt TLS relocs. (set_got_entry): Support TLS relocs. (elfNN_ia64_relocate_section): Likewise.
Jakub Jelinek
2002-05-23 13:12:52 +0000
82d178a405* getfacl.c (usage): Standardize usage output. Change return type to static void. (print_version): New function. (longopts): Added longopts for all options. (main): Accommodate new help and version options.
Corinna Vinschen
2002-05-23 10:56:57 +0000
b2f338e9a9* smallprint.c (__small_vsprintf): Implement '%o' after all these years.
Christopher Faylor
2002-05-23 06:00:49 +0000
ff7b1ed927fix typo.
Christopher Faylor
2002-05-23 04:48:03 +0000
8704ad9da9* mount.cc (version) New global variable. (usage) Standardize usage output. Accomodate new version option. (print_version) New function. (longopts) Accomodate new version option. (opts) Ditto. (main) Ditto.
Christopher Faylor
2002-05-23 04:19:07 +0000
2b43ad332f* libc/include/sys/types.h: Include cygwin/types.h always under Cygwin, not only if _POSIX_THREADS is defined.
Corinna Vinschen
2002-05-22 11:39:07 +0000
36f86a5537* include/cygwin/types.h: Define pthread stuff only if _POSIX_THREADS is defined.
Corinna Vinschen
2002-05-22 10:33:39 +0000
c069bf59c3? gas/testsuite/gas/mips/rol64.d ? gas/testsuite/gas/mips/rol64.s Index: gas/ChangeLog =================================================================== RCS file: /cvs/src/src/gas/ChangeLog,v retrieving revision 1.1334 diff -u -p -r1.1334 ChangeLog --- gas/ChangeLog 21 May 2002 20:01:51 -0000 1.1334 +++ gas/ChangeLog 21 May 2002 23:32:51 -0000 @@ -1,3 +1,8 @@ +2002-05-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> + + * config/tc-mips.c (macro2): Add 64 bit drol, dror macros. + Optimize the rotate by zero case. + 2002-05-21 Nick Clifton <nickc@cambridge.redhat.com>
Thiemo Seufer
2002-05-21 23:54:46 +0000
dd671cde6f2002-05-21 Dhananjay Deshpande <dhananjayd@kpit.com>
Thomas Fitzsimmons
2002-05-21 18:20:18 +0000
382df84bda* Makefile.in: Increment VERSION to 1.4. (conf_prefix): New variable. (bindist): Modify target to use $(conf_prefix).
Earnie Boyd
2002-05-21 16:50:13 +0000
2d6ce5c228* security.cc (open_local_policy): Initialize lsa to INVALID_HANDLE_VALUE instead of NULL. (get_logon_server_and_user_domain): Test for INVALID_HANDLE_VALUE instead of NULL. (create_token): Both of the above.
Corinna Vinschen
2002-05-21 14:50:26 +0000
130e7349a52002-05-20 Philip Aston <philipa@mail.com>
Danny Smith
2002-05-20 00:57:18 +0000
a110a2ad4d2002-05-20 Ren� M�ller Fonseca <fonseca@users.sourceforge.net>
Danny Smith
2002-05-20 00:52:06 +0000
9ded8bd8b2* fhandler_disk_file.cc (fhandler_disk_file::fstat): Make handling of nlink consistent for remote files.
Christopher Faylor
2002-05-18 21:07:18 +0000
cf737d6b32* strace.cc (add_child): Use calloc since new requires working libstdc++.a. (fhandler_disk_file::fstat): Ditto for delete/free.
Christopher Faylor
2002-05-18 21:05:10 +0000
2701126aaf* path.cc (path_conv::check): Always set executable bit for executable extension.
Christopher Faylor
2002-05-18 20:27:49 +0000
197f807736remove white space
Christopher Faylor
2002-05-18 06:10:16 +0000
5e2cbfb6e82002-05-17 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston
2002-05-17 23:39:39 +0000
7fc85bd1b9* newlib/libc/sys/h8300hms/Makeile.am (lib_a_SOURCES): Add read.c. * newlib/libc/sys/h8300hms/read.c: New file. Magic trap 0xC8 for sim. * newlib/libc/sys/h8300hms/syscalls.c: Move _read() to read.c. * newlib/libs/sys/h8300hms/sys/syscall.h: New file.
Thomas Fitzsimmons
2002-05-17 20:13:38 +0000
b05b7d84d6* fhandler.cc (fhandler_base::lseek): Avoid calling SetFilePointer with high order part of 64 bit address on OS's which do not support that kind of operation. Otherwise Windows 95 will become confused.
Christopher Faylor
2002-05-17 19:30:52 +0000
c7ba2cc096* h8300.h: Corrected defs of all control regs and eepmov instr.
Andrey Volkov
2002-05-17 19:01:03 +0000
35a89cbe95* times.cc (utimes): Use FILE_WRITE_ATTRIBUTES even on 9x/Me when opening file for writing timestamp. * wincap.cc: Remove flag has_specific_access_rights. * wincap.h: Ditto.
Corinna Vinschen
2002-05-17 08:32:29 +0000
6935231fde* libc/machine/sh/strcpy.S (strcpy): make sure r0 has right value at first loop exit point.
Joern Rennecke
2002-05-16 17:29:15 +0000
ebbdc7034b* syscalls.cc (seteuid): Set default dacl in process token. Replace in-line code by call to verify_token(). (setegid): Reverse change from 2002-01-21. Add call to RevertToSelf and set primary group in impersonation token. * security.cc (create_token): Store pgrpsid in token security descriptor, except if it already appears in my_grps. Use sec_acl() in place of get_dacl(). (verify_token): Create from code in seteuid(), with tighter checks. (get_dacl) Deleted. (get_group_sidlist): Add argument to indicate if pgrpsid is already in the groups. * security.h: Define verify_token(). * autoload.cc: Load GetKernelObjectSecurity().
Corinna Vinschen
2002-05-16 09:30:48 +0000
a68fa57101* testsuite/lib/newlib.exp: Add newlib_include_flags to compile options when testing natively on i[3456]86-*-linux.
Thomas Fitzsimmons
2002-05-16 00:17:50 +0000
3a6cb01ba9* ChangeLog: Update.
Thomas Fitzsimmons
2002-05-15 23:49:07 +0000
3495f076f3* testsuite/lib/checkoutput.exp (newlib_check_output): Output only one pass or fail per test file. Trim \r's from output values received from test programs. Remove support for named tests. * testsuite/newlib.locale/UTF-8.exp: Update to support new newlib_check_output behaviour. * testsuite/newlib.locale/UTF-8.c: Likewise.
Thomas Fitzsimmons
2002-05-15 23:48:47 +0000
dc824ef7362002-05-15 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston
2002-05-15 22:58:10 +0000
ef48a2cad3* kill.cc (prog_name) New global variable. (usage) Standardize usage output. Add descriptions. (print_version) New function. (longopts) Accomodate new version option. (opts) Ditto. (main) Ditto.
Christopher Faylor
2002-05-13 23:42:32 +0000
6f49bfb88f* configure.in: simplify makefile fragment collection.
DJ Delorie
2002-05-13 21:19:04 +0000
859eb63089* configure.in: remove code to build emacs.
DJ Delorie
2002-05-13 21:16:43 +0000
1a2d174831* configure.in : Remove --srcdir argument from targargs and buildargs (it's always overridden in the Makefile anyway). Rearrange a bit.
DJ Delorie
2002-05-13 21:11:50 +0000
48d91b4a372002-05-13 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston
2002-05-13 20:59:40 +0000
9a0da7d704* configure: move some logic to configure.in * configure.in: move some logic from configure
DJ Delorie
2002-05-13 20:55:25 +0000
feb7f1a97d* cygwin.din: Add strlcat and strlcpy. * include/cygwin/version.h: Increment API minor version number.
Christopher Faylor
2002-05-13 19:53:46 +0000
024739eb2b2002-05-13 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston
2002-05-13 19:52:17 +0000
7d2ce8983d2002-05-10 Mark Bradshaw <bradshaw@staff.crosswalk.com>
Thomas Fitzsimmons
2002-05-13 19:33:01 +0000
043bc3e1ee* shared.cc (__sec_user): Split into sec_acl() and call orig_sid(). (sec_acl): Create from part of __sec_user(), except creator/owner. * security.h: Define sec_acl() and MAX_DACL_LEN.
Corinna Vinschen
2002-05-13 12:10:49 +0000
6eabab557a* kill.cc (listsig): Display numeric id when given symbolic input.
Christopher Faylor
2002-05-13 05:35:44 +0000
3ff9fd2b9bdocument kill -h.
Christopher Faylor
2002-05-13 05:25:14 +0000
30feaa22dd* kill.cc (usage): Show new options. Allow specification of output stream. (main): Implement 'h' option.
Christopher Faylor
2002-05-13 05:23:37 +0000
65791b5de3Update ChangeLog with missing entry.
Christopher Faylor
2002-05-13 05:18:34 +0000
c49fa76263* Makefile.in (kill.exe): Add as a specific target. * kill.cc (longopts): New. (opts): Ditto. (get_sig): Accept const char * parameter. Return -1 on unknown signal. (test_for_unknown_sig): New function. (listsig): New function. (main): Use getopt_long for option parsing. Implement -l, and -s options. Use test_for_unknown_sig() to test for signal validity.
Christopher Faylor
2002-05-13 05:13:58 +0000
d52265ffb2remove a comma
Christopher Faylor
2002-05-12 19:29:20 +0000
c8b20196dd* fhandler_disk_file.cc (fhandler_disk_file::open): Avoid using O_DIROPEN when OS doesn't support it. Return proper errno in that case.
Christopher Faylor
2002-05-12 19:20:01 +0000
56caca1d16fix entry
Christopher Faylor
2002-05-12 04:55:10 +0000
b4f8d31f3b* syscalls.cc (_read): Change error to EBADF if attempt to write to a non-writable fd.
Christopher Faylor
2002-05-12 04:43:29 +0000
48897dfeb9* mount.cc (do_mount): Default to non-exec option for remote drives. Report warnings before attempting a mount. (longopts): Add no-executable option. (mount_commands): Ditto. (opts): Ditto. (usage): Ditto. Indicate that system mount is now the default. (main): Accommodate no-executable option. Make system mount the default. * umount.cc (usage): Indicate that system umount is now the default. (main): Make system umount the default.
Christopher Faylor
2002-05-12 04:29:54 +0000
29ee580d07* fhandler.h (executable_states): For now, make dont_care_if_executable equivalent to not_executable. * sys/mount.h: Define MOUNT_NOTEXEC. * path.h (fs_info): New class. (path_conv): Move fs-specific fields to new 'fs' structure. (path_conv::update_fs_info): Move to fs_info and rename to just 'update'. * path.cc (fs_info::update): Ditto. Return 'true' if successful. (fillout_mntent): Add ',noexec' to list of reported options.
Christopher Faylor
2002-05-12 03:08:59 +0000
b84621d2e3* fhandler_virtual.cc (fhandler_virtual::close): Quiet a compiler warning.
Christopher Faylor
2002-05-12 01:59:53 +0000
6566d27da4fix formatting
Christopher Faylor
2002-05-12 01:50:38 +0000
0371d66a64fix comment
Christopher Faylor
2002-05-12 01:41:17 +0000
9ba913a56d* autoload.cc: Add dynamic load statements for 'ZwQueryInformationProcess' and 'ZwQueryVirtualMemory'. * fhandler.h: Change type of bufalloc and filesize members of fhandler_virtual from int to size_t. Change type of position member from __off32_t to __off64_t. Add new fileid member to fhandler_virtual class. Make seekdir take an __off64_t argument. Make lseek take an __off64_t argument. Add fill_filebuf method to fhandler_virtual. Add fill_filebuf method to fhandler_proc. Add fill_filebuf method to fhandler_registry. Add fill_filebuf method to fhandler_process. Add saved_pid and saved_p members to fhandler_process. * fhandler_proc.cc (proc_listing_array): Add 'loadavg', 'meminfo', and 'stat'. (proc_fhandlers array): Ditto. (fhandler_proc::open): Use fill_filebuf to flesh out the file contents. (fhandler_proc::fill_filebuf): New method. (fhandler_proc::format_proc_meminfo): Ditto. (fhandler_proc::format_proc_stat): Ditto. (fhandler_proc::format_proc_uptime): Ditto. * fhandler_process.cc (process_listing): Add 'stat' and 'statm'. (fhandler_process::fstat): Find the _pinfo structure for the process named in the filename. Return ENOENT if the process is no longer around. Set the gid and uid fields of the stat structure. (fhandler_process::open): Store pid and pointer to _pinfo structure in saved_pid and saved_p respectively. Use fill_filebuf to flesh out file contents. (fhandler_proc::fill_filebuf): New method. (format_process_stat): New function. (format_process_status): Ditto. (format_process_statm): Ditto. (get_process_state): Ditto. (get_mem_values): Ditto. * fhandler_registry.cc (fhandler_registry::seekdir): Change argument type from __off32_t to __off64_t. (fhandler_registry::fill_filebuf): New method. * fhandler_virtual.cc (fhandler_virtual::seekdir): Change argument type from __off32_t to __off64_t. (fhandler_virtual::lseek): Ditto. (fhandler_virtual::fill_filebuf): New method. (fhandler_virtual::fhandler_virtual): Initialise fileid to -1. * wincap.cc: Set flag has_process_io_counters appropriately. * wincap.h: Add flag has_process_io_counters.
Christopher Faylor
2002-05-12 01:37:48 +0000
558ab81ed1* libnosys/acconfig.h (HAVE_SECTION_ATTRIBUTES): New macro. * libnosys/configure.in: Check gcc's support for section attributes. * libnosys/warning.h: Have link_warning expand to nothing if gcc does not support section attributes.
Thomas Fitzsimmons
2002-05-11 20:48:04 +0000
7124f04eb82002-05-10 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni
2002-05-10 22:53:56 +0000
809b6ce7082002-05-10 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston
2002-05-10 17:51:18 +0000
f561f644e9* syscalls.cc (_write): Change error to EBADF if attempt to write to a non-writable fd.
Christopher Faylor
2002-05-09 22:55:08 +0000
62ae6f36e22002-05-09 Daniel Jacobowitz <drow@mvista.com>
Daniel Jacobowitz
2002-05-09 22:19:48 +0000
0c048a9a90* acinclude.m4: Add support for --enable-newlib-multithread. * configure.host (newlib_cflags): Add -D__SINGLE_THREAD__ if --enable-newlib-multithread=no.
Thomas Fitzsimmons
2002-05-08 20:35:16 +0000
7649080606* libc/stdio/getc_u.c: New file. * libc/stdio/getchar_u.c: New file. * libc/stdio/putc_u.c: New file. * libc/stdio/putchar_u.c: New file. * libc/include/stdio.h: Add declarations for getc_unlocked, getchar_unlocked, putc_unlocked and putchar_unlocked. * libc/stdio/Makefile.am (LIB_SOURCES): Add new files. (CHEWOUT_FILES): Add new files' .def's. * libc/stdio/putchar.c (_putchar_r): Replace __sputc with putc.
Thomas Fitzsimmons
2002-05-08 19:11:22 +0000
96bff22c5d* libc/machine/sh/memset.S (memset, __SHMEDIA__ code): Also handle as single quad word when destination ends at last byte of first quad word. Fix byte selection in single quad code.
Joern Rennecke
2002-05-08 17:56:50 +0000
84d06cb64d* dumper.cc (usage) Standardize usage output. Generalize to allow use for help. (longopts) New struct. Added longopts for all options. (print_version) New function. (main) Change getopt to getopt_long. Accommodate new help and version options.
Christopher Faylor
2002-05-08 01:55:56 +0000
60b2107cfd* libc/machine/powerpc/vfprintf.c[__ALTIVEC__]: Add vector support for 'p' format. Fix code to print bytes for vector integer formats that do not specify 'h' or 'l'. * libc/machine/powerpc/vfscanf.c[__ALTIVEC__]: Add vector support for 'p' specifier. Fix code to scan 16 bytes for vector integer formats that do not specify 'h' or 'l'.
Thomas Fitzsimmons
2002-05-08 01:23:44 +0000
735bb7e7d7* include/commctrl.h (ImageList_DragShowNolock): Remove conflicting redeclaration.
Danny Smith
2002-05-07 22:58:26 +0000
78fb9469282002-05-07 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston
2002-05-07 17:52:36 +0000
b5cc066812Honour DESTDIR
Nick Clifton
2002-05-07 17:22:14 +0000
795b46cf8f* localtime.cc (tzsetwall): Use wildabbr if generated timezone name length < 3.
Corinna Vinschen
2002-05-07 13:18:44 +0000
3769952b4d* include/windows.h: Move _ANONYMOUS_UNION, _ANONYMOUS_STRUCT, STRICT and related defines to ... * include/windef.h: Here.
Danny Smith
2002-05-06 23:37:52 +0000
a03790e4192002-05-06 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston
2002-05-06 20:50:32 +0000
9c7d6a9d7e* libc/sys/arm/syscalls.c (_rename): Add parameter names. (_sbrk): Add cast of return value.
Thomas Fitzsimmons
2002-05-06 20:46:37 +0000
c33c3635f72002-05-06 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston
2002-05-06 20:44:54 +0000
f78e59a8f92002-05-06 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston
2002-05-06 20:29:29 +0000
a991777994* spawn.cc (spawn_guts): Move call to set_process_privilege() to load_registry_hive(). * registry.cc (load_registry_hive): ditto. * fork.cc (fork_parent): Call sec_user_nih() only once.
Corinna Vinschen
2002-05-06 10:05:46 +0000
3d9bc8a617* configure.in (noconfigdirs): Don't disable libgcj on sparc64-*-solaris* and sparcv9-*-solaris*.
Alexandre Oliva
2002-05-05 18:58:17 +0000
13ee3618d0* path.h (path_conv::path_conv): Initialise normalized_path to NULL.
Christopher Faylor
2002-05-04 18:27:27 +0000
58e74c7e7f.
Christopher Faylor
2002-05-04 04:30:57 +0000
8761c1dcf7* net.cc (getdomainname): Change second argument of getdomainname to size_t. * fhandler_proc.cc (proc_listing): Add '.' and '..' to directory listing. (fhandler_proc::open): Change use of mode to flags. If the file does not exist already, fail with EROFS if O_CREAT flag is set. Change EROFS error to EACCES error when writing to a file. Use cmalloc to allocate memory for filebuf. (fhandler_proc::close): Use cfree to free filebuf. (fhandler_proc::get_proc_fhandler): Properly detect attempts to access unknown subdir. * fhandler_process.cc (process_listing): Add '.' and '..' to directory listing. (fhandler_process::open): Use cmalloc to allocate memory for filebuf. (fhandler_process::close): Use cfree to free filebuf. * fhandler_registry.cc (registry_listing): Add . and '..' to directory listing. (fhandler_registry::open): Move check for open for writing before open_key. Use cmalloc to allocate memory for filebuf. (fhandler_registry::close): Use cfree to free filebuf. (fhandler_registry::telldir): Use lower 16 bits of __d_position as position in directory. (fhandler_registry::seekdir): Ditto. * fhandler_virtual.cc (fhandler_virtual::write): Change EROFS error to EACCES error. (fhandler_virtual::open): Set the NOHANDLE flag. (fhandler_virtual::dup): Add call to fhandler_base::dup. Allocate child's filebuf using cmalloc. Copy filebuf from parent to child. (fhandler_virtual::close): Use cfree to free filebuf. (fhandler_virtual::~fhandler_virtual): Ditto. (from Chris Faylor <cgf@redhat.com>). (fhandler_registry::readdir): Add support for '.' and '..' files in subdirectories of /proc/registry. * path.cc (path_conv::check): Do not return ENOENT if a file is not found in /proc.
Christopher Faylor
2002-05-04 03:24:35 +0000
4b3f6588fb* libc/include/sys/unistd.h: Define getdomainname under cygwin.
Christopher Faylor
2002-05-04 02:22:01 +0000