summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * libc/machine/mn10300/setjmp.S (setjmp, longjmp): UseAlexandre Oliva2000-04-272-8/+15
| | | | post-increment when it is worth it, spacewise.
* * mount.cc (main): Add "-X" option to specify a "Cygwin executable".Christopher Faylor2000-04-272-43/+49
|
* * path.cc (normalize_win32_path): Don't add a trailing slash when one alreadyChristopher Faylor2000-04-272-48/+33
| | | | | | exists. (mount_info::conv_to_win32_path): Use existing code for dealing with relative path names when input is already a win32 path.
* * Makefile.in (install): install regexp.hDJ Delorie2000-04-262-1/+6
|
* * syscalls.cc (stat_worker): Previous patch could succeedCorinna Vinschen2000-04-262-5/+11
| | | | in stating a non-existant file.
* Add XCOFF64 support.Clinton Popetz2000-04-262-0/+240
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bfd: * Makefile.am (coff64-rs6000.lo): New rule. * Makefile.in: Regenerate. * coff-rs6000.c (xcoff_mkobject, xcoff_copy_private_bfd_data, xcoff_is_local_label_name, xcoff_rtype2howto, xcoff_reloc_type_lookup, xcoff_slurp_armap, xcoff_archive_p, xcoff_read_ar_hdr, xcoff_openr_next_archived_file, xcoff_write_armap, xcoff_write_archive_contents): No longer static, and prefix with _bfd_. (NO_COFF_SYMBOLS): Define. (xcoff64_swap_sym_in, xcoff64_swap_sym_out, xcoff64_swap_aux_in, xcoff64_swap_aux_out): New functions; handle xcoff symbol tables internally. (MINUS_ONE): New macro. (xcoff_howto_tabl, xcoff_reloc_type_lookup): Add 64 bit POS relocation. (coff_SWAP_sym_in, coff_SWAP_sym_out, coff_SWAP_aux_in, coff_SWAP_aux_out): Map to the new functions. * coff64-rs6000.c: New file. * libcoff.h (bfd_coff_backend_data): Add new fields _bfd_coff_force_symnames_in_strings and _bfd_coff_debug_string_prefix_length. (bfd_coff_force_symnames_in_strings, bfd_coff_debug_string_prefix_length): New macros for above fields. * coffcode.h (coff_set_arch_mach_hook): Handle XCOFF64 magic. Set machine to 620 for XCOFF64. Use bfd_coff_swap_sym_in instead of using coff_swap_sym_in directly. (FORCE_SYMNAMES_IN_STRINGS): New macro, defined for XCOFF64. (coff_set_flags) Set magic for XCOFF64. (coff_compute_section_file_positions): Add symbol name length to string section length if bfd_coff_debug_string_prefix_length is true. (coff_write_object_contents): Don't do reloc overflow for XCOFF64. (coff_slurp_line_table): Use bfd_coff_swap_lineno_in instead of using coff_swap_lineno_in directly. (bfd_coff_backend_data): Add _bfd_coff_force_symnames_in_strings and _bfd_coff_debug_string_prefix_length fields. * coffgen.c (coff_fix_symbol_name, coff_write_symbols): Force symbol names into strings table when bfd_coff_force_symnames_in_strings is true. * coffswap.h (MAX_SCNHDR_NRELOC, MAX_SCNHDR_NLNNO, GET_RELOC_VADDR, SET_RELOC_VADDR): New macros. (coff_swap_reloc_in, coff_swap_reloc_out): Use above macros. (coff_swap_aux_in, coff_swap_aux_out): Remove RS6000COFF_C code. (coff_swap_aouthdr_in, coff_swap_aouthdr_out): Handle XCOFF64 changes within RS6000COFF_C specific code. (coff_swap_scnhdr_out): Use PUT_SCNHDR_NLNNO, PUT_SCNHDR_NRELOC, MAX_SCNHDR_NRELOC, and MAX_SCNHDR_NLNNO. * reloc.c (bfd_perform_relocation, bfd_install_relocation): Extend existing hack on target name. * xcofflink.c (XCOFF_XVECP): Extend existing hack on target name. * coff-tic54x.c (ticof): Keep up to date with new fields in bfd_coff_backend_data. * config.bfd: Add bfd_powerpc_64_arch to targ_arch and define targ_selvecs to include rs6000coff64_vec for rs6000. * configure.in: Add rs6000coff64_vec case. * cpu-powerpc.c: New bfd_arch_info_type. gas: * as.c (parse_args): Allow md_parse_option to override -a listing option. * config/obj-coff.c (add_lineno): Change type of offset parameter from "int" to "bfd_vma." * config/tc-ppc.c (md_pseudo_table): Add "llong" and "machine." (ppc_mach, ppc_subseg_align, ppc_target_format): New. (ppc_change_csect): Align correctly for XCOFF64. (ppc_machine): New function, which discards "ppc_machine" line. (ppc_tc): Cons for 8 when code is 64 bit. (md_apply_fix3): Don't check operand->insert. Handle 64 bit relocations. (md_parse_option): Handle -a64 and -a32. (ppc_xcoff64): New. * config/tc-ppc.h (TARGET_MACH): Define. (TARGET_FORMAT): Move to function. (SUB_SEGMENT_ALIGN): Use ppc_subseg_align. include: * include/coff/rs6k64.h: New file. opcodes: * configure.in: Add bfd_powerpc_64_arch. * disassemble.c (disassembler): Use print_insn_big_powerpc for 64 bit code.
* Add another INTERNET_OPTION.Christopher Faylor2000-04-262-0/+5
|
* * exceptions.cc (interruptible): Allocate slightly more space for directoryChristopher Faylor2000-04-2612-64/+110
| | | | | | | | | | | | | | | | | | | | | | | | | | name check. Windows 95 seems to null-terminate the directory otherwise. (interrupt_on_return): Issue a fatal error if we can't find the caller's stack. * spawn.cc (find_exec): Accept a path_conv argument rather than a buffer so that the caller can find things out about a translated path. (perhaps_suffix): Ditto. (spawn_guts): Allocate path_conv stuff here so that we can find out stuff about the translated path (this is work in progress). * environ.cc (environ_init): Accept an as-yet unused argument indicating whether we were invoked from a cygwin parent or not. (winenv): Ditto. (posify): Accept an argument indicating whether the path has already been translated. * dlfcn.cc (check_access): Provide a path_conv buffer to find_exec. * exec.cc (sexecvpe): Ditto. * path.cc (path_conv::check): Rename from path_conv::path_conv. (mount_item::getmntent): Recognize "Cygwin executable" bit. (symlink_info::check): Remove debugging statements. * path.h (class path_conv): Add iscygexec method. Rewrite constructor to call "check" method to allow multiple operations on a path_conv variable. * pinfo.cc (pinfo_init): Pass argument to environ_init. * shared.h: Bump PROC_MAGIC. * winsup.h: Reflect above changes to function arguments. * include/sys/mount.h: Add MOUNT_CYGWIN_EXEC type.
* * syscalls.cc (stat_worker): Previous patch failed to statCorinna Vinschen2000-04-252-17/+18
| | | | each drives root dir on 9X.
* 2000-04-25 Mumit Khan <khan@xraylith.wisc.edu>Mumit Khan2000-04-252-0/+6
| | | | * include/winspool.h: Add 2 more PRINTER_ATTRIBUTE_* macros.
* 2000-04-25 Martin Kotulla <martin-k@softmaker.de>Mumit Khan2000-04-255-5/+35
| | | | | | | * include/ddeml.h (DdeCreateStringHandle{A,W}): Fix prototype. * include/shlobj.h (IShellLink{A,W}::GetPath): Fix prototype. * include/wingdi.h: Add LPFNDEVMODE and LPFNDEVCAPS callbacks. * include/winuser.h: Add WM_* macros. Add PCOPYDATASTRUCT typedef.
* * fhandler.cc (fhandler_disk_file::open): Check for allow_ntsecCorinna Vinschen2000-04-255-149/+121
| | | | | | | | | | | | | when determining exec flag. * path.cc (symlink_info::check): Remove call to get_file_attribute(). * security.cc (read_sd): Rename, ditto for variables to conform to common naming convention. Use GetFileSecurity() instead of BackupRead() to avoid permission problems when reading ACLs. (write_sd): Same renaming as for read_sd(). (alloc_sd): Change default permissions according to Linux permissions for group and world when write permission is set. * syscalls.cc (stat_worker): Avoid different permission problems when requesting file informations.
* Forgot ChangeLogCorinna Vinschen2000-04-251-0/+4
|
* * net.cc: Avoid a warning in declaration inet_network.Corinna Vinschen2000-04-251-1/+1
|
* * fhandler_console.cc (fhandler_console::read): Detect extended keycodeChristopher Faylor2000-04-242-1/+6
| | | | information for Windows 9x so that function keys will work correctly.
* * net.cc (cygwin_inet_network): new function.DJ Delorie2000-04-243-0/+18
| | | | * cygwin.din (inet_network): new export
* * djunpack.bat: New file.Eli Zaretskii2000-04-232-0/+56
| | | | * config/djgpp/README: Explain how to unpack using djunpack.bat.
* * hppa.h (pa_opcodes): New opcodes for PA2.0 wide modeJeff Law2000-04-212-25/+44
| | | | | | | | | forms of ld/st{b,h,w,d} and fld/fst{w,d} (16-bit displacements). New operand types l,y,&,fe,fE,fx added to support above forms. (pa_opcodes): Replaced usage of 'x' as source/target for floating point double-word loads/stores with 'fx'. Fr
* IA-64 ELF support.Jim Wilson2000-04-216-0/+573
|
* * config.sub (d30v): Add d30v as a basic machine type.Richard Henderson2000-04-212-1/+5
|
* Fix handling of /.filenameChristopher Faylor2000-04-212-2/+6
|
* * path.cc (normalize_posix_path): Previous two patches were still incorrect soChristopher Faylor2000-04-212-57/+57
| | | | | | rewrite this function to deal with trailing dots. (mount_info::conv_to_win32_path): Just check for '/' where appropriate. Eliminate nofinalslash call since it is handled in normalize_posix_path now.
* * exceptions.cc (handle_exceptions): Search further for stack info toChristopher Faylor2000-04-202-1/+6
| | | | accomodate Windows 95.
* * path.cc (normalize_posix_path): Previous change failed to take rootChristopher Faylor2000-04-202-2/+7
| | | | access into account.
* * syscalls.cc (_link): Check new link path for trailing dot.Corinna Vinschen2000-04-202-7/+13
|
* * fhandler.h (fhandler_base::hclose): New virtual method.Christopher Faylor2000-04-204-21/+34
| | | | | | | (fhandler_base::set_inheritance): Make this a method so that we can use the appropriate close methods. * fhandler.cc (fhandler_base::set_inheritance): Ditto. * path.cc (normalize_posix_path): Eliminate /. trailing path component.
* * syscalls.cc (setuid): Allow switching user context afterCorinna Vinschen2000-04-192-12/+58
| | | | | | | successful call to ImpersonateLogedOnUser (NT only). (setgid): Ditto. (seteuid): Call setuid. (setegid): Call setgid.
* * uinfo.cc (internal_getlogin): Use NetGetDCName() insteadCorinna Vinschen2000-04-192-4/+9
| | | | of NetGetAnyDCName().
* * configure.in: Change HEADER_SUBDIR to mingw32.Christopher Faylor2000-04-193-54/+70
| | | | * configure: Regenerate.
* Pass MD5PROG to sub-makes when building .tar.bz2 archive.Andrew Cagney2000-04-192-0/+22
|
* * syscalls.cc (_rename): Try MoveFile() at first beforeDJ Delorie2000-04-192-25/+32
| | | | MoveFileEx(..., MOVEFILE_REPLACE_EXISTING).
* don't put api internals in general tarballDJ Delorie2000-04-191-4/+4
|
* add commands for building a doc kitchen-sink-tarballDJ Delorie2000-04-191-0/+23
|
* clean up SGML for latest version of jade/docbookDJ Delorie2000-04-199-20/+43
|
* * dcrt0.cc (globify): Don't use \ quoting when apparently quoting a DOS pathChristopher Faylor2000-04-182-5/+3
| | | | spec, even within a quoted string.
* * dcrt0.cc (globify): Don't use \ quoting when apparently quoting a DOS pathChristopher Faylor2000-04-182-1/+12
| | | | spec.
* Clean up load page support for tic54x.Tim Wall2000-04-183-18/+17
|
* * remove dependence on where pwd isDJ Delorie2000-04-182-1/+5
|
* Initial patches for IA-64 EFI (64-bit PE) support.Jim Wilson2000-04-174-7/+290
| | | | | | | | | | | | | | | | | * pe.h (PEP64AOUTHDR): New header for PE+. (PEP64AOUTSZ): New macro. (IMAGE_SUBSYSTEM_UNKNOWN): New macro. (IMAGE_SUBSYSTEM_NATIVE): Ditto. (IMAGE_SUBSYSTEM_WINDOWS_GUI): Ditto. (IMAGE_SUBSYSTEM_WINDOWS_CUI): Ditto. (IMAGE_SUBSYSTEM_POSIX_CUI): Ditto. (IMAGE_SUBSYSTEM_WINDOWS_CE_GUI): Ditto. (IMAGE_SUBSYSTEM_EFI_APPLICATION): Ditto. (IMAGE_SUBSYSTEM_EFI_BOOT_SERVICE_DRIVER): Ditto. (IMAGE_SUBSYSTEM_EFI_RUNTIME_DRIVER): Ditto. * internal.h (PE_DEF_FILE_ALIGNMENT): Define only if not defined already. * ia64.h: New file.
* Mon Apr 17 12:46:00 2000 Marek Michalkiewicz <marekm@linux.org.pl>Jeff Johnston2000-04-1720-45/+74
| | | | | | | | | | | | | | | | | | | | | | | | * libc/signal/signal.c (_signal_r) : Removed unused local variable temp. * libc/stdio/findfp.c (std): Added declaration of flags and file. * libc/stdio/mktemp.c (_gettemp, _mkstemp_r, mkstemp): Added int return type. * libc/stdio/putchar.c (putchar): Added return statement. * libc/stdio/refill.c (lflush): Added correct parentheses. * libc/stdio/vfprintf.c (_VFPRINTF_R): Ditto. * libc/stdio/vfscanf.c (__svfscanf): Changed sprintf call which prints long value to use l qualifier. * libc/stdlib/dtoa.c (_dtoa_r): Added parentheses to remove warning messages and initialized local values: ilim, ilim1, and spec_case. * libc/stdlib/ecvtbuf.c (print_e): Removed unused variable dp. * libc/stdlib/mbctype.h (_issjis1, _issjis2): Added parentheses. * libc/stdlib/mprec.c: Ditto. * libc/stdlib/setenv_r.c: Ditto. * libc/stdlib/strtod.c: Ditto. * libc/stdlib/strtol.c: Ditto. * libc/stdlib/strtoul.c: Ditto. * libm/common/sf_expm1.c: Added curly braces to if else clauses. * libm/common/sf_log1p.c: Ditto. * libm/common/sf_scalbn.c: Ditto. * libm/math/ef_log.c: Ditto.
* Remove obsolete setting.Christopher Faylor2000-04-161-4/+0
|
* * init.cc (dll_entry): Use better check for determining when to set threadChristopher Faylor2000-04-163-3/+13
| | | | | | specific stuff. * syscalls.cc (_unlink): Continue with chmod'ing file even if DELETE_ON_CLOSE succeeds, if file still exists.
* * libc/posix/execvp.c (execvp): Check path forCorinna Vinschen2000-04-162-1/+6
| | | | trailing slash.
* * mkpasswd.c (main): Use GetDCName instead of GetAnyDCName.Corinna Vinschen2000-04-153-20/+38
| | | | | | | | | | | Don't create extra passwd entry for administrators group if local_groups is set. (usage): Change usage text slightly. (enum_users): Loop while ERROR_MORE_DATA is returned. (enum_local_groups): Ditto. * mkgroup.c (enum_local_groups): Ditto. (enum_groups) Ditto. (usage): Change usage text slightly.
* * fhandler_console.cc (keytable): Add support for keypad 5 key, which MS seemsChristopher Faylor2000-04-154-10/+14
| | | | | | to think is equivalent to VK_CLEAR. * debug.cc (thread_stub): Eliminate initialization of reent stuff. * init.cc (dll_entry): Move it here.
* 2000-04-14 H.J. Lu <hjl@gnu.org>H.J. Lu2000-04-142-1/+5
| | | | * common.h (ELFOSABI_TRUE64): Renamed to ELFOSABI_TRU64.
* 2000-04-14 H.J. Lu <hjl@gnu.org>H.J. Lu2000-04-142-0/+17
| | | | | | | | | | * common.h (ELFOSABI_NETBSD): Defined. (ELFOSABI_HURD): Likewise. (ELFOSABI_SOLARIS): Likewise. (ELFOSABI_MONTEREY): Likewise. (ELFOSABI_IRIX): Likewise. (ELFOSABI_FREEBSD): Likewise. (ELFOSABI_TRUE64): Likewise.
* * dcrt0.cc (insert_file): Avoid freeing previously allocated argument list.Christopher Faylor2000-04-135-69/+83
| | | | | | | | | | * path.cc (symlink_info::check): Rename from symlink_check_one. Use new symlink_info struct for communication. (path_conv::path_conv): Use symlink_info structure for communication with symlink_info::check. Fix typo which resulted in symbolic links always being resolved. (readlink): Use stat_suffixes array when resolving a link. * syscalls.cc (stat_suffixes): Make global.
* * include/cygwin/version.h: Bump minor api to reflect export change.Corinna Vinschen2000-04-132-1/+6
|
* * cygwin.din: Add symbol for `lacl'.Corinna Vinschen2000-04-134-5/+37
| | | | | | | | | * security.cc (ReadSD): Add debug output. (acl_worker): New static function. (acl): Call acl_worker now. (lacl): New function. (facl): Call acl_worker now. * include/cygwin/acl.h: Add prototype for `lacl'.