OSDN Git Service

pf3gnuchains/sourceware.git
22 years agomerge from gcc
dj [Thu, 6 Jun 2002 12:55:14 +0000 (12:55 +0000)]
merge from gcc

22 years ago * sec_helper.cc (lookup_name): Suppress.
corinna [Thu, 6 Jun 2002 11:17:49 +0000 (11:17 +0000)]
* sec_helper.cc (lookup_name): Suppress.
* security.cc (alloc_sd): Remove logsrv argument.
Remove two calls to lookup_name.
(set_security_attribute): Remove logsrv argument.
Remove logsrv argument in call to alloc_sd.
(set_nt_attribute): Remove logsrv argument.
Remove logsrv argument in call to set_security_attribute.
(set_file_attribute): Remove logsrv argument.
Remove logsrv argument in call to set_nt_attribute.
(set_file_attribute): Remove logsrv argument.
Remove logsrv argument in call to set_file_attribute.
* syscalls.cc (chown_worker): Remove logserver argument in
call to set_file_attribute.
(chmod): Ditto.
* shm.cc (shmget): Remove logsrv argument in call to alloc_sd.
* uinfo.cc (internal_getlogin): Replace calls to
lookup_name by call to LookupAccountName.
* security.h: Remove logsrv in declarations of set_file_attribute
and alloc_sd. Remove declaration of lookup_name.

22 years agoInclude libiberty.h
nickc [Thu, 6 Jun 2002 10:47:24 +0000 (10:47 +0000)]
Include libiberty.h

22 years ago * peXXigen.c (pe_print_idata): Remove unused variable.
amodra [Thu, 6 Jun 2002 10:45:12 +0000 (10:45 +0000)]
* peXXigen.c (pe_print_idata): Remove unused variable.

22 years agoDo not include empty sections in loadable segments.
nickc [Thu, 6 Jun 2002 10:03:34 +0000 (10:03 +0000)]
Do not include empty sections in loadable segments.

22 years ago * common.h: Change registry@sco.com to registry@caldera.com.
amodra [Thu, 6 Jun 2002 09:59:38 +0000 (09:59 +0000)]
* common.h: Change registry@sco.com to registry@caldera.com.
(EM_PDP10, EM_PDP11): Define.

22 years ago * bfdint.texi: Change registry@sco.com to registry@caldera.com.
amodra [Thu, 6 Jun 2002 09:58:57 +0000 (09:58 +0000)]
* bfdint.texi: Change registry@sco.com to registry@caldera.com.

22 years ago * stabs.c (_bfd_link_section_stabs): Check that the symbol offset
rsandifo [Thu, 6 Jun 2002 09:24:51 +0000 (09:24 +0000)]
* stabs.c (_bfd_link_section_stabs): Check that the symbol offset
is within the .stabstr section.

22 years ago Fix ChangeLog entry.
corinna [Thu, 6 Jun 2002 08:37:24 +0000 (08:37 +0000)]
Fix ChangeLog entry.

22 years ago * gas/config/tc-hppa.c (pa_ip): Replace "L$0\001" with FAKE_LABEL_NAME.
law [Thu, 6 Jun 2002 06:50:10 +0000 (06:50 +0000)]
* gas/config/tc-hppa.c (pa_ip): Replace "L$0\001" with FAKE_LABEL_NAME.
(hppa_force_relocation): Check if a stub just before the start symbol
of the last call_info is reachable before forcing relocation.  Fix
typo.

22 years ago * gas/testsuite/gas/hppa/basic/add.s: Set code level to 1.1.
law [Thu, 6 Jun 2002 06:49:46 +0000 (06:49 +0000)]
* gas/testsuite/gas/hppa/basic/add.s: Set code level to 1.1.
* gas/testsuite/gas/hppa/basic/branch.s: Likewise.
* gas/testsuite/gas/hppa/basic/dcor.s: Likewise.
* gas/testsuite/gas/hppa/basic/logical.s: Likewise.
* gas/testsuite/gas/hppa/basic/shladd.s: Likewise.
* gas/testsuite/gas/hppa/basic/sub.s: Likewise.
* gas/testsuite/gas/hppa/basic/unit.s: Likewise.
* gas/testsuite/gas/hppa/unsorted/unsorted.exp: Return if target
"*-*-linux*".

22 years ago * configure.host (hppa*64*-*-hpux11*): Define NATIVE_LIB_DIRS,
law [Thu, 6 Jun 2002 06:45:52 +0000 (06:45 +0000)]
    * configure.host (hppa*64*-*-hpux11*): Define NATIVE_LIB_DIRS,
        HOSTING_CRT0 and HOSTING_LIBS.

22 years ago * testsuite/binutils-all/objcopy.exp: clear xfail for
law [Thu, 6 Jun 2002 06:45:07 +0000 (06:45 +0000)]
    * testsuite/binutils-all/objcopy.exp: clear xfail for
        "hppa*64*-*-hpux*".
        * testsuite/binutils-all/hppa/objdump.exp: Return if
        "*64*-*-*".

22 years ago* strace.cc (version): New global variable.
cgf [Thu, 6 Jun 2002 02:55:09 +0000 (02:55 +0000)]
* strace.cc (version): New global variable.
(usage): Accomodate stdout output.
(print_version): New function.

22 years ago* child_info.h (CHILD_INFO_MAGIC): Oops. Revert previous change. gcc 3.1 bug?
cgf [Thu, 6 Jun 2002 01:49:55 +0000 (01:49 +0000)]
* child_info.h (CHILD_INFO_MAGIC): Oops.  Revert previous change.  gcc 3.1 bug?

22 years ago* child_info.h (CHILD_INFO_MAGIC): Update.
cgf [Thu, 6 Jun 2002 01:31:16 +0000 (01:31 +0000)]
* child_info.h (CHILD_INFO_MAGIC): Update.

22 years ago* strace.cc (strace::hello): Set inited, when appropriate.
cgf [Thu, 6 Jun 2002 01:26:32 +0000 (01:26 +0000)]
* strace.cc (strace::hello): Set inited, when appropriate.

22 years ago* ssp.c (version): New global variable.
cgf [Thu, 6 Jun 2002 00:36:12 +0000 (00:36 +0000)]
* ssp.c (version): New global variable.
(longopts): Ditto.
(opts): Ditto.
(run_program): Correct cmd_line typos to cmdline.
(usage): New function.  Standardize usage output.  Add ssp.txt to --help
output.
(print_version): New function.
(main): Accommodate getopt.

22 years agoelf_swap_symbol_in args should be "const PTR", not "const PTR *".
amodra [Thu, 6 Jun 2002 00:29:19 +0000 (00:29 +0000)]
elf_swap_symbol_in args should be "const PTR", not "const PTR *".

22 years ago* cygwin.din: Eliminate some newlib wrappers.
cgf [Thu, 6 Jun 2002 00:09:54 +0000 (00:09 +0000)]
* cygwin.din: Eliminate some newlib wrappers.
* path.cc (get_devn): Only consider first 99 potential com devices.
(get_device_number): Ditto.
* times.cc (_times): Eliminate.
(_times): Renamed from times().

22 years agodaily update
amodra [Thu, 6 Jun 2002 00:00:05 +0000 (00:00 +0000)]
daily update

22 years ago*** empty log message ***
gdbadmin [Thu, 6 Jun 2002 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago2002-06-05 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Wed, 5 Jun 2002 20:58:52 +0000 (20:58 +0000)]
2002-06-05  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/string.h[__linux__]: Add strsignal prototype.
        * libc/include/sys/lock.h: New file with default locking support.
        * libc/include/sys/reent.h: Add signal buffer support for strsignal
        and psignal.
        * libc/posix/Makefile.am: Add support for readdir_r.c.
        * libc/posix/Makefile.in: Regenerated.
        * libc/posix/closedir.c: Add locking support and hash table cleanup.
        * libc/posix/opendir.c: Add lock support.
        * libc/posix/readdir.c: Ditto.
        * libc/posix/rewinddir.c: Ditto.
        * libc/posix/scandir.c: Ditto.
        * libc/posix/seekdir.c: Ditto.
        * libc/posix/telldir.c: Ditto plus add _cleanupdir routine to
        clean up leftover hash table entries.
        * libc/posix/readdir_r.c: New file.
        * libc/sys/linux/Makefile.am: Add psignal.c and strsignal.c support.
        * libc/sys/linux/Makefile.in: Regenerated.
        * libc/sys/linux/sys/dirent.h: Add dd_lock to DIR structure.
        * libc/sys/linux/sys/signal.h: Add psignal prototype.
        * libc/sys/linux/psignal.c: New file.
        * libc/sys/linux/strsignal.c: Ditto.

22 years agogcc:
amylaar [Wed, 5 Jun 2002 19:54:24 +0000 (19:54 +0000)]
gcc:
* config.gcc (sh-*-elf*,  sh64*-*-elf*): Unify.
(shl*-*-elf*): Add.
* config/sh/t-be (MULTILIB_ENDIAN): Set.
* config/sh/t-le (MULTILIB_ENDIAN): Likewise.
* t-sh (MULTILIB_ENDIAN): Set.
(MULTILIB_OPTIONS): Use it.
* t-sh64 (MULTILIB_OPTIONS): Likewise.
(MULTILIB_DIRNAMES): Likewise.
bfd:
* config.bfd (sh64l*-*-elf*, shl*-*-elf*): New configurations.
ld:
configure.tgt (shle*-*-elf*, sh64le-*-elf*): New configurations.

22 years ago* config/alpha/nm-linux.h: Add "config/" prefix to tm, nm and xm
cagney [Wed, 5 Jun 2002 19:18:12 +0000 (19:18 +0000)]
* config/alpha/nm-linux.h: Add "config/" prefix to tm, nm and xm
includes.
* config/tm-linux.h: Ditto.
* config/alpha/tm-alphalinux.h: Ditto.
* config/arm/nm-linux.h, config/arm/tm-linux.h: Ditto.
* config/arm/xm-nbsd.h, config/i386/nm-gnu.h: Ditto.
* config/i386/nm-i386lynx.h, config/i386/nm-i386sol2.h: Ditto.
* config/i386/nm-i386v4.h, config/i386/nm-i386v42mp.h: Ditto.
* config/i386/nm-linux.h, config/i386/nm-m3.h: Ditto.
* config/i386/nm-ptx4.h, config/i386/nm-x86-64.h: Ditto.
* config/i386/tm-i386gnu.h, config/i386/tm-i386lynx.h: Ditto.
* config/i386/tm-i386m3.h, config/i386/tm-i386sco5.h: Ditto.
* config/i386/tm-i386v4.h, config/i386/tm-linux.h: Ditto.
* config/i386/tm-ptx4.h, config/i386/tm-vxworks.h: Ditto.
* config/i386/xm-i386v4.h, config/i386/xm-nbsd.h: Ditto.
* config/i386/xm-ptx.h, config/i386/xm-ptx4.h: Ditto.
* config/i960/tm-vx960.h, config/ia64/nm-aix.h: Ditto.
* config/ia64/nm-linux.h, config/ia64/tm-aix.h: Ditto.
* config/ia64/tm-linux.h, config/ia64/xm-aix.h: Ditto.
* config/m68k/nm-linux.h, config/m68k/nm-m68klynx.h: Ditto.
* config/m68k/nm-sysv4.h, config/m68k/tm-linux.h: Ditto.
* config/m68k/tm-m68klynx.h, config/m68k/tm-m68kv4.h: Ditto.
* config/m68k/tm-sun2os4.h, config/m68k/tm-sun3os4.h: Ditto.
* config/m68k/tm-vx68.h, config/m68k/xm-m68kv4.h: Ditto.
* config/m68k/xm-nbsd.h, config/m88k/nm-delta88v4.h: Ditto.
* config/m88k/tm-delta88v4.h, config/m88k/xm-delta88v4.h: Ditto.
* config/mips/nm-irix5.h, config/mips/nm-linux.h: Ditto.
* config/mips/tm-linux.h, config/mips/tm-mips64.h: Ditto.
* config/mips/tm-mipsm3.h, config/mips/tm-mipsv4.h: Ditto.
* config/mips/tm-vxmips.h, config/mips/xm-irix5.h: Ditto.
* config/mips/xm-mipsv4.h, config/ns32k/xm-nbsd.h: Ditto.
* config/pa/nm-hppao.h, config/powerpc/nm-linux.h: Ditto.
* config/powerpc/tm-linux.h, config/powerpc/tm-vxworks.h: Ditto.
* config/powerpc/xm-aix.h, config/rs6000/nm-rs6000ly.h: Ditto.
* config/rs6000/tm-rs6000ly.h, config/rs6000/xm-aix4.h: Ditto.
* config/sh/tm-linux.h, config/sparc/nm-linux.h: Ditto.
* config/sparc/nm-sparclynx.h, config/sparc/nm-sun4sol2.h: Ditto.
* config/sparc/tm-linux.h, config/sparc/tm-sp64linux.h: Ditto.
* config/sparc/tm-sp64sim.h, config/sparc/tm-sparclynx.h: Ditto.
* config/sparc/tm-sun4os4.h, config/sparc/tm-sun4sol2.h: Ditto.
* config/sparc/tm-vxsparc.h, config/sparc/xm-sun4sol2.h: Ditto.

22 years ago* emulparams/ns32knbsd.sh (EXECUTABLE_SYMBOLS): Set _DYNAMIC to 0.
thorpej [Wed, 5 Jun 2002 16:59:11 +0000 (16:59 +0000)]
* emulparams/ns32knbsd.sh (EXECUTABLE_SYMBOLS): Set _DYNAMIC to 0.
(NONPAGED_TEXT_START_ADDR): Set to 0x1000.

22 years ago* dir.cc (rmdir): Streamline. Detect attempts to remove directories from
cgf [Wed, 5 Jun 2002 16:01:55 +0000 (16:01 +0000)]
* dir.cc (rmdir): Streamline.  Detect attempts to remove directories from
"read-only" virtual devices.  (Suggested by Pavel Tsekov)
* syscalls.cc (unlink): Detect attempts to remove directories from "read-only"
virtual devices.  (From Pavel Tsekov)

22 years ago* dtable.cc (handle_to_fn): Check error return value from NtQueryObject first
cgf [Wed, 5 Jun 2002 15:43:49 +0000 (15:43 +0000)]
* dtable.cc (handle_to_fn): Check error return value from NtQueryObject first
before seeing if name buffer is NULL.
* grp.cc (read_etc_group): Fix gcc warning regarding snprintf format.
* passwd.cc (read_etc_passwd): Ditto.

22 years ago * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Place
amodra [Wed, 5 Jun 2002 14:07:28 +0000 (14:07 +0000)]
* emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Place
SEC_EXCLUDE sections when doing a relocatable link.

22 years ago * objcopy.c (copy_section): Don't copy SEC_GROUP sections.
amodra [Wed, 5 Jun 2002 14:06:52 +0000 (14:06 +0000)]
* objcopy.c (copy_section): Don't copy SEC_GROUP sections.

22 years ago * elf.c (group_signature): Swap in the whole symbol, and handle
amodra [Wed, 5 Jun 2002 14:06:11 +0000 (14:06 +0000)]
* elf.c (group_signature): Swap in the whole symbol, and handle
extracting section symbol names.
(setup_group): Add comment.
(set_group_contents): When called from objcopy or ld, arrange for
section contents to be written.  Write group member output section
indices to allow objcopy to reorganize sections.
(_bfd_elf_copy_private_section_data): Copy group info.

22 years ago * elf-bfd.h (struct elf_size_info): Add swap_symbol_in field.
amodra [Wed, 5 Jun 2002 13:31:57 +0000 (13:31 +0000)]
* elf-bfd.h (struct elf_size_info): Add swap_symbol_in field.
(bfd_elf32_swap_symbol_in): Update prototype.
(bfd_elf64_swap_symbol_in): Likewise.
* elfcode.h (elf_swap_symbol_in): Change input args to const PTR *.
(elf_slurp_symbol_table): Adjust call to elf_swap_symbol_in.
* elflink.h (elf_link_is_defined_archive_symbol): Likewise.
(elf_link_add_object_symbols): Likewise.
(elf_link_record_local_dynamic_symbol): Likewise.
(elf_link_input_bfd): Likewise.
(elf_gc_mark): Likewise.
(elf_reloc_symbol_deleted_p): Likewise.
* elf-m10200.c (mn10200_elf_relax_section): Likewise.
(mn10200_elf_relax_delete_bytes): Likewise.
(mn10200_elf_symbol_address_p): Likewise.
(mn10200_elf_get_relocated_section_contents): Likewise.
* elf-m10300.c (mn10300_elf_relax_section): Likewise.
(mn10300_elf_relax_section): Likewise.
(mn10300_elf_relax_delete_bytes): Likewise.
(mn10300_elf_symbol_address_p): Likewise.
(mn10300_elf_get_relocated_section_contents): Likewise.
* elf32-h8300.c (elf32_h8_relax_section): Likewise.
(elf32_h8_relax_delete_bytes): Likewise.
(elf32_h8_symbol_address_p): Likewise.
(elf32_h8_get_relocated_section_contents): Likewise.
* elf32-hppa.c (get_local_syms): Likewise.
* elf32-m68k.c (bfd_m68k_elf32_create_embedded_relocs): Likewise.
* elf32-mips.c (bfd_mips_elf32_create_embedded_relocs): Likewise.
* elf32-sh.c (sh_elf_relax_section): Likewise.
(sh_elf_relax_delete_bytes): Likewise.
(sh_elf_get_relocated_section_contents): Likewise.
* elf32-xstormy16.c (xstormy16_elf_relax_section): Likewise.
* elf64-alpha.c (elf64_alpha_relax_section): Likewise.
* elf64-hppa.c (elf64_hppa_check_relocs): Likewise.
* elf64-mmix.c (mmix_elf_relax_section): Likewise.
* elf64-ppc.c (get_local_syms): Likewise.
* elf64-sh64.c (sh_elf64_get_relocated_section_contents): Likewise.
* elfxx-ia64.c (elfNN_ia64_relax_section): Likewise.
* elfcode.h (NAME(_bfd_elf,size_info)): Update initialiser.
* elf64-alpha.c (alpha_elf_size_info): Likewise.
* elf64-hppa.c (hppa64_elf_size_info): Likewise.
* elf64-mips.c (mips_elf64_size_info): Likewise.
* elf64-s390.c (s390_elf64_size_info): Likewise.
* elf64-sparc.c (sparc64_elf_size_info): Likewise.

22 years ago/tmp/cvs610a0efc.1
rbcollins [Wed, 5 Jun 2002 12:39:53 +0000 (12:39 +0000)]
/tmp/cvs610a0efc.1

22 years ago * grp.cc (read_etc_group): When emulating nonexisting group file on
corinna [Wed, 5 Jun 2002 11:56:56 +0000 (11:56 +0000)]
* grp.cc (read_etc_group): When emulating nonexisting group file on
NT systems, read primary group SID from process token.  Use that info
to create correct group entry.  On error or on 9x systems fallback
to emulating Administrators group as before.
(read_etc_passwd): When emulating nonexisting passwd file on NT systems,
read user and primary group SID from process token.  Use that info to
create correct passwd entry.  On error or on 9x systems fallback to
emulating user with Administrator user id and Administrators group
as before.

22 years ago * grp.cc (etc_group): Removed.
corinna [Wed, 5 Jun 2002 11:10:14 +0000 (11:10 +0000)]
* grp.cc (etc_group): Removed.
(parse_grp): Make line parameter nonconst.  Don't copy data into new
allocated memory.  Check for CR instead of LF to accomodate new
read method.
(add_grp_line): Make line parameter nonconst.
(read_etc_group): Rearrange using new pwdgrp_read class.
* passwd.cc (parse_pwd): Don't copy data into new allocated memory.
Check for CR instead of LF to accomodate new read method.
(read_etc_passwd): Rearrange using new pwdgrp_read class.
* pwdgrp.h (pwdgrp_check::set_last_modified):  Use different
parameters.
(class pwdgrp_read): New class for opening and reading passwd and
group files.

22 years ago* elf32-mips.c (elf32_mips_ignore_discarded_relocs): Move to...
macro [Wed, 5 Jun 2002 10:31:43 +0000 (10:31 +0000)]
* elf32-mips.c (elf32_mips_ignore_discarded_relocs): Move to...
elfxx-mips.c (_bfd_mips_elf_ignore_discarded_relocs): ... here.
elf64-mips.c (elf_backend_ignore_discarded_relocs): Use
_bfd_mips_elf_ignore_discarded_relocs.
elfxx-mips.h (_bfd_mips_elf_ignore_discarded_relocs): Declare.

22 years ago2002-06-05 H.J. Lu <hjl@gnu.org>
hjl [Wed, 5 Jun 2002 06:50:13 +0000 (06:50 +0000)]
2002-06-05  H.J. Lu <hjl@gnu.org>

* elfxx-mips.c (mips_elf_calculate_relocation): Call
_bfd_elf_rel_local_sym for STT_SECTION relocations against
the SEC_MERGE section.

22 years ago * coff-alpha.c: Update copyright date.
amodra [Wed, 5 Jun 2002 04:22:26 +0000 (04:22 +0000)]
* coff-alpha.c: Update copyright date.
* coff-mips.c: Likewise.
* xcoff-target.h: Likewise.

22 years ago* dtable.cc (handle_to_fn): Attempt to handle "raw" accesses to remote shares.
cgf [Wed, 5 Jun 2002 04:01:41 +0000 (04:01 +0000)]
* dtable.cc (handle_to_fn): Attempt to handle "raw" accesses to remote shares.
* path.cc (mount_info::conv_to_win32_path): Set flags to binary when mount
entry is not found.
(mount_info::set_flags_from_win32_path): Ditto.

22 years ago * bfd-in.h: Remove "taken from the source" comment.
amodra [Wed, 5 Jun 2002 03:43:08 +0000 (03:43 +0000)]
* bfd-in.h: Remove "taken from the source" comment.
* libbfd-in.h: Likewise.
* libcoff-in.h: Likewise.
* bfd-in2.h: Regenerate.
* libbfd.h: Regenerate.
* libcoff.h: Regenerate.

* elf.c (bfd_elf_discard_group): Return true.
* elf-bfd.h (bfd_elf_discard_group): Declare.
* bfd-in.h (bfd_elf_discard_group): Don't declare here.
* section.c (bfd_discard_group): Rename to bfd_generic_discard_group.
* bfd.c (bfd_discard_group): Define.
* targets.c (struct bfd_target): Add _bfd_discard_group.
(BFD_JUMP_TABLE_LINK): Here too.
* libbfd-in.h (_bfd_nolink_bfd_discard_group): Define.
* aout-adobe.c (aout_32_bfd_discard_group): Define.
* aout-target.h (MY_bfd_discard_group): Define.
* aout-tic30.c (MY_bfd_discard_group): Define.
* binary.c (binary_bfd_discard_group): Define.
* bout.c (b_out_bfd_discard_group): Define.
* coff-alpha.c (_bfd_ecoff_bfd_discard_group): Define.
* coffcode.h (coff_bfd_discard_group): Define.
* coff-mips.c (_bfd_ecoff_bfd_discard_group): Define.
* elfxx-target.h (bfd_elfNN_bfd_discard_group): Define.
* i386msdos.c (msdos_bfd_discard_group): Define.
* i386os9k.c (os9k_bfd_discard_group): Define.
* ieee.c (ieee_bfd_discard_group): Define.
* ihex.c (ihex_bfd_discard_group): Define.
* mmo.c (mmo_bfd_discard_group): Define.
* nlm-target.h (nlm_bfd_discard_group): Define.
* oasys.c (oasys_bfd_discard_group): Define.
* ppcboot.c (ppcboot_bfd_discard_group): Define.
* som.c (som_bfd_discard_group): Define.
* srec.c (srec_bfd_discard_group): Define.
* tekhex.c (tekhex_bfd_discard_group): Define.
* versados.c (versados_bfd_discard_group): Define.
* vms.c (vms_bfd_discard_group): Define.
* xcoff-target.h (_bfd_xcoff_bfd_discard_group): Define.
* coff64-rs6000.c (rs6000coff64_vec): Update initialiser.
(aix5coff64_vec): Likewise.
* coff-rs6000.c (rs6000coff_vec, pmac_xcoff_vec): Likewise.

22 years ago * Makefile.am (libbfd.h): Add "Extracted from.." comment.
amodra [Wed, 5 Jun 2002 03:40:58 +0000 (03:40 +0000)]
* Makefile.am (libbfd.h): Add "Extracted from.." comment.
(libcoff.h, bfd.h): Likewise.
* Makefile.in: Regenerate.

22 years ago* dtable.cc (handle_to_fn): Correct placement and length of name buffer.
cgf [Wed, 5 Jun 2002 02:42:15 +0000 (02:42 +0000)]
* dtable.cc (handle_to_fn): Correct placement and length of name buffer.
(Suggested by Pavel Tsekov)

22 years agobfd/
thorpej [Wed, 5 Jun 2002 01:50:41 +0000 (01:50 +0000)]
bfd/
* Makefile.am (BFD32_BACKENDS): Add elf32-sh64-com.lo.
(BFD32_BACKENDS_CFILES): Add elf32-sh64-com.c.
(elf32-sh64-com.lo): New dependency list.
* Makefile.in: Regenerate.
* configure.in (bfd_elf32_sh64_vec, bfd_elf32_sh64l_vec)
(bfd_elf32_sh64nbsd_vec, bfd_elf32_sh64lnbsd_vec): Add
elf32-sh64-com.lo.
* configure: Regenerate.
* elf32-sh64.c (sh64_address_in_cranges)
(sh64_get_contents_type, sh64_address_is_shmedia): Move to...
(crange_qsort_cmpb, crange_qsort_cmpl, crange_bsearch_cmpb):
(crange_bsearch_cmpl): Prepend _bfd_sh64_ to name and move to...
* elf32-sh64-com.c: ...here.  New file.

include/elf/
* sh.h (_bfd_sh64_crange_qsort_cmpb, _bfd_sh64_crange_qsort_cmpl)
(_bfd_sh64_crange_bsearch_cmpb, _bfd_sh64_crange_bsearch_cmpl): New
prototypes.

22 years agoRemove fcntl.h includes throughout.
cgf [Wed, 5 Jun 2002 01:42:27 +0000 (01:42 +0000)]
Remove fcntl.h includes throughout.
* fhandler.h: Move fcntl.h include here.
(fhandler_base::set_flags): Accept supplied_bin argument.  Make non-inlined.
* dtable.cc (dtable::init_std_file_from_handle): Just use binmode from pc.
(reset_to_open_binmode): Use set_flags.
* cygwin.din (open): Avoid newlib wrapper.
(read): Ditto.
(unlink): Ditto.
(write): Ditto.
* fhandler.cc (fhandler_base::set_flags): Accept supplied_bin argument.  Make
binmode decisions here.
(fhandler_base::open): Avoid using pc if it is NULL.  Eliminate binmode logic.
Just call set_flags with binmode argument.
(fhandler_base::init): Call set_flags with binmode argument.
* fhandler_clipboard.cc (fhandler_dev_clipboard::open): Ditto.
* fhandler_console.cc (fhandler_console::open): Ditto.
(fhandler_console::init): Force binary on open.
* fhandler_disk_file.cc (fhandler_disk_file::open): Don't set binmode here.
Let it happen in base class.
* fhandler_dsp.cc (fhandler_dev_dsp::open): Force binmode open.  Set return
value appropriately if unable to open.
* fhandler_proc.cc (fhandler_proc::open): Make sure flags are set before
open_status.
* fhandler_process.cc (fhandler_process::open): Ditto.
* fhandler_registry.cc (fhandler_registry::open): Ditto.
* fhandler_random.cc (fhandler_dev_random::fhandler_dev_random): Ditto.
* fhandler_raw.cc (fhandler_dev_raw::open): Force O_BINARY by default.
* fhandler_serial.cc (fhandler_serial::init): Ditto.
* fhandler_tty.cc (fhandler_tty_slave::open): Ditto.
(fhandler_pty_master::open): Ditto.
* fhandler_virtual.cc (fhandler_virtual::open): Ditto.
* fhandler_windows.cc (fhandler_windows::open): Ditto.
* fhandler_zero.cc (fhandler_dev_zero::open): Ditto.
* net.cc (fdsock): Ditto.
* path.cc (path_conv::check): Avoid checking for extension when error or
directory.
(set_flags): Set PATH_TEXT explicitly, when appropriate.
(mount_info::conv_to_win32_path): Use set_flags() to set path flags.
* path.h (PATH_TEXT): New enum.
(path_conv::binmode): Return appropriate constant based on binmode.
* pipe.cc (make_pipe): Set binmode to O_TEXT xor O_BINARY.
* syscalls.cc (setmode_helper): Make debugging message a little clearer.
(setmode): Set binmode via set_flags.

22 years ago*** empty log message ***
gdbadmin [Wed, 5 Jun 2002 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

22 years agodaily update
amodra [Wed, 5 Jun 2002 00:00:05 +0000 (00:00 +0000)]
daily update

22 years ago * include/winnt.h (PACE_HEADER, PACCESS_ALLOWED_ACE,
dannysmith [Tue, 4 Jun 2002 22:41:48 +0000 (22:41 +0000)]
* include/winnt.h (PACE_HEADER, PACCESS_ALLOWED_ACE,
PACCESS_DENIED_ACE): Add typedefs.

22 years ago2002-06-04 Chris Demetriou <cgd@broadcom.com>
cgd [Tue, 4 Jun 2002 22:38:41 +0000 (22:38 +0000)]
2002-06-04  Chris Demetriou  <cgd@broadcom.com>

        * sim-main.h (FGRIDX): Remove, replace all uses with...
        (FGR_BASE): New macro.
        (FP0_REGNUM, FCRCS_REGNUM, FCRIR_REGNUM): New macros.
        (_sim_cpu): Move 'fgr' member to be right before 'fpr_state' member.
        (NR_FGR, FGR): Likewise.
        * interp.c: Replace all uses of FGRIDX with FGR_BASE.
        * mips.igen: Likewise.

22 years ago From Mo Dejong <supermo@bayarea.net>:
kseitz [Tue, 4 Jun 2002 19:16:59 +0000 (19:16 +0000)]
    From Mo Dejong  <supermo@bayarea.net>:
         * itk/generic/itk_archetype.c (ArchComponent, Itk_ArchCompDeleteCmd,
        Itk_CreateArchComponent, Itk_DelArchComponent): Save a copy
        of the window path name in the ArchComponent struct and use
        it in the Itk_ArchCompDeleteCmd method. The old code was
        invoking Tk_PathName(tkwin) on a Tk_Window which lead to
        a memory access on memory that has already been free'd
        when the widget was destroyed.

22 years ago * fhandler.h (class fhandler_socket): Add private method
corinna [Tue, 4 Jun 2002 16:38:11 +0000 (16:38 +0000)]
* fhandler.h (class fhandler_socket): Add private method
fixup_after_fork (bool, HANDLE).
* fhandler_socket.cc (fhandler_socket::fixup_after_fork): Move
functionality to new private method.  Add closing parent socket
if not called from dup().  Create method new calling private method
with appropriate parameter.
(fhandler_socket::fixup_after_exec): Call private method
fixup_after_fork with appropriate parameter.
(fhandler_socket::dup): Ditto.

22 years ago2002-06-04 Chris Demetriou <cgd@broadcom.com>
cgd [Tue, 4 Jun 2002 16:35:24 +0000 (16:35 +0000)]
2002-06-04  Chris Demetriou  <cgd@broadcom.com>

        * cp1.c: Add an FSF Copyright notice to this file.

22 years ago* config/tc-mips.c (mips_after_parse_args): New function.
macro [Tue, 4 Jun 2002 16:33:50 +0000 (16:33 +0000)]
* config/tc-mips.c (mips_after_parse_args): New function.
(md_begin): Move processing of defaults to mips_after_parse_args.
config/tc-mips.h (md_after_parse_args): Define.

22 years ago2002-06-04 Chris Demetriou <cgd@broadcom.com>
cgd [Tue, 4 Jun 2002 16:17:19 +0000 (16:17 +0000)]
2002-06-04  Chris Demetriou  <cgd@broadcom.com>
            Ed Satterthwaite  <ehs@broadcom.com>

        * cp1.c (Infinity): Remove.
        * sim-main.h (Infinity): Likewise.

        * cp1.c (fp_unary, fp_binary): New functions.
        (fp_abs, fp_neg, fp_add, fp_sub, fp_mul, fp_div, fp_recip)
        (fp_sqrt): New functions, implemented in terms of the above.
        (AbsoluteValue, Negate, Add, Sub, Multiply, Divide)
        (Recip, SquareRoot): Remove (replaced by functions above).
        * sim-main.h (fp_abs, fp_neg, fp_add, fp_sub, fp_mul, fp_div)
        (fp_recip, fp_sqrt): New prototypes.
        (AbsoluteValue, Negate, Add, Sub, Multiply, Divide)
        (Recip, SquareRoot): Replace prototypes with #defines which
        invoke the functions above.

22 years ago * ada-exp.tab.c: New file
aidan [Tue, 4 Jun 2002 16:09:25 +0000 (16:09 +0000)]
* ada-exp.tab.c: New file
* ada-exp.y: New file
* ada-lang.c: New file
* ada-lang.h: New file
* ada-lex.c: New file
* ada-lex.l: New file
* ada-tasks.c: New file
* ada-typeprint.c: New file
* ada-valprint.c: New file

22 years agoAdd base ada language files
aidan [Tue, 4 Jun 2002 15:28:46 +0000 (15:28 +0000)]
Add base ada language files

22 years ago * fhandler_dsp.cc (fhandler_dev_dsp::open): Set errno to EACCES if
corinna [Tue, 4 Jun 2002 11:18:42 +0000 (11:18 +0000)]
* fhandler_dsp.cc (fhandler_dev_dsp::open): Set errno to EACCES if
requested mode isn't supported.

22 years ago * elf32-openrisc.c (openrisc_elf_gc_mark_hook): Remove
amodra [Tue, 4 Jun 2002 05:28:52 +0000 (05:28 +0000)]
* elf32-openrisc.c (openrisc_elf_gc_mark_hook): Remove
ATTRIBUTE_UNUSED on used params.
* elf32-vax.c (elf_vax_gc_mark_hook): Remove unnecessary checks
before calling bfd_section_from_elf_index on local syms.
* elf64-sh64.c (sh_elf64_gc_mark_hook): Likewise.

22 years agobfd:
thorpej [Tue, 4 Jun 2002 02:57:35 +0000 (02:57 +0000)]
bfd:
* Makefile.am (BFD32_BACKENDS): Add elf32-sh64-nbsd.lo.
(BFD32_BACKENDS_CFILES): Add elf32-sh64-nbsd.c.
(BFD64_BACKENDS): Add elf64-sh64-nbsd.lo.
(BFD64_BACKENDS_CFILES): Add elf64-sh64-nbsd.c.
(elf32-sh64-nbsd.lo, elf64-sh64-nbsd.lo): New rules.
* Makefile.in: Regenerate.
* config.bfd (sh5le-*-netbsd*, sh5-*-netbsd*, sh64le-*-netbsd*)
(sh64-*-netbsd*): New targets.
* configure.in: Add bfd_elf32_sh64nbsd_vec, bfd_elf32_sh64lnbsd_vec,
bfd_elf64_sh64nbsd_vec, and bfd_elf64_sh64lnbsd_vec.
* configure: Regenerate.
* elf32-sh64-nbsd.c: New file.
* elf64-sh64-nbsd.c: New file.
* targets.c: Add extern decls for bfd_elf32_sh64nbsd_vec,
bfd_elf32_sh64lnbsd_vec, bfd_elf64_sh64nbsd_vec, and
bfd_elf64_sh64lnbsd_vec.

gas:
* configure.in (sh5*): Set cpu_type to sh64 and endian to big.
(sh5le*, sh64le*): Set cpu_type to sh64 and endian to little.
(sh5*-*-netbsd*, sh64*-*-netbsd*): New targets.
* configure: Regenerate.
* config/tc-sh64.c (sh64_target_format): Add support for NetBSD
environment.

ld:
* Makefile.am (ALL_EMULATIONS): Add eshelf32_nbsd.o,
eshlelf32_nbsd.o, eshelf64_nbsd.o, and eshlelf64_nbsd.o.
(eshelf32_nbsd.c, eshelf64_nbsd.c, eshlelf32_nbsd.c)
(eshlelf64_nbsd.c): New rules.
* Makefile.in: Regenerate.
* configure.tgt (sh5le-*-netbsd*, sh5-*-netbsd*, sh64le-*-netbsd*)
(sh64-*-netbsd*): New targets.
* emulparams/shelf32_nbsd.sh: New file.
* emulparams/shelf64_nbsd.sh: New file.
* emulparams/shlelf32_nbsd.sh: New file.
* emulparams/shlelf64_nbsd.sh: New file.

opcodes:
* configure.in: Add "sh5*-*" to list of targets which include
sh64 support.
* configure: Regenerate.

22 years ago* config/tc-sh64.h (MD_PCREL_FROM_SECTION): Undef before redefining.
thorpej [Tue, 4 Jun 2002 02:45:49 +0000 (02:45 +0000)]
* config/tc-sh64.h (MD_PCREL_FROM_SECTION): Undef before redefining.

22 years ago* fhandler.cc (fhandler_base::open): Don't set binmode if already set. Don't
cgf [Tue, 4 Jun 2002 01:40:53 +0000 (01:40 +0000)]
* fhandler.cc (fhandler_base::open): Don't set binmode if already set.  Don't
check for file.  Files should already be set.  Report on binary mode for
debugging.
(fhandler_base::fhandler_base): Don't set default binmode here.  That's for
later.
* fhandler_console.cc (fhandler_console::output_tcsetattr): Don't set binmode,
ever, for console.
* fhandler_disk_file.cc (fhandler_disk_file::open): Always set the binary mode
to the value derived from mount table.
* path.cc (mount_info::conv_to_win32_path): Default to binmode if path does not
translate into anything in the mount table.

22 years ago2002-06-03 Chris Demetriou <cgd@broadcom.com>
cgd [Tue, 4 Jun 2002 01:35:23 +0000 (01:35 +0000)]
2002-06-03  Chris Demetriou  <cgd@broadcom.com>

        * sim-main.h (Nan, Infinity, Less, Equal, AbsoluteValue, Negate)
        (Add, Sub, Multiply, Divide, Recip, SquareRoot): Move lower in
        file, remove PARAMS from prototypes.
        (value_fpr, store_fpr, convert): Likewise.  Use SIM_STATE to provide
        simulator state arguments.
        (ValueFPR, StoreFPR, Convert): Move lower in file.  Use SIM_ARGS to
        pass simulator state arguments.
        * cp1.c (SD): Redefine as CPU_STATE(cpu).
        (store_fpr, convert): Remove 'sd' argument.
        (value_fpr): Likewise.  Convert to use 'SD' instead.

22 years ago* umount.cc (version): New global variable.
cgf [Tue, 4 Jun 2002 01:31:28 +0000 (01:31 +0000)]
* umount.cc (version): New global variable.
(longopts): Accommodate new --version option.
(opts): Ditto.
(usage): Standardize usage output.
(print_version): New function.
(main): Accommodate --help, --version options.

22 years ago * ldlang.c (section_already_linked): Call bfd_discard_group. Typo fix.
amodra [Tue, 4 Jun 2002 01:07:28 +0000 (01:07 +0000)]
* ldlang.c (section_already_linked): Call bfd_discard_group.  Typo fix.

22 years ago * config/obj-elf.c (obj_elf_change_section): Set and check elf
amodra [Tue, 4 Jun 2002 01:06:15 +0000 (01:06 +0000)]
* config/obj-elf.c (obj_elf_change_section): Set and check elf
linkonce flag.  Print all warnings.
(obj_elf_section): Parse ",comdat" for groups.
(elf_frob_file): Set SEC_LINK_ONCE on COMDAT groups.  Check
consistency of comdat flag.

22 years ago * elf.c (setup_group): Set SEC_LINK_ONCE on GRP_COMDAT groups.
amodra [Tue, 4 Jun 2002 01:05:18 +0000 (01:05 +0000)]
* elf.c (setup_group): Set SEC_LINK_ONCE on GRP_COMDAT groups.
(bfd_section_from_shdr): Likewise.  Set section name of group
sections from signature.
(group_signature): Split out from setup_group.  Ensure symbol table
is available.
(bfd_elf_discard_group): New function.
(_bfd_elf_make_section_from_shdr): Don't set SEC_LINK_ONCE on
.gnu.linkonce* sections if they are members of a group.
(set_group_contents): Set GRP_COMDAT flag.
* section.c (bfd_discard_group): New function.
* bfd-in.h (bfd_elf_discard_group): Declare.
* bfd-in2.h: Regenerate.
* elf-bfd.h (struct bfd_elf_section_data): Add linkonce_p field.
(elf_linkonce_p): Define.

22 years ago * elf.c (bfd_section_from_shdr): Make "name" const.
amodra [Tue, 4 Jun 2002 00:51:04 +0000 (00:51 +0000)]
* elf.c (bfd_section_from_shdr): Make "name" const.
* elf-bfd.h (elf_backend_section_from_shdr): Likewise.
* elf32-i370.c (i370_elf_section_from_shdr): Likewise.
* elf32-ppc.c (ppc_elf_section_from_shdr): Likewise.
* elf32-sh64.c (sh64_backend_section_from_shdr): Likewise.
* elf32-v850.c (v850_elf_section_from_shdr): Likewise.
* elf64-alpha.c (elf64_alpha_section_from_shdr): Likewise.
* elf64-hppa.c (elf64_hppa_section_from_shdr): Likewise.
* elf64-ppc.c (ppc64_elf_section_from_shdr): Likewise.
* elfxx-ia64.c (elfNN_ia64_section_from_shdr): Likewise.
* elfxx-mips.c (_bfd_mips_elf_section_from_shdr): Likewise.
* elfxx-mips.h (_bfd_mips_elf_section_from_shdr): Likewise.

22 years ago2002-06-03 Chris Demetriou <cgd@broadcom.com>
cgd [Tue, 4 Jun 2002 00:18:46 +0000 (00:18 +0000)]
2002-06-03  Chris Demetriou  <cgd@broadcom.com>

        * cp1.c (Min, Max): Remove #if 0'd functions.
        * sim-main.h (Min, Max): Remove.

22 years ago*** empty log message ***
gdbadmin [Tue, 4 Jun 2002 00:00:06 +0000 (00:00 +0000)]
*** empty log message ***

22 years agodaily update
amodra [Tue, 4 Jun 2002 00:00:04 +0000 (00:00 +0000)]
daily update

22 years ago2002-06-03 Chris Demetriou <cgd@broadcom.com>
cgd [Mon, 3 Jun 2002 22:30:52 +0000 (22:30 +0000)]
2002-06-03  Chris Demetriou  <cgd@broadcom.com>

        * cp1.c: fix formatting of switch case and default labels.
        * interp.c: Likewise.
        * sim-main.c: Likewise.

22 years ago2002-06-03 Chris Demetriou <cgd@broadcom.com>
cgd [Mon, 3 Jun 2002 22:05:15 +0000 (22:05 +0000)]
2002-06-03  Chris Demetriou  <cgd@broadcom.com>

* cp1.c: Clean up comments which describe FP formats.
 (FPQNaN_DOUBLE, FPQNaN_LONG): Generate using UNSIGNED64.

22 years ago2002-06-03 Chris Demetriou <cgd@broadcom.com>
cgd [Mon, 3 Jun 2002 21:00:28 +0000 (21:00 +0000)]
2002-06-03  Chris Demetriou  <cgd@broadcom.com>
            Ed Satterthwaite  <ehs@broadcom.com>

* configure.in (mipsisa64sb1*-*-*): New target for supporting
Broadcom SiByte SB-1 processor configurations.
* configure: Regenerate.
* sb1.igen: New file.
* mips.igen: Include sb1.igen.
(sb1): New model.
* Makefile.in (IGEN_INCLUDE): Add sb1.igen.
* mdmx.igen: Add "sb1" model to all appropriate functions and
instructions.
* mdmx.c (AbsDiffOB, AvgOB, AccAbsDiffOB): New functions.
(ob_func, ob_acc): Reference the above.
(qh_acc): Adjust to keep the same size as ob_acc.
* sim-main.h (status_SBX, MX_VECT_ABSD, MX_VECT_AVG, MX_AbsDiff)
(MX_Avg, MX_VECT_ABSDA, MX_AbsDiffC): New macros.

22 years ago2002-06-03 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Mon, 3 Jun 2002 20:00:37 +0000 (20:00 +0000)]
2002-06-03  Jeff Johnston  <jjohnstn@redhat.com>

        * gloss.cxx (gloss32::gloss32): Add "state-snapshot" attribute.
        Also Add new attribute "exit-code" which points to the exit code.
        Set initial value to 0.
        (gloss32::setup_fds): New method that sets up fds.
        (gloss32::reset): Code moved to setup_fds.  New code is call to
        setup_fds(). Set initial exit code to 0.
        (gloss32::stream_state): New method to save state.
        (gloss32::destream_state): New method to restore state.
        (gloss32::do_sys_exit): Set exit_code with
        exit value.
        (operator <<, operator >>): New functions to stream/destream
        gloss32.
        * gloss.h (gloss32): Add setup_fds, stream_state, and destream_state
        prototypes as well as declaring operator << and operator >> friends.
        (gloss32::exit_code): New variable.

22 years ago* elfxx-mips.c (ABI_64_P): Use backend's data to determine the
macro [Mon, 3 Jun 2002 18:42:54 +0000 (18:42 +0000)]
* elfxx-mips.c (ABI_64_P): Use backend's data to determine the
ABI.

22 years ago2002-06-03 Chris Demetriou <cgd@broadcom.com>
cgd [Mon, 3 Jun 2002 18:35:19 +0000 (18:35 +0000)]
2002-06-03  Chris Demetriou  <cgd@broadcom.com>

        * Makefile.in (IGEN_INCLUDE): Add mdmx.igen.

22 years ago * external.cc (cygwin_internal): Add CW_EXTRACT_DOMAIN_AND_USER
corinna [Mon, 3 Jun 2002 17:56:07 +0000 (17:56 +0000)]
* external.cc (cygwin_internal): Add CW_EXTRACT_DOMAIN_AND_USER
handling to call extract_nt_dom_user() from applications.
* include/sys/cygwin.h (cygwin_getinfo_types): Add
CW_EXTRACT_DOMAIN_AND_USER.

22 years ago * libc/include/sys/types.h: Don't define dev_t when compiling for
corinna [Mon, 3 Jun 2002 17:48:05 +0000 (17:48 +0000)]
* libc/include/sys/types.h: Don't define dev_t when compiling for
Cygwin.

22 years ago * syscalls.cc (stat64_to_stat32): Transform st_dev correctly.
corinna [Mon, 3 Jun 2002 17:44:05 +0000 (17:44 +0000)]
* syscalls.cc (stat64_to_stat32): Transform st_dev correctly.
(fstat64): Add evaluating st_ino and st_dev.
(stat_worker): Evaluate st_dev as 32 bit value.
* include/cygwin/stat.h: Use new dev_t definition throughout.
* include/cygwin/types.h: Define __dev16_t and __dev32_t.  Define
dev_t according to __CYGWIN_USE_BIG_TYPES__ setting.
* include/sys/sysmacros.h: Define major, minor and makedev
according to __CYGWIN_USE_BIG_TYPES__ setting.

22 years ago * syscalls.cc (setegid32): Verify the correctness of the gid
corinna [Mon, 3 Jun 2002 17:11:13 +0000 (17:11 +0000)]
* syscalls.cc (setegid32): Verify the correctness of the gid
of the group returned by getgrgid32.

22 years ago * security.cc (lsa2wchar): Suppressed.
corinna [Mon, 3 Jun 2002 17:04:02 +0000 (17:04 +0000)]
* security.cc (lsa2wchar): Suppressed.
(get_lsa_srv_inf): Suppressed.
(get_logon_server_and_user_domain): Suppressed.
(get_logon_server): Essentially new.
(get_user_groups): Add "domain" argument. Only lookup the
designated server and use "domain" in LookupAccountName.
(is_group_member): Simplify the arguments.
(get_user_local_groups): Simplify the arguments. Do only a
local lookup. Use "BUILTIN" and local domain in LookupAccountName.
(get_user_primary_group). Only lookup the designated server.
(get_group_sidlist): Remove logonserver argument. Do not lookup
any server for the SYSTEM account.
(create_token): Delete logonserver and call to get_logon_server.
Adjust arguments of get_group_sidlist, see above.
* security.h: Delete declaration of get_logon_server_and_user_domain
and add declaration of get_logon_server.
* uinfo.cc (internal_get_login): Call get_logon_server instead of
get_logon_server_and_user_domain.

22 years ago * gen-engine.c (print_run_body): Avoid multi-line strings.
rth [Mon, 3 Jun 2002 16:04:30 +0000 (16:04 +0000)]
    * gen-engine.c (print_run_body): Avoid multi-line strings.
        * lf.c (lf_print__gnu_copyleft): Likewise.

22 years ago* typo fix.
bje [Mon, 3 Jun 2002 13:25:38 +0000 (13:25 +0000)]
* typo fix.

22 years ago * objdump.c: Fix formatting.
amodra [Mon, 3 Jun 2002 13:02:04 +0000 (13:02 +0000)]
* objdump.c: Fix formatting.

22 years ago2005-06-02 H.J. Lu <hjl@gnu.org>
hjl [Mon, 3 Jun 2002 04:56:51 +0000 (04:56 +0000)]
2005-06-02  H.J. Lu <hjl@gnu.org>

* ld-srec/sr3.cc (__dso_handle): Added for gcc 3.1 with
-fuse-cxa-atexit.
(__cxa_atexit): Likewise.

22 years ago* regtool.cc (prog_name): New global variable.
cgf [Mon, 3 Jun 2002 02:57:55 +0000 (02:57 +0000)]
* regtool.cc (prog_name): New global variable.
(longopts): Ditto.
(opts): Ditto.
(usage): Standardize usage output.  Rearrange/add descriptions.
(print_version): New function.
(main): Accomodate longopts and new --help, --version options.  Add check for
(_argv[optind+1] == NULL).

22 years ago * elf32-arc.c: Fix formatting.
kazu [Mon, 3 Jun 2002 01:57:08 +0000 (01:57 +0000)]
* elf32-arc.c: Fix formatting.
* elf32-arm.h: Likewise.
* elf32-cris.c: Likewise.
* elf32-dlx.c: Likewise.
* elf32-hppa.c: Likewise.
* elf32-i386.c: Likewise.
* elf32-i386qnx.c: Likewise.
* elf32-or32.c: Likewise.
* elf32-s390.c: Likewise.
* elf32-sh64.c: Likewise.
* elf32-vax.c: Likewise.
* elf32-xstormy16.c: Likewise.
* elf64-alpha.c: Likewise.
* elf64-mmix.c: Likewise.
* elf64-ppc.c: Likewise.
* elf64-s390.c: Likewise.
* elf64-sh64.c: Likewise.
* elf64-x86-64.c: Likewise.

22 years agoUse current date in ChangeLog entry.
ezannoni [Mon, 3 Jun 2002 00:47:14 +0000 (00:47 +0000)]
Use current date in ChangeLog entry.

22 years ago2002-05-28 Elena Zannoni <ezannoni@redhat.com>
ezannoni [Mon, 3 Jun 2002 00:36:02 +0000 (00:36 +0000)]
2002-05-28  Elena Zannoni  <ezannoni@redhat.com>

        From Jason Eckhardt <jle@redhat.com>
        * d10v_sim.h (INC_ADDR): Correctly handle the case where MOD_E is
        less than MOD_S (post-decrement).

22 years ago*** empty log message ***
gdbadmin [Mon, 3 Jun 2002 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

22 years agodaily update
amodra [Mon, 3 Jun 2002 00:00:05 +0000 (00:00 +0000)]
daily update

22 years ago * lib/thunk32.def (LIBRARY): Change to KERNEL32.dll.
dannysmith [Sun, 2 Jun 2002 22:54:39 +0000 (22:54 +0000)]
* lib/thunk32.def (LIBRARY): Change to KERNEL32.dll.

* lib/kernel32.def (ConvertToGlobalHandle): Add stub.

22 years ago* ppcnbsd-tdep.c (ppcnbsd_init_abi): Don't set
thorpej [Sun, 2 Jun 2002 20:28:56 +0000 (20:28 +0000)]
* ppcnbsd-tdep.c (ppcnbsd_init_abi): Don't set
use_struct_convention to ppc_sysv_abi_broken_use_struct_convention.

22 years ago* config/rs6000/aix4.mt (TDEPFILES): Use ppc-sysv-tdep.o
thorpej [Sun, 2 Jun 2002 17:50:38 +0000 (17:50 +0000)]
* config/rs6000/aix4.mt (TDEPFILES): Use ppc-sysv-tdep.o
insetead of ppc-linux-tdep.o.
* config/rs6000/rs6000.mt (TDEPFILES): Likewise.
* config/rs6000/rs6000lynx.mt (TDEPFILES): Likewise.

22 years ago* dtable.cc (handle_to_fn): Use largest match for device. Correctly
cgf [Sun, 2 Jun 2002 17:48:04 +0000 (17:48 +0000)]
* dtable.cc (handle_to_fn): Use largest match for device.  Correctly
(?) deal with remote drive weirdness.

22 years ago* strace.cc (forkdebug): Make true by default.
cgf [Sun, 2 Jun 2002 17:46:38 +0000 (17:46 +0000)]
* strace.cc (forkdebug): Make true by default.
(attach_process): Use window pid if cygwin pid isn't available (yet).
(create_child): Use either DEBUG_ONLY_THIS_PROCESS or DEBUG_PROCESS,
exclusively.  (Suggested by Conrad.Scott@dsl.pipex.com)

22 years ago* fhandler_disk_file.cc (fhandler_disk_file::fstat_by_name): Check specifically
cgf [Sun, 2 Jun 2002 16:53:29 +0000 (16:53 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::fstat_by_name): Check specifically
for non-existent file, first.
(fhandler_disk_file::fstat): Perform fd open on files with funny characters.

22 years ago* fhandler_process.cc (fhandler_process::open): Set fileid.
cgf [Sun, 2 Jun 2002 16:42:02 +0000 (16:42 +0000)]
* fhandler_process.cc (fhandler_process::open): Set fileid.

22 years agoOutput tweaks.
cagney [Sun, 2 Jun 2002 15:37:55 +0000 (15:37 +0000)]
Output tweaks.

22 years ago * config/tc-alpha.c (alpha_adjust_symtab_relocs): Fix thinko
rth [Sun, 2 Jun 2002 08:36:08 +0000 (08:36 +0000)]
    * config/tc-alpha.c (alpha_adjust_symtab_relocs): Fix thinko
        with LITERALs without sequence numbers.

22 years ago * elf64-alpha.c (elf64_alpha_relocate_section): Don't dereference
rth [Sun, 2 Jun 2002 08:35:51 +0000 (08:35 +0000)]
    * elf64-alpha.c (elf64_alpha_relocate_section): Don't dereference
        null when there are no got entries for a symbol.
        (elf64_alpha_relax_find_tls_segment): Rearrange to avoid
        uninitialized variable warning.