OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
22 years ago* gdbint.texinfo (Releasing GDB): Revise the section ``Cut the
cagney [Sat, 8 Jun 2002 17:50:59 +0000 (17:50 +0000)]
* gdbint.texinfo (Releasing GDB): Revise the section ``Cut the
Branch''.

22 years ago* include/wchar.h: Define __need_size_t.
cgf [Sat, 8 Jun 2002 16:55:46 +0000 (16:55 +0000)]
* include/wchar.h: Define __need_size_t.

22 years ago2002-06-08 Daniel Jacobowitz <drow@mvista.com>
drow [Sat, 8 Jun 2002 16:04:35 +0000 (16:04 +0000)]
2002-06-08  Daniel Jacobowitz  <drow@mvista.com>

        Based on patch from Matt Green:
        * config/obj-elf.h (ECOFF_DEBUGGING): Make configurable.
        * config/tc-mips.c (s_mips_file): Renamed from s_file.
        (s_mips_loc): New function.
        (mips_nonecoff_pseudo_table): Call them.
        (append_insn): Call dwarf2_emit_insn.

22 years ago * elf64-sh64.c (sh64_elf64_link_output_symbol_hook): Make static.
amodra [Sat, 8 Jun 2002 12:27:32 +0000 (12:27 +0000)]
* elf64-sh64.c (sh64_elf64_link_output_symbol_hook): Make static.

22 years ago * Makefile.am: Fix quote style in last change.
amodra [Sat, 8 Jun 2002 08:50:44 +0000 (08:50 +0000)]
* Makefile.am: Fix quote style in last change.
* Makefile.in: Regenerate.

22 years ago * Makefile.am: Run "make dep-am".
amodra [Sat, 8 Jun 2002 08:45:02 +0000 (08:45 +0000)]
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.

22 years ago * Makefile.am: Run "make dep-am".
amodra [Sat, 8 Jun 2002 08:44:16 +0000 (08:44 +0000)]
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
* doc/Makefile.in: Regnerate.

22 years ago * Makefile.am: Run "make dep-am".
amodra [Sat, 8 Jun 2002 08:43:32 +0000 (08:43 +0000)]
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.

22 years ago * ldexp.c: Replace CONST with const.
amodra [Sat, 8 Jun 2002 07:39:44 +0000 (07:39 +0000)]
* ldexp.c: Replace CONST with const.
* ldfile.c: Likewise.
* ldfile.h: Likewise.
* ldlex.l: Likewise.
* mri.c: Likewise.
* pe-dll.h: Likewise.

22 years ago * bucomm.c: Replace CONST with const.
amodra [Sat, 8 Jun 2002 07:38:30 +0000 (07:38 +0000)]
* bucomm.c: Replace CONST with const.
* nm.c: Likewise.
* objdump.c: Likewise.

22 years ago * as.c: Replace CONST with const.
amodra [Sat, 8 Jun 2002 07:37:14 +0000 (07:37 +0000)]
* as.c: Replace CONST with const.
* write.c: Likewise.
* config/obj-coff.c: Likewise.
* config/tc-a29k.c: Likewise.
* config/tc-arm.c: Likewise.
* config/tc-dlx.c: Likewise.
* config/tc-h8300.c: Likewise.
* config/tc-h8500.c: Likewise.
* config/tc-i370.c: Likewise.
* config/tc-i860.c: Likewise.
* config/tc-i960.c: Likewise.
* config/tc-m68hc11.c: Likewise.
* config/tc-m68k.c: Likewise.
* config/tc-m88k.c: Likewise.
* config/tc-mcore.c: Likewise.
* config/tc-mips.c: Likewise.
* config/tc-ns32k.c: Likewise.
* config/tc-pdp11.c: Likewise.
* config/tc-pj.c: Likewise.
* config/tc-s390.c: Likewise.
* config/tc-sh.c: Likewise.
* config/tc-sparc.c: Likewise.
* config/tc-tahoe.c: Likewise.
* config/tc-tic80.c: Likewise.
* config/tc-v850.c: Likewise.
* config/tc-vax.c: Likewise.
* config/tc-w65.c: Likewise.
* config/tc-z8k.c: Likewise.

22 years ago * a29k.h: Replace CONST with const.
amodra [Sat, 8 Jun 2002 07:32:11 +0000 (07:32 +0000)]
* a29k.h: Replace CONST with const.
(CONST): Don't define.
* convex.h: Replace CONST with const.
(CONST): Don't define.
* dlx.h: Replace CONST with const.
* or32.h (CONST): Don't define.

22 years ago * a29k-dis.c: Replace CONST with const.
amodra [Sat, 8 Jun 2002 07:29:26 +0000 (07:29 +0000)]
* a29k-dis.c: Replace CONST with const.
* h8300-dis.c: Likewise.
* m68k-dis.c: Likewise.
* or32-dis.c: Likewise.
* sparc-dis.c: Likewise.

22 years ago * armnetbsd.c: Replace CONST with const.
amodra [Sat, 8 Jun 2002 07:27:52 +0000 (07:27 +0000)]
* armnetbsd.c: Replace CONST with const.
* corefile.c: Likewise.
* elf32-dlx.c: Likewise.
* elf64-mips.c: Likewise.
* mmo.c: Likewise.
* ns32knetbsd.c: Likewise.

22 years ago2002-06-08 Daniel Jacobowitz <drow@mvista.com>
drow [Sat, 8 Jun 2002 05:37:28 +0000 (05:37 +0000)]
2002-06-08  Daniel Jacobowitz  <drow@mvista.com>

        Based on patch from Matt Green:
        * config/obj-elf.h (ECOFF_DEBUGGING): Make configurable.
        * config/tc-mips.c (s_mips_file): Renamed from s_file.
        (s_mips_loc): New function.
        (mips_nonecoff_pseudo_table): Call them.
        (append_insn): Call dwarf2_emit_insn.

22 years ago2002-06-07 Chris Demetriou <cgd@broadcom.com>
cgd [Sat, 8 Jun 2002 03:05:23 +0000 (03:05 +0000)]
2002-06-07  Chris Demetriou  <cgd@broadcom.com>
            Ed Satterthwaite  <ehs@broadcom.com>

* cp1.c (inner_mac, fp_mac, inner_rsqrt, fp_inv_sqrt)
(fp_rsqrt, fp_madd, fp_msub, fp_nmadd, fp_nmsub): New functions.
* sim-main.h (fp_rsqrt, fp_madd, fp_msub, fp_nmadd)
(fp_nmsub): New prototypes.
(RSquareRoot, MultiplyAdd, MultiplySub, NegMultiplyAdd)
(NegMultiplySub): New defines.
* mips.igen (RSQRT.fmt): Use RSquareRoot().
(MADD.D, MADD.S): Replace with...
(MADD.fmt): New instruction.
(MSUB.D, MSUB.S): Replace with...
(MSUB.fmt): New instruction.
(NMADD.D, NMADD.S): Replace with...
(NMADD.fmt): New instruction.
(NMSUB.D, MSUB.S): Replace with...
(NMSUB.fmt): New instruction.

22 years ago * elf64-sparc.c (sparc64_elf_add_symbol_hook): Check the hash
amodra [Sat, 8 Jun 2002 03:01:47 +0000 (03:01 +0000)]
* elf64-sparc.c (sparc64_elf_add_symbol_hook): Check the hash
table is elf64-sparc.

22 years agocoerce
cgf [Sat, 8 Jun 2002 01:35:54 +0000 (01:35 +0000)]
coerce

22 years ago* fhandler_socket.cc (fhandler_socket::fstat): Don't assume that socket is
cgf [Sat, 8 Jun 2002 01:24:58 +0000 (01:24 +0000)]
* fhandler_socket.cc (fhandler_socket::fstat): Don't assume that socket is
unix-domain socket.
* times.cc (hires_ms::prime): Set init flag.
* times.cc (hires_ms::prime): Adjust epoch of initime_us from 1601 to 1970.

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

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

22 years ago * elfxx-mips.c (_bfd_mips_elf_relocate_section): Simplify code.
ths [Fri, 7 Jun 2002 23:43:40 +0000 (23:43 +0000)]
* elfxx-mips.c (_bfd_mips_elf_relocate_section): Simplify code.
Fix RELA addends to get not shifted in the result. Don't do special
handling of R_MIPS_64 for NewABI.

22 years ago * config/tc-mips.c (mips_opts): Fix comment, all ASE fields are set
ths [Fri, 7 Jun 2002 23:26:53 +0000 (23:26 +0000)]
* config/tc-mips.c (mips_opts): Fix comment, all ASE fields are set
to -1.
(file_ase_mips16): New veriable.
(mips_eabi64): Remove.
(CPU_HAS_MIPS16): New define.
(CPU_HAS_MDMX): Fix data type.
(md_begin): Code cleanup. Use file_ase_mips16.
(mips_elf_final_processing): Handle mips16 header flag.
Handle EABI flag without intermediate variable.

22 years ago * doc/as.texinfo: Update MIPS documentation.
ths [Fri, 7 Jun 2002 23:07:18 +0000 (23:07 +0000)]
* doc/as.texinfo: Update MIPS documentation.

22 years ago2002-06-07 Chris Demetriou <cgd@broadcom.com>
cgd [Fri, 7 Jun 2002 22:55:49 +0000 (22:55 +0000)]
2002-06-07  Chris Demetriou  <cgd@broadcom.com>
            Ed Satterthwaite  <ehs@broadcom.com>

        * cp1.c: Fix more comment spelling and formatting.
        (value_fcr, store_fcr): Use fenr_FS rather than hard-coding value.
        (denorm_mode): New function.
        (fpu_unary, fpu_binary): Round results after operation, collect
        status from rounding operations, and update the FCSR.
        (convert): Collect status from integer conversions and rounding
        operations, and update the FCSR.  Adjust NaN values that result
        from conversions.  Convert to use sim_io_eprintf rather than
        fprintf, and remove some debugging code.
        * cp1.h (fenr_FS): New define.

22 years ago * config/tc-mips.c: Add define for $zero register.
ths [Fri, 7 Jun 2002 22:54:47 +0000 (22:54 +0000)]
* config/tc-mips.c: Add define for $zero register.
(md_begin): Add $zero as alias name for $0.
(insn_uses_reg): Use ZERO define.
(mips_ip): Add $zero as alias name for $0.
(mips16_ip): Likewise.
(s_cplocal): Demand empty rest of input line.
(tc_get_register): Likewise. Add support for $kt0, kt1 register
names. Use ZERO define. Fix input_line_pointer progress.

22 years ago * libm/common/s_fdim.c: New file.
fitzsim [Fri, 7 Jun 2002 21:59:34 +0000 (21:59 +0000)]
* libm/common/s_fdim.c: New file.
* libm/common/s_fma.c: Likewise.
* libm/common/s_fmax.c: Likewise.
* libm/common/s_fmin.c: Likewise.
* libm/common/s_fpclassify.c: Likewise.
* libm/common/s_lrint.c: Likewise.
* libm/common/s_lround.c: Likewise.
* libm/common/s_nearbyint.c: Likewise.
* libm/common/s_remquo.c: Likewise.
* libm/common/s_round.c: Likewise.
* libm/common/s_scalbln.c: Likewise.
* libm/common/s_signbit.c: Likewise.
* libm/common/s_trunc.c: Likewise.
* libm/common/sf_fdim.c: Likewise.
* libm/common/sf_fma.c: Likewise.
* libm/common/sf_fmax.c: Likewise.
* libm/common/sf_fmin.c: Likewise.
* libm/common/sf_lrint.c: Likewise.
* libm/common/sf_lround.c: Likewise.
* libm/common/sf_nearbyint.c: Likewise.
* libm/common/sf_remquo.c: Likewise.
* libm/common/sf_round.c: Likewise.
* libm/common/sf_scalbln.c: Likewise.
* libm/common/sf_trunc.c: Likewise.
* libm/math/w_exp2.c: Likewise.
* libm/math/w_tgamma.c: Likewise.
* libm/math/wf_exp2.c: Likewise.
* libm/math/wf_tgamma.c: Likewise.
* libm/mathfp/s_exp2.c: Likewise.
* libm/mathfp/s_tgamma.c: Likewise.
* libm/mathfp/sf_exp2.c: Likewise.
* libm/mathfp/sf_tgamma.c: Likewise.
* libm/math/er_gamma.c: Fix return value.
* libm/math/erf_gamma.c: Likewise.
* libm/mathfp/er_gamma.c: Likewise.
* libm/mathfp/erf_gamma.c: Likewise.
* libc/include/math.h (!__STRICT_ANSI__): Include ISOC99-specific
declarations and macros.
Regenerated all Makefile.in, aclocal.m4 and configure files to
use new libtool macros in top-level libtool.m4

22 years ago* cygpath.cc: Add option to output windows paths in different formats: "dos"
cgf [Fri, 7 Jun 2002 19:25:26 +0000 (19:25 +0000)]
* cygpath.cc: Add option to output windows paths in different formats: "dos"
and "mixed".
(main): Process options.
(doit): Check new options flags.

22 years ago2002-06-07 Chris Demetriou <cgd@broadcom.com>
cgd [Fri, 7 Jun 2002 16:50:42 +0000 (16:50 +0000)]
2002-06-07  Chris Demetriou  <cgd@broadcom.com>

* cp1.c (convert): Remove unusable debugging code, and move MIPS
rounding mode to sim FP rounding mode flag conversion code into...
(rounding_mode): New function.

22 years ago2002-06-07 Chris Demetriou <cgd@broadcom.com>
cgd [Fri, 7 Jun 2002 16:43:18 +0000 (16:43 +0000)]
2002-06-07  Chris Demetriou  <cgd@broadcom.com>

* cp1.c: Clean up formatting of a few comments.
(value_fpr): Reformat switch statement.

22 years ago2002-06-07 H.J. Lu <hjl@gnu.org>
hjl [Fri, 7 Jun 2002 16:42:31 +0000 (16:42 +0000)]
2002-06-07  H.J. Lu <hjl@gnu.org>

* readelf.c (DW_CFA_GNU_args_size): Don't define.
(DW_CFA_GNU_negative_offset_extended): Likewise.
(DW_CFA_GNU_window_save): Likewise.
(display_debug_frames): Handle DW_CFA_offset_extended_sf,
DW_CFA_def_cfa_sf and DW_CFA_def_cfa_offset_sf.

22 years ago2002-06-07 Michal Ludvig <mludvig@suse.cz>
mludvig [Fri, 7 Jun 2002 16:11:08 +0000 (16:11 +0000)]
2002-06-07  Michal Ludvig  <mludvig@suse.cz>

* x86-64-linux-nat.c (x86_64_fxsave_offset): New.
(supply_fpregset, fill_fpregset): Don't call i387_*_fxsave,
better do the things actually here.
* x86-64-tdep.c (x86_64_register_name2nr): New.
(x86_64_register_name): Renamed to x86_64_register_nr2name.
(x86_64_gdbarch_init): Respect the above change.
* x86-64-tdep.h (x86_64_register_name2nr)
(x86_64_register_nr2name): Add prototypes.
* config/i386/x86-64linux.mt (TDEPFILES): Remove i387-tdep.o.

22 years ago * emultempl/ppc64elf.em (new_vers_pattern): Warning fix.
amodra [Fri, 7 Jun 2002 15:09:21 +0000 (15:09 +0000)]
* emultempl/ppc64elf.em (new_vers_pattern): Warning fix.

22 years agoReplace bfd_alloc/bfd_malloc + memset with bfd_zalloc/bfd_zmalloc
amodra [Fri, 7 Jun 2002 15:04:46 +0000 (15:04 +0000)]
Replace bfd_alloc/bfd_malloc + memset with bfd_zalloc/bfd_zmalloc

22 years ago * symbols.c: Replace CONST by const throughout.
amodra [Fri, 7 Jun 2002 14:57:50 +0000 (14:57 +0000)]
* symbols.c: Replace CONST by const throughout.
(symbol_find_exact): Split out from..
(symbol_find_base): ..here.
* symbols.h: Replace CONST by const throughout.
(symbol_find_exact): Declare.
* config/obj-elf.c: #include "struc-symbol.h".
(elf_frob_file): If group name matches an exported symbol, use that
symbol for the signature and ".group" as the section name.

22 years ago * elf-bfd.h (struct bfd_elf_section_data <group_name>): Replace with
amodra [Fri, 7 Jun 2002 14:57:10 +0000 (14:57 +0000)]
* elf-bfd.h (struct bfd_elf_section_data <group_name>): Replace with
"group" union.
(elf_group_name): Update.
(elf_group_id): Define.
(bfd_elf_set_group_contents): Declare.
* elf.c (elf_fake_sections): Qualify use of elf_group_name.
(set_group_contents): Rename to bfd_elf_set_group_contents.  Remove
ATTRIBUTE_UNUSED from failedptrarg.  If elf_group_id is set, use
that sym for the signature.
(_bfd_elf_compute_section_file_positions): Don't call
set_group_contents for "ld -r" case.
(swap_out_syms): Use bfd_zalloc.
* elflink.h (elf_link_add_archive_symbols): Likewise.
(NAME(bfd_elf,size_dynamic_sections)): Likewise.
(elf_bfd_final_link): Call bfd_elf_set_group_contents.

22 years agoEnable pei386_auto_import by default. Only print a info message about auto
nickc [Fri, 7 Jun 2002 14:55:59 +0000 (14:55 +0000)]
Enable pei386_auto_import by default.  Only print a info message about auto
imports being resilved if this feature was not requested via a command line
switch.

22 years ago * regtool.cc (Fail): Be more verbose.
corinna [Fri, 7 Jun 2002 11:12:15 +0000 (11:12 +0000)]
* regtool.cc (Fail): Be more verbose.
(find_key): Add support for remote registry access.
(usage): Document it.
* utils.sgml: Document it.

22 years agoWhen computing size of symbols for an ELF target use the internal size field.
nickc [Fri, 7 Jun 2002 11:02:48 +0000 (11:02 +0000)]
When computing size of symbols for an ELF target use the internal size field.

22 years agoFix phdrs2 test
nickc [Fri, 7 Jun 2002 10:30:54 +0000 (10:30 +0000)]
Fix phdrs2 test

22 years agoAdd comment for last change.
amylaar [Fri, 7 Jun 2002 10:24:56 +0000 (10:24 +0000)]
Add comment for last change.

22 years ago * elf64-ppc.c (ppc64_elf_relocate_section): Allow unresolved
amodra [Fri, 7 Jun 2002 10:21:50 +0000 (10:21 +0000)]
* elf64-ppc.c (ppc64_elf_relocate_section): Allow unresolved
relocs in opd for non-shared too.

22 years ago * scripttempl/elf.sc (.tbss): Fix mismatched parentheses/braces.
amodra [Fri, 7 Jun 2002 09:59:06 +0000 (09:59 +0000)]
* scripttempl/elf.sc (.tbss): Fix mismatched parentheses/braces.

22 years ago*** empty log message ***
hunt [Fri, 7 Jun 2002 09:22:56 +0000 (09:22 +0000)]
*** empty log message ***

22 years ago2002-06-07 Martin M. Hunt <hunt@redhat.com>
hunt [Fri, 7 Jun 2002 09:22:44 +0000 (09:22 +0000)]
2002-06-07  Martin M. Hunt  <hunt@redhat.com>

* library/prefs.tcl (pref_set_colors): New function.  Set up colors
from Windows system colors or X resource database. Save in array.
(pref_set_defaults): Remove gdb/font/normal_fg, etc.
(pref_read): Call pref_set_colors.

* library/main.tcl: Remove call to "tix resetoptions TixGray".

* library/bpwin.itb, library/browserwin.itb, library/console.itb,
library/globalpref.itb, library/memwin.itb, library/process.itb,
library/regwin.itb, library/srcpref.itb, library/srctextwin.itb,
library/stackwin.itb, library/tdump.tcl, library/tracedlg.tcl,
library/variables.tcl: Replace calls to [pref get gdb/fonts/*]
for colors with references to Color array. Remove all tixOptions calls.
Fix up colors as necessary.

22 years ago2002-06-07 Martin M. Hunt <hunt@redhat.com>
hunt [Fri, 7 Jun 2002 09:03:35 +0000 (09:03 +0000)]
2002-06-07  Martin M. Hunt  <hunt@redhat.com>

* library/combobox.tcl (::combobox::configure): Don't
force background to white.

22 years ago2002-06-07 Martin M. Hunt <hunt@redhat.com>
hunt [Fri, 7 Jun 2002 08:59:43 +0000 (08:59 +0000)]
2002-06-07  Martin M. Hunt  <hunt@redhat.com>

* src/tkTableTag.c (Table_TagCmd): Don't decrement past
beginning of array.

22 years agoi2002-06-07 Martin M. Hunt <hunt@redhat.com>
hunt [Fri, 7 Jun 2002 08:58:25 +0000 (08:58 +0000)]
i2002-06-07  Martin M. Hunt  <hunt@redhat.com>

* library/combobox.tcl (::combobox::configure): Don't
force background to white.

22 years ago * Makefile.am (libbfd.h): Don't use "echo -n".
amodra [Fri, 7 Jun 2002 07:37:20 +0000 (07:37 +0000)]
* Makefile.am (libbfd.h): Don't use "echo -n".
(libcoff.h, bfd.h): Likewise.
* Makefile.in: Regenerate.

22 years ago* autoload.cc (timeGetDevCaps): Define new autoload function.
cgf [Fri, 7 Jun 2002 03:44:31 +0000 (03:44 +0000)]
* autoload.cc (timeGetDevCaps): Define new autoload function.
(timeGetTime): Ditto.
(timeBeginPeriod): Ditto.
(timeEndPeriod): Ditto.
* hires.h (hires_base): New class.  Renamed from hires.
(hires_us): New class.
(hires_ms): New class.
* strace.cc (strace::microseconds): Use hires_us class.
* times.cc (gettimeofday): Use hires-ms class.
(hires_us::prime): Renamed from hires::prime.
(hires_us::usecs): Renamed from hires:usecs.
(hires_ms::prime): New method.
(hires_ms::usecs): New method.
(hires_ms::~hires_ms): New destructor.

22 years ago* strace.cc (main): Make toggle a local variable.
cgf [Fri, 7 Jun 2002 01:37:20 +0000 (01:37 +0000)]
* strace.cc (main): Make toggle a local variable.

22 years ago* strace.cc (toggle): New global variable.
cgf [Fri, 7 Jun 2002 01:36:17 +0000 (01:36 +0000)]
* strace.cc (toggle): New global variable.
(error): Use exit instead of ExitProcess so that stdio buffers get flushed.
(create_child): Remove command line error checking.
(dostrace): Ditto.
(dotoggle): New function.
(usage): Add entry for new option -T|--toggle.  Alphabetize.
(longopts): Add new option -T|--toggle.
(opts): Ditto.
(main): Handle new -T|--toggle option.  Move all command line checking here
from other functions.
* utils.sgml: Update section for strace.

22 years ago2002-06-07 Gunnar Degnbol <gdegnbol@users.sourceforge.net>
dannysmith [Fri, 7 Jun 2002 00:30:14 +0000 (00:30 +0000)]
2002-06-07  Gunnar Degnbol <gdegnbol@users.sourceforge.net>

* include/mapi.h: Change LPTSTR to LPSTR throughout.

22 years ago2002-06-06 Chris Demetriou <cgd@broadcom.com>
cgd [Fri, 7 Jun 2002 00:13:23 +0000 (00:13 +0000)]
2002-06-06  Chris Demetriou  <cgd@broadcom.com>
            Ed Satterthwaite  <ehs@broadcom.com>

* cp1.h: New file.
* sim-main.h: Include cp1.h.
(SETFCC, GETFCC, IR, UF, OF, DX, IO, UO, FP_FLAGS, FP_ENABLE)
(FP_CAUSE, GETFS, FP_RM_NEAREST, FP_RM_TOZERO, FP_RM_TOPINF)
(FP_RM_TOMINF, GETRM): Remove.  Moved to cp1.h.
(FP_FS, FP_MASK_RM, FP_SH_RM, Nan, Less, Equal): Remove.
(value_fcr, store_fcr, test_fcsr, fp_cmp): New prototypes.
(ValueFCR, StoreFCR, TestFCSR, Compare): New macros.
* cp1.c: Don't include sim-fpu.h; already included by
sim-main.h.  Clean up formatting of some comments.
(NaN, Equal, Less): Remove.
(test_fcsr, value_fcr, store_fcr, update_fcsr, fp_test)
(fp_cmp): New functions.
* mips.igen (do_c_cond_fmt): Remove.
(C.cond.fmta, C.cond.fmtb): Replace uses of do_c_cond_fmt_a with
Compare.  Add result tracing.
(CxC1): Remove, replace with...
(CFC1a, CFC1b, CFC1c, CTC1a, CTC1b, CTC1c): New instructions.
(DMxC1): Remove, replace with...
(DMFC1a, DMFC1b, DMTC1a, DMTC1b): New instructions.
(MxC1): Remove, replace with...
(MFC1a, MFC1b, MTC1a, MTC1b): New instructions.

22 years agodaily update
amodra [Fri, 7 Jun 2002 00:11:11 +0000 (00:11 +0000)]
daily update

22 years ago*** empty log message ***
gdbadmin [Fri, 7 Jun 2002 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago* autoload.cc (noload): Correctly save argument count register.
cgf [Thu, 6 Jun 2002 23:53:45 +0000 (23:53 +0000)]
* autoload.cc (noload): Correctly save argument count register.

22 years ago * elf32-h8300.c (elf32_h8_relax_section): Ignore uninteresting
law [Thu, 6 Jun 2002 21:33:11 +0000 (21:33 +0000)]
    * elf32-h8300.c (elf32_h8_relax_section): Ignore uninteresting
        relocations.

22 years ago2002-06-06 Michael Snyder <msnyder@redhat.com>
msnyder [Thu, 6 Jun 2002 20:26:10 +0000 (20:26 +0000)]
2002-06-06  Michael Snyder  <msnyder@redhat.com>

* gdb.base/overlays.exp: Record addresses of overlay
functions in TCL variables rather than in GDB variables,
to avoid having GDB convert them to pointers (with loss
of information).

22 years ago2002-06-06 Michael Snyder <msnyder@redhat.com>
msnyder [Thu, 6 Jun 2002 19:12:37 +0000 (19:12 +0000)]
2002-06-06  Michael Snyder  <msnyder@redhat.com>

        * gdb.base/d10v.ld: Merge in several years worth of
        default linker script changes.

22 years ago2002-06-06 Michael Snyder <msnyder@redhat.com>
msnyder [Thu, 6 Jun 2002 19:08:16 +0000 (19:08 +0000)]
2002-06-06  Michael Snyder  <msnyder@redhat.com>

* gdb.base/long_long.exp: Add check for sizeof (long double).

22 years ago2002-06-06 Michael Snyder <msnyder@redhat.com>
msnyder [Thu, 6 Jun 2002 18:57:08 +0000 (18:57 +0000)]
2002-06-06  Michael Snyder  <msnyder@redhat.com>

        * d10v-tdep.c (d10v_push_arguments): Handle struct_return.
        Delete extra braces and re-indent.

22 years ago2002-06-06 Michael Snyder <msnyder@redhat.com>
msnyder [Thu, 6 Jun 2002 18:47:33 +0000 (18:47 +0000)]
2002-06-06  Michael Snyder  <msnyder@redhat.com>

        * d10v-tdep.c (d10v_store_return_value): Char return values
must be shifted over by one byte in R0.
        (d10v_extract_return_value): Delete extra braces, re-indent.

22 years ago * config/tc-sh.c (parse_at): @(symbol,pc) is A_DISP_PC again,
amylaar [Thu, 6 Jun 2002 17:29:52 +0000 (17:29 +0000)]
* config/tc-sh.c (parse_at): @(symbol,pc) is A_DISP_PC again,
but warn about it.
* testsuite/gas/sh/pcrel.s: Also test @(symbol,pc).
* testsuite/gas/sh/pcrel.d: Update.
* testsuite/gas/sh/pcrel.l: New file.

22 years ago2002-06-06 Daniel Jacobowitz <drow@mvista.com>
drow [Thu, 6 Jun 2002 16:38:01 +0000 (16:38 +0000)]
2002-06-06  Daniel Jacobowitz  <drow@mvista.com>

        * tc-mips.c (mips_after_parse_args): Always set mips_opts.ase_mips3d
        and mips_opts.ase_mdmx if they are uninitialized.

22 years ago2002-06-06 Elena Zannoni <ezannoni@redhat.com>
ezannoni [Thu, 6 Jun 2002 16:35:37 +0000 (16:35 +0000)]
2002-06-06  Elena Zannoni  <ezannoni@redhat.com>

        * d10v-tdep.c (d10v_read_sp, d10v_read_fp): Add prototype.
        (d10v_register_virtual_type): Make $fp and $sp be pointer to data.
        (d10v_integer_to_address): Rewrite.
        (d10v_frame_init_saved_regs): When reading fp and sp registers use
        the d10v specific functions which take care of converting to the
        correct space.

22 years ago* Makefile.in (ChangeLog): New makefile variable.
cagney [Thu, 6 Jun 2002 16:33:45 +0000 (16:33 +0000)]
* Makefile.in (ChangeLog): New makefile variable.
* README-HACKING: Mention the ChangeLog makefile variable.

22 years ago2002-06-06 Elena Zannoni <ezannoni@redhat.com>
ezannoni [Thu, 6 Jun 2002 16:31:44 +0000 (16:31 +0000)]
2002-06-06  Elena Zannoni  <ezannoni@redhat.com>

* config/djgpp/fnchange.lst: Add testsuite files altivec-abi.c,
altivec-abi.exp, altivec-regs.c, altivec-regs.exp.

22 years ago* writecode.c (lookup_inst): Generate inverse table on-the-fly.
cagney [Thu, 6 Jun 2002 15:50:49 +0000 (15:50 +0000)]
* writecode.c (lookup_inst): Generate inverse table on-the-fly.
(z8k_inv_list): Delete global.
(DIRTY_HACK): Delete macro.
(makelist): Delete global.
(main): Delete code making a list.  Delete dirty hack code.  Use
lookup_inst instead of z8k_inv_list.
* list.c: Delete file.
* Makefile.in (writecode): Do not link in list.o.
(list.o): Delete target.

22 years ago * fhandler.cc (fhandler_base::fstat): Initialise tv_nsec member of
corinna [Thu, 6 Jun 2002 15:35:04 +0000 (15:35 +0000)]
* fhandler.cc (fhandler_base::fstat): Initialise tv_nsec member of
st_atim, st_mtim, and st_ctim fields.
* fhandler_disk_file.cc (fhandler_disk_file::fstat_helper): Ditto.
* fhandler_process.cc (fhandler_process::fstat): Ditto.
* glob.c (stat32_to_STAT): Copy across the whole st_atim,
st_mtime, and st_ctim fields.
* syscalls.cc (stat64_to_stat32): Ditto.
* times.cc (to_timestruc_t): New function.
(time_as_timestruc_t): New function.
* winsup.h: Add to_timestruc_t and time_as_timestruc_t functions.
* include/cygwin/stat.h: Replace time_t with timestruc_t
throughout for all file times, removing the st_spare1, st_spare2,
and st_spare3 fields in the process. Add macros to access tv_sec
fields by old names.
* include/cygwin/types.h: Typedef timespec_t and timestruc_t as
struct timespec.

22 years ago2002-06-06 Michal Ludvig <mludvig@suse.cz>
mludvig [Thu, 6 Jun 2002 15:19:17 +0000 (15:19 +0000)]
2002-06-06  Michal Ludvig  <mludvig@suse.cz>

* gdb.asm/asm-source.exp: Add x86-64 target.
* gdb.asm/x86_64.inc: New.

22 years agomerge from gcc
dj [Thu, 6 Jun 2002 12:55:23 +0000 (12:55 +0000)]
merge from gcc

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.