OSDN Git Service

pf3gnuchains/sourceware.git
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.

22 years ago2002-06-02 Chris Demetriou <cgd@broadcom.com>
cgd [Sun, 2 Jun 2002 07:39:26 +0000 (07:39 +0000)]
2002-06-02  Chris Demetriou  <cgd@broadcom.com>
            Ed Satterthwaite  <ehs@broadcom.com>

* mips.igen (mdmx): New (pseudo-)model.
* mdmx.c, mdmx.igen: New files.
* Makefile.in (SIM_OBJS): Add mdmx.o.
* sim-main.h (MDMX_accumulator, MX_fmtsel, signed24, signed48):
New typedefs.
(ACC, MX_Add, MX_AddA, MX_AddL, MX_And, MX_C_EQ, MX_C_LT, MX_Comp)
(MX_FMT_OB, MX_FMT_QH, MX_Max, MX_Min, MX_Msgn, MX_Mul, MX_MulA)
(MX_MulL, MX_MulS, MX_MulSL, MX_Nor, MX_Or, MX_Pick, MX_RAC)
(MX_RAC_H, MX_RAC_L, MX_RAC_M, MX_RNAS, MX_RNAU, MX_RND_AS)
(MX_RND_AU, MX_RND_ES, MX_RND_EU, MX_RND_ZS, MX_RND_ZU, MX_RNES)
(MX_RNEU, MX_RZS, MX_RZU, MX_SHFL, MX_ShiftLeftLogical)
(MX_ShiftRightArith, MX_ShiftRightLogical, MX_Sub, MX_SubA, MX_SubL)
(MX_VECT_ADD, MX_VECT_ADDA, MX_VECT_ADDL, MX_VECT_AND)
(MX_VECT_MAX, MX_VECT_MIN, MX_VECT_MSGN, MX_VECT_MUL, MX_VECT_MULA)
(MX_VECT_MULL, MX_VECT_MULS, MX_VECT_MULSL, MX_VECT_NOR)
(MX_VECT_OR, MX_VECT_SLL, MX_VECT_SRA, MX_VECT_SRL, MX_VECT_SUB)
(MX_VECT_SUBA, MX_VECT_SUBL, MX_VECT_XOR, MX_WACH, MX_WACL, MX_Xor)
(SIM_ARGS, SIM_STATE, UnpredictableResult, fmt_mdmx, ob_fmtsel)
(qh_fmtsel): New macros.
(_sim_cpu): New member "acc".
(mdmx_acc_op, mdmx_cc_op, mdmx_cpr_op, mdmx_pick_op, mdmx_rac_op)
(mdmx_round_op, mdmx_shuffle, mdmx_wach, mdmx_wacl): New functions.

22 years ago * elf64-alpha.c (elf64_alpha_relax_with_lituse): Don't test for
rth [Sun, 2 Jun 2002 06:23:29 +0000 (06:23 +0000)]
    * elf64-alpha.c (elf64_alpha_relax_with_lituse): Don't test for
        undefined symbols here.
        (elf64_alpha_relax_section): Do it here.  Also test for not
        defined in the current module.
        (elf64_alpha_relocate_section_r): Split out of ...
        (elf64_alpha_relocate_section): ... here.  Don't dereference
        NULL when looking up local got entries.

22 years ago* how-programming.texinfo: Add more words to the "how to build".
cgf [Sun, 2 Jun 2002 06:18:53 +0000 (06:18 +0000)]
* how-programming.texinfo: Add more words to the "how to build".

22 years agoRemove unneeded sigproc.h includes throughout.
cgf [Sun, 2 Jun 2002 06:07:00 +0000 (06:07 +0000)]
Remove unneeded sigproc.h includes throughout.
* fhandler.h (fhandler_proc::fill_filebuf): Take a pinfo argument.
* fhandler_proc.cc (fhandler_proc::get_proc_fhandler): Simplify search for
given pid.
(fhandler_proc::readdir): Assume that pid exists if it shows up in the winpid
list.
* fhandler_process.cc (fhandler_process::open): Simplify search for given pid.
Call fill_filebuf with pinfo argument.
(fhandler_process::fill_filebuf): Pass pinfo here and assume that it exists.
* pinfo.h (pinfo::remember): Define differently if sigproc.h is not included.
* dll_init.cc (dll_list::detach): Don't run destructor on exit.

22 years ago* configure.in: Complain about lack of w32api directory.
cgf [Sun, 2 Jun 2002 05:54:33 +0000 (05:54 +0000)]
* configure.in: Complain about lack of w32api directory.
* configure: Regenerate.

22 years ago * elf64-alpha.c (elf64_alpha_relax_with_lituse): Reject undefined
rth [Sun, 2 Jun 2002 03:58:40 +0000 (03:58 +0000)]
    * elf64-alpha.c (elf64_alpha_relax_with_lituse): Reject undefined
        symbols from JSR relaxation.
        (elf64_alpha_size_plt_section_1): New.
        (elf64_alpha_calc_dynrel_sizes): Split out .rela.got bits ...
        (elf64_alpha_size_rela_got_1): ... here.
        (elf64_alpha_size_dynamic_sections): Split out .rela.got bits ...
        (elf64_alpha_size_rela_got_section): ... here.
        (elf64_alpha_size_plt_section): New.
        (elf64_alpha_relax_section): Call them.
        (elf64_alpha_size_got_sections): Remove output_bfd arg.
        (elf64_alpha_finish_dynamic_symbol): Check gotent use_count.

22 years ago* fhandler.cc (fhandler_base::fstat): Move dev and ino calculation into caller.
cgf [Sun, 2 Jun 2002 03:13:22 +0000 (03:13 +0000)]
* fhandler.cc (fhandler_base::fstat): Move dev and ino calculation into caller.
* syscalls.cc (stat_worker): Calculate dev and ino calculation here, if zero.
* fhandler_proc.cc (fhandler_proc::fhandler_proc): Minor reorg for debugging.
* fhandler_process.cc (fhandler_process::exists): Return 0 on nonexistence.
(fhandler_process::fstat): Simplify pid logic.
* fhandler_tape.cc (fhandler_dev_tape::fstat): Minor reformatting.

22 years ago* MAINTAINERS: Mention that any `HP/UX reader' can be changed by
cagney [Sun, 2 Jun 2002 03:09:30 +0000 (03:09 +0000)]
* MAINTAINERS: Mention that any `HP/UX reader' can be changed by
any maintainer.

22 years ago include/elf/
rth [Sun, 2 Jun 2002 02:28:44 +0000 (02:28 +0000)]
include/elf/
        * alpha.h (LITUSE_ALPHA_ADDR, LITUSE_ALPHA_BASE, LITUSE_ALPHA_BYTOFF,
        LITUSE_ALPHA_JSR, LITUSE_ALPHA_TLSGD, LITUSE_ALPHA_TLSLDM): New.

gas/
        * config/tc-alpha.c: Move LITUSE constants to "elf/alpha.h".
        Rename them LITUSE_ALPHA_*.

bfd/
        * elf64-alpha.c (alpha_get_dtprel_base, alpha_get_tprel_base): New.
        (elf64_alpha_relocate_section): Use them.  Reject LE TLS relocs
        in shared libraries.  Fix DTPRELHI and TPRELHI value.
        (INSN_ADDQ, INSN_RDUNIQ): New.
        (struct alpha_relax_info): Add symtab_hdr, tls_segment, first_gotent.
        (elf64_alpha_relax_with_lituse): Return boolean.  Remove irelend
        argument.  Reject dynamic symbols.  Use LITUSE symbolic constants.
        (elf64_alpha_relax_got_load): Rename from relax_without_lituse.
        Handle GOTDTPREL and GOTTPREL relocations.
        (elf64_alpha_relax_gprelhilo): New.
        (elf64_alpha_relax_tls_get_addr): New.
        (elf64_alpha_relax_find_tls_segment): New.
        (elf64_alpha_relax_section): Handle TLS relocations.
        (ALPHA_ELF_LINK_HASH_TLS_IE): New.
        (elf64_alpha_check_relocs): Set it.

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

22 years agodaily update
amodra [Sun, 2 Jun 2002 00:00:06 +0000 (00:00 +0000)]
daily update

22 years agoRegenerate.
cagney [Sat, 1 Jun 2002 23:53:21 +0000 (23:53 +0000)]
Regenerate.

22 years agoAdd everyone to write-after-approval.
cagney [Sat, 1 Jun 2002 23:46:54 +0000 (23:46 +0000)]
Add everyone to write-after-approval.

22 years ago * scripttempl/avr.sc: Changes to support current GCC and avr-libc,
marekm [Sat, 1 Jun 2002 23:28:59 +0000 (23:28 +0000)]
* scripttempl/avr.sc: Changes to support current GCC and avr-libc,
C++ constructors/destructors, loosely based on the m68hc11 port.

22 years agoDelete TiC80, no longer supported by GDB.
cagney [Sat, 1 Jun 2002 23:23:28 +0000 (23:23 +0000)]
Delete TiC80, no longer supported by GDB.

22 years ago * elf64-alpha.c (elf64_alpha_relax_section): Don't store computed gp.
rth [Sat, 1 Jun 2002 21:56:40 +0000 (21:56 +0000)]
    * elf64-alpha.c (elf64_alpha_relax_section): Don't store computed gp.

22 years ago * elf64-alpha.c: Remove dead code.
rth [Sat, 1 Jun 2002 21:28:59 +0000 (21:28 +0000)]
    * elf64-alpha.c: Remove dead code.

22 years ago * elf64-alpha.c (elf64_alpha_check_relocs): Fix typo on maybe_dynamic
rth [Sat, 1 Jun 2002 21:25:33 +0000 (21:25 +0000)]
    * elf64-alpha.c (elf64_alpha_check_relocs): Fix typo on maybe_dynamic
        check; don't suppress dynamic relocs for non-allocated sections.

22 years ago * include/windef.h: Fix typo in last change.
dannysmith [Sat, 1 Jun 2002 21:09:28 +0000 (21:09 +0000)]
* include/windef.h: Fix typo in last change.

22 years ago* stack.c (frame_info): Use frame_register_unwind instead of
cagney [Sat, 1 Jun 2002 20:44:20 +0000 (20:44 +0000)]
* stack.c (frame_info): Use frame_register_unwind instead of
saved_regs.  Mention when the SP is on the stack or in a register.
* frame.h (frame_register_unwind_ftype): Define.  Document.
(struct frame_info): Add field register_unwind and
register_unwind_cache.
(frame_register_unwind): Declare.
(generic_unwind_get_saved_register): Declare.
* frame.c (frame_register_unwind): New function.
(generic_unwind_get_saved_register): New function.
* blockframe.c (generic_call_dummy_register_unwind): New function.
(frame_saved_regs_register_unwind): New function.
(set_unwind_by_pc): New function.
(create_new_frame): New function.
(get_prev_frame): New function.

22 years ago * include/windef.h: Add no-op __try, __except, __finally
dannysmith [Sat, 1 Jun 2002 20:38:32 +0000 (20:38 +0000)]
* include/windef.h: Add no-op __try, __except, __finally
defines from ...
* include/excpt.h: Remove file.
* include/windows.h: Don't include excpt.h.

22 years ago* gdbint.texinfo (Target Architecture Definition): Add section
cagney [Sat, 1 Jun 2002 20:14:16 +0000 (20:14 +0000)]
* gdbint.texinfo (Target Architecture Definition): Add section
``Converting an existing Target Architecture to Multi-arch''.

22 years ago* path.cc (chdir): Don't allow cd'ing to a non-directory virtual path.
cgf [Sat, 1 Jun 2002 18:20:51 +0000 (18:20 +0000)]
* path.cc (chdir): Don't allow cd'ing to a non-directory virtual path.

22 years agoFill-out d10v enum so that there are no ``=''.
cagney [Sat, 1 Jun 2002 18:15:42 +0000 (18:15 +0000)]
Fill-out d10v enum so that there are no ``=''.

22 years ago2002-05-31 Martin M. Hunt <hunt@redhat.com>
hunt [Sat, 1 Jun 2002 06:37:10 +0000 (06:37 +0000)]
2002-05-31  Martin M. Hunt  <hunt@redhat.com>

* library/prefs.tcl (pref_read): If the regular expression
cannot parse line, print debug message and skip it.

22 years ago* fhandler_disk_file.cc (readdir): Move inode calculation into caller.
cgf [Sat, 1 Jun 2002 02:45:38 +0000 (02:45 +0000)]
* fhandler_disk_file.cc (readdir): Move inode calculation into caller.
(fhandler_cygdrive::readdir): Add "." and "..".
* dir.cc (readdir): Move inode calculation here so that fhandler readdirs can
benefit.

22 years agoremove accidentally checked in test version.
cgf [Sat, 1 Jun 2002 02:31:53 +0000 (02:31 +0000)]
remove accidentally checked in test version.

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

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

22 years agooops
cgf [Fri, 31 May 2002 23:00:18 +0000 (23:00 +0000)]
oops

22 years ago(add the rest of the ChangeLog)
cgf [Fri, 31 May 2002 22:59:57 +0000 (22:59 +0000)]
(add the rest of the ChangeLog)
* dtable.cc (dtable::init_std_file_from_handle): Default to using binmode
derived from path_conv, when required.
* fhandler.h (fhandler_base::get_w_binary): Default to binmode if nothing else
is specified.
* fhandler.h (fhandler_base::get_r_binary): Ditto.
* fhandler_disk_file.cc (fhandler_disk_file::fstat_by_handle): Work around g++
warning.
* path.cc (path_conv::check): Remove a debugging statement.

22 years ago* fhandler_console.cc (fhandler_console::open): Reinstate setting of flags.
cgf [Fri, 31 May 2002 22:53:24 +0000 (22:53 +0000)]
* fhandler_console.cc (fhandler_console::open): Reinstate setting of flags.

22 years ago* fhandler_console.cc (fhandler_console::open): Always default to binmode.
cgf [Fri, 31 May 2002 22:35:56 +0000 (22:35 +0000)]
* fhandler_console.cc (fhandler_console::open): Always default to binmode.
(fhandler_console::write_normal): Don't honor binmode setting.  There is
already a termios setting for this.
(fhandler_console::init): Correct argument order in init call.

22 years ago* fhandler.cc (fhandler_base::open): Make default open mode == binmode.
cgf [Fri, 31 May 2002 20:48:13 +0000 (20:48 +0000)]
* fhandler.cc (fhandler_base::open): Make default open mode == binmode.
(fhandler_base::init): Set open flags based on derived binmode argument.

22 years ago2002-05-31 Chris G. Demetriou <cgd@broadcom.com>
cgd [Fri, 31 May 2002 20:46:06 +0000 (20:46 +0000)]
2002-05-31  Chris G. Demetriou  <cgd@broadcom.com>

        * mips-opc.c: Clean up a few whitespace issues, and sort a
        few entries understanding that 'x' follows 'w' in the alphabet.

22 years ago* dll_init.cc (dll_list::init): Eliminate unneeded debugging statement.
cgf [Fri, 31 May 2002 20:34:38 +0000 (20:34 +0000)]
* dll_init.cc (dll_list::init): Eliminate unneeded debugging statement.

22 years ago* fhandler_proc.cc (fhandler_proc::readdir): Set errno when no more files.
cgf [Fri, 31 May 2002 20:30:35 +0000 (20:30 +0000)]
* fhandler_proc.cc (fhandler_proc::readdir): Set errno when no more files.
* fhandler_process.cc (fhandler_process::readdir): Ditto.
* fhandler_registry.cc (fhandler_registry::readdir): Ditto.

22 years ago2002-05-31 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Fri, 31 May 2002 20:18:57 +0000 (20:18 +0000)]
2002-05-31  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/sys/linux/Makefile.am: Add sig.c and sigaction.c.  Also
        make siglist.inc dependent on sig.c instead of signal.c.
        * libc/sys/linux/Makefile.in: Regenerated.
        * libc/sys/linux/sig.c: Rename from signal.c and change code to
        use NSIG instead of _NSIG.
        * libc/sys/linux/sigaction.c: New file.
        * libc/sys/linux/signal.c: Changed to be linux signal() function
        so as to override regular newlib default signal.c.
        * libc/sys/linux/linuxthreads/config.h: Add __ASSUME_REALTIME_SIGNALS
        definition.
        * libc/sys/linux/linuxthreads/testrtsig.h: New file.
        * libc/sys/linux/machine/i386/Makefile.am: Remove sigset.c.
        * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
        * libc/sys/linux/machine/i386/sigset.c: Moved to linux main directory.
        * libc/sys/linux/sigset.c: Moved from machine/i386 directory.
        * libc/sys/linux/sys/signal.h: Redefine NSIG to _NSIG and override
        default linux sigset_t typedef by defining it equal to __sigset_t.
        * libc/unix/sigset.c: Add check so code isn't compiled on systems
        with a sigset_t that isn't implemented with a single int.

22 years ago* Makefile.in: Replace HOST_PREFIX, HOST_PREFIX_1 with BUILD_PREFIX,
dj [Fri, 31 May 2002 20:09:44 +0000 (20:09 +0000)]
* Makefile.in: Replace HOST_PREFIX, HOST_PREFIX_1 with BUILD_PREFIX,
BUILD_PREFIX_1, to correct nomenclature.
* configure: Likewise.

22 years agoFix formatting of "From ... " lines on recent changes
chastain [Fri, 31 May 2002 19:45:27 +0000 (19:45 +0000)]
Fix formatting of "From ... " lines on recent changes
that I committed on behalf of others.

22 years ago* Makefile.in: Eliminate version-specific references to tcl8.1, tk8.1.
dj [Fri, 31 May 2002 19:42:41 +0000 (19:42 +0000)]
* Makefile.in: Eliminate version-specific references to tcl8.1, tk8.1.
* configure.in: Eliminate version-specific references to tcl8.1, tk8.1.

22 years ago* config-ml.in: Propogate DESTDIR also.
dj [Fri, 31 May 2002 19:30:32 +0000 (19:30 +0000)]
* config-ml.in: Propogate DESTDIR also.

22 years ago[ opcodes/ChangeLog ]
cgd [Fri, 31 May 2002 18:27:02 +0000 (18:27 +0000)]
[ opcodes/ChangeLog ]
2002-05-31  Chris G. Demetriou  <cgd@broadcom.com>
            Ed Satterthwaite  <ehs@broadcom.com>

        * mips-opc.c: Add support for SB-1 MDMX subset and extensions.

[ gas/testsuite/ChangeLog ]
2002-05-31  Chris G. Demetriou  <cgd@broadcom.com>

        * gas/mips/sb1-ext-mdmx.s: New file.
        * gas/mips/sb1-ext-mdmx.d: Likewise.
        * gas/mips/mips.exp: Run new "sb1-ext-mdmx" test.

22 years ago2002-05-31 Chris G. Demetriou <cgd@broadcom.com>
cgd [Fri, 31 May 2002 16:48:04 +0000 (16:48 +0000)]
2002-05-31  Chris G. Demetriou  <cgd@broadcom.com>

        * gas/mips/mips.exp: Use elf-rel2 and elfel-rel2 for
        mipsisa64*-*-* targets, rather than e32-rel2 and e32el-rel2.

22 years ago2002-05-31 Michal Ludvig <mludvig@suse.cz>
mludvig [Fri, 31 May 2002 15:28:32 +0000 (15:28 +0000)]
2002-05-31  Michal Ludvig  <mludvig@suse.cz>

* elf/dwarf2.h (DW_CFA_low_user, DW_CFA_high_user): Renamed
to DW_CFA_lo_user, DW_CFA_hi_user respectively.

22 years agoAllow stm.l and ldm.l insns to accept parentheses enclosed register lists.
nickc [Fri, 31 May 2002 14:29:53 +0000 (14:29 +0000)]
Allow stm.l and ldm.l insns to accept parentheses enclosed register lists.

22 years ago2002-05-30 Chris G. Demetriou <cgd@broadcom.com>
cgd [Fri, 31 May 2002 06:35:36 +0000 (06:35 +0000)]
2002-05-30  Chris G. Demetriou  <cgd@broadcom.com>

        * gas/mips/mips64-mdmx.s: Tweak to more thoroughly cover
        instruction encodings.
        * gas/mips/mips64-mdmx.d: Likewise.

22 years ago * Makefile.in: Regenerate.
amodra [Fri, 31 May 2002 04:33:55 +0000 (04:33 +0000)]
* Makefile.in: Regenerate.
* aclocal.m4: Regenerate.
* config.in: Regenerate.
* configure: Regenerate.

22 years ago * Makefile.am: Run "make dep-am".
amodra [Fri, 31 May 2002 04:27:35 +0000 (04:27 +0000)]
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
* po/POTFILES.in: Regenerate.

22 years ago * Makefile.am: Run "make dep-am".
amodra [Fri, 31 May 2002 04:25:50 +0000 (04:25 +0000)]
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
* po/POTFILES.in: Regenerate.

22 years ago * bfd-in2.h: Regenerate.
amodra [Fri, 31 May 2002 04:23:26 +0000 (04:23 +0000)]
* bfd-in2.h: Regenerate.
* libbfd.h: Regenerate.
* po/SRC-POTFILES.in: Regenerate.

22 years ago * elf64-ppc.c (ppc64_elf_size_dynamic_sections): Don't allocate
amodra [Fri, 31 May 2002 04:19:31 +0000 (04:19 +0000)]
* elf64-ppc.c (ppc64_elf_size_dynamic_sections): Don't allocate
space for bss .plt.

22 years ago* path.cc (path_conv::check): Set fileattr to INVALID_FILE_ATTRIBUTES for
cgf [Fri, 31 May 2002 03:11:20 +0000 (03:11 +0000)]
* path.cc (path_conv::check): Set fileattr to INVALID_FILE_ATTRIBUTES for
nonexistent virtual device path.
(chdir): Set correct errno when attempt is made to cd to nonexistent virtual
device path.

22 years ago * Makefile.am (ALL_EMULATIONS): Add ei386nto.o.
amodra [Fri, 31 May 2002 03:02:33 +0000 (03:02 +0000)]
* Makefile.am (ALL_EMULATIONS): Add ei386nto.o.
(ei386nto.c): Add rule.
* Makefile.in: Regenerate.
* configure.tgt: Add i[3456]86-*-nto-qnx*.
* emulparams/i386nto.sh: New file.

22 years ago * configure.in: Add i386-*-nto-qnx*.
amodra [Fri, 31 May 2002 03:00:58 +0000 (03:00 +0000)]
* configure.in: Add i386-*-nto-qnx*.
* configure: Regenerate.

22 years ago * Makefile.am (BFD32_BACKENDS): Add elf32-i386qnx.lo.
amodra [Fri, 31 May 2002 02:59:43 +0000 (02:59 +0000)]
* Makefile.am (BFD32_BACKENDS): Add elf32-i386qnx.lo.
(BFD32_BACKENDS_CFILES): Add elf32-i386qnx.c.
Run "make dep-am".
* Makefile.in: Regenerate.
* config.bfd: Add i[3456]86-*-nto-qnx* support.
* configure.in: Add bfd_elf32_i386qnx_vec support.
* configure: Regenerate.
* elf-bfd.h (struct elf_backend_data): Add set_nonloadable_filepos,
is_contained_by_filepos, and copy_private_bfd_data_p.
* elf.c (assign_file_positions_for_segments): Call backend
set_nonloadable_filepos.  Fix non-K&R call to _bfd_error_handler.
(IS_CONTAINED_BY_FILEPOS): Define.
(INCLUDE_SECTION_IN_SEGMENT): Also test IS_CONTAINED_BY_FILEPOS.
(copy_private_bfd_data): Use IS_CONTAINED_BY_FILEPOS.  Typo fix.
Fix non-K&R call to _bfd_error_handler.
(_bfd_elf_copy_private_section_data): Use backend
copy_private_bfd_data_p.
* elf32-i386.c: Don't include elfxx-target.h when
ELF32_I386_C_INCLUDED is defined.
* elf32-i386qnx.c: New QNX elf backend file.
* elfxx-target.h: Add elf_backend_set_nonloadable_filepos,
elf_backend_is_contained_by_filepos, and
elf_backend_do_copy_private_bfd_data.
* targets.c: Add bfd_target bfd_elf32_i386qnx_vec.

22 years ago * elfarm-oabi.c (bfd_elf32_arm_add_glue_sections_to_bfd): Define.
amodra [Fri, 31 May 2002 02:28:53 +0000 (02:28 +0000)]
* elfarm-oabi.c (bfd_elf32_arm_add_glue_sections_to_bfd): Define.
Move other similar defines to start of file.

22 years ago * config/tc-mips.c (mips_ip): Use unsigned long values for
ths [Fri, 31 May 2002 02:27:15 +0000 (02:27 +0000)]
* config/tc-mips.c (mips_ip): Use unsigned long values for
warning output.

22 years ago * config/tc-mips.c (s_cpsetup): Fix initialization of
ths [Fri, 31 May 2002 02:20:03 +0000 (02:20 +0000)]
* config/tc-mips.c (s_cpsetup): Fix initialization of
mips_cpreturn_register and mips_cpreturn_offset.

22 years ago * run.c: Fix formatting.
kazu [Fri, 31 May 2002 02:17:26 +0000 (02:17 +0000)]
* run.c: Fix formatting.

22 years ago * config/tc-mips.c (s_cpsetup): Fix comment.
ths [Fri, 31 May 2002 02:04:54 +0000 (02:04 +0000)]
* config/tc-mips.c (s_cpsetup): Fix comment.

22 years ago * config/tc-mips.c (md_begin): Add $ra as alias name for $31.
ths [Fri, 31 May 2002 01:58:17 +0000 (01:58 +0000)]
* config/tc-mips.c (md_begin): Add $ra as alias name for $31.
(mips_ip): Likewise.
(mips16_ip): Likewise.
(tc_get_register): Likewise.

22 years agoZap more a29k stragglers.
cagney [Fri, 31 May 2002 01:45:11 +0000 (01:45 +0000)]
Zap more a29k stragglers.

22 years ago* gdbint.texinfo (Releasing GDB): Rename ``Obsoleting any code''
cagney [Fri, 31 May 2002 01:36:16 +0000 (01:36 +0000)]
* gdbint.texinfo (Releasing GDB): Rename ``Obsoleting any code''
to ``Obsoleting code''.  Revise.

22 years ago[ gas/ChangeLog ]
cgd [Fri, 31 May 2002 01:17:11 +0000 (01:17 +0000)]
[ gas/ChangeLog ]
2002-05-30  Chris G. Demetriou  <cgd@broadcom.com>
            Ed Satterthwaite  <ehs@broadcom.com>

* config/tc-mips.c (mips_set_options): New "ase_mdmx" member.
(mips_opts): Initialize "ase_mdmx" member.
(file_ase_mdmx): New variable.
(CPU_HAS_MDMX): New macro.
(md_begin): Initialize mips_opts.ase_mdmx and file_ase_mdmx
based on command line options and configuration defaults.
(macro_build): Note in comment that use of MDMX in macros is
not currently allowed.
(validate_mips_insn): Add support for the "O", "Q", "X", "Y", and
"Z" MDMX operand types.
(mips_ip): Accept MDMX instructions if mips_opts.ase_mdmx is set,
and add support for the "O", "Q", "X", "Y", and "Z" MDMX operand
types.
(OPTION_MDMX, OPTION_NO_MDMX, md_longopts, md_parse_option):
Add support for "-mdmx" and "-no-mdmx" options.
(OPTION_ELF_BASE): Move to accomodate new options.
(s_mipsset): Support ".set mdmx" and ".set nomdmx".
(mips_elf_final_processing): Set MDMX ASE ELF header flag if
file_ase_mdmx was set.
* doc/as.texinfo: Document -mdmx and -no-mdmx options.
* doc/c-mips.texi: Likewise, and document ".set mdmx" and ".set
nomdmx" directives.

[ gas/testsuite/ChangeLog ]
2002-05-30  Chris G. Demetriou  <cgd@broadcom.com>

* gas/mips/mips64-mdmx.s: New file.
* gas/mips/mips64-mdmx.d: Likewise.
* gas/mips/mips.exp: Run new "mips64-mdmx" test.

[ include/opcode/ChangeLog ]
2002-05-30  Chris G. Demetriou  <cgd@broadcom.com>

* mips.h (OP_SH_ALN, OP_MASK_ALN, OP_SH_VSEL, OP_MASK_VSEL)
(MDMX_FMTSEL_IMM_QH, MDMX_FMTSEL_IMM_OB, MDMX_FMTSEL_VEC_QH)
(MDMX_FMTSEL_VEC_OB, INSN_READ_MDMX_ACC, INSN_WRITE_MDMX_ACC)
(INSN_MDMX): New constants, for MDMX support.
(opcode character list): Add "O", "Q", "X", "Y", and "Z" for MDMX.

[ opcodes/ChangeLog ]
2002-05-30  Chris G. Demetriou  <cgd@broadcom.com>
            Ed Satterthwaite  <ehs@broadcom.com>

* mips-dis.c (print_insn_arg): Add support for 'O', 'Q', 'X', 'Y',
and 'Z' formats, for MDMX.
        (mips_isa_type): Add MDMX instructions to the ISA
bit mask for bfd_mach_mipsisa64.
* mips-opc.c: Add support for MDMX instructions.
(MX): New definition.

* mips-dis.c: Update copyright years to include 2002.

22 years ago* config/djgpp/fnchange.lst: Add ns32knbsd-nat.c, ns32knbsd-tdep.c,
thorpej [Fri, 31 May 2002 01:10:47 +0000 (01:10 +0000)]
* config/djgpp/fnchange.lst: Add ns32knbsd-nat.c, ns32knbsd-tdep.c,
ppcnbsd-nat.c, ppcnbsd-tdep.c, sparcnbsd-nat.c, and sparcnbsd-tdep.c.

22 years agoAdd 16 bit R_RBA.
trix [Fri, 31 May 2002 01:07:20 +0000 (01:07 +0000)]
Add 16 bit R_RBA.

22 years ago* Makefile.in (ALLDEPFILES): Add sparc64nbsd-nat.c,
thorpej [Fri, 31 May 2002 00:59:13 +0000 (00:59 +0000)]
* Makefile.in (ALLDEPFILES): Add sparc64nbsd-nat.c,
sparcnbsd-nat.c, and sparcnbsd-tdep.c.
(sparc64nbsd-nat.o)
(sparcnbsd-nat.o)
(sparcnbsd-tdep.o): New dependency lists.
* NEWS: Note new UltraSPARC NetBSD native configuration.
* configure.host (sparc64-*-netbsd*): New host.
* configure.tgt (sparc-*-netbsdelf*)
(sparc-*-netbsd*): Set gdb_target to nbsd.
(sparc64-*-netbsd*): New target.
* sparc64nbsd-nat.c: New file.
* sparcnbsd-nat.c: New file.
* sparcnbsd-tdep.c: New file.
* sparcnbsd-tdep.h: New file.
* config/sparc/nbsd.mt: New file.
* config/sparc/nbsd64.mh: New file.
* config/sparc/nbsd64.mt: New file.
* config/sparc/nbsdaout.mh (NATDEPFILES): Remove corelow.o,
sparc-nat.o, and solib.o.  Add sparcnbsd-nat.o.
(HOST_IPC): Remove.
* config/sparc/nbsdaout.mt: Remove.
* config/sparc/nbsdelf.mh (NATDEPFILES): Remove corelow.o,
sparc-nat.o, and solib.o.  Add sparcnbsd-nat.o.
(HOST_IPC): Remove.
* config/sparc/nbsdelf.mt: Remove.
* config/sparc/nm-nbsd.h: Update copyright years.  Remove all
sparc-nat.c compatiblity defines.
* config/sparc/tm-nbsd.h: Update copyright years.  Include solib.h.
(GDB_MULTI_ARCH): Set to GDB_MULTI_ARCH_PARTIAL.
* config/sparc/tm-nbsd64.h: New file.
* config/sparc/tm-nbsdaout.h: Remove.
* config/sparc/xm-nbsd.h: Remove.

22 years ago* Makefile.in (sparc-tdep.o): Add osabi.h to dependency list.
thorpej [Fri, 31 May 2002 00:19:43 +0000 (00:19 +0000)]
* Makefile.in (sparc-tdep.o): Add osabi.h to dependency list.
* sparc-tdep.c: Include osabi.h.
(gdbarch_tdep): Add osabi member.
(_initialize_sparc_tdep): Use gdbarch_register.
(sparc_gdbarch_init): Use generic OS ABI framework.
(sparc_dump_tdep): New function.

22 years ago* fhandler_disk_file.cc (fhandler_disk_file::fstat): Always call fstat_by_name
cgf [Fri, 31 May 2002 00:15:21 +0000 (00:15 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::fstat): Always call fstat_by_name
if fd is not opened to allow fstat_by_name to properly set errno.
* fhandler.cc (binmode): Default to binmode when mode is not known.