OSDN Git Service

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

22 years ago*** empty log message ***
gdbadmin [Fri, 31 May 2002 00:00:06 +0000 (00:00 +0000)]
*** empty log message ***

22 years agodaily update
amodra [Fri, 31 May 2002 00:00:06 +0000 (00:00 +0000)]
daily update

22 years ago * config/tc-mips.c (OPTION_NO_M7000_HILO_FIX): Rename to
ths [Thu, 30 May 2002 23:38:15 +0000 (23:38 +0000)]
* config/tc-mips.c (OPTION_NO_M7000_HILO_FIX): Rename to
OPTION_MNO_7000_HILO_FIX. Add alternate "mno-fix7000"
command line switch conforming to gcc conventions.
* doc/c-mips.texi: Document -mno-fix7000 instead of no-mfix-7000.

22 years ago * config/tc-mips.c (macro_build_jalr): New Function.
ths [Thu, 30 May 2002 23:32:44 +0000 (23:32 +0000)]
* config/tc-mips.c (macro_build_jalr): New Function.
(md_begin): NewABI uses big GOTs.
(macro_build): Recognize BFD_RELOC_MIPS_GOT_DISP,
BFD_RELOC_MIPS_GOT_PAGE, BFD_RELOC_MIPS_GOT_OFST as valid.
(load_address): Add some NewABI PIC support.
(macro): Likewise.
(md_apply_fix): Special handling for BFD_RELOC_MIPS_JALR.
(tc_gen_reloc): Don't encode NewABI vtables in REL relocations.

22 years agoMake safe_read_memory_integer() return non-zero result when successful.
kevinb [Thu, 30 May 2002 22:41:24 +0000 (22:41 +0000)]
Make safe_read_memory_integer() return non-zero result when successful.

22 years ago * doc/c-alpha.texi: Add docs for tls relocations.
rth [Thu, 30 May 2002 22:34:40 +0000 (22:34 +0000)]
    * doc/c-alpha.texi: Add docs for tls relocations.

22 years ago * config/tc-mips.c (load_address): Use mips_gp_register instead
ths [Thu, 30 May 2002 22:29:18 +0000 (22:29 +0000)]
* config/tc-mips.c (load_address): Use mips_gp_register instead
of hardcoded value. Remove dbl parameter, use HAVE_32BIT_ADDRESSES
instead.
(macro): Use mips_gp_register instead of hardcoded value.

22 years agoinclude/elf/
rth [Thu, 30 May 2002 22:01:27 +0000 (22:01 +0000)]
include/elf/
        * alpha.h (R_ALPHA_TLSGD, R_ALPHA_TLSLDM, R_ALPHA_DTPMOD64,
        R_ALPHA_GOTDTPREL, R_ALPHA_DTPREL64, R_ALPHA_DTPRELHI,
        R_ALPHA_DTPRELLO, R_ALPHA_DTPREL16, R_ALPHA_GOTTPREL, R_ALPHA_TPREL64,
        R_ALPHA_TPRELHI, R_ALPHA_TPRELLO, R_ALPHA_TPREL16): New.

bfd/
        * elf64-alpha.c (ALPHA_ELF_LINK_HASH_LU_TLSGD,
        ALPHA_ELF_LINK_HASH_LU_TLSLDM, ALPHA_ELF_LINK_HASH_LU_FUNC): New.
        (ALPHA_ELF_GOT_ENTRY_RELOCS_DONE): Remove.
        (ALPHA_ELF_GOT_ENTRY_RELOCS_XLATED): Remove.
        (struct alpha_elf_got_entry): Add reloc_type, reloc_done, reloc_xlated.
        (struct alpha_elf_obj_tdata): Rename total_got_entries and
        n_local_got_entries to total_got_size and local_got_size.
        (elf64_alpha_howto, elf64_alpha_reloc_map): Update for TLS relocs.
        (alpha_got_entry_size): New.
        (elf64_alpha_relax_with_lituse): Use it.
        (elf64_alpha_relax_without_lituse): Likewise.
        (MAX_GOT_SIZE): Rename from MAX_GOT_ENTRIES.
        (get_got_entry): New.
        (elf64_alpha_check_relocs): Handle TLS relocs.  Reorganize.
        (elf64_alpha_adjust_dynamic_symbol): Test LU_FUNC as a mask.
        (elf64_alpha_merge_ind_symbols): Check gotent->reloc_type.
        (elf64_alpha_can_merge_gots, elf64_alpha_merge_gots): Likewise.
        (elf64_alpha_calc_got_offsets_for_symbol): Use alpha_got_entry_size.
        (elf64_alpha_calc_got_offsets): Likewise.
        (alpha_dynamic_entries_for_reloc): New.
        (elf64_alpha_calc_dynrel_sizes): Use it.
        (elf64_alpha_size_dynamic_sections): Likewise.
        (elf64_alpha_relocate_section): Handle TLS relocations.
        * reloc.c: Add Alpha TLS relocations.
        * bfd-in2.h, libbfd.h: Rebuild.

gas/
        * expr.h (operatorT): Add O_md17..O_md32.
        * config/tc-alpha.c (O_lituse_tlsgd, O_lituse_tlsldm, O_tlsgd,
        O_tlsldm, O_gotdtprel, O_dtprelhi, O_dtprello, O_dtprel, O_gottprel,
        O_tprelhi, O_tprello, O_tprel): New.
        (USER_RELOC_P, alpha_reloc_op_tag, debug_exp): Include them.
        (DUMMY_RELOC_LITUSE_TLSGD, DUMMY_RELOC_LITUSE_TLSLDM): New.
        (LITUSE_TLSGD, LITUSE_TLSLDM): New.
        (struct alpha_reloc_tag): Add master, saw_tlsgd, saw_tlsld,
        saw_lu_tlsgd, saw_lu_tlsldm.  Make multi_section_p a bit field.
        (md_apply_fix3): Handle TLS relocations.
        (alpha_force_relocation, alpha_fix_adjustable): Likewise.
        (alpha_adjust_symtab_relocs): Sort LITERAL relocs after the
        associated TLS reloc.  Check lituse_tls relocs match up.
        (emit_insn): Handle TLS relocations.
        (ldX_op): Remove.

gas/testsuite/
        * gas/alpha/elf-tls-1.s, gas/alpha/elf-tls-1.d: New.
        * gas/alpha/elf-tls-2.s, gas/alpha/elf-tls-1.l: New.
        * gas/alpha/elf-tls-3.s, gas/alpha/elf-tls-1.l: New.
        * gas/alpha/alpha.exp: Run them.

22 years ago * ld-bootstrap/bootstrap.exp: Test --relax.
rth [Thu, 30 May 2002 21:39:41 +0000 (21:39 +0000)]
    * ld-bootstrap/bootstrap.exp: Test --relax.

22 years ago * config/tc-mips.c (mips_gprel_offset): New variable.
ths [Thu, 30 May 2002 21:06:11 +0000 (21:06 +0000)]
* config/tc-mips.c (mips_gprel_offset): New variable.
(s_gpvalue): Use it.

22 years ago2002-05-30 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Thu, 30 May 2002 20:50:56 +0000 (20:50 +0000)]
2002-05-30  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/sys/linux/Makefile.am: Add support for new files.
        * libc/sys/linux/Makefile.in: Regenerated.
        * libc/sys/linux/ids.c: Add __getuid weak alias for getuid.
        * libc/sys/linux/signal.c: Change to use real-time syscalls for
        sigsuspend, sigprocmask, and sigpending.  Also remove sigaction as
        it is in a separate file now.
        * libc/sys/linux/machine/i386/Makefile.am
        * libc/sys/linux/machine/i386/Makefile.in
        * libc/sys/linux/sys/signal.h: Add include of <bits/signum.h>.
        * libc/sys/linux/sigaction.c: New file.
        * libc/sys/linux/sigqueue.c: Ditto.
        * libc/sys/linux/sigwait.c: Ditto.
        * libc/sys/linux/machine/i386/sigaction.c: Ditto.
        * libc/sys/linux/kernel_sigaction.h: Ditto.

22 years ago* mkpasswd.cc (main): Don't reset to binmode if stdout is a terminal.
cgf [Thu, 30 May 2002 19:35:51 +0000 (19:35 +0000)]
* mkpasswd.cc (main): Don't reset to binmode if stdout is a terminal.

22 years ago2002-05-30 Michael Chastain <mec@shout.net>
chastain [Thu, 30 May 2002 19:09:44 +0000 (19:09 +0000)]
2002-05-30  Michael Chastain  <mec@shout.net>
From Benjamin Kosnik  <bkoz@redhat.com>

* gdb.c++/m-static.cc: New file.
* gdb.c++/m-static.exp: New file.

22 years agod10v fixes.
trix [Thu, 30 May 2002 16:16:26 +0000 (16:16 +0000)]
d10v fixes.

22 years agoSome d10v gas tests.
trix [Thu, 30 May 2002 16:12:16 +0000 (16:12 +0000)]
Some d10v gas tests.

22 years ago2002-05-30 Frank Ch. Eigler <fche@redhat.com>
fche [Thu, 30 May 2002 15:28:43 +0000 (15:28 +0000)]
2002-05-30  Frank Ch. Eigler  <fche@redhat.com>

* m32r.cxx (syscall_trap): Pass exit rc to cfgroot.

22 years agoFix for invalid conflict warning.
trix [Thu, 30 May 2002 15:25:37 +0000 (15:25 +0000)]
Fix for invalid conflict warning.

22 years ago2002-05-30 Frank Ch. Eigler <fche@redhat.com>
fche [Thu, 30 May 2002 15:23:58 +0000 (15:23 +0000)]
2002-05-30  Frank Ch. Eigler  <fche@redhat.com>

* compConfig.cxx (stop): Store incoming code in new "stop-code"
attribute.
* sid-control-cfgroot.xml: Document this.
* sid-control-cfgroot.txt: Regenerated.

22 years ago* lf.c (lf_print__gnu_copyleft): Convert multiline strings to
dj [Thu, 30 May 2002 15:07:06 +0000 (15:07 +0000)]
* lf.c (lf_print__gnu_copyleft): Convert multiline strings to
compatible format.
* gen-idecode.c (print_run_until_stop_body): Likewise.
* gen-model.c (gen_model_c): Likewise.

22 years agoRemove double printed import table lines; add Bound-To comment.
nickc [Thu, 30 May 2002 11:06:08 +0000 (11:06 +0000)]
Remove double printed import table lines; add Bound-To comment.

22 years ago * include/ntdef.h (ANSI_STRING, PANSI_STRING, OEM_STRING, POEM_STRING):
corinna [Thu, 30 May 2002 08:20:51 +0000 (08:20 +0000)]
* include/ntdef.h (ANSI_STRING, PANSI_STRING, OEM_STRING, POEM_STRING):
Add missing typedefs.

22 years ago * autoload.cc: Replace autoload statments for ZwXXX by NtXXX.
corinna [Thu, 30 May 2002 07:45:28 +0000 (07:45 +0000)]
* autoload.cc: Replace autoload statments for ZwXXX by NtXXX.
Drop ZwQuerySystemInformation since NtQuerySystemInformation was
already available.
* fhandler_proc.cc (format_proc_uptime): Replace call to
ZwQuerySystemInformation by call to NtQuerySystemInformation.
(format_proc_stat): Ditto.
* fhandler_process.cc (format_process_stat): Replace call to
ZwQueryInformationProcess by call to NtQueryInformationProcess.
(get_process_state): Ditto.
(get_mem_values): Ditto.  Replace call to ZwQueryVirtualMemory by
call to NtQueryVirtualMemory.
* ntdll.h: Cleanup.  Drop ZwQuerySystemInformation since
NtQuerySystemInformation was already available.  Replace declarations
of ZwXXX functions by declarations of NtXXX.
* pinfo.cc (winpids::enumNT): Replace call to ZwQuerySystemInformation
by call to NtQuerySystemInformation.

22 years ago* mount.cc (main): Make -b the default.
cgf [Thu, 30 May 2002 03:42:19 +0000 (03:42 +0000)]
* mount.cc (main): Make -b the default.

22 years agospeling fxi
cgf [Thu, 30 May 2002 03:14:04 +0000 (03:14 +0000)]
speling fxi

22 years ago* NEWS: Add entry for VAX ELF support.
thorpej [Thu, 30 May 2002 02:58:03 +0000 (02:58 +0000)]
* NEWS: Add entry for VAX ELF support.

22 years ago* configure.in (vax-*-netbsd*): Don't build gas for this
thorpej [Thu, 30 May 2002 02:47:47 +0000 (02:47 +0000)]
* configure.in (vax-*-netbsd*): Don't build gas for this
platform.

22 years ago2002-05-29 Matt Thomas <matt@3am-software.com>
thorpej [Thu, 30 May 2002 02:40:00 +0000 (02:40 +0000)]
2002-05-29  Matt Thomas  <matt@3am-software.com>
            Jason Thorpe  <thorpej@wasabisystems.com>

* Makefile.am (ALL_EMULATIONS): Add eelf32vax.o and evaxnbsd.o.
(eelf32vax.c)
(evaxnbsd.c): New rules.
* Makefile.in: Regenerate.
* configure.tgt (vax-*-netbsdelf*)
(vax-*-netbsdaout*)
(vax-*-netbsd*): New targets.
* emulparams/elf32vax.sh: New file.
* emulparams/vaxnbsd.sh: New file.

22 years ago2002-05-29 Matt Thomas <matt@3am-software.com>
thorpej [Thu, 30 May 2002 02:14:10 +0000 (02:14 +0000)]
2002-05-29  Matt Thomas  <matt@3am-software.com>

* Makefile.am (BFD32_BACKENDS): Add elf32-vax.lo.
(BFD32_BACKENDS_CFILES): Add elf32-vax.c.
(elf32-vax.lo): New rule.
* Makefile.in: Regenerate.
* configure.in (bfd_elf32_vax_vec)
(vaxnetbsd_vec): New vectors.
* configure: Regenerate.
* config.bfd (vax-*-netbsdelf*)
(vax-*-netbsdaout*)
(vax-*-netbsd*): New targets.
* elf32-vax.c: New file.
* reloc.c: Add VAX relocations.
* bfd-in2.h: Regenerate.
* targets.c (_bfd_target_vector): Add bfd_elf32_vax_vec.

22 years ago2002-05-29 Matt Thomas <matt@3am-software.com>
thorpej [Thu, 30 May 2002 01:43:48 +0000 (01:43 +0000)]
2002-05-29  Matt Thomas  <matt@3am-software.com>

* vax.h: New file

22 years agoFix typo in previous entry.
thorpej [Thu, 30 May 2002 01:31:03 +0000 (01:31 +0000)]
Fix typo in previous entry.

22 years ago* Makefile.in (ppc_tdep_h): Define.
thorpej [Thu, 30 May 2002 01:21:51 +0000 (01:21 +0000)]
* Makefile.in (ppc_tdep_h): Define.
(ppc-linux-nat.o)
(ppc-linux-tdep.o)
(rs6000-tdep.o): Use $(ppc_tdep_h).
(ppc-sysv-tdep.o)
(ppcnbsd-nat.o)
(ppcnbsd-tdep.o): New dependency lists.
* ppc-tdep.h: Use generic OS ABI framework.
* ppc-linux-tdep.c (_initialize_ppc_linux_tdep,
ppc_linux_init_abi): New functions.
(ppc_sysv_abi_broken_use_struct_convention)
(ppc_sysv_abi_use_struct_convention)
(ppc_sysv_abi_push_arguments): Move to...
* ppc-sysv-tdep.c: ...here.
* ppcnbsd-nat.c: Don't include gdbcore.h and regcache.h.
* rs6000-tdep.c (process_note_abi_tag_sections)
(get_elfosabi): Remove.
(rs6000_gdbarch_init): Use generic OS ABI framework.
(rs6000_dump_tdep): New function.
(_initialize_rs6000_tdep): Use gdbarch_register.
* config/powerpc/linux.mt (TDEPFILES): Add ppc-sysv-tdep.o.
* config/powerpc/nbsd.mh (NATDEPFILES): Remove solib-legacy.o.
* config/powerpc/aix.mt (TDEPFILES): Use ppc-sysv-tdep.o instead
of ppc-linux-tdep.o.
* config/powerpc/nbsd.mt (TDEPFILES): Likewise.
* config/powerpc/ppc-eabi.mt (TDEPFILES): Likewise.
* config/powerpc/ppc-sim.mt (TDEPFILES): Likewise.
* config/powerpc/ppcle-eabi.mt (TDEPFILES): Likewise.
* config/powerpc/ppcle-sim.mt (TDEPFILES): Likewise.
* config/powerpc/vxworks.mt (TDEPFILES): Likewise.

22 years ago * MAINTAINERS: Add self as M68k maintainer.
bje [Thu, 30 May 2002 01:14:21 +0000 (01:14 +0000)]
* MAINTAINERS: Add self as M68k maintainer.

22 years ago* macroscope.c (default_macro_scope): Put `void' in empty argument
jimb [Thu, 30 May 2002 00:02:03 +0000 (00:02 +0000)]
* macroscope.c (default_macro_scope): Put `void' in empty argument
list.

22 years ago*** empty log message ***
gdbadmin [Thu, 30 May 2002 00:00:05 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago* config.bfd (arm-*-netbsd*): Add bfd_elf32_littlearm_vec
thorpej [Wed, 29 May 2002 21:10:16 +0000 (21:10 +0000)]
* config.bfd (arm-*-netbsd*): Add bfd_elf32_littlearm_vec
and bfd_elf32_bigarm_vec to targ_selvecs.

22 years ago* include/sys/cygwin.h (EXTERNAL_PINFO_VERSION): Reinstate.
cgf [Wed, 29 May 2002 21:00:51 +0000 (21:00 +0000)]
* include/sys/cygwin.h (EXTERNAL_PINFO_VERSION): Reinstate.
* external.cc (fillout_pinfo): Use it.

22 years ago * ps.cc (main): Use uid or uid32 member of struct external_pinfo
corinna [Wed, 29 May 2002 20:10:27 +0000 (20:10 +0000)]
* ps.cc (main): Use uid or uid32 member of struct external_pinfo
dependent of the value of the struct's version member.

22 years ago * external.cc (fillout_pinfo): Use new version define.
corinna [Wed, 29 May 2002 20:07:49 +0000 (20:07 +0000)]
* external.cc (fillout_pinfo): Use new version define.
* include/sys/cygwin.h (external_pinfo): Define
EXTERNAL_PINFO_VERSION_16_BIT and EXTERNAL_PINFO_VERSION_32_BIT
instead of just EXTERNAL_PINFO_VERSION.

22 years ago* peXXigen.c (pe_print_idata): Fix seg faults on printing import tables with
cgf [Wed, 29 May 2002 20:06:25 +0000 (20:06 +0000)]
* peXXigen.c (pe_print_idata): Fix seg faults on printing import tables with
auto-imported symbols.

22 years agoSet the FSR and FAR registers if a Data Abort is detected.
nickc [Wed, 29 May 2002 19:01:36 +0000 (19:01 +0000)]
Set the FSR and FAR registers if a Data Abort is detected.

22 years ago* external.cc (fillout_pinfo): Set new version field in external_pinfo
cgf [Wed, 29 May 2002 17:12:05 +0000 (17:12 +0000)]
* external.cc (fillout_pinfo): Set new version field in external_pinfo
structure.
* include/sys/cygwin.h (external_pinfo): Replace strace_file with version
field.

22 years ago* Makefile.in (arch-utils.o): Add $(sim_regno_h).
cagney [Wed, 29 May 2002 16:39:50 +0000 (16:39 +0000)]
* Makefile.in (arch-utils.o): Add $(sim_regno_h).
* arch-utils.c: Include "sim-regno.h".
* gdbarch.sh: Don't include "sim-regno.h".
* gdbarch.h, gdbarch.c: Regenerate.
* sim-regno.h (legacy_register_sim_regno): Move declaration from
here.
* arch-utils.h (legacy_register_sim_regno): To here.
* remote-sim.c (legacy_register_sim_regno): Move function from
here.
* arch-utils.c (legacy_register_sim_regno): To here.

22 years agoFix genreation of arm <->thumb glue stubs by ensuring that they are in the last secti...
nickc [Wed, 29 May 2002 16:02:54 +0000 (16:02 +0000)]
Fix genreation of arm <->thumb glue stubs by ensuring that they are in the last section linked.

22 years ago * ps.cc (main): Change print format for uid to unsigned. Use uid32
corinna [Wed, 29 May 2002 15:07:14 +0000 (15:07 +0000)]
* ps.cc (main): Change print format for uid to unsigned.  Use uid32
member of struct external_pinfo instead of uid.

22 years ago Change internal uid datatype from __uid16_t to __uid32_t
corinna [Wed, 29 May 2002 15:04:26 +0000 (15:04 +0000)]
Change internal uid datatype from __uid16_t to __uid32_t
throughout.
* cygwin.din: Export new symbols getpwuid32, getpwuid_r32, getuid32,
geteuid32, setuid32, seteuid32.
* passwd.cc (getpwuid32): New function.
(getpwuid_r32): Ditto.
* syscalls.cc (seteuid32): Ditto.
(setuid32): Ditto.
* uinfo.cc (getuid32): Ditto.
(geteuid32): Ditto.
* winsup.h (uid16touid32): New macro, correclt casting from __uid16_t
to __uid32_t.
(gid16togid32): Ditto fir gids.
(getuid32): Declare.
(geteuid32): Ditto.
(getpwuid32): Ditto.
* include/sys/cygwin.h (struct external_pinfo): Add members uid32 and
gid32.

22 years agoMove declaration and initialisation of saw_line and saw_func out of for loop.
nickc [Wed, 29 May 2002 08:46:58 +0000 (08:46 +0000)]
Move declaration and initialisation of saw_line and saw_func out of for loop.
(Actual patch accidentally checked in yesterday!)

22 years ago * include/cygwin/socket.h: Protect some symbols against multiple
corinna [Wed, 29 May 2002 07:38:50 +0000 (07:38 +0000)]
* include/cygwin/socket.h: Protect some symbols against multiple
definition.
* include/netinet/ip.h: Ditto.
* include/netinet/tcp.h: Ditto.

* include/netinet/ip.h: Replace by BSD derived version of the file.
* include/netinet/tcp.h: Ditto.
* include/netinet/udp.h: New file.
* include/cygwin/ip.h: Remove.

22 years ago * passwd.c (prog_name): New global variable.
corinna [Wed, 29 May 2002 07:13:09 +0000 (07:13 +0000)]
* passwd.c (prog_name): New global variable.
(longopts): Ditto.
(opts): Ditto.
(usage): Standardize output. Accomodate new options.
(print_version): New function.
(main): Accomodate longopts and new --help, --version options.

22 years ago* dtable.cc (dtable::init_std_file_from_handle): Attempt stronger detection of
cgf [Wed, 29 May 2002 05:15:43 +0000 (05:15 +0000)]
* dtable.cc (dtable::init_std_file_from_handle): Attempt stronger detection of
invalid handle.
(handle_to_fn): Detect pathological condition where NT resets the buffer
pointer to NULL on an invalid handle.

22 years ago * binutils-all/objcopy.exp (strip_test_with_saving_a_symbol):
amodra [Wed, 29 May 2002 05:00:31 +0000 (05:00 +0000)]
* binutils-all/objcopy.exp (strip_test_with_saving_a_symbol):
Revert 2001-11-15.  Instead allow `D main'.