OSDN Git Service
cgf [Mon, 21 Oct 2002 01:00:55 +0000 (01:00 +0000)]
Change _function() to function() throughout.
* cygwin.din: Remove last vestiges (?) of newlib wrappers.
* cygthread.cc (cygthread::detach): Always wait for event or suffer an
apparently inavoidable race.
* dcrt0.cc (dll_crt0_1): Allocate threads after stack has been relocated.
* debub.cc (lock_debug): Don't acquire lock on exit.
* fork.cc (fork_child): Recreate mmaps before doing anything else since Windows
has a habit of using blocks of memory in the child that could previously have
been occupied by shared memory in the parent.
* mmap.cc (fhandler_disk_file::fixup_mmap_after_fork): Issue error here and
provide some details about what went wrong.
(fixup_mmaps_after_fork): Remove error message.
* shared.cc (open_shared): Move warning message so that more detail is
possible.
* sigproc.cc (sigproc_init): Initialize sync_proc_subproc to avoid a race.
(sigproc_terminate): Specifically wait for process thread to terminate.
gdbadmin [Mon, 21 Oct 2002 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Mon, 21 Oct 2002 00:00:05 +0000 (00:00 +0000)]
daily update
kettenis [Sun, 20 Oct 2002 21:18:58 +0000 (21:18 +0000)]
* i386bsd-nat.c (i386bsd_dr_set, i386bsd_dr_get_status): Use
DBREG_DRX macro to acces debug registers.
kettenis [Sun, 20 Oct 2002 20:27:18 +0000 (20:27 +0000)]
* Makefile.in (i386obsd-tdep.o): New target.
cgf [Sun, 20 Oct 2002 18:17:43 +0000 (18:17 +0000)]
* cygthread.cc (cygthread::stub): Fix typo.
(cygthread::terminate): Don't zero thread handle prior to using it.
kettenis [Sun, 20 Oct 2002 14:38:25 +0000 (14:38 +0000)]
* solib-sunos.c: Include "bcache.h" and "regcache.h".
* Makefile.in (solib-sunos.o): Add $(bcache_h) and $(regcache_h).
kettenis [Sun, 20 Oct 2002 11:54:39 +0000 (11:54 +0000)]
* configure.tgt (i[3456]86-*-openbsd*): Set gdb_target to obds.
* config/i386/obsd.mt: New file.
* i386bsd-nat.c (_initialize_i386bsd_nat): Introduce
i386obsd_sc_pc_offset and i386obsd_sc_sp_offset;
* i386obsd-nat.c (_initialize_i386obsd_nat): Set
i386obsd_sigtramp_start and i386obsd_sigtramp_end instead of
i386nbsd_sigtramp_start and i386nbsd_sigtramp_end.
* i386obsd-tdep.c: New file.
obrien [Sun, 20 Oct 2002 05:37:33 +0000 (05:37 +0000)]
2002-10-19 David O'Brien <obrien@FreeBSD.org>
* configure.tgt (alpha*-*-freebsd*, i[3456]86-*-freebsd*,
sparc64-*-freebsd*): Combine to make *-*-freebsd* with gdb_target set
to fbsd. Removes need for additional freebsd tupples.
cgf [Sun, 20 Oct 2002 04:53:30 +0000 (04:53 +0000)]
fix typo
cgf [Sun, 20 Oct 2002 04:46:31 +0000 (04:46 +0000)]
missed checkin
cgf [Sun, 20 Oct 2002 04:42:45 +0000 (04:42 +0000)]
force checkin
cgf [Sun, 20 Oct 2002 04:42:13 +0000 (04:42 +0000)]
fix typo
dannysmith [Sun, 20 Oct 2002 04:35:57 +0000 (04:35 +0000)]
2002-10-19 Kang Li <rubylith@users.sourceforge.net>
* include/fcntl.h (O_SEQUENTIAL): Correct typo.
dannysmith [Sun, 20 Oct 2002 04:30:28 +0000 (04:30 +0000)]
2002-10-19 Danny Smith <dannysmith@users.sourceforge.net>
* crt1.c: Define new macro __IN_MINGW_RUNTIME before including
stdlib.h. Comment on reason.
Define WIN32_MEAN_AND_LEAN before including windows.h
* include/stdlib.h (_fmode): Protect declaration as dllimported
variable with __IN_MINGW_RUNTIME.
2002-10-19 Igor Pechtchanski <pechtcha@cs.nyu.edu>
* crt1.c: Include stdlib.h.
cgf [Sun, 20 Oct 2002 04:17:59 +0000 (04:17 +0000)]
* sigproc.cc (wait_sig): Remove obsolete sigchld logic.
cgf [Sun, 20 Oct 2002 04:15:49 +0000 (04:15 +0000)]
Rename _kill() to kill() throughout. Rename _raise() to raise() throughout.
Rename _pid() to pid() throughout.
* Makefile.in: Compile some objects with -fomit-frame-pointer.
* cygwin.din: Reverse aliasing for _kill.
* syscalls.cc (_getpid_r): New function, implemented for newlib compatibility.
* shared.cc (open_shared): Remove reserving of memory since previous change
eliminate the need for this hack.
fedor [Sun, 20 Oct 2002 01:38:40 +0000 (01:38 +0000)]
(name_not_typename): Fix invalid comment.
gdbadmin [Sun, 20 Oct 2002 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Sun, 20 Oct 2002 00:00:05 +0000 (00:00 +0000)]
daily update
kettenis [Sat, 19 Oct 2002 23:05:26 +0000 (23:05 +0000)]
* solib-sunos.c (allocate_rt_common_objfile): Use bcache_xmalloc
to allocate partial syms and macro byte caches.
dannysmith [Sat, 19 Oct 2002 20:26:26 +0000 (20:26 +0000)]
* Makefile.in (CRT0S): Add txtmode.o binmode.o.
(MINGW_OBJS): Add txtmode.o.
(SRCDIST_FILES): Add txtmode.c binmode.c.
crt1.c: Don't include fcntrl.h, stdlib.h.
(_fmode): Declare, without dllimport attribute.
(__p__fmode): Declare access function for dll's _fmode.
(_mingw32_init_fmode): Sync dll _fmode with staticly linked
_fmode for app.
* txtmode.c: New file.
* binmode.c: New file.
* samples/fmode/test2.c: New file.
* samples/fmode/jamfile: Add test2.exe target.
cgf [Sat, 19 Oct 2002 18:29:37 +0000 (18:29 +0000)]
* fork.cc (fork_child): Move pinfo fixup later to attempt some minor gains from
concurrency from cythread::init.
hjl [Sat, 19 Oct 2002 17:13:57 +0000 (17:13 +0000)]
2002-10-19 H.J. Lu <hjl@gnu.org>
* elflink.h (elf_link_add_object_symbols): Correctly handle
DT_RPATH and DT_RUNPATH.
:VS: ----------------------------------------------------------------------
kettenis [Sat, 19 Oct 2002 13:52:58 +0000 (13:52 +0000)]
* elf.c (elfcore_grok_note): Fix recognition on NT_PRXFPREG notes.
cgf [Sat, 19 Oct 2002 11:59:14 +0000 (11:59 +0000)]
fix changelog
cgf [Sat, 19 Oct 2002 11:41:31 +0000 (11:41 +0000)]
* mount.cc (usage): Correctly report default mode.
cgf [Sat, 19 Oct 2002 00:57:06 +0000 (00:57 +0000)]
* dcrt0.cc (dll_crt0_1): Initialize cygwin threads here only when not forking.
* fork.cc (fork_child): Initialize cygwin thread later in process to avoid
allocating memory for thread stacks.
* shared.cc (open_shared): Issue warning if NT and shared segment is relocated.
aoliva [Sat, 19 Oct 2002 00:37:49 +0000 (00:37 +0000)]
* config/tc-mips.c (md_begin): Add $fcc registers to the symbol
table as register names.
cgf [Sat, 19 Oct 2002 00:35:20 +0000 (00:35 +0000)]
* cygthread.cc: Bump number of cygthreads up to accommodate applications which
use ttys.
gdbadmin [Sat, 19 Oct 2002 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Sat, 19 Oct 2002 00:00:05 +0000 (00:00 +0000)]
daily update
cgf [Fri, 18 Oct 2002 23:52:58 +0000 (23:52 +0000)]
* fork.cc (fork_child): Move mmap initialization.
* shared.cc (shared_info::heap_chunk_size): Store info as megabytes. Search
HKEY_LOCAL_MACHINE as well as HKEY_CURRENT_USER.
* shared_info.h (shared_info::initial_heap_size): Change element name to
reflect new functionality.
* strace.cc (strace::hello): Report on initial heap size.
carlton [Fri, 18 Oct 2002 23:47:52 +0000 (23:47 +0000)]
2002-10-18 David Carlton <carlton@math.stanford.edu>
* symtab.h: Delete 'struct source' and 'struct sourcevector'.
(Also, I fixed up a date reference for an earlier ChangeLog entry of
mine; sorry about that.)
jjohnstn [Fri, 18 Oct 2002 23:39:07 +0000 (23:39 +0000)]
2002-10-18 Jeff Johnston <jjohnstn@redhat.com>
* testsuite/newlib.wctype/tiswctype.c: New test case.
* testsuite/newlib.wctype/twctrans.c: Ditto.
jjohnstn [Fri, 18 Oct 2002 22:52:39 +0000 (22:52 +0000)]
2002-10-18 Jeff Johnston <jjohnstn@redhat.com>
* libc/sys/linux/machine/i386/include/endian.h: New file.
* libc/sys/linux/machine/i386/include/param.h: Ditto.
fedor [Fri, 18 Oct 2002 22:49:41 +0000 (22:49 +0000)]
stabsread.c (find_name_end): New function.
(define_symbol): Use it.
jjohnstn [Fri, 18 Oct 2002 21:09:01 +0000 (21:09 +0000)]
2002-10-04 Michael Snyder <msnyder@redhat.com>
* m32r/m32r-lib.c (exceptionHandler): Fix computation of
exception vector address, as suggested by Mitsubishi.
(getExceptionVector): Ditto.
jjohnstn [Fri, 18 Oct 2002 20:54:37 +0000 (20:54 +0000)]
2002-10-18 Stephane Carrez <stcarrez@nerim.fr>
* m68hc11/syscalls.c (sbrk): Use ptrdiff_t for increment parameter.
drow [Fri, 18 Oct 2002 19:34:38 +0000 (19:34 +0000)]
* config/alpha/nm-fbsd.h (CANNOT_STEP_BREAKPOINT): Define to 1.
* config/alpha/nm-linux.h (CANNOT_STEP_BREAKPOINT): Define to 1.
* config/alpha/nm-nbsd.h (CANNOT_STEP_BREAKPOINT): Define to 1.
* config/alpha/nm-osf.h (CANNOT_STEP_BREAKPOINT): Define to 1.
fedor [Fri, 18 Oct 2002 18:54:55 +0000 (18:54 +0000)]
gdb.base/default.exp: Update expected output to include 'ObjC'.
gdb.base/help.exp: Likewise.
kevinb [Fri, 18 Oct 2002 18:50:43 +0000 (18:50 +0000)]
* gdbint.texinfo (Address Classes): Fix problems with insertion
of ``{'' and ``}'' in example.
jjohnstn [Fri, 18 Oct 2002 18:19:45 +0000 (18:19 +0000)]
2002-10-18 Jeff Johnston <jjohnstn@redhat.com>
* libm/machine/i386/aclocal.m4: Regenerated.
* libm/machine/i386/configure: Ditto.
jjohnstn [Fri, 18 Oct 2002 18:18:47 +0000 (18:18 +0000)]
2002-10-18 Jeff Johnston <jjohnstn@redhat.com>
* testsuite/include/check.h: New header file to use with
test cases.
* testsuite/lib/newlib.exp: Add testsuite/include directory
to list of header files to use.
* testsuite/newlib.wctype/twctype.c: New test case for iswctype fns.
* testsuite/newlib.wctype/wctype.exp: New file.
cgf [Fri, 18 Oct 2002 14:02:39 +0000 (14:02 +0000)]
* thread.cc (verifyable_object_isvalid): Test for a valid object pointer before
testing for static ptr.
sky [Fri, 18 Oct 2002 07:30:05 +0000 (07:30 +0000)]
* config/tc-s390.c (md_parse_option): Set s390_arch_size to 32
for option -m31.
amodra [Fri, 18 Oct 2002 01:56:38 +0000 (01:56 +0000)]
* expr.c (operand): Add support for n.nn flonums.
cgf [Fri, 18 Oct 2002 01:28:48 +0000 (01:28 +0000)]
* dtable.cc (dtable::init_std_file_from_handle): Force "devices" to always be
in binary mode. Temporary fix until ssh is rebuilt?
amodra [Fri, 18 Oct 2002 00:09:45 +0000 (00:09 +0000)]
daily update
gdbadmin [Fri, 18 Oct 2002 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***
aoliva [Thu, 17 Oct 2002 21:54:43 +0000 (21:54 +0000)]
* emulparams/elf32bmipn32-defs.sh (LIB_PATH): Set to /usr/lib32.
(GENERATE_SHLIB_SCRIPT): Set to yes.
(EXECUTABLE_SYMBOLS, WRITABLE_RODATA): Moved to...
* emulparams/elf32bmipn32.sh: here.
(GENERATE_SHLIB_SCRIPT): Deleted as redundant.
* emulparams/elf32btsmipn32.sh: Delete redundant unsets.
* emulparams/elf64bmip-defs.sh: New file. Extend
elf32bmipn32-defs.sh by overiding ELFSIZE and LIB_PATH.
* emulparams/elf64bmip.sh: Bring in definitions from
elf64bmip-defs.sh.
(ELFSIZE, GENERATE_SHLIB_SCRIPT, LIB_PATH): Delete redundant
settings.
(WRITABLE_RODATA): Moved from elf32bmipn32-defs.sh.
* emulparams/elf64btsmip.sh: Bring in definitions from
elf64bmip-defs.sh.
(ELFSIZE, GENERATE_SHLIB_SCRIPT): Delete, redundant.
(EXECUTABLE_SYMBOLS, WRITABLE_RODATA): Delete redundant unsets.
carlton [Thu, 17 Oct 2002 21:16:12 +0000 (21:16 +0000)]
2002-10-09 David Carlton <carlton@math.stanford.edu>
* symfile.h: Add opaque declaration for struct obstack.
Declare obsavestring to take a const char *.
* symfile.c (obsavestring): Make first argument a const char *.
kevinb [Thu, 17 Oct 2002 20:22:57 +0000 (20:22 +0000)]
* gdb.base/constvars.c (struct crass, struct crisp): New structs.
* gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
kevinb [Thu, 17 Oct 2002 18:33:36 +0000 (18:33 +0000)]
Address Class documentation.
denisc [Thu, 17 Oct 2002 18:27:00 +0000 (18:27 +0000)]
* elf32-ip2k.c (ELF_MACHINE_ALT1): Define alternate machine code
for ip2k port.
cgf [Thu, 17 Oct 2002 17:45:09 +0000 (17:45 +0000)]
* dtable.cc (dtable::set_file_pointers_for_exec): New function.
* dtable.h (dtable::set_file_pointers_for_exec): Declare new function.
* spawn.cc (spawn_guts): Call dtable::set_file_pointers_for_exec to set
pointers to EOF when execing non-cygwin applications.
rbcollins [Thu, 17 Oct 2002 08:44:17 +0000 (08:44 +0000)]
2002-10-17 Robert Collins <rbtcollins@hotmail.com>
* thread.h (pthread_mutex::isGoodInitializerOrBadObject): Declare.
* thread.cc (pthread_mutex::isGoodInitializerOrBadObject): Implement.
(pthread_mutex::init): Use isGoodInitializerOrBadObject to avoid
unneeded SEGV's during debugging.
rbcollins [Thu, 17 Oct 2002 08:31:30 +0000 (08:31 +0000)]
2002-10-17 Thomas Pfaff <tpfaff@gmx.net>
* thread.cc (verifyable_object_isvalid): Test for static object first.
amodra [Thu, 17 Oct 2002 02:59:15 +0000 (02:59 +0000)]
* elfxx-target.h (USE_REL): Don't define as 1.
* elf32-arm.h (USE_REL): Provide a default define of 0.
Use #if rather than #ifdef when testing USE_REL.
* elf32-m32r.c: Likewise.
* elf32-arc.c (USE_REL): Define as 1.
* elf32-d10v.c (USE_REL): Likewise.
* elf32-m32r.c (USE_REL): Likewise.
* elf32-m68hc11.c (USE_REL): Likewise.
* elf32-m68hc12.c (USE_REL): Likewise.
* elf32-or32.c (USE_REL): Likewise.
* elfarm-nabi.c (USE_REL): Likewise.
amodra [Thu, 17 Oct 2002 01:29:36 +0000 (01:29 +0000)]
* itbl-parse.y (entry): Provide empty action.
gdbadmin [Thu, 17 Oct 2002 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Thu, 17 Oct 2002 00:00:04 +0000 (00:00 +0000)]
daily update
fedor [Wed, 16 Oct 2002 23:25:31 +0000 (23:25 +0000)]
(parse_breakpoint_sals): Ignore ObjC method
names when matching breakpoints in current file.
dannysmith [Wed, 16 Oct 2002 22:20:33 +0000 (22:20 +0000)]
* include/winuser.h (MONITORINFOEX[AW]): Add structure
definitions and ANSI/UNICODE mappings.
Cleanup whitespace.
kevinb [Wed, 16 Oct 2002 20:50:20 +0000 (20:50 +0000)]
Address class support.
jakub [Wed, 16 Oct 2002 19:54:50 +0000 (19:54 +0000)]
* config.bfd (s390-*-linux*): Add targ64_selvecs.
(s390x-*-linux*): Add targ_selvecs.
* config.table: Use mh-s390pic for s390x too.
* configure.tgt (s390x-*-linux*): Add elf_s390 emulation.
(s390-*-linux*): Add elf64_s390 emulation if want64.
* emulparams/elf64_sparc.sh (LIB_PATH): Update to match 2002-05-22
genscript.sh changes.
* emulparams/elf_x86_64.sh (LIB_PATH): Likewise.
* emulparams/elf64_s390.sh (LIB_PATH): Set up native 64 bit dirs.
kdienes [Wed, 16 Oct 2002 17:36:44 +0000 (17:36 +0000)]
2002-10-16 Klee Dienes <kdienes@apple.com>
* stabsread.c (read_tilde_fields): Use name[sizeof(vptr_name)-2]
to get the last character of a char[] buffer, not
name[sizeof(vptr_name)-1].
dj [Wed, 16 Oct 2002 13:47:35 +0000 (13:47 +0000)]
merge from gcc
amodra [Wed, 16 Oct 2002 13:27:03 +0000 (13:27 +0000)]
* configure.in (BFDVER_H): Set and subst.
* dep-in.sed: Replace bfdver.h with $(BFDVER_H).
* Makefile.am: Run "make dep-am".
(BFDVER_H): Define.
* configure: Regenerate.
* Makefile.in: Regenerate.
* doc/Makefile.in: Regenerate.
amodra [Wed, 16 Oct 2002 08:39:33 +0000 (08:39 +0000)]
* Makefile.am (BFD32_BACKENDS): Remove elfarmqnx-nabi.lo,
elf32-i386-fbsd.lo, elf32-i386qnx.lo, elf32-ppcqnx.lo,
elf32-sh-lin.lo, elf32-sh64-lin.lo, elf32-sh-nbsd.lo,
elf32-sh64-nbsd.lo, elf32-shqnx.lo. Add elf32-qnx.lo.
(BFD32_BACKENDS_CFILES): Likewise for corresponding C files.
(BFD64_BACKENDS): Remove elf64-sh64-lin.lo, elf64-sh64-nbsd.lo.
(BFD64_BACKENDS_CFILES): Likewise for corresponding C files.
(SOURCE_HFILES): Add elf32-qnx.h.
(BUILD_HFILES): Add bfdver.h.
Run "make dep-am".
* Makefile.in: Regenerate.
* configure.in Update bfd vector dependencies.
* configure: Regenerate.
* elf32-i386-fbsd.c: Delete. Move code to elf32-i386.c.
* elf32-i386qnx.c: Likewise.
* elf32-ppcqnx.c: Delete. Move code to elf32-ppc.c.
* elf32-sh-nbsd.c: Delete. Move code to elf32-sh.c.
* elf32-sh-lin.c: Likewise.
* elf32-shqnx.c: Likewise.
* elf32-sh64-lin.c: Delete. Move code to elf32-sh64.c.
* elf32-sh64-nbsd.c: Likewise.
* elf64-sh64-lin.c: Delete. Move code to elf64-sh64.c.
* elf64-sh64-nbsd.c: Likewise.
* elfarmqnx-nabi.c: Delete. Move code to elfarm-nabi.c.
* elf32-arm.h (ELF_MAXPAGESIZE): Always define.
* elf32-i386.c: Remove ELF_ARCH and ELF32_I386_C_INCLUDED tests.
* elf32-ppc.c: Remove ELF32_PPC_C_INCLUDED tests.
* elf32-qnx.h (elf_backend_set_nonloadable_filepos): Always define.
(elf_backend_is_contained_by_filepos): Likewise.
(elf_backend_copy_private_bfd_data_p): Likewise.
Globalize and move functions to..
* elf32-qnx.c: ..here. New file.
* elf32-sh.c: Remove ELF_ARCH and ELF32_SH_C_INCLUDED tests. Don't
emit target vectors when INCLUDE_SHMEDIA.
* elf32-sh64.c: Remove ELF_ARCH test. Move TARGET_* etc. defines to
end of file.
* elf64-sh64.c: Remove ELF_ARCH test.
* elfarm-nabi.c: Remove ELFARM_NABI_C_INCLUDED test.
* po/BLD-POTFILES.in: Regenerate.
* po/SRC-POTFILES.in: Regenerate.
cgf [Wed, 16 Oct 2002 04:54:08 +0000 (04:54 +0000)]
* fhandler_tty.cc (fhandler_tty_slave::read): Attempt #527 to properly
implement VMIN/VTIME.
amodra [Wed, 16 Oct 2002 00:57:39 +0000 (00:57 +0000)]
* elflink.h (elf_link_add_object_symbols): Error out on dynamic objects
loaded with --just-symbols.
amodra [Wed, 16 Oct 2002 00:56:40 +0000 (00:56 +0000)]
* elf32-i386qnx.c (TARGET_LITTLE_NAME): Define.
* elf32-ppcqnx.c (TARGET_LITTLE_NAME, TARGET_BIG_NAME): Define.
* elf32-shqnx.c (TARGET_LITTLE_NAME, TARGET_BIG_NAME): Define.
* elfarmqnx-nabi.c (TARGET_LITTLE_NAME, TARGET_BIG_NAME): Define.
amodra [Wed, 16 Oct 2002 00:00:03 +0000 (00:00 +0000)]
daily update
gdbadmin [Wed, 16 Oct 2002 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
hunt [Tue, 15 Oct 2002 21:22:05 +0000 (21:22 +0000)]
2002-10-15 Martin M. Hunt <hunt@redhat.com>
* library/tclIndex: Rebuilt.
hunt [Tue, 15 Oct 2002 21:19:50 +0000 (21:19 +0000)]
2002-10-15 Martin M. Hunt <hunt@redhat.com>
* library/* : auto_mkindex cannot rebuild
tclIndex because it does not recognize the namespace
import in main.tcl. To get it to work again, rename the
following:
body -> itcl::body
configbody -> itcl::configbody
class -> itcl::class
rth [Tue, 15 Oct 2002 17:14:50 +0000 (17:14 +0000)]
* Makefile.am (BFD64_BACKENDS): Remove elf64-alpha-fbsd.
(BFD64_BACKENDS_CFILES): Likewise.
* configure.in (bfd_elf64_alpha_freebsd_vec): Use elf64-alpha.
* elf64-alpha-fbsd.c: Remove file, move code ...
* elf64-alpha.c: ... here.
* Makefile.in, configure: Rebuild.
cgf [Tue, 15 Oct 2002 17:04:19 +0000 (17:04 +0000)]
* shared.cc (open_shared): Revert to "old" method for shared memory location if
!wincap.needs_memory_protection.
* wincap.cc: Implement needs_memory_protection throughout.
* wincap.h: Ditto.
amodra [Tue, 15 Oct 2002 11:34:01 +0000 (11:34 +0000)]
* bucomm.c (list_supported_targets): Use bfd_target_list.
cgf [Tue, 15 Oct 2002 07:03:43 +0000 (07:03 +0000)]
* child_info.h (CURR_CHILD_INFO_MAGIC): Reset.
(child_info_fork::mount_table): Remove.
(child_info_fork::myself_addr): Remove.
* fork.cc (fork_child): Don't set either of the above.
* dcrt0.cc (dll_crt0_1): Call memory_init as early as possible.
* fhandler_console.cc (console_state): Move to shared_info.h.
(fhandler_console::get_tty_stuff): Reflect open_shared arg change.
* pinfo.cc (myself_addr): Remove definition.
(pinfo::init): Get myself address from open_shared.
* pinfo.h (myself_addr): Remove declaration.
* shared.cc (open_shared): Rework so that known shared memory locations are
protected. Take shared memory type as fifth argument.
(memory_init): Reflect open_shared arg change.
* shared_info.h (shared_locations): New enum.
(console_state): Move here.
(open_shared): Reflect open_shared arg change in declaration.
amodra [Tue, 15 Oct 2002 05:10:48 +0000 (05:10 +0000)]
* objcopy.c (copy_file): Report ambiguous bfd_object matches, and
other object errors in preference to bfd_core errors.
fedor [Tue, 15 Oct 2002 02:50:55 +0000 (02:50 +0000)]
New objc_specific struct.
(SYMBOL_INIT_LANGUAGE_SPECIFIC): Handle ObjC.
(SYMBOL_DEMANGLED_NAME): Likewise.
fedor [Tue, 15 Oct 2002 02:42:32 +0000 (02:42 +0000)]
(init_filename_language_table): Add ObjC file extension.
amodra [Tue, 15 Oct 2002 02:20:53 +0000 (02:20 +0000)]
* config/tc-i386.h (EXTERN_FORCE_RELOC): Define.
(MD_APPLY_SYM_VALUE): Define for PE too.
fedor [Tue, 15 Oct 2002 02:16:50 +0000 (02:16 +0000)]
utils.c (puts_filtered_tabular): New function.
(fprintf_symbol_filtered): Get ObjC demangled name.
defs.h (puts_filtered_tabular): Declared.
rth [Tue, 15 Oct 2002 01:07:52 +0000 (01:07 +0000)]
* elf64-alpha.c (elf64_alpha_relocate_section) [BRSGP]: Increment
VALUE, not ADDEND.
amodra [Tue, 15 Oct 2002 00:09:02 +0000 (00:09 +0000)]
* ldlang.c (load_symbols): Revert last change.
amodra [Tue, 15 Oct 2002 00:00:04 +0000 (00:00 +0000)]
daily update
gdbadmin [Tue, 15 Oct 2002 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
kevinb [Mon, 14 Oct 2002 22:58:28 +0000 (22:58 +0000)]
* c-lang.h (c_type_print_varspec_prefix): Delete.
* c-typeprint.c (c_type_print_varspec_prefix): Make static. Add
``need_post_space'' parameter. Adjust all callers.
ciceron [Mon, 14 Oct 2002 21:20:15 +0000 (21:20 +0000)]
* ld-m68hc11/m68hc11.exp: Specific tests for 68HC11/68HC12.
* ld-m68hc11/adj-jump.d: New test for linker relaxation.
* ld-m68hc11/adj-jump.s: Likewise.
* ld-m68hc11/adj-brset.s: Likewise.
* ld-m68hc11/adj-brset.d: Likewise.
* ld-m68hc11/relax-direct.s: Likewise.
* ld-m68hc11/relax-direct.d: Likewise.
* ld-m68hc11/relax-group.s: Likewise.
* ld-m68hc11/relax-group.d: Likewise.
* ld-m68hc11/bug-1403.d: Likewise.
* ld-m68hc11/bug-1403.s: Likewise.
drow [Mon, 14 Oct 2002 20:46:57 +0000 (20:46 +0000)]
* config/mips/nm-irix4.h (HAVE_NONSTEPPABLE_WATCHPOINT): Define to 1.
* config/mips/nm-irix5.h (HAVE_NONSTEPPABLE_WATCHPOINT): Likewise.
* config/mips/tm-embed.h (HAVE_NONSTEPPABLE_WATCHPOINT): Likewise.
* config/pa/nm-hppah.h (HAVE_NONSTEPPABLE_WATCHPOINT): Likewise.
cgf [Mon, 14 Oct 2002 20:25:52 +0000 (20:25 +0000)]
* child_info.h (CURR_CHILD_INFO_MAGIC): Reset.
(child_info_fork::heaptop): Remove obsolete element.
(child_info_fork::heabbase): Ditto.
(child_info_fork::heapptr): Ditto.
(child_info_fork::mount_table): New element.
(child_info_fork::myself_addr): Ditto.
* dcrt0.cc (dll_crt0_1): Set mount_table and myself_addr when forking.
(initial_env): Add newline to "sleeping" message.
* dll_init.cc (reserve_upto): Accommodate cygwin heap when freeing memory.
Make debugging output a little more descriptive.
* fork.cc (fork_parent): Save mount_table and myself_addr.
* pinfo.cc (myself_addr): New variable.
(set_myself): Pass PID_MYSELF flag to init.
(pinfo::Init): Honor PID_MYSELF. Save address where myself shared memory
resides in myself_addr, for fork.
* pinfo.h (myself_addr): Declare.
* shared.cc (memory_init): On fork, use previously saved address for location
of mount table.
* include/sys/cygwin.h (PID_MYSELF): New value.
* dtable.cc (dtable::stdio_init): Don't pass access type to
init_std_file_from_handle. It's always the same.
(dtable::init_std_file_from_handle): Remove access type argument. Assume
read/write.
* dtable.h (dtable::init_std_file_from_handle): Ditto for declaration.
* exceptions.cc (try_to_debug): Don't try to debug if already being debugged.
* fhandler_console.cc (shared_console_info_save): New variable.
(fhandler_console::get_tty_stuff): Save address of shared console stuff for
fork.
earnie [Mon, 14 Oct 2002 19:59:04 +0000 (19:59 +0000)]
* Makefile.in: Add components for lib/ddk. Adjust for autoconf-2.53.
* configure.in: Ditto.
* lib/Makefile.in: Ditto.
* lib/ddk/Makefile.in: Correct installation procedure. Adjust for
autoconf-2.53.
* configure: Regenerate.
sclarke [Mon, 14 Oct 2002 19:29:53 +0000 (19:29 +0000)]
* elf32-sh.c (elf_sh_link_hash_entry): Replace
datalabel_got_offset with union of datalabel_got
offset and refcount.
(sh_elf_link_hash_newfunc): Initialize datalabel_got.refcount.
(allocate_dynrelocs): Delete unnecessary code for
STT_DATALABEL type. Create entry in got for
datalabel version of symbol if datalabel_got.refcount > 0.
(sh_elf_relocate_section): Use datalabel_got union.
(sh_elf_gc_sweep_hook): Pull common code to initialize
h and eh out of switch statement. Declare seen_stt_datalabel.
Initialize it. Decrement datalabel_got.refcount for
got relocs when seen_stt_datalabel is true.
Decrement local_got_refcounts entry for datalabel got relocs
of local symbols.
(sh_elf_copy_indirect_symbol): Copy datalabel_got field over.
(sh_elf_check_relocs): Declare seen_stt_datalabel.
Initialize it. When seen_stt_datalabel is true, increment
datalabel_got refcount rather than got.refcount.
(sh_elf_finish_dynamic_symbol): Create relocs to
initialize got entry for datalabel version of symbol.
sclarke [Mon, 14 Oct 2002 18:45:02 +0000 (18:45 +0000)]
ld-sh/ld-r-1.d: Disable for sh64*-*-linux*.
* ld-sh/sh64/sh64.exp: Likewise.
* ld-sh/sh.exp: Disable relaxing tests for sh64*-*-linux*.
* ld-sh/sh64/abi32.sd: Adjust expected output to include
sh64*-*-linux* formats too.
* ld-sh/sh64/relax.exp: Add emul32 variable to hold target
emulation, and set it appropriately for sh*-*-linux*.
* ld-sh/sh64/relfail.exp: Add variables to hold target
emulation, output format, start symbol, and whether target
supports 64-bit ABI. Set appropriately for sh*-*-linux*.
amodra [Mon, 14 Oct 2002 13:08:19 +0000 (13:08 +0000)]
* ldlang.c (load_symbols): Don't call bfd_link_add_symbols when
just_syms_flag.
(lang_reasonable_defaults): Don't compare against false.
(size_input_section): Likewise.
(lang_size_sections_1): Likewise.
(lang_do_assignments): Likewise.
(lang_add_output): Likewise.
amodra [Mon, 14 Oct 2002 12:09:18 +0000 (12:09 +0000)]
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
* ldver.c: #include "bfdver.h".
amodra [Mon, 14 Oct 2002 12:08:47 +0000 (12:08 +0000)]
* Makefile.am: Run "make dep-am".
(CPU_OBJ_VALID): sh64 coff is invalid.
* as.c: #include "bfdver.h".
* Makefile.in: Regenerate.
* config.in: Regenerate.