OSDN Git Service

pf3gnuchains/sourceware.git
22 years ago2001-10-24 Christopher Faylor <cgf@redhat.com>
jjohnstn [Wed, 24 Oct 2001 18:10:28 +0000 (18:10 +0000)]
2001-10-24  Christopher Faylor  <cgf@redhat.com>

        * libc/stdio/fseek.c: Reset pointer to buffer base
        when forced to seek outside of current buffer contents.
        This prevents the code from erroneously thinking there is
        anything in the current buffer.

22 years ago(start_psymtab_common): Revert change accidentally included in last
jimb [Wed, 24 Oct 2001 17:13:12 +0000 (17:13 +0000)]
(start_psymtab_common): Revert change accidentally included in last
commit.

22 years agoIsolate STABS readers' use of the `textlow' and `texthigh' fields
jimb [Wed, 24 Oct 2001 17:10:18 +0000 (17:10 +0000)]
Isolate STABS readers' use of the `textlow' and `texthigh' fields
of `struct partial_symtab' to only a few locations.  This change
is not supposed to affect the way the values are computed, only
where they live.

* dbxread.c (struct symloc): Add `textlow' and `texthigh' fields
to the reader-specific structure.
* mdebugread.c (struct symloc): Same.
* dbxread.c (TEXTLOW, TEXTHIGH): New accessor macros.
* mdebugread.c (TEXTLOW, TEXTHIGH): Same.
* dbxread.c (dbx_symfile_read): After we've built all our partial
symbol tables, set each partial symtab's `textlow' and `texthigh'
fields from our reader-specific structure.
* mdebugread.c (mdebug_build_psymtabs): Same.
* dbxread.c (start_psymtab): Initialize the reader-specific
structure's `textlow' and `texthigh' from the new psymtab's.
* mdebugread.c (parse_partial_symbols, new_psymtab): Same.
* dbxread.c (read_dbx_symtab, end_psymtab, read_ofile_symtab): Use
the reader-specific `textlow' and `texthigh', not the generic
psymtab fields.
* mdebugread.c (parse_lines, parse_partial_symbols,
psymtab_to_symtab_1): Same.
* partial-stab.h: Same.

22 years agoRemove merge conflict indicator.
cgf [Wed, 24 Oct 2001 15:40:24 +0000 (15:40 +0000)]
Remove merge conflict indicator.

22 years agoEnsure that all fhandler_*::read definitions are __stdcall throughout.
cgf [Wed, 24 Oct 2001 04:16:44 +0000 (04:16 +0000)]
Ensure that all fhandler_*::read definitions are __stdcall throughout.
* fhandler.cc (fhandler_base::set_inheritance): Be more defensive in debugging
code.
* fhandler.h: Adjust regparms throughout to reflect passing 'this' parameter.
* fhandler_console.cc (fhandler_console::read): Remove unneeded test.  Only
honor "key down" events.
* miscfuncs.cc (strcasestr): Reorganize for efficient code use.
(check_null_empty_str_errno): Ditto.
(__check_null_invalid_struct_errno): Ditto.
(__check_invalid_read_ptr_errno): Ditto.
* syscalls.cc (_read): Return 0 when length == 0, as per Single UNIX
Specification.

22 years ago * elf32-cris.c (cris_reloc_type_lookup): Change loop to use
hp [Wed, 24 Oct 2001 03:39:53 +0000 (03:39 +0000)]
* elf32-cris.c (cris_reloc_type_lookup): Change loop to use
unsigned, increasing index.

22 years agoFix -Wformat for hpux.
cagney [Wed, 24 Oct 2001 02:53:47 +0000 (02:53 +0000)]
Fix -Wformat for hpux.

22 years agoTweeks for HP/UX and -Werror.
cagney [Wed, 24 Oct 2001 01:19:11 +0000 (01:19 +0000)]
Tweeks for HP/UX and -Werror.

22 years agodaily update
amodra [Wed, 24 Oct 2001 00:00:35 +0000 (00:00 +0000)]
daily update

22 years ago*** empty log message ***
gdbadmin [Wed, 24 Oct 2001 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago2001-10-23 H.J. Lu <hjl@gnu.org>
hjl [Tue, 23 Oct 2001 20:24:22 +0000 (20:24 +0000)]
2001-10-23  H.J. Lu <hjl@gnu.org>

* elf32-mips.c (_bfd_mips_elf_modify_segment_map): Check
m != NULL before accessing it.

22 years ago[opcodes/ChangeLog]
cgd [Tue, 23 Oct 2001 19:20:27 +0000 (19:20 +0000)]
[opcodes/ChangeLog]

2001-10-21  Chris Demetriou  <cgd@broadcom.com>

        * mips-opc.c (mips_builtin_opcodes): Mark "bgezall" and
        "bltzall" as writing GPR 31 (since they do).

        * mips-dis.c (print_insn_arg): Calculate info->target
        where appropriate.
        (print_insn_mips): Fill in instruction info.
        (print_mips16_insn_arg): Remove unneded variable 'val'.
        Removed duplicated instruction target calculations,
        calculate once and print that result.  Use same idiom for
        masking the jump segment bits as is used in print_insn_arg.

[gas/testsuite/ChangeLog]

2001-10-21  Chris Demetriou  <cgd@broadcom.com>

        * gas/mips/beq.s: Add zero words at end of instructions so
        that objdump will print "..." when disassembling.
        * gas/mips/beq.d: Update for disassembler changes which force
        branch delay-slot nops to be printed.
        * gas/mips/bge.d: Ditto.
        * gas/mips/bgeu.d: Ditto.
        * gas/mips/blt.d: Ditto.
        * gas/mips/bltu.d: Ditto.
        * gas/mips/jal-svr4pic.d: Ditto.
        * gas/mips/jal-xgot.d: Ditto.

22 years ago * libc/include/math.h: The C++ standard adds the single-precision
geoffk [Tue, 23 Oct 2001 17:43:15 +0000 (17:43 +0000)]
* libc/include/math.h: The C++ standard adds the single-precision
versions of the elementary functions.

22 years agomerge from gcc
dj [Tue, 23 Oct 2001 15:32:45 +0000 (15:32 +0000)]
merge from gcc

22 years agomerge from gcc
dj [Tue, 23 Oct 2001 15:31:55 +0000 (15:31 +0000)]
merge from gcc

22 years ago * configure.host: Move alpha*-*-linux-gnu* entry to generic
amodra [Tue, 23 Oct 2001 05:49:01 +0000 (05:49 +0000)]
* configure.host: Move alpha*-*-linux-gnu* entry to generic
entries, and match *-*-linux*.

22 years ago * internal.h: White space changes to keep lines under 80 chars.
amodra [Tue, 23 Oct 2001 04:42:12 +0000 (04:42 +0000)]
* internal.h: White space changes to keep lines under 80 chars.

22 years ago * as.c (parse_args): Print the date as well for --version.
amodra [Tue, 23 Oct 2001 04:30:21 +0000 (04:30 +0000)]
* as.c (parse_args): Print the date as well for --version.

22 years ago * elflink.h (elf_link_input_bfd): Zero the reloc instead of doing
amodra [Tue, 23 Oct 2001 03:55:23 +0000 (03:55 +0000)]
* elflink.h (elf_link_input_bfd): Zero the reloc instead of doing
bfd_reloc_type_lookup (bfd, BFD_RELOC_NONE) as bfd_reloc_type_lookup
doesn't accept BFD_RELOC_* on some targets, eg. hppa.

* elf32-hppa.c (elf32_hppa_link_hash_entry): Remove plt_abs.
(hppa_link_hash_newfunc): Likewise.
(elf32_hppa_finish_dynamic_symbol): Likewise.
(allocate_dynrelocs): Always allocate .got relocs if shared.
(elf32_hppa_relocate_section): Output them too.  Similarly
consolidate .plt reloc code, and no longer initialise .plt
when a reloc is output.
(elf32_hppa_finish_dynamic_symbol): Only initialise .plt entries
when no reloc is output.

From Herbert Xu <herbert@gondor.apana.org.au>
* elf32-hppa.c (final_link_relocate): Call bfd_set_error for
unreachable branches.

22 years ago*** empty log message ***
gdbadmin [Tue, 23 Oct 2001 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

22 years agodaily update
amodra [Tue, 23 Oct 2001 00:00:04 +0000 (00:00 +0000)]
daily update

22 years ago* debug.cc (set_errno): Return value of errno that was set, just like the
cgf [Mon, 22 Oct 2001 21:09:40 +0000 (21:09 +0000)]
* debug.cc (set_errno): Return value of errno that was set, just like the
macro.
(setclexec_pid): Replace old handle with new handle.
* debug.h: Reflect change in arguments for setclexec_pid.
* fhandler.cc (fhandler_base::set_inheritance): Ditto.
(fhandler_base::fork_fixup): Ditto.
* cygerrno.h: Reflect return value change for set_errno.

22 years ago* function ++, cleanup
fche [Mon, 22 Oct 2001 19:48:44 +0000 (19:48 +0000)]
* function ++, cleanup

2001-10-22  Frank Ch. Eigler  <fche@redhat.com>

* cache.cxx (flush_all): New function.  Associate with "flush-all" pin.
* cacheutil.cxx (find_any_dirty): New functions.
* cache.h, cacheutil.h: Relevant changes.
Warning cleanups throughout.
* hw-cache.xml (flush-all): Document new pin.
* hw-cache-txt: Regenerated.

22 years ago2001-10-22 H.J. Lu <hjl@gnu.org>
hjl [Mon, 22 Oct 2001 18:45:32 +0000 (18:45 +0000)]
2001-10-22  H.J. Lu <hjl@gnu.org>

* configure.in (WIN32LIBADD): Use -L../libiberty for
mips*-*-linux*.
* configure: Rebuild.

22 years agoRemove 'cb' parameter and modify fhandler_* constructors throughout.
cgf [Mon, 22 Oct 2001 18:39:21 +0000 (18:39 +0000)]
Remove 'cb' parameter and modify fhandler_* constructors throughout.
* dtable.cc (dtable::build_fhandler): Remove debugging output which uses 'cb'.
* exec.cc (execvp): New function.
(execvpe): Ditto.
* fhandler.cc (fhandler_base::fhandler_base): Use constructor initialization.
* fhandler.h (fhandler_tty_common::fhandler_tty_common): Ditto.
* fhandler_clipboard.cc (fhandler_dev_clipboard::fhandler_dev_clipboard):
Ditto.
* fhandler_console.cc (fhandler_console::fhandler_console): Ditto.
* fhandler_raw.cc (fhandler_dev_raw::fhandler_dev_raw): Ditto.
* fhandler_serial.cc (fhandler_serial::fhandler_serial): Ditto.
* fhandler_tty.cc (fhandler_tty_master::fhandler_tty_master): Ditto.
(fhandler_tty_slave::fhandler_tty_slave): Ditto.
(fhandler_pty_master::fhandler_pty_master): Ditto.
* fhandler_windows.cc (fhandler_windows::fhandler_windows): Ditto.

22 years ago Patch suggested by Ian Ray <ian.ray@nokia.com>:
corinna [Mon, 22 Oct 2001 18:30:59 +0000 (18:30 +0000)]
Patch suggested by Ian Ray <ian.ray@nokia.com>:
* syscalls.cc (seteuid): Unset environment variables HOMEDRIVE and
HOMEPATH before calling internal_getlogin().
* uinfo.cc (internal_getlogin): Use default HOMEPATH and HOMEDRIVE
from environment if both are present, else query NetUserGetInfo().

22 years ago* libc/posix/execvp.c: Remove obsolete CYGWIN32 considerations throughout.
cgf [Mon, 22 Oct 2001 16:40:26 +0000 (16:40 +0000)]
* libc/posix/execvp.c: Remove obsolete CYGWIN32 considerations throughout.
* signal.h: Change comment to reflect __CYGWIN__ rather than __CYGWIN32__.
* popen.c (popen): Use __CYGWIN_ rather than __CYGWIN32__.
* system.c (_system_r): Ditto.

22 years ago * net.cc (get_2k_ifconf): Change multiple IP address naming scheme
corinna [Mon, 22 Oct 2001 12:23:32 +0000 (12:23 +0000)]
    * net.cc (get_2k_ifconf): Change multiple IP address naming scheme
        to Linux style.

Patch by Alexander Gottwald <ago@informatik.tu-chemnitz.de>:
        * net.cc (get_2k_ifconf): Added support for multiple IP addresses on
        one interface.

22 years ago * miscfuncs.cc (__check_invalid_read_ptr_errno): Return error, if any.
corinna [Mon, 22 Oct 2001 11:31:38 +0000 (11:31 +0000)]
* miscfuncs.cc (__check_invalid_read_ptr_errno): Return error, if any.

22 years ago2001-10-21 H.J. Lu <hjl@gnu.org>
hjl [Mon, 22 Oct 2001 00:40:48 +0000 (00:40 +0000)]
2001-10-21  H.J. Lu <hjl@gnu.org>

* configure.in (WIN32LIBADD): Include -L../libiberty/pic -liberty
if shared library is enabled only for Linux hosts.
* configure: Rebuild.

22 years ago* resource.cc (fill_rusage): Perform paranoid zero structure passed to
cgf [Mon, 22 Oct 2001 00:10:45 +0000 (00:10 +0000)]
* resource.cc (fill_rusage): Perform paranoid zero structure passed to
GetProcessMemoryInfo.

22 years ago*** empty log message ***
gdbadmin [Mon, 22 Oct 2001 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

22 years agodaily update
amodra [Mon, 22 Oct 2001 00:00:04 +0000 (00:00 +0000)]
daily update

22 years ago* autoload.cc: Autoload GetProcessMemoryInfo.
cgf [Sun, 21 Oct 2001 23:44:43 +0000 (23:44 +0000)]
* autoload.cc: Autoload GetProcessMemoryInfo.
* resource.cc (fill_rusage): Calculate ru_maxrss and ru_majflt entries.
(Bug report on this from Guido Serassio in the squid project).  This requires
including psapi.h.

22 years agoDon't print ``(MI_OUT)'' at startup.
cagney [Sun, 21 Oct 2001 19:43:40 +0000 (19:43 +0000)]
Don't print ``(MI_OUT)'' at startup.

22 years agoUpdate makefile.in dependencies. Add header wrappers.
cagney [Sun, 21 Oct 2001 19:20:29 +0000 (19:20 +0000)]
Update makefile.in dependencies.  Add header wrappers.

22 years agoAdd explicit #include of "value.h".
cagney [Sun, 21 Oct 2001 17:19:36 +0000 (17:19 +0000)]
Add explicit #include of "value.h".

22 years ago2001-10-21 H.J. Lu <hjl@gnu.org>
hjl [Sun, 21 Oct 2001 17:14:08 +0000 (17:14 +0000)]
2001-10-21  H.J. Lu <hjl@gnu.org>

* configure.in (WIN32LIBADD): Check if PICFLAG is defined in
../libiberty/Makefile instead of $enable_shared.
* configure: Rebuild.

22 years ago* infptrace.c (child_xfer_memory): Fix a few coding standards
kettenis [Sun, 21 Oct 2001 14:53:46 +0000 (14:53 +0000)]
* infptrace.c (child_xfer_memory): Fix a few coding standards
violations.

22 years ago * config/djgpp/README: Fix a typo and tweak for GDB 5.1.
eliz [Sun, 21 Oct 2001 14:21:03 +0000 (14:21 +0000)]
* config/djgpp/README: Fix a typo and tweak for GDB 5.1.

22 years ago2001-10-21 H.J. Lu <hjl@gnu.org>
hjl [Sun, 21 Oct 2001 07:23:24 +0000 (07:23 +0000)]
2001-10-21  H.J. Lu <hjl@gnu.org>

* elf32-cris.c (cris_reloc_type_lookup): Use int for index.

22 years ago2001-10-20 H.J. Lu <hjl@gnu.org>
hjl [Sun, 21 Oct 2001 06:51:02 +0000 (06:51 +0000)]
2001-10-20  H.J. Lu <hjl@gnu.org>

* configure.in (WIN32LIBADD): Include -L../libiberty/pic -liberty
if shared library is enabled.
* configure: Rebuild.

22 years ago2001-10-20 H.J. Lu <hjl@gnu.org>
hjl [Sun, 21 Oct 2001 06:16:43 +0000 (06:16 +0000)]
2001-10-20  H.J. Lu  <hjl@gnu.org>

* gas/elf/ehopt0.s: Lose ",@progbits".

22 years ago2001-10-20 Chris Demetriou <cgd@broadcom.com>
cgd [Sun, 21 Oct 2001 05:58:52 +0000 (05:58 +0000)]
2001-10-20  Chris Demetriou  <cgd@broadcom.com>

        * config/tc-mips.c (md_show_usage): Print "sb1" for Broadcom
        SB-1 CPU for consistency.
        (mips_cpu_info_table): Tweak comment about SB-1.

22 years ago* dll_init.cc (dll_list::alloc): Increase retry count to 1000.
cgf [Sun, 21 Oct 2001 03:38:41 +0000 (03:38 +0000)]
* dll_init.cc (dll_list::alloc): Increase retry count to 1000.

22 years agos/value_ptr/struct value */
cagney [Sun, 21 Oct 2001 01:57:42 +0000 (01:57 +0000)]
s/value_ptr/struct value */

22 years ago* cp-abi.h, hpacc-abi.c, gnu-v2-abi.c, cp-abi.c: Ditto.
cagney [Sun, 21 Oct 2001 01:06:24 +0000 (01:06 +0000)]
* cp-abi.h, hpacc-abi.c, gnu-v2-abi.c, cp-abi.c: Ditto.

22 years agomerge from gcc
dj [Sun, 21 Oct 2001 00:08:22 +0000 (00:08 +0000)]
merge from gcc

22 years ago*** empty log message ***
gdbadmin [Sun, 21 Oct 2001 00:00:35 +0000 (00:00 +0000)]
*** empty log message ***

22 years agodaily update
amodra [Sun, 21 Oct 2001 00:00:04 +0000 (00:00 +0000)]
daily update

22 years ago* breakpoint.h, breakpoint.c: Ditto.
cagney [Sat, 20 Oct 2001 23:54:29 +0000 (23:54 +0000)]
* breakpoint.h, breakpoint.c: Ditto.

22 years ago2001-10-20 H.J. Lu <hjl@gnu.org>
hjl [Sat, 20 Oct 2001 23:16:17 +0000 (23:16 +0000)]
2001-10-20  H.J. Lu <hjl@gnu.org>

* elf32-cris.c (cris_reloc_type_lookup): Allow index 0.

22 years agos/value_ptr/struct value */
cagney [Sat, 20 Oct 2001 22:43:25 +0000 (22:43 +0000)]
s/value_ptr/struct value */

22 years ago2001-10-20 H.J. Lu <hjl@gnu.org>
hjl [Sat, 20 Oct 2001 22:41:08 +0000 (22:41 +0000)]
2001-10-20  H.J. Lu  <hjl@gnu.org>

* config/tc-arm.c (do_c_shift): Use ISDIGIT instead of isdigit.
(cirrus_parse_offset): Likewise.

22 years ago*** empty log message ***
gdbadmin [Sat, 20 Oct 2001 20:00:04 +0000 (20:00 +0000)]
*** empty log message ***

22 years ago* alpha-nat.c: Include <alpha/coreregs.h> instead of
cagney [Sat, 20 Oct 2001 19:32:40 +0000 (19:32 +0000)]
* alpha-nat.c: Include <alpha/coreregs.h> instead of
<machine/reg.h>.
(fetch_osf_core_registers): Define core_reg_mapping in a way that
works on OSF5 as well as previous OSF versions.

22 years agofix typo.
cgf [Sat, 20 Oct 2001 17:35:27 +0000 (17:35 +0000)]
fix typo.

22 years ago * mkgroup.c: Avoid compiler warnings.
corinna [Sat, 20 Oct 2001 13:56:09 +0000 (13:56 +0000)]
    * mkgroup.c: Avoid compiler warnings.
        (print_special): New function.
        (main): Print special accounts by calling print_special().
        * mkpasswd.c: Avoid compiler warnings.
        (enum_users): Print additional U-domain\username info in gecos
        field when SIDs are printed.
        (print_special): New function.
        (main): Print special accounts by calling print_special().

22 years ago * ppc-opc.c (CT): Make it an optional operand.
amodra [Sat, 20 Oct 2001 13:50:16 +0000 (13:50 +0000)]
* ppc-opc.c (CT): Make it an optional operand.

22 years ago * ldgram.y (mri_script_command): Surround processing of INCLUDE
amodra [Sat, 20 Oct 2001 13:49:00 +0000 (13:49 +0000)]
* ldgram.y (mri_script_command): Surround processing of INCLUDE
with ldlex_script, ldlex_popstate.
(ifile_p1): Likewise.
* ldlex.l (EOF): Don't BEGIN(SCRIPT).  Restore lineno from the
correct slot.
(lex_push_file): Save current lineno to lineno_stack.  Set lineno
to 1.  Don't BEGIN(SCRIPT).
(lex_redirect): Similarly.
* ldmain.c (main): Set yydebug non-zero if YYDEBUG.

22 years ago * include/winnetwk.h (WNetGetResourceInformationA): Add declaration.
corinna [Sat, 20 Oct 2001 10:41:07 +0000 (10:41 +0000)]
    * include/winnetwk.h (WNetGetResourceInformationA): Add declaration.
        (WNetGetResourceInformationW): Ditto.
        (WNetGetResourceInformation): Add define.

22 years agoDefine __EH_FRAME_{BEGIN|END}__
nickc [Sat, 20 Oct 2001 09:56:28 +0000 (09:56 +0000)]
Define __EH_FRAME_{BEGIN|END}__

22 years agoRevert previous erroneous checkin.
cgf [Sat, 20 Oct 2001 05:13:45 +0000 (05:13 +0000)]
Revert previous erroneous checkin.

22 years ago* win32-nat.c (handle_load_dll): Avoid strlwr'ing loaded DLLs or cygwin may not
cgf [Sat, 20 Oct 2001 05:11:39 +0000 (05:11 +0000)]
* win32-nat.c (handle_load_dll): Avoid strlwr'ing loaded DLLs or cygwin may not
be able to read them in certain situations.

22 years ago* miscfuncs.cc (+__check_invalid_read_ptr_errno): New function.
cgf [Sat, 20 Oct 2001 05:08:20 +0000 (05:08 +0000)]
* miscfuncs.cc (+__check_invalid_read_ptr_errno): New function.
* syscalls.c (_write): Validate that write buffer is accessible for reading,
not writing.
* winsup.h: Declare new function, increase regparmization of check_* functions.

22 years agoEnable PowerPC simulator on native linux and netbsd.
cagney [Sat, 20 Oct 2001 00:16:42 +0000 (00:16 +0000)]
Enable PowerPC simulator on native linux and netbsd.

22 years agodaily update
amodra [Sat, 20 Oct 2001 00:00:06 +0000 (00:00 +0000)]
daily update

22 years ago * path.cc (getcwd): Allow len == 0 when buf == NULL.
corinna [Fri, 19 Oct 2001 19:17:04 +0000 (19:17 +0000)]
    * path.cc (getcwd): Allow len == 0 when buf == NULL.

22 years ago2001-10-19 H.J. Lu <hjl@gnu.org>
hjl [Fri, 19 Oct 2001 16:29:12 +0000 (16:29 +0000)]
2001-10-19  H.J. Lu <hjl@gnu.org>

* elfcode.h (elf_object_p): Don't clear D_PAGED if the section
size is empty.

22 years ago* pe-dll.c (autofilter_objectlist): Add gcrt0.o.
dj [Fri, 19 Oct 2001 14:25:50 +0000 (14:25 +0000)]
* pe-dll.c (autofilter_objectlist): Add gcrt0.o.
(auto-export): Fix indentation.

22 years agoRestore line_comment_chars after a SNAFU.
nickc [Fri, 19 Oct 2001 10:53:18 +0000 (10:53 +0000)]
Restore line_comment_chars after a SNAFU.

22 years ago* syscalls.cc (_read): Validate input pointer.
cgf [Fri, 19 Oct 2001 02:27:19 +0000 (02:27 +0000)]
* syscalls.cc (_read): Validate input pointer.
(_write): Ditto.
(system): Ditto.

22 years ago2001-10-18 H.J. Lu <hjl@gnu.org>
hjl [Fri, 19 Oct 2001 02:11:03 +0000 (02:11 +0000)]
2001-10-18  H.J. Lu <hjl@gnu.org>

* elf32-i370.c (i370_elf_relocate_section): Ignore R_XXX_NONE.
* elf32-ppc.c (ppc_elf_relocate_section): Likewise.

22 years ago* pe-dll.c (autofilter_objectlist): Add startup objects
dj [Fri, 19 Oct 2001 00:00:55 +0000 (00:00 +0000)]
* pe-dll.c (autofilter_objectlist):  Add startup objects
for profiling.
(auto-export): Constify char * p.
Extract file basename and use strcmp rather than ststr
for object lookup.

22 years agodaily update
amodra [Fri, 19 Oct 2001 00:00:04 +0000 (00:00 +0000)]
daily update

22 years ago2001-10-18 Chris Demetriou <cgd@broadcom.com>
cgd [Thu, 18 Oct 2001 23:44:17 +0000 (23:44 +0000)]
2001-10-18  Chris Demetriou  <cgd@broadcom.com>

        * ldmain.c (get_emulation): Improve comment about the handling
        of -mipsN options.

22 years ago2001-10-18 Chris Demetriou <cgd@broadcom.com>
cgd [Thu, 18 Oct 2001 22:41:35 +0000 (22:41 +0000)]
2001-10-18  Chris Demetriou  <cgd@broadcom.com>

        * mips.h (OPCODE_IS_MEMBER): Add a no-op term to the end
        of the expression, to make source code merging easier.

22 years agoRemove semicolon from ARM comment chars list
nickc [Thu, 18 Oct 2001 21:06:01 +0000 (21:06 +0000)]
Remove semicolon from ARM comment chars list

22 years ago2001-10-18 Martin M. Hunt <hunt@redhat.com>
hunt [Thu, 18 Oct 2001 17:57:48 +0000 (17:57 +0000)]
2001-10-18  Martin M. Hunt  <hunt@redhat.com>

* library/srcpref.itb (SrcPref::contructor): Move array
initialization to _init_var.
(SrcPref::_init_var): New method to initialize _saved and
_new arrays.
(SrcPref::buildwin): Rename to _buildwin. Have widgets use
_new instead of [pref varname ...].  Set initial value of
tab size spinint.
(SrcPref::_apply): Set prefs with values from the _new array.
(SrcPref::_cancel): Reset disassembly flavor and don't call
_save because nothing is saved unless OK is selected.
(SrcPref::set_flavor): Rename to _set_flavor.
(SrcPref::_pick): Just set _new, not prefs.

* library/srcpref.ith: Add private variable _new and
private method cancel. Rename others with leading underscore.

22 years agoCorrect date of commit to last entry
hp [Thu, 18 Oct 2001 17:50:25 +0000 (17:50 +0000)]
Correct date of commit to last entry

22 years ago * write.c (fixup_segment): Handle fixups for SEC_MERGE sections as
hp [Thu, 18 Oct 2001 17:38:52 +0000 (17:38 +0000)]
* write.c (fixup_segment): Handle fixups for SEC_MERGE sections as
for undefined symbols.

22 years agoAdd support for XScale's coprocessor access check register.
nickc [Thu, 18 Oct 2001 12:20:46 +0000 (12:20 +0000)]
Add support for XScale's coprocessor access check register.
Fix formatting.

22 years ago * section.c (_bfd_strip_section_from_output): Don't count
jakub [Thu, 18 Oct 2001 08:22:42 +0000 (08:22 +0000)]
* section.c (_bfd_strip_section_from_output): Don't count
SEC_EXCLUDE sections as references.  Set SEC_EXCLUDE.

22 years ago* README: Mention problems with HP/UX.
cagney [Thu, 18 Oct 2001 04:35:33 +0000 (04:35 +0000)]
* README: Mention problems with HP/UX.

22 years agoAdd ddb-kseg0.ld and switch to kseg1 if sizing memory from kseg0
meissner [Thu, 18 Oct 2001 02:24:30 +0000 (02:24 +0000)]
Add ddb-kseg0.ld and switch to kseg1 if sizing memory from kseg0

22 years ago2001-10-17 Chris Demetriou <cgd@broadcom.com>
cgd [Thu, 18 Oct 2001 01:50:26 +0000 (01:50 +0000)]
2001-10-17  Chris Demetriou  <cgd@broadcom.com>

       * mips.h: Sort coprocessor instruction argument characters
       in comment, add a few more words of description for "H".

22 years ago[gas/testsuite/ChangeLog]
cgd [Thu, 18 Oct 2001 01:42:16 +0000 (01:42 +0000)]
[gas/testsuite/ChangeLog]
2001-10-17  Chris Demetriou  <cgd@broadcom.com>

        * gas/mips/mips.exp (sb1-ext-ps): New test to test
        SB-1 core's paired-single extensions to the MIPS64 ISA.
        * gas/mips/sb1-ext-ps.d: New file.
        * gas/mips/sb1-ext-ps.s: New file.

[include/opcode/ChangeLog]
2001-10-17  Chris Demetriou  <cgd@broadcom.com>

        * mips.h (INSN_SB1): New cpu-specific instruction bit.
        (OPCODE_IS_MEMBER): Allow instructions matching INSN_SB1
        if cpu is CPU_SB1.

[opcodes/ChangeLog]
2001-10-17  Chris Demetriou  <cgd@broadcom.com>

        * mips-dis.c (mips_isa_type): Make the ISA used to disassemble
        SB-1 binaries include instructions specific to the SB-1.
        * mips-opc.c (SB1): New definition.
        (mips_builtin_opcodes): Add SB-1 extension opcodes "div.ps",
        "recip.ps", "rsqrt.ps", and "sqrt.ps".

22 years agodaily update
amodra [Thu, 18 Oct 2001 00:00:04 +0000 (00:00 +0000)]
daily update

22 years agomerge from gcc
dj [Wed, 17 Oct 2001 22:35:28 +0000 (22:35 +0000)]
merge from gcc

22 years agoFunctions to convert to/from CORE_ADDR and a string. Use in Insight.
cagney [Wed, 17 Oct 2001 20:35:30 +0000 (20:35 +0000)]
Functions to convert to/from CORE_ADDR and a string.  Use in Insight.

22 years ago * console.itb (Console::_build_win): Handle bindings which
tromey [Wed, 17 Oct 2001 20:30:25 +0000 (20:30 +0000)]
* console.itb (Console::_build_win): Handle bindings which
are ";".  Also, completely override underlying Text binding.

22 years ago Add __rtems__ as system defining fchdir().
corinna [Wed, 17 Oct 2001 19:28:33 +0000 (19:28 +0000)]
Add __rtems__ as system defining fchdir().

22 years ago2001-10-17 Chris Demetriou <cgd@broadcom.com>
cgd [Wed, 17 Oct 2001 19:16:14 +0000 (19:16 +0000)]
2001-10-17  Chris Demetriou  <cgd@broadcom.com>

* doc/as.texinfo (MIPS ISA options):  Added accidentally
omitted "-mips64" option to list of options.

22 years agoFixed a typo.
brolley [Wed, 17 Oct 2001 19:01:36 +0000 (19:01 +0000)]
Fixed a typo.

22 years ago Patch from Frederic Devernay <Frederic.Devernay@sophia.inria.fr>:
corinna [Wed, 17 Oct 2001 18:52:05 +0000 (18:52 +0000)]
Patch from Frederic Devernay <Frederic.Devernay@sophia.inria.fr>:
* poll.cc (poll): Call cygwin_select() if any fd is valid.

22 years ago * libc/include/sys/unistd.h: Add prototype for fchdir() when
corinna [Wed, 17 Oct 2001 18:16:39 +0000 (18:16 +0000)]
* libc/include/sys/unistd.h: Add prototype for fchdir() when
__CYGWIN__ is defined.

22 years ago2001-10-17 Dave Brolley <brolley@redhat.com>
brolley [Wed, 17 Oct 2001 17:51:29 +0000 (17:51 +0000)]
2001-10-17  Dave Brolley  <brolley@redhat.com>

* compSched.cxx (operator <<): Save state of enable_threshold and
yield_host_time_threshold.
(operator >>): Restore state of enable_threshold and
yield_host_time_threshold.
(class scheduler_component): New members: enable_threshold,
yield_host_time_threshold.
(scheduler_component::advance): Check enable_p against enable_threshold.
Check yield_host_time_p against yield_host_time_theshold.
(scheduler_component): Initialize enable_threshold, enable_p,
yield_host_time_p and yield_host_time_threshold.
(scheduler_component_ctor_1): Add attributes 'enable-threshold' and
'yield-host-time-threshold'.
* sid-sched.xml (enabled?): Update defscription.
(yield-host-time): Update defscription.
(enable-threshold): New attribute.
(yield-host-time-threshold): New attribute.
* sid-sched.txt: Regenerate.

22 years ago2001-10-16 Dave Brolley <brolley@redhat.com>
brolley [Wed, 17 Oct 2001 17:50:13 +0000 (17:50 +0000)]
2001-10-16  Dave Brolley  <brolley@redhat.com>

* gdb.h (target_schedulers_enabled): New vector member of class gdb.
(host_schedulers_host_time_yielded): Ditto.
* gdb.cxx (increment_attribute): New function.
(target_power): Maintain internal vectors to track whether we have
enabled the target scheduler and asked the host scheduler to yield host
time. Increment/decrement the appropriate attribute of each scheduler
instead of setting to 1 or 0.
(init_handler): Initialize internal vectors representing the state of
the host and target schedulers.

22 years ago2001-10-17 Dave Brolley <brolley@redhat.com>
brolley [Wed, 17 Oct 2001 17:47:55 +0000 (17:47 +0000)]
2001-10-17  Dave Brolley  <brolley@redhat.com>

* configrun-sid.in: Move check of $opt_persistent and $opt_verbose to
just before output.
Check for gdb components attached to processors other than the main
cpu. Adjust the enable-threshold of target-sched accordingly.

22 years ago[gas/ChangeLog]
mrg [Wed, 17 Oct 2001 13:13:14 +0000 (13:13 +0000)]
[gas/ChangeLog]
* config/tc-ppc.c (md_show_usage): Add missing -maltivec, -m7400,
-m7410, -m7450 and -m7455 options.

[gas/testsuite/ChangeLog]
* gas/ppc/altivec.s: New test for AltiVec.
* gas/ppc/altivec.d: New file.
* gas/ppc/ppc.exp: Test altivec.s

[include/opcode/ChangeLog]
* ppc.h (PPC_OPCODE_BOOKE64): Fix typo.

[opcodes/ChangeLog]
* ppc-opc.c (STRM): New AltiVec operand.
(XDSS): New AltiVec instruction form.
(mtvscr): Correct operand list.
(dst, dstt, dstst, dststt, dss, dssall): AltiVec instructions.