OSDN Git Service
cgf [Wed, 24 Oct 2001 15:40:24 +0000 (15:40 +0000)]
Remove merge conflict indicator.
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.
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.
cagney [Wed, 24 Oct 2001 02:53:47 +0000 (02:53 +0000)]
Fix -Wformat for hpux.
cagney [Wed, 24 Oct 2001 01:19:11 +0000 (01:19 +0000)]
Tweeks for HP/UX and -Werror.
amodra [Wed, 24 Oct 2001 00:00:35 +0000 (00:00 +0000)]
daily update
gdbadmin [Wed, 24 Oct 2001 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***
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.
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.
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.
dj [Tue, 23 Oct 2001 15:32:45 +0000 (15:32 +0000)]
merge from gcc
dj [Tue, 23 Oct 2001 15:31:55 +0000 (15:31 +0000)]
merge from gcc
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*.
amodra [Tue, 23 Oct 2001 04:42:12 +0000 (04:42 +0000)]
* internal.h: White space changes to keep lines under 80 chars.
amodra [Tue, 23 Oct 2001 04:30:21 +0000 (04:30 +0000)]
* as.c (parse_args): Print the date as well for --version.
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.
gdbadmin [Tue, 23 Oct 2001 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Tue, 23 Oct 2001 00:00:04 +0000 (00:00 +0000)]
daily update
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.
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.
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.
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.
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().
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.
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.
corinna [Mon, 22 Oct 2001 11:31:38 +0000 (11:31 +0000)]
* miscfuncs.cc (__check_invalid_read_ptr_errno): Return error, if any.
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.
cgf [Mon, 22 Oct 2001 00:10:45 +0000 (00:10 +0000)]
* resource.cc (fill_rusage): Perform paranoid zero structure passed to
GetProcessMemoryInfo.
gdbadmin [Mon, 22 Oct 2001 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Mon, 22 Oct 2001 00:00:04 +0000 (00:00 +0000)]
daily update
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.
cagney [Sun, 21 Oct 2001 19:43:40 +0000 (19:43 +0000)]
Don't print ``(MI_OUT)'' at startup.
cagney [Sun, 21 Oct 2001 19:20:29 +0000 (19:20 +0000)]
Update makefile.in dependencies. Add header wrappers.
cagney [Sun, 21 Oct 2001 17:19:36 +0000 (17:19 +0000)]
Add explicit #include of "value.h".
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.
kettenis [Sun, 21 Oct 2001 14:53:46 +0000 (14:53 +0000)]
* infptrace.c (child_xfer_memory): Fix a few coding standards
violations.
eliz [Sun, 21 Oct 2001 14:21:03 +0000 (14:21 +0000)]
* config/djgpp/README: Fix a typo and tweak for GDB 5.1.
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.
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.
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".
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.
cgf [Sun, 21 Oct 2001 03:38:41 +0000 (03:38 +0000)]
* dll_init.cc (dll_list::alloc): Increase retry count to 1000.
cagney [Sun, 21 Oct 2001 01:57:42 +0000 (01:57 +0000)]
s/value_ptr/struct value */
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.
dj [Sun, 21 Oct 2001 00:08:22 +0000 (00:08 +0000)]
merge from gcc
gdbadmin [Sun, 21 Oct 2001 00:00:35 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Sun, 21 Oct 2001 00:00:04 +0000 (00:00 +0000)]
daily update
cagney [Sat, 20 Oct 2001 23:54:29 +0000 (23:54 +0000)]
* breakpoint.h, breakpoint.c: Ditto.
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.
cagney [Sat, 20 Oct 2001 22:43:25 +0000 (22:43 +0000)]
s/value_ptr/struct value */
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.
gdbadmin [Sat, 20 Oct 2001 20:00:04 +0000 (20:00 +0000)]
*** empty log message ***
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.
cgf [Sat, 20 Oct 2001 17:35:27 +0000 (17:35 +0000)]
fix typo.
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().
amodra [Sat, 20 Oct 2001 13:50:16 +0000 (13:50 +0000)]
* ppc-opc.c (CT): Make it an optional operand.
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.
corinna [Sat, 20 Oct 2001 10:41:07 +0000 (10:41 +0000)]
* include/winnetwk.h (WNetGetResourceInformationA): Add declaration.
(WNetGetResourceInformationW): Ditto.
(WNetGetResourceInformation): Add define.
nickc [Sat, 20 Oct 2001 09:56:28 +0000 (09:56 +0000)]
Define __EH_FRAME_{BEGIN|END}__
cgf [Sat, 20 Oct 2001 05:13:45 +0000 (05:13 +0000)]
Revert previous erroneous checkin.
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.
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.
cagney [Sat, 20 Oct 2001 00:16:42 +0000 (00:16 +0000)]
Enable PowerPC simulator on native linux and netbsd.
amodra [Sat, 20 Oct 2001 00:00:06 +0000 (00:00 +0000)]
daily update
corinna [Fri, 19 Oct 2001 19:17:04 +0000 (19:17 +0000)]
* path.cc (getcwd): Allow len == 0 when buf == NULL.
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.
dj [Fri, 19 Oct 2001 14:25:50 +0000 (14:25 +0000)]
* pe-dll.c (autofilter_objectlist): Add gcrt0.o.
(auto-export): Fix indentation.
nickc [Fri, 19 Oct 2001 10:53:18 +0000 (10:53 +0000)]
Restore line_comment_chars after a SNAFU.
cgf [Fri, 19 Oct 2001 02:27:19 +0000 (02:27 +0000)]
* syscalls.cc (_read): Validate input pointer.
(_write): Ditto.
(system): Ditto.
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.
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.
amodra [Fri, 19 Oct 2001 00:00:04 +0000 (00:00 +0000)]
daily update
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.
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.
nickc [Thu, 18 Oct 2001 21:06:01 +0000 (21:06 +0000)]
Remove semicolon from ARM comment chars list
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.
hp [Thu, 18 Oct 2001 17:50:25 +0000 (17:50 +0000)]
Correct date of commit to last entry
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.
nickc [Thu, 18 Oct 2001 12:20:46 +0000 (12:20 +0000)]
Add support for XScale's coprocessor access check register.
Fix formatting.
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.
cagney [Thu, 18 Oct 2001 04:35:33 +0000 (04:35 +0000)]
* README: Mention problems with HP/UX.
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
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".
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".
amodra [Thu, 18 Oct 2001 00:00:04 +0000 (00:00 +0000)]
daily update
dj [Wed, 17 Oct 2001 22:35:28 +0000 (22:35 +0000)]
merge from gcc
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.
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.
corinna [Wed, 17 Oct 2001 19:28:33 +0000 (19:28 +0000)]
Add __rtems__ as system defining fchdir().
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.
brolley [Wed, 17 Oct 2001 19:01:36 +0000 (19:01 +0000)]
Fixed a typo.
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.
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.
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.
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.
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.
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.
amodra [Wed, 17 Oct 2001 12:01:04 +0000 (12:01 +0000)]
* elf-m10200.c (mn10200_elf_relax_section): Cast assignment to
Elf_Internal_Shdr.contents now that it's no longer a PTR.
* elf-m10300.c (mn10300_elf_relax_section): Likewise.
* elf32-h8300.c (elf32_h8_relax_section): Likewise.
* elf32-m68k.c (bfd_m68k_elf32_create_embedded_relocs): Likewise.
* elf32-sh.c (sh_elf_relax_section): Likewise.
* elf64-alpha.c (elf64_alpha_relax_section): Likewise.
* elfxx-ia64.c (elfNN_ia64_relax_section): Likewise.
* elf.c (setup_group): Warning fixes.
* elflink.h (elf_link_sort_relocs): Likewise.
* pdp11.c (slurp_reloc_table): Likewise.
jsm [Wed, 17 Oct 2001 07:12:56 +0000 (07:12 +0000)]
* symtab.c (lookup_block_symbol): Break out of linear search
if we're past the range of possible matches.
Original patch submission, with links to history/background behind it,
here:
http://sources.redhat.com/ml/gdb-patches/2001-09/msg00120.html
amodra [Wed, 17 Oct 2001 06:03:35 +0000 (06:03 +0000)]
* config/tc-ppc.c (PPC_HA, PPC_HIGHERA, PPC_HIGHESTA): Simplify.
(ppc_size): Select PPC_OPCODE_64 if 64 bit.
(md_begin): Don't set ppc_size here.
(ppc_target_format): Test ppc_size as well as BFD_DEFAULT_TARGET_SIZE.
(md_shortopts): Constify.
(md_longopts): Likewise.
(md_longopts_size): Likewise.
(ppc_elf_suffix): Only allow 64-bit relocs when ppc_size specifies
64-bit opcodes.
(ppc_machine): Explain why this function is a nop.