OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
20 years ago * ChangeLog: Fix typos.
kazu [Sun, 30 Nov 2003 18:40:41 +0000 (18:40 +0000)]
* ChangeLog: Fix typos.
* ecoff.c: Fix comment typos.
* ecofflink.c: Likewise.
* format.c: Likewise.
* hp300hpux.c: Likewise.
* i386linux.c: Likewise.
* ieee.c: Likewise.
* m68klinux.c: Likewise.
* mach-o.h: Likewise.
* mipsbsd.c: Likewise.
* oasys.c: Likewise.
* opncls.c: Likewise.
* peXXigen.c: Likewise.
* reloc.c: Likewise.
* reloc16.c: Likewise.
* section.c: Likewise.
* simple.c: Likewise.
* som.c: Likewise.
* som.h: Likewise.
* sparclinux.c: Likewise.
* srec.c: Likewise.
* syms.c: Likewise.
* targets.c: Likewise.
* tekhex.c: Likewise.
* versados.c: Likewise.
* vms-gsd.c: Likewise.
* vms-hdr.c: Likewise.
* vms-misc.c: Likewise.
* xcofflink.c: Likewise.
* xsym.h: Likewise.
* bfd-in2.h: Regenerate.

20 years ago * flock.cc: Renamed from flock.c.
corinna [Sun, 30 Nov 2003 10:43:04 +0000 (10:43 +0000)]
* flock.cc: Renamed from flock.c.

20 years ago2003-11-29 Michael Chastain <mec.gnu@mindspring.com>
chastain [Sun, 30 Nov 2003 06:50:49 +0000 (06:50 +0000)]
2003-11-29  Michael Chastain  <mec.gnu@mindspring.com>

Partial fix for PR testsuite/1456.
* gdb.base/complex.exp: Replace reference to gcc_compiled with
call to test_compiler_info.

20 years ago* pinfo.h: Remove global_sigs declaration.
cgf [Sun, 30 Nov 2003 02:21:04 +0000 (02:21 +0000)]
* pinfo.h: Remove global_sigs declaration.
* siginfo.h: Move global_sigs declaration here.
* Makefile.in: Remove duplicate compiler flag.

20 years ago* exceptions.cc (_threadinfo::pop): Zero *contents* of popped stack location
cgf [Sun, 30 Nov 2003 02:19:44 +0000 (02:19 +0000)]
* exceptions.cc (_threadinfo::pop): Zero *contents* of popped stack location
rather than the actual stack pointer.

20 years ago*** empty log message ***
gdbadmin [Sun, 30 Nov 2003 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

20 years ago * Makefile.in: (DLL_OFILES): Add flock.o.
corinna [Sat, 29 Nov 2003 23:00:51 +0000 (23:00 +0000)]
* Makefile.in: (DLL_OFILES): Add flock.o.
* cygwin.din: Export flock.
* flock.c: New file.
* include/sys/file.h: Include sys/cdefs.h.
Add function prototype for flock().
Add some comments from BSD's header for further clarity.
(L_SET, L_CURR, L_INCR, L_XTND): Redefine as the macros
SEEK_SET, SEEK_CUR, SEEK_CUR, & SEEK_END respectively.
(LOCK_SH,LOCK_EX,LOCK_NB,LOCK_UN): New macros for flock().
* include/cygwin/version.h: Bump API minor number.

20 years ago* gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
kettenis [Sat, 29 Nov 2003 13:55:17 +0000 (13:55 +0000)]
* gdb.asm/asm-source.exp: Initialize asm-note to "empty".  Set
asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*.  Use
it to create the appropriate note.inc.
* gdb.asm/asmsrc1.s: Include "note.inc".
* gdb.asm/netbsd.inc: New file.
* gdb.asm/empty.inc: New file.

20 years ago2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
chastain [Sat, 29 Nov 2003 06:56:06 +0000 (06:56 +0000)]
2003-11-28  Michael Chastain  <mec.gnu@mindspring.com>

Partial fix for PR testsuite/1456.
* gdb.base/constvars.exp: Replace references to gcc_compiled with
calls to test_compiler_info.

20 years ago * cxxfilt.c (usage): Mention new -p/--no-params options.
ian [Sat, 29 Nov 2003 04:03:22 +0000 (04:03 +0000)]
* cxxfilt.c (usage): Mention new -p/--no-params options.

20 years ago* x86-64-tdep.c (MAX_CLASSES): Remove macro.
kettenis [Sat, 29 Nov 2003 00:54:41 +0000 (00:54 +0000)]
* x86-64-tdep.c (MAX_CLASSES): Remove macro.
(x86_64_reg_class): Remove enum.
(merge_classes, classify_argument, examine_argument): Remove
functions.
(INT_REGS, SSE_REGS): Remove macros.
(x86_64_push_arguments): Remove function.
(amd64_push_arguments): New function.
(x86_64_push_dummy_call): Call amd64_push_arguments instead of
x86_64_push_arguments.

20 years ago* sigproc.cc (no_signals_available): Fix so that non-zero exit state is a true
cgf [Sat, 29 Nov 2003 00:31:37 +0000 (00:31 +0000)]
* sigproc.cc (no_signals_available): Fix so that non-zero exit state is a true
condition rather than errnoneously only checking other states when exist_state
was zero.

20 years ago* pinfo.h (_pinfo::getthread2signal): Remove obsolete function.
cgf [Sat, 29 Nov 2003 00:26:39 +0000 (00:26 +0000)]
* pinfo.h (_pinfo::getthread2signal): Remove obsolete function.
* cygtls.h (_threadinfo): Define tid more precisely.
(_threadinfo::operator HANDLE): Define.
* exceptions.cc (_threadinfo::interupt_now): Use _threadinfo HANDLE operator to
derive thread handle.
(setup_handler): Ditto.
* sigproc.cc: Reorganize includes.

20 years ago*** empty log message ***
gdbadmin [Sat, 29 Nov 2003 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***

20 years agodaily update
amodra [Fri, 28 Nov 2003 23:00:04 +0000 (23:00 +0000)]
daily update

20 years ago* pinfo.h (_pinfo::getsig): Remove obsolete function, here and throughout.
cgf [Fri, 28 Nov 2003 22:13:57 +0000 (22:13 +0000)]
* pinfo.h (_pinfo::getsig): Remove obsolete function, here and throughout.
* exceptions.cc: Ditto.
* fhandler_termios.cc: Ditto.
* signal.cc: Ditto.
* sigproc.cc: Ditto.
* Makefile.in: Revert previous change which made a cygwin.din newer than a
version.h a warning rather than an error.

20 years ago* cygwin.din: Re-add inexplicably missing semaphore/msg functions.
cgf [Fri, 28 Nov 2003 21:39:08 +0000 (21:39 +0000)]
* cygwin.din: Re-add inexplicably missing semaphore/msg functions.

20 years ago* gendevices: Issue error when shilka is missing.
cgf [Fri, 28 Nov 2003 21:20:15 +0000 (21:20 +0000)]
* gendevices: Issue error when shilka is missing.

20 years ago* libc/include/sys/signal.h: Use system specific signal file when building on
cgf [Fri, 28 Nov 2003 21:05:51 +0000 (21:05 +0000)]
* libc/include/sys/signal.h: Use system specific signal file when building on
cygwin.

20 years ago* include/cygwin/signal.h: New file.
cgf [Fri, 28 Nov 2003 21:01:09 +0000 (21:01 +0000)]
* include/cygwin/signal.h: New file.
(also check in tlsoffsets.h, missed by previous checkin)

20 years agoEliminate use of sigframe and sigthread throughout.
cgf [Fri, 28 Nov 2003 20:55:57 +0000 (20:55 +0000)]
Eliminate use of sigframe and sigthread throughout.
* Makefile.in (DLL_OFILES): Add sigfe.o.  Remove reliance on cygwin.def from
cygwin0.dll dependency since dependence on sigfe.o implies that.  Generate def
file on the fly using 'gendef'.
* configure.in: Don't auto-generate cygwin.def.
* configure: Regenerate.
* cygwin.din: Add SIGFE stuff where appropriate.
* dcrt0.cc (dll_crt0_1): Initialize cygwin tls early in process startup.  Set
_main_tls to address of the main thread's cygwin tls.
* debug.h: Remove now unneeded WFSO and WFMO declarations.
* exceptions.cc (_last_thread): Define.
(set_thread_state_for_signals): New function.
(reset_thread_exception_for_signals): Ditto.
(init_thread_for_signals): Ditto.
(delete_thread_for_signals): Ditto.
(capture_thread_for_signals): Ditto.
(handle_exceptions): Set return address explicitly for exceptions prior to
calling sig_send.
(interrupt_on_return): Eliminate.
(setup_handler): Add preliminary implementation for dealing with
thread-specific signals by querying _main_tls.
(signal_exit): Use cygthread::main_thread_id instead of mainthread.id.
(call_signal_handler_now): For now, just handle the main thread.
* fork.cc (vfork): Save and restore main _my_tls.
* gendef: New file.  Generates def file and sigfe.s file.
* gentls_offsets: New file.  Generates offsets for perl to use in sigfe.s.
* how-signals-work.txt: Mention that info is obsolete.
* init.cc (dll_entry): Initialize cygwin tls storage here.
* miscfuncs.cc (low_priority_sleep): Make a C function for easier calling from
asm.
* perthread.h (vfork_save::tls): New element.
* signal.cc (nanosleep): Replace previous use of
sigframe.call_signal_handler_now with straight call to call_signal_handler_now.
(abort): Ditto.
* syscalls.cc (readv): Ditto.
* termios.cc (tcsetattr): Ditto.
* wait.cc (wait4): Ditto.
* sigproc.cc (sig_dispatch_pending): Ditto.
(sig_send): Ditto.
* sigproc.h: Declare call_signal_handler_now.
* thread.cc (pthread::thread_init_wrapper): Initialize cygwin tls.  Remove
obsolete and unworking signal stuff.
* thread.h (verifyable_object::sigs): Eliminate.
(verifyable_object::sigmask): Eliminate.
(verifyable_object::sigtodo): Eliminate.
(verifyable_object::exit): Make attribute noreturn.
(verifyable_object::thread_init_wrapper): Ditto.
(pthread_null::exit): Ditto.
* winbase.h (__stackbase): Always define.
* winsup.h (low_priority_sleep): Declare as a "C" function.
* include/cygwin/version.h: Bump API version to reflect sigwait export.
* include/sys/queue.h: Protect SLIST_ENTRY from previous declaration.
* signal.cc (sigwait): Implement.
* select.cc (fhandler_base::ready_for_read): Add debugging output.
* devices.h: Define more device pointers via their storage.
* devices.in: Don't parse things like /dev/inet/tcp, as they really have no
meaning.
* devices.cc: Regenerate.
* gendevices: Set proper protection for output file.
* cygtls.h: New file.
* gendef: New file.
* gentls_offsets: New file.
* tlsoffsets.h: New file.  Autogenerated.
* config/i386/longjmp.c: Remove.  File subsumed by gendef output.
* config/i386/makefrag: Remove obsolete file.
* fhandler.cc: Remove spurious access_worker declaration.
* spawn.cc (spawnve): Make debugging output more accurate.
* cygwin-gperf: Remove.
* devices.cc: Remove.

20 years ago* speclib: Use correct EOF marker. Ensure that directory is actually deleted
cgf [Fri, 28 Nov 2003 20:51:11 +0000 (20:51 +0000)]
* speclib: Use correct EOF marker.  Ensure that directory is actually deleted
when running under Windows.

20 years ago * z8k-dis.c: Convert to ISO C90.
cpg [Fri, 28 Nov 2003 20:12:17 +0000 (20:12 +0000)]
* z8k-dis.c: Convert to ISO C90.
* z8kgen.c: Convert to ISO C90.
(opt): Move long opcode for "ldb rdb,imm8" after short one, now
the short one is created when assembling.
* z8k-opc.h: Regenerate with new z8kgen.c.

20 years ago * config/tc-z8k.c: Convert to ISO-C.
cpg [Fri, 28 Nov 2003 20:10:17 +0000 (20:10 +0000)]
* config/tc-z8k.c: Convert to ISO-C.
* config/tc-z8k.h: Likewise.

20 years ago* speclib: Use correct EOF marker. Ensure that directory is actually deleted
cgf [Fri, 28 Nov 2003 20:10:07 +0000 (20:10 +0000)]
* speclib: Use correct EOF marker.  Ensure that directory is actually deleted
when running under Windows.

20 years ago * cpu-z8k.c: Convert to ISO C90.
cpg [Fri, 28 Nov 2003 20:07:44 +0000 (20:07 +0000)]
* cpu-z8k.c: Convert to ISO C90.
* coff-z8k.c: Likewise.

20 years agoFix building for FreeBSD
nickc [Fri, 28 Nov 2003 08:47:06 +0000 (08:47 +0000)]
Fix building for FreeBSD

20 years ago * Makefile.am (install-exec-local): Remove common term from string
amodra [Fri, 28 Nov 2003 04:58:41 +0000 (04:58 +0000)]
* Makefile.am (install-exec-local): Remove common term from string
comparison.
* Makefile.in: Regenerate.
* doc/Makefile.am: Don't use $<.
* doc/Makefile.in: Regenerate.

20 years ago2003-11-27 Michael Chastain <mec.gnu@mindspring.com>
chastain [Fri, 28 Nov 2003 03:31:24 +0000 (03:31 +0000)]
2003-11-27  Michael Chastain  <mec.gnu@mindspring.com>

Partial fix for PR testsuite/1456.
* gdb.base/volatile.exp: Replace references to gcc_compiled with
calls to test_compiler_info.

20 years ago*** empty log message ***
gdbadmin [Fri, 28 Nov 2003 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

20 years ago* lib/Makefile.in: Use make function to locate .mri file to allow building in
cgf [Thu, 27 Nov 2003 23:34:18 +0000 (23:34 +0000)]
* lib/Makefile.in: Use make function to locate .mri file to allow building in
directory other than source directory.

20 years ago* x86-64-tdep.c (x86_64_frame_cache): Don't bail out if %rbp is
kettenis [Thu, 27 Nov 2003 23:33:06 +0000 (23:33 +0000)]
* x86-64-tdep.c (x86_64_frame_cache): Don't bail out if %rbp is
zero.  Reorganize code a bit.

20 years ago* fhandler_disk_file.cc (fhandler_disk_file::readdir): Reorganize to avoid
cgf [Thu, 27 Nov 2003 23:27:23 +0000 (23:27 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::readdir): Reorganize to avoid
inappropriate .lnk extensions with munged filenames under managed mode.

20 years agodaily update
amodra [Thu, 27 Nov 2003 23:00:12 +0000 (23:00 +0000)]
daily update

20 years ago2003-11-27 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Thu, 27 Nov 2003 20:54:12 +0000 (20:54 +0000)]
2003-11-27  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/stdlib.h (_atoi_r): New prototype.
        * libc/stdlib/atoi.c (_atoi_r): New reentrant function.

20 years ago* dwarf2-frame.c: Fix another comment.
kettenis [Thu, 27 Nov 2003 20:50:41 +0000 (20:50 +0000)]
* dwarf2-frame.c: Fix another comment.

20 years ago* gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
kettenis [Thu, 27 Nov 2003 20:40:51 +0000 (20:40 +0000)]
* gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
pattern for the KFAILs.

20 years ago* x86-64-tdep.c (RET_INT_REGS, RET_SSE_REGS): Remove defines.
kettenis [Thu, 27 Nov 2003 20:35:38 +0000 (20:35 +0000)]
* x86-64-tdep.c (RET_INT_REGS, RET_SSE_REGS): Remove defines.
(x86_64_use_struct_convention, x86_64_extract_return_value,
x86_64_store_return_value): Remove.
(amd64_reg_class): New enum.
(amd64_merge_classes, amd64_classify_aggregate, amd64_classify,
amd64_return_value): New functions.
(x86_64_init_abi): Don't set extract_return_value,
store_return_value and use_struct_convention.  Set return_value to
amd64_return_value.
* i387-tdep.h (i387_return_value): New prototype.
* i387-tdep.c (i387_return_value): New function.

20 years ago2003-11-27 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Thu, 27 Nov 2003 20:15:46 +0000 (20:15 +0000)]
2003-11-27  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/stdlib.h (_atoll_r, _atol_r): New prototypes.
        * libc/stdlib/atol.c (_atol_r): New reentrant function.
        * libc/stdlib/atoll.c (_atoll_r): Ditto.

20 years ago2003-11-27 Artem B. Bityuckiy <mail_lists@mail.ru>
jjohnstn [Thu, 27 Nov 2003 19:47:18 +0000 (19:47 +0000)]
2003-11-27  Artem B. Bityuckiy  <mail_lists@mail.ru>
            Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/stdlib.h (lldiv_t): New type.
        (atoll, llabs, lldiv): New prototypes.
        * libc/stdlib/Makefile.am: Add support for atoll, llabs, and lldiv.
        * libc/stdlib/stdlib.tex: Ditto.
        * libc/stdlib/Makefile.in: Regenerated.
        * libc/stdlib/atoll.c: New file.
        * libc/stdlib/llabs.c: Ditto.
        * libc/stdlib/lldiv.c: Ditto.

20 years ago2003-11-27 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Thu, 27 Nov 2003 19:18:38 +0000 (19:18 +0000)]
2003-11-27  Jeff Johnston  <jjohnstn@redhat.com>

        * COPYING.NEWLIB: Add license info for long long routines added to
        stdlib.

20 years ago * read.c: Convert to ISO-C.
kazu [Thu, 27 Nov 2003 19:14:41 +0000 (19:14 +0000)]
* read.c: Convert to ISO-C.
* read.h: Likewise.

20 years ago * elf32-arm.h: Fix comment typos.
kazu [Thu, 27 Nov 2003 18:49:37 +0000 (18:49 +0000)]
* elf32-arm.h: Fix comment typos.
* elf32-d30v.c: Likewise.
* elf32-dlx.c: Likewise.
* elf32-h8300.c: Likewise.
* elf32-i370.c: Likewise.
* elf32-ip2k.c: Likewise.
* elf32-m68hc11.c: Likewise.
* elf32-mcore.c: Likewise.
* elf32-ppc.c: Likewise.
* elf32-s390.c: Likewise.
* elf32-sh.c: Likewise.
* elf32-v850.c: Likewise.
* elf32-xtensa.c: Likewise.
* elf64-alpha.c: Likewise.
* elf64-hppa.c: Likewise.
* elf64-mips.c: Likewise.
* elf64-mmix.c: Likewise.
* elf64-ppc.c: Likewise.
* elf64-sparc.c: Likewise.
* elflink.c: Likewise.
* elflink.h: Likewise.
* elfn32-mips.c: Likewise.
* elfxx-ia64.c: Likewise.
* elfxx-mips.c: Likewise.

20 years ago* dwarf2-frame.c: Fix some comments and whitespace problems.
kettenis [Thu, 27 Nov 2003 17:17:04 +0000 (17:17 +0000)]
* dwarf2-frame.c: Fix some comments and whitespace problems.

20 years ago* elf-bfd.h (elf_backend_data::elf_backend_modify_segment_map):
aoliva [Thu, 27 Nov 2003 16:43:24 +0000 (16:43 +0000)]
* elf-bfd.h (elf_backend_data::elf_backend_modify_segment_map):
Add link info argument.
* elf32-i370.c (elf_backend_modify_segment_map): Likewise.
* elf32-ppc.c (ppc_elf_modify_segment_map): Likewise.
* elf32-xtensa.c (elf_xtensa_modify_segment_map): Likewise.
* elf64-hppa.c (elf64_hppa_modify_segment_map): Likewise.
* elfxx-ia64.c (elfNN_ia64_modify_segment_map): Likewise.
* elfxx-mips.c (_bfd_mips_elf_modify_segment_map): Likewise.
* elfxx-mips.h (_bfd_mips_elf_modify_segment_map): Likewise.
* elf.c (assign_file_positions_except_relocs,
assign_file_positions_for_segments): Likewise.  Adjust calls.

20 years ago* i386nbsd-tdep.c: Don't include "gdbtypes.h". Include
kettenis [Thu, 27 Nov 2003 13:28:47 +0000 (13:28 +0000)]
* i386nbsd-tdep.c: Don't include "gdbtypes.h".  Include
"gdb_assert.h" and "gdb_string.h".
(i386nbsd_r_reg_offset): Rename from regmap.
(SIZEOF_STRUCT_REG): Remove.
(i386nbsd_supply_reg, fetch_core_registers,
fetch_elfcore_registers, i386nbsd_core_fns, i386nbsd_elfcore_fns):
Remove.
(i386nbsd_aout_supply_regset,
i386nbsd_aout_regset_from_core_section): New functions.
(i386nbsd_sc_reg_offset): Don't explicitly specify size of array.
(i386nbsd_init_abi): Initialize TDEP->gregset_reg_offset,
TDEP->gregset_num_regs amd sizeof_gregset.  Use ARRAY_SIZE to
initialize TDEP->sc_num_regs.
(i386nbsdaout_init_abi): New function.
(i386nbsdelf_init_abi): Remove initialization of
TDEP->num_xmm_regs.  Don't set num_regs here.
(_initialize_i386nbsd_tdep): Don't call add_core_fns.  Use
i386nbsd_aout_init to register NetBSD a.out OS/ABI.

20 years ago* osabi.c (generic_elf_osabi_sniff_abi_tag_sections): Use
kettenis [Thu, 27 Nov 2003 12:43:36 +0000 (12:43 +0000)]
* osabi.c (generic_elf_osabi_sniff_abi_tag_sections): Use
.note.netbsdcore.procinfo section to recognize NetBSD core files.

20 years ago* elf.c (elfcore_grok_netbsd_procinfo): Make a pseudosection out
kettenis [Thu, 27 Nov 2003 12:28:35 +0000 (12:28 +0000)]
* elf.c (elfcore_grok_netbsd_procinfo): Make a pseudosection out
of the note.

20 years agoCheck for alignment when emitting constants on the sh-elf target
nickc [Thu, 27 Nov 2003 08:29:29 +0000 (08:29 +0000)]
Check for alignment when emitting constants on the sh-elf target

20 years agoEnsure that we have write permission before overwriting a file.
nickc [Thu, 27 Nov 2003 08:23:59 +0000 (08:23 +0000)]
Ensure that we have write permission before overwriting a file.

20 years ago2003-11-27 Dimitry Sibiryakov <aafemt@users.sourceforge.net>
dannysmith [Thu, 27 Nov 2003 08:23:43 +0000 (08:23 +0000)]
2003-11-27  Dimitry Sibiryakov  <aafemt@users.sourceforge.net>

* include/signal.h (SIG_SGE, SIG_ACK): Add defines.

20 years ago* config/tc-frv.c (md_pcrel_from_section): Don't adjust when
aoliva [Thu, 27 Nov 2003 02:30:55 +0000 (02:30 +0000)]
* config/tc-frv.c (md_pcrel_from_section): Don't adjust when
referencing symbol in a different section.

20 years ago* gas/frv/reloc1.[sd]: Test references to external symbols and
aoliva [Thu, 27 Nov 2003 02:30:17 +0000 (02:30 +0000)]
* gas/frv/reloc1.[sd]: Test references to external symbols and
inter-section references too.

20 years ago * lib/vfw32.def: Remove, replacing with ...
dannysmith [Thu, 27 Nov 2003 02:14:36 +0000 (02:14 +0000)]
* lib/vfw32.def: Remove, replacing with ...
* lib/msvfw32.def: New file.
* lib/avicap32.def: New file.
* lib/avifil32.def: New file.
* lib/vfw32.mri: New file.
* Makefile.in: (MRI_FILES, MIMPLIBS): New vars for
import libs with multiple dll's.
(LIBS): Add MIMPLIBS.
(DISTFILES): Add MRI_FILES.
(libvfw32.a): Build using mri script.

20 years agomerge from gcc
dj [Thu, 27 Nov 2003 01:17:34 +0000 (01:17 +0000)]
merge from gcc

20 years agomerge from gcc
dj [Thu, 27 Nov 2003 01:17:22 +0000 (01:17 +0000)]
merge from gcc

20 years ago*** empty log message ***
gdbadmin [Thu, 27 Nov 2003 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

20 years agodaily update
amodra [Wed, 26 Nov 2003 23:00:04 +0000 (23:00 +0000)]
daily update

20 years ago * cygserver.cc (main): Move call to ipcinit() up before installing
corinna [Wed, 26 Nov 2003 22:29:35 +0000 (22:29 +0000)]
* cygserver.cc (main): Move call to ipcinit() up before installing
any threads.
* sysv_sem.cc: Update to FreeBSD version 1.67.
(seminit): Initialize semaphore sequence numbers to 0.

20 years ago2003-11-26 Michael Chastain <mec.gnu@mindspring.com>
chastain [Wed, 26 Nov 2003 22:03:59 +0000 (22:03 +0000)]
2003-11-26  Michael Chastain  <mec.gnu@mindspring.com>

* cp-abi.c: Update copyright years.

20 years ago * config/tc-z8k.c (s_segm): Fix indentation.
cpg [Wed, 26 Nov 2003 21:24:53 +0000 (21:24 +0000)]
* config/tc-z8k.c (s_segm): Fix indentation.
(md_apply_fix3): Likewise.
(cc_names): Add alias names for the names generated by the
disassembler.
(get_cc_operand): Be case insensitive.
(get_operands): Improve error handling for cc operands.
(check_operand): Not used, remove.
(md_assemble): Remove unused variable prev_opcode.  Skip
whitespace until end-of-line only.  Restore *op_end after call to
hash_find.

20 years ago * gas/z8k/jmp-cc.d: New file.
cpg [Wed, 26 Nov 2003 21:23:43 +0000 (21:23 +0000)]
* gas/z8k/jmp-cc.d: New file.
* gas/z8k/jmp-cc.s: New file.
* gas/z8k/ret-cc.d: New file.
* gas/z8k/ret-cc.s: New file.
* gas/z8k/z8k.exp: Run new tests.

20 years ago * elfxx-mips.c (mips_elf_set_global_got_offset): Don't set no_fn_stub.
rsandifo [Wed, 26 Nov 2003 20:58:45 +0000 (20:58 +0000)]
* elfxx-mips.c (mips_elf_set_global_got_offset): Don't set no_fn_stub.
(mips_elf_set_no_stub): New function.
(mips_elf_multi_got): Call it.
(_bfd_mips_elf_finish_dynamic_symbol): If a relocation is needed for
a secondary GOT entry, create an R_MIPS_32 or R_MIPS_64 relocation and
use mips_elf_create_dynamic_relocation to deal with any compatibility
issues.  Store the adjusted addend in the GOT slot.

20 years ago * Makefile.in (CYGWIN_LIB): Variable pointing to libcygwin.a in
corinna [Wed, 26 Nov 2003 20:05:09 +0000 (20:05 +0000)]
* Makefile.in (CYGWIN_LIB): Variable pointing to libcygwin.a in
the parallel cygwin dir.
(cygserver.exe): Depend on and link against $CYGWIN_LIB.

20 years ago2003-11-26 Corinna Vinschen <corinna@vinschen.de>
jjohnstn [Wed, 26 Nov 2003 19:15:16 +0000 (19:15 +0000)]
2003-11-26  Corinna Vinschen  <corinna@vinschen.de>

        * libc/include/fcntl.h: Declare syscalls only when building newlib.
        * libc/include/unistd.h: Ditto.
        * libc/include/stat.h: Ditto.  Also declare struct stat64.

20 years ago * mkgroup.c (main): Print "root" group with local admins group sid
corinna [Wed, 26 Nov 2003 15:47:44 +0000 (15:47 +0000)]
* mkgroup.c (main): Print "root" group with local admins group sid
and gid 0.

20 years ago * sec_helper.cc (set_process_privilege): Rename restore_priv to
corinna [Wed, 26 Nov 2003 14:29:22 +0000 (14:29 +0000)]
* sec_helper.cc (set_process_privilege): Rename restore_priv to
priv_luid.

* sec_helper.cc (set_process_privilege): Call LookupPrivilegeValue
before opening the token.

20 years ago * dir.cc (mkdir): Use local security_descriptor. Call
corinna [Wed, 26 Nov 2003 13:23:27 +0000 (13:23 +0000)]
* dir.cc (mkdir): Use local security_descriptor. Call
set_security_attribute appropriately.
* external.cc (cygwin_internal): Ditto.
* fhandler.cc (fhandler_base::open): Ditto.
* fhandler_socket.cc (fhandler_socket::bind): Ditto.
* path.cc (symlink_worker): Ditto.
* sec_acl.cc (setacl): Ditto. Call read_sd appropriately.
(getace): Ditto.
* sec_helper.cc (security_descriptor::malloc): New method.
(security_descriptor::realloc): New method.
(security_descriptor::free): New method.
* security.cc (read_sd): Get security_descriptor as parameter instead
of PSECURITY_DESCRIPTOR and a size. Drop unnecessary parameter check.
Allocate the security_descriptor buffer according to size returned by
a call to GetFileSecurity. Return buffer size on success.
(write_sd): Get security_descriptor as parameter instead of
PSECURITY_DESCRIPTOR and a size.
(get_nt_attribute): Use local security_descriptor.
(get_nt_object_attribute): Ditto in case of type == SE_REGISTRY_KEY.
Allocate security_descriptor buffer according to size returned by
a call to RegGetKeySecurity.
(alloc_sd): Make static. Get security_descriptor as parameter instead
of PSECURITY_DESCRIPTOR and a size. Drop unnecessary parameter check.
(set_security_attribute): Get security_descriptor as parameter instead
of PSECURITY_DESCRIPTOR and a size.
(set_nt_attribute): Use local security_descriptor.
(check_file_access): Ditto.
* security.h: Add class security_descriptor.
(read_sd): Change declaration to get security_descriptor as parameter
instead of PSECURITY_DESCRIPTOR and a size.
(write_sd): Ditto.
(set_security_attribute): Ditto.
(alloc_sd): Remove declaration.
* thread.cc (semaphore::semaphore): Use local security_descriptor. Call
set_security_attribute appropriately.

20 years agoRevert change to t01_mov test.
nickc [Wed, 26 Nov 2003 13:18:22 +0000 (13:18 +0000)]
Revert change to t01_mov test.
Fix ldm/stm verifying code to allow er4-er7 for H8SX.

20 years agoAdd a comment describing the difference between readelf and objdump.
nickc [Wed, 26 Nov 2003 11:49:10 +0000 (11:49 +0000)]
Add a comment describing the difference between readelf and objdump.

20 years ago * sec_acl.h (getace): Use FILE_*_BITS as permission mask.
corinna [Wed, 26 Nov 2003 10:52:20 +0000 (10:52 +0000)]
* sec_acl.h (getace): Use FILE_*_BITS as permission mask.
* security.cc (get_attribute_from_acl): Ditto.
* security.h (FILE_READ_BITS): Define to match also GENERIC bits.
(FILE_WRITE_BITS): Ditto.
(FILE_EXEC_BITS): Ditto.

20 years ago* gdb.objc/objcdecode.exp: Test for PR objc/1238.
fedor [Wed, 26 Nov 2003 04:23:25 +0000 (04:23 +0000)]
* gdb.objc/objcdecode.exp: Test for PR objc/1238.
* gdb.objc/objcdecode.m: New file.

20 years ago* gdb.objc/nondebug.exp: Test for PR objc/1236.
fedor [Wed, 26 Nov 2003 04:21:51 +0000 (04:21 +0000)]
* gdb.objc/nondebug.exp: Test for PR objc/1236.
* gdb.objc/nondebug.m: New file.

20 years ago* Makefile.in (CXXFLAGS): Remove duplicate options handled in Makefile.common.
cgf [Wed, 26 Nov 2003 03:52:12 +0000 (03:52 +0000)]
* Makefile.in (CXXFLAGS): Remove duplicate options handled in Makefile.common.

20 years ago * gdb.asm/asm-source.exp: Make sure the final link succeeds on
bje [Wed, 26 Nov 2003 01:17:15 +0000 (01:17 +0000)]
* gdb.asm/asm-source.exp: Make sure the final link succeeds on
NetBSD as it does on FreeBSD.  Modelled on a similar change by
Mark Kettenis on 2003-05-30.
(link-flags): Set to "--entry _start" regardless of target.
Special linker flags are to be appended to $link-flags.
* gdb.asm/mips.inc (gdbasm_startup): Remove __start label.

20 years ago*** empty log message ***
gdbadmin [Wed, 26 Nov 2003 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

20 years ago2003-11-25 Andrew Cagney <cagney@redhat.com>
cagney [Tue, 25 Nov 2003 23:31:39 +0000 (23:31 +0000)]
2003-11-25  Andrew Cagney  <cagney@redhat.com>

* thread-db.c (enable_thread_event): New function.  Ensure that BP
is a code address.
(enable_thread_event_reporting): Use enable_thread_event.

20 years ago * config/tc-h8300.c (h8_exp): Remove.
kazu [Tue, 25 Nov 2003 23:09:46 +0000 (23:09 +0000)]
* config/tc-h8300.c (h8_exp): Remove.

20 years agodaily update
amodra [Tue, 25 Nov 2003 23:00:06 +0000 (23:00 +0000)]
daily update

20 years agomore white space
cgf [Tue, 25 Nov 2003 22:59:37 +0000 (22:59 +0000)]
more white space

20 years agomore white space
cgf [Tue, 25 Nov 2003 22:58:32 +0000 (22:58 +0000)]
more white space

20 years agomore white space
cgf [Tue, 25 Nov 2003 22:57:22 +0000 (22:57 +0000)]
more white space

20 years agomore white space
cgf [Tue, 25 Nov 2003 22:56:58 +0000 (22:56 +0000)]
more white space

20 years ago* thread.cc: Minor whitespace cleanup. Remove some obsolete code.
cgf [Tue, 25 Nov 2003 22:55:31 +0000 (22:55 +0000)]
* thread.cc: Minor whitespace cleanup.  Remove some obsolete code.

20 years agomerge from gcc
dj [Tue, 25 Nov 2003 22:35:33 +0000 (22:35 +0000)]
merge from gcc

20 years ago2003-11-25 Michael Snyder <msnyder@redhat.com>
msnyder [Tue, 25 Nov 2003 22:15:21 +0000 (22:15 +0000)]
2003-11-25  Michael Snyder  <msnyder@redhat.com>

* mips-tdep.c (mips_o64_extract_return_value): Correct for
NUM_REGS (see changes 2003-06-21).
(mips_eabi_extract_return_value): Ditto.

20 years ago * doc/binutils.texi (dlltool): Document dlltool --temp-prefix
dannysmith [Tue, 25 Nov 2003 19:50:03 +0000 (19:50 +0000)]
* doc/binutils.texi (dlltool): Document dlltool --temp-prefix
option.
* dlltool.c (usage): Likewise.

20 years ago* winsup.api/known_bugs.tcl: Remove lseek10 since mknod now works.
cgf [Tue, 25 Nov 2003 19:24:46 +0000 (19:24 +0000)]
* winsup.api/known_bugs.tcl: Remove lseek10 since mknod now works.

20 years ago2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
chastain [Tue, 25 Nov 2003 17:39:07 +0000 (17:39 +0000)]
2003-11-25  Michael Chastain  <mec.gnu@mindspring.com>

* gdb.cp/method.exp: Accept output of new demangler.

20 years agoFix typo in my e-mail address in last ChangeLog commit.
chastain [Tue, 25 Nov 2003 17:10:57 +0000 (17:10 +0000)]
Fix typo in my e-mail address in last ChangeLog commit.
Argh!

20 years ago Catch illegal register pairings in ldm/stm instructions.
nickc [Tue, 25 Nov 2003 16:13:34 +0000 (16:13 +0000)]
 Catch illegal register pairings in ldm/stm instructions.
Update test files to avoid illegal pairings.

20 years ago2003-11-25 Andrew Cagney <cagney@redhat.com>
cagney [Tue, 25 Nov 2003 16:01:35 +0000 (16:01 +0000)]
2003-11-25  Andrew Cagney  <cagney@redhat.com>

* infrun.c: Don't include "exec.h".
(handle_inferior_event): Pass current_target, instead of exec_ops,
to SOLIB_ADD.  Add comments.
* Makefile.in (infrun.o): Update dependencies.

20 years ago2003-11-25 Michael Chastain <mec@gnu.mindspring.com>
chastain [Tue, 25 Nov 2003 15:01:29 +0000 (15:01 +0000)]
2003-11-25  Michael Chastain  <mec@gnu.mindspring.com>

* gdb/class2.exp: New file.
* gdb/class2.cc: New file.

20 years ago2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
chastain [Tue, 25 Nov 2003 14:34:37 +0000 (14:34 +0000)]
2003-11-25  Michael Chastain  <mec.gnu@mindspring.com>

* gdb.cp/templates.exp (test_ptype_of_templates): Accept output
of new demangler.

20 years agoSkip N_EXCL stabs when procesing N_BINCL stabs.
nickc [Tue, 25 Nov 2003 11:59:57 +0000 (11:59 +0000)]
Skip N_EXCL stabs when procesing N_BINCL stabs.

20 years ago * elf64-ppc.c (ppc_type_of_stub): Disallow stubs other than
amodra [Tue, 25 Nov 2003 02:14:24 +0000 (02:14 +0000)]
* elf64-ppc.c (ppc_type_of_stub): Disallow stubs other than
ppc_stub_plt_call to symbols defined in shared libs.

20 years ago* dtable.cc (build_fh_name): Set error in dummy fhandler when one is noted
cgf [Tue, 25 Nov 2003 02:03:17 +0000 (02:03 +0000)]
* dtable.cc (build_fh_name): Set error in dummy fhandler when one is noted
during path_conv.
* fhandler.h (fhandler_base::set_error): New method.

20 years ago* dtable.cc (build_fh_name): Set error in dummy fhandler when one is noted
cgf [Tue, 25 Nov 2003 02:02:23 +0000 (02:02 +0000)]
* dtable.cc (build_fh_name): Set error in dummy fhandler when one is noted
during path_conv.
* fhandler.h (fhandler_base::set_error): New method.

20 years ago2003-11-24 David Carlton <carlton@kealia.com>
carlton [Tue, 25 Nov 2003 01:44:05 +0000 (01:44 +0000)]
2003-11-24  David Carlton  <carlton@kealia.com>

* generic/gdbtk.c (target_is_native): Replace STREQ by strcmp.
* generic/gdbtk-cmds.c (gdb_stop): Replace STREQ by strcmp.
(gdb_search): Replace STREQN by strncmp and DEPRECATED_SYMBOL_NAME
by SYMBOL_LINKAGE_NAME.
* generic/gdbtk-varobj.c (variable_format): Replace STREQN by
strncmp.

20 years ago*** empty log message ***
gdbadmin [Tue, 25 Nov 2003 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***