summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add SH2E supportNick Clifton2003-01-232-0/+20
|
* include/elf/ChangeLogAlan Modra2003-01-234-58/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * sh.h: Split out various bits to bfd/elf32-sh64.h. include/opcode/ChangeLog * m68hc11.h (cpu6812s): Define. bfd/ChangeLog * elf-bfd.h (struct bfd_elf_section_data): Remove tdata. Change dynindx to an int. Rearrange for better packing. * elf.c (_bfd_elf_new_section_hook): Don't alloc if already done. * elf32-mips.c (bfd_elf32_new_section_hook): Define. * elf32-sh64.h: New. Split out from include/elf/sh.h. (struct _sh64_elf_section_data): New struct. (sh64_elf_section_data): Don't dereference sh64_info (was tdata). * elf32-sh64-com.c: Include elf32-sh64.h. * elf32-sh64.c: Likewise. (sh64_elf_new_section_hook): New function. (bfd_elf32_new_section_hook): Define. (sh64_elf_fake_sections): Adjust for sh64_elf_section_data change. (sh64_bfd_elf_copy_private_section_data): Likewise. (sh64_elf_final_write_processing): Likewise. * elf32-sparc.c (struct elf32_sparc_section_data): New. (elf32_sparc_new_section_hook): New function. (SET_SEC_DO_RELAX, SEC_DO_RELAX): Delete. (sec_do_relax): Define. (elf32_sparc_relax_section): Adjust to use sec_do_relax. (elf32_sparc_relocate_section): Likewise. * elf64-mips.c (bfd_elf64_new_section_hook): Define. * elf64-mmix.c (struct _mmix_elf_section_data): New. (mmix_elf_section_data): Define. Use throughout file. (mmix_elf_new_section_hook): New function. (bfd_elf64_new_section_hook): Define. * elf64-ppc.c (struct _ppc64_elf_section_data): New. (ppc64_elf_section_data): Define. Use throughout. (ppc64_elf_new_section_hook): New function. (bfd_elf64_new_section_hook): Define. * elf64-sparc.c (struct sparc64_elf_section_data): New. (sparc64_elf_new_section_hook): New function. (SET_SEC_DO_RELAX, SEC_DO_RELAX): Delete. (sec_do_relax): Define. (sparc64_elf_relax_section): Adjust to use sec_do_relax. (sparc64_elf_relocate_section): Likewise. (bfd_elf64_new_section_hook): Define. * elfn32-mips.c (bfd_elf32_new_section_hook): Define. * elfxx-mips.c (struct _mips_elf_section_data): New. (mips_elf_section_data): Define. Use throughout. (_bfd_mips_elf_new_section_hook): New function. (mips_elf_create_got_section): Don't alloc used_by_bfd. * elfxx-mips.h (_bfd_mips_elf_new_section_hook): Declare. * elfxx-target.h (bfd_elfNN_new_section_hook): Add #ifndef. * Makefile.am: Run "make dep-am". * Makefile.in: Regenerate. opcodes/ChangeLog * sh64-dis.c: Include elf32-sh64.h. * Makefile.am: Run "make dep-am". * Makefile.in: Regenerate. gas/ChangeLog * config/tc-sh64.c (shmedia_frob_section_type): Adjust for changed sh64_elf_section_data. * config/tc-sh64.h: Include elf32-sh64.h. * config/tc-m68hc11.c: Don't include stdio.h. (md_show_usage): Fix missing continuation. * Makefile.am: Run "make dep-am". * Makefile.in: Regenerate. ld/ChangeLog * emultempl/sh64elf.em: Include elf32-sh64.h. (sh64_elf_${EMULATION_NAME}_before_allocation): Adjust for changed sh64_elf_section_data. (sh64_elf_${EMULATION_NAME}_after_allocation): Likewise.
* * include/pthread.h (PTHREAD_MUTEX_RECURSIVE): Revert changes from ↵Thomas Pfaff2003-01-221-1/+1
| | | | | | 2003-01-09 mutex patch. (PTHREAD_MUTEX_ERRORCHECK): Ditto.
* * include/pthread.h (PTHREAD_MUTEX_RECURSIVE): Revert changes from ↵Thomas Pfaff2003-01-222-2/+8
| | | | | | 2003-01-09 mutex patch. (PTHREAD_MUTEX_ERRORCHECK): Ditto.
* * Makefile.in (ALL_LDFLAGS): Remove newlib/libm from tools paths.Corinna Vinschen2003-01-222-3/+6
| | | | (MINGW_LDFLAGS): Remove in favor of definition from Makefile.common.
* * Makefile.common (MINGW_LDFLAGS): Add mingw/mingwex builddir.Corinna Vinschen2003-01-222-1/+5
|
* * cygrun.c: Move from here to ../testsuite.Corinna Vinschen2003-01-223-75/+6
| | | | * Makefile.in: Remove cygrun.exe dependencies.
* * cygrun.c: Move here from ../cygwin.Corinna Vinschen2003-01-224-2/+82
| | | | | * Makefile.in: Build cygrun.exe. * winsup.api/winsup.exp: Expect cygrun.exe in $rootme.
* * cygwin.din: Export nanosleep().Corinna Vinschen2003-01-224-26/+54
| | | | | | | * signal.cc (nanosleep): New function. (sleep): Move old functionality to nanosleep(). Call nanosleep(). (usleep): Remove old functionality. Call nanosleep(). * include/cygwin/version.h: Bump API minor number.
* * Makefile.in: Find tcl library in the right place.Christopher Faylor2003-01-222-1/+5
|
* * winsup.api/pthread/cancel9.c: Make child pid static global.Thomas Pfaff2003-01-211-2/+1
| | | | (main): Wait in mainthread until child process has terminated.
* * winsup.api/pthread/cancel9.c: Make child pid static global.Thomas Pfaff2003-01-211-2/+3
| | | | (main): Wait in mainthread until child process has terminated.
* * winsup.api/pthread/cancel9.c: Wait in mainthread until child process has ↵Thomas Pfaff2003-01-212-1/+11
| | | | terminated.
* 2003-01-21 Anita Kulkarni <anitak@kpit.com>Jeff Johnston2003-01-212-1/+5
| | | | * libc/time/difftime.c : Typecast the result to double.
* * grp.cc: Call gr.refresh() rather than doing isunitialized tests throughout.Christopher Faylor2003-01-215-179/+143
| | | | | | | | | | | | | | | | | | | | | | | | (gr): Use constructor (sigh). (pwdgrp::parse_group): Rename from parse_grp. (pwdgrp::read_group): Rename from read_etc_group. Just call gr.load with a single argument. * passwd.cc: Call pr.refresh() rather than doing isunitialized tests throughout. (pr): Use constructor (sigh). (pwdgrp::parse_passwd): Rename from "parse_pwd". (pwdgrp::read_passwd): Rename from read_etc_passwd. Just call pr.load with a single argument. * pwdgrp.h (pwdgrp_state): Eliminate. (pwdgrp): Reflect above renamings. (pwdgrp::etc_ix): Rename from pwd_ix. (pwdgrp::read): New element. (pwdgrp::lock): New element. (pwdgrp::refresh): New function. (pwdgrp::load): Eliminate variations which take buffer arguments. (pwdgrp::pwdgrp): New constructors. Initialize mutex here. * uinfo.cc (pwdgrp::load): Accommodate pwd_ix -> etc_ix renaming. (pwdgrp::load): Set initialized state to true rather than setting state to loaded.
* * include/cygwin/version.h: Bump DLL minor number.Christopher Faylor2003-01-212-1/+5
|
* Fix ChangeLog entry.Christopher Faylor2003-01-211-1/+1
|
* add missing ChangeLog entry.Christopher Faylor2003-01-211-0/+1
|
* add missing ChangeLog entry.Christopher Faylor2003-01-211-0/+1
|
* * path.h (etc::change_possible): Revert the type to bool.Christopher Faylor2003-01-215-22/+20
| | | | | | | | | | (etc::set_last_modified): Remove obsolete function. * path.cc (etc::change_possible): Revert type to bool. (etc::test_file_change): Do not test for negative values of change_possible and do not set it to -res. (etc::dir_changed): When the handle is NULL, call memset instead of test_file_changed. When the handle is invalid, return true. (etc::file_changed): Remove unneeded check for !fn[n].
* Updates for fixing tic4x arch tagging of its object files.Svein Seldal2003-01-203-3/+16
| | | | | | | | | | | | | | * bfd/coffcode.h (coff_set_flags): Added get/set arch hooks. * include/coff/tic4x.h (TICOFF_TARGET_MACHINE_GET): Fixed define bug * include/coff/ti.h (TICOFF_TARGET_MACHINE_GET): Added macros * ld/Makefile.am: Added etic3xcoff.o and etic4xcoff_onchip.o * ld/Makefile.in: Regenerate * ld/configure.tgt: Added extra target emulations * ld/emulparams/tic3xcoff.sh: Remove old settings * ld/emulparams/tic4xcoff.sh: Ditto * ld/emulparams/tic3xcoff-onchip.sh: Added new * ld/scripttempl/tic4xcoff.sc: Revise and combine both c3x and c4x * ld/scripttempl/tic3xcoff.sc: Remove
* * libc/include/sys/unistd.h: Add rresvport declaration for cygwin.Christopher Faylor2003-01-202-1/+6
|
* * s390.h: Rename R_390_GOTOFF to R_390_GOTOFF32. Add new gotoff,Martin Schwidefsky2003-01-202-1/+16
| | | | gotplt and pltoff relocations.
* * pwdgrp.h (etc): Move to path.h.Christopher Faylor2003-01-207-224/+307
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (pwdgrp::max_lines): New field. (pwdgrp::curr_lines): New field. (pwdgrp::pwdgrp_buf): Ditto. (pwdgrp_buf_elem_size): Ditto. (pwdgrp_parse): Ditto. (pwdgrp::gets): Just declare here. (pwdgrp::load): Ditto. Just take one argument. (pwdgrp::load): Define overloaded function accepting passwd buf. (pwdgrp::load): Define overloaded function accepting group buf. * grp.cc: Use pwdgrp elements rather than standalone static variables throughout. (curr_lines): Eliminate. (max_lines): Ditto. (add_grp_line): Ditto. (parse_grp): Define as returning boolean. Accept void * arg and line count. Coerce first argument into __group32 buf reference. Increment curr_line as appropriate. (read_etc_group): Pass pwdgrp buffer to gr.load. * passwd.cc: Use pwdgrp elements rather than standalone static variables throughout. (curr_lines): Eliminate. (max_lines): Ditto. (add_grp_line): Ditto. (parse_passwd): Define as returning boolean. Accept void * arg and line count. Coerce first argument into passwd buf reference. Increment curr_line as appropriate. (read_etc_group): Pass pwdgrp buffer to pr.load. * path.cc (etc::fn): Extend buffer size to allow index by 1 rather than zero. (etc::last_modified): Ditto. (etc::change_possible): Ditto. Renamed from sawchange. Change to signed char since elements are now tri-state. (etc::init): Assume "handle" is 1 based rather than 0. (etc::test_file_change): New function. Sets change_possible based on file date comparison. (etc::dir_changed): Check file states immediately after changed_h is initialized to avoid a race. (etc::file_changed): Use test_file_change to detect if file needs to be updated. * path.h (etc): Move class here from pwdgrp.h. * uinfo.cc: Move etc:: functions to path.cc. Move pwdgrp functions here. (pwdgrp::gets): Eliminate buf checks. Just check eptr and set lptr. (pwdgrp::add_line): New function. (pwdgrp::load): Call generic add_line function which will call correct parser.
* * configure.in: Add missing \.Nathanael Nerode2003-01-193-30/+16
| | | | * configure: Rebuilt.
* Define __IEEE_BIG_ENDIAN, __SMALL_BITFIELDS and _DOUBLE_IS_32BITS for IP2K.Nick Clifton2003-01-182-0/+11
|
* fix typoChristopher Faylor2003-01-181-1/+1
|
* * cygheap.cc: Change most 'int's to 'unsigned's.Christopher Faylor2003-01-182-11/+16
| | | | | (_cmalloc): Only check for size of malloced region when calculating budget. Add overhead when performing the sbrk. Previous change broke _crealloc.
* * dcrt0.cc (initialize_env): Use colon for CYGWIN_DEBUG separator.Christopher Faylor2003-01-175-43/+40
| | | | | | | | * grp.cc: Change most statics to NO_COPY throughout. * passwd.cc: Ditto. * pwdgrp.h: Change some BOOLs to bools. (pwdgrp::pwdgrp): Remove unneeded constructor. * passwd.cc: Change BOOL to bool throughout.
* * cygwin.din: Add strerror_r.Corinna Vinschen2003-01-173-1/+9
| | | | * include/cygwin/version.h: Bump API minor number.
* * configure.in (baseargs): Avoid using \| in sed regularJakub Jelinek2003-01-173-42/+58
| | | | | expressions. * configure: Rebuilt.
* update copyrightChristopher Faylor2003-01-174-4/+4
|
* whitespaceChristopher Faylor2003-01-171-1/+1
|
* correct pwdgroup::load entryChristopher Faylor2003-01-171-1/+1
|
* * uinfo.cc (etc::dir_changed): Don't print a warning if can't open /etc, unlessChristopher Faylor2003-01-172-1/+7
| | | | debugging.
* * grp.cc (read_etc_group): On NT, add a line for gid = -1. Change nameChristopher Faylor2003-01-177-188/+256
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | "unknown" to "mkgroup". (internal_getgrgid): Do not return default in nontsec case. (internal_getgroups): Add argument srchsid and look for it in groups if not NULL. * passwd.cc (read_etc_passwd): On NT, add a line for uid = -1. Use same default uid for Win95 and NT. Call cygheap_user::ontherange to initialize HOME. * cygheap.cc (init_cygheap::etc_changed): Move to uinfo.cc. * cygheap.h (init_cygheap::etc_changed_h): Remove. (init_cygheap::etc_changed): Ditto. * grp.cc (group_state): Remove. Use gr instead throughout. (gr): Define as class pwdgrp. (read_etc_group): Remove gr definition. Remove calls to set_last_modified and close. Pass add_grp to gr.load to load file. * passwd.cc (passwd_state): Remove. Use pr instead, throughout. (pr): Define as class pwdgrp. (read_etc_passwd): Remove pr definition. Remove calls to set_last_modified and close. Pass add_pwd_line to pr.load to load file. * pwdgrp.h (etc): New helper class for pwdgrp. (pwdgrp): Combine pwdgrp_check and pwdgrp_read into one class. Remove file_w32 and last_modified fields. (pwdgrp::set_last_modified): Remove. (pwdgrp::isinitializing): Remove FindFirstFile stuff. Move to etc::file_changed. (pwdgrp::load): Rename from 'open'. Call etc::init to initialize etc scanning. Close file handle after reading buffer into memory. Parse buffer by calling second argument. (pwdgrp::gets): Reorganize slightly to rely on eptr starting at beginning of buffer. Free buffer when memory exhausted. (pwdgrp::close): Remove. * uinfo.cc (etc::dir_changed): New function. (etc::init): Ditto. (etc::file_changed): Ditto. (etc::set_last_modified): Ditto.
* missed changelog entryAlan Modra2003-01-171-1/+1
|
* * common.h: Formatting, typo fixes.Alan Modra2003-01-172-164/+177
| | | | | | | | (DT_ENCODING): Correct value. * common.h (ELFOSABI_AROS): Define. (ELFOSABI_OPENVMS): Likewise. (ELFOSABI_NSK): Likewise.
* 2003-01-16 Joel Sherrill <joel@OARcorp.com>Jeff Johnston2003-01-166-45/+53
| | | | | | | | | | | * libc/sys/rtems/include/limits.h, libc/sys/rtems/sys/param.h, libc/sys/rtems/sys/syslimits.h: Update to be in sync with what constants are defined in each file in the shared versions in libc/include. * libc/sys/rtems/crt0.c: Define extra symbols on SH and HP-PA to autoconf can link programs. * libc/include/machine/types.h: Explicitly specify signed on intXX_t types to ensure they are signed.
* * configure.in (baseargs): Remove all supported forms ofJakub Jelinek2003-01-163-10/+17
| | | | | | --cache-file, --srcdir, --host, --build and --target options from argument lists. * configure: Rebuilt.
* * mmap.cc (fixup_mmaps_after_fork): Add ERROR_NOACCESS to the list ofCorinna Vinschen2003-01-162-2/+10
| | | | | ReadProcessMemory() error codes that trigger a retry with temporary PAGE_READONLY access. Note that this can occur on NT 4.0.
* * ppc.h: Split out ppc64 definitions to..Alan Modra2003-01-163-79/+119
| | | | | * pcc64.h: ..here. New file. (R_PPC64_REL30): Rename from R_PPC64_ADDR30.
* remove errnoneously added filesChristopher Faylor2003-01-163-446/+0
|
* * path.cc (normalize_posix_path): Convert win32 path separators to slashes whenChristopher Faylor2003-01-162-1/+12
| | | | full path is specified.
* merge from trunkChristopher Faylor2003-01-163-0/+446
|
* * libc/time/strftime.c (strftime): Add '%h' and '%l, %k' GNU extensions.Christopher Faylor2003-01-152-2/+10
|
* * cmalloc.cc (_cmalloc): Fix memory leak.Christopher Faylor2003-01-152-2/+5
|
* * configure.in (noconfigdirs): Don't skip gas on IRIX 6.Alexandre Oliva2003-01-153-45/+67
| | | | * configure: Rebuilt.
* * autoload.cc: Fix copyright date.Corinna Vinschen2003-01-1510-9/+21
| | | | | | | | | | | * fhandler_dsp.cc: Ditto. * mmap.cc: Ditto. * net.cc: Ditto. * ntdll.h: Ditto. * signal.cc: Ditto. * syscalls.cc: Ditto. * uname.cc: Ditto. * wait.cc: Ditto.
* * mkgroup.c: Fix copyright date.Corinna Vinschen2003-01-154-6/+12
| | | | | | | * mkpasswd.c: Ditto. * setfacl.c: Ditto. Fix ChangeLog typos.