OSDN Git Service
nickc [Thu, 1 Apr 2004 10:07:44 +0000 (10:07 +0000)]
(display_debug_pubnames): Align offset and data columns.
(read_and_display_attr_value): Add missing break;
(debug_displays): Enable the display of the .debug_pubtypes section.
dannysmith [Thu, 1 Apr 2004 10:04:04 +0000 (10:04 +0000)]
* crt1.c (_mingw32_init_fmode): Set *_imp___fmode_dll to
_fmode if not __MSVCRT__.
corinna [Thu, 1 Apr 2004 09:48:13 +0000 (09:48 +0000)]
* fhandler_socket.cc (fhandler_socket::sendto): Drop out of loop if
has_been_closed gets set.
(fhandler_socket::sendmsg): Ditto.
* net.cc (wsock_event::wait): Don't initialize evts. Don't try to
evaluate network events if WSAEnumNetworkEvents fails.
(wsock_event::release): Save last WSA error and set it again unless
resetting to blocking socket fails.
* wsock_event.h (class wsock_event): Remove destructor.
nickc [Thu, 1 Apr 2004 08:39:58 +0000 (08:39 +0000)]
(struct stab_link_includes_totals): Add field 'symb' that keeps the characters
in a B_INCL..B_EINCL range.
(_bfd_link_section_stabs): When computing the sum of the characters in a
B_INCL..B_EINCL range also keep a copy of those characters. Use this
information to distinguish between include sections that have the same sum
and the same length but which are nevertheless unique.
nickc [Thu, 1 Apr 2004 08:22:44 +0000 (08:22 +0000)]
Correctly emit lo16 relocs for elf-dlx target, fixing bogus range checking bug.
dj [Thu, 1 Apr 2004 02:00:55 +0000 (02:00 +0000)]
merge from gcc
brobecke [Thu, 1 Apr 2004 00:57:59 +0000 (00:57 +0000)]
* gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
* gdb.ada (null_record.exp): New testcase.
brobecke [Thu, 1 Apr 2004 00:55:48 +0000 (00:55 +0000)]
* Makefile.in (ALL_SUBDIRS) Add gdb.ada.
brobecke [Thu, 1 Apr 2004 00:53:50 +0000 (00:53 +0000)]
* gdb.ada: New subdirectory.
* gdb.ada/Makefile.in: New file.
* gdb.ada/gnat_ada.gpr.in: New file.
brobecke [Thu, 1 Apr 2004 00:51:13 +0000 (00:51 +0000)]
* lib/ada.exp: New file.
gdbadmin [Thu, 1 Apr 2004 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Thu, 1 Apr 2004 00:00:06 +0000 (00:00 +0000)]
daily update
hunt [Wed, 31 Mar 2004 22:08:35 +0000 (22:08 +0000)]
2004-03-31 Martin Hunt <hunt@redhat.com>
* library/combobox.tcl (::combobox::Configure): Remove
debug line.
cagney [Wed, 31 Mar 2004 19:40:23 +0000 (19:40 +0000)]
2004-03-31 Andrew Cagney <cagney@redhat.com>
* frame.h (frame_unwind_id): Declare.
* frame.c (frame_unwind_id): New function.
(get_prev_frame_1): New function.
(frame_debug_got_null_frame): New function.
(get_prev_frame): Use frame_debug_got_null_frame. Move unwind
code proper to prev_frame, update description.
* infrun.c (step_over_function): Use frame_unwind_id.
corinna [Wed, 31 Mar 2004 19:34:26 +0000 (19:34 +0000)]
* fhandler_tape.cc (mtinfo::initialize): Fix fatal error message.
brobecke [Wed, 31 Mar 2004 17:44:08 +0000 (17:44 +0000)]
* hppa-tdep.c (hppa32_push_dummy_call): Set the Stack Pointer.
(hppa64_push_dummy_call): Likewise.
corinna [Wed, 31 Mar 2004 15:33:32 +0000 (15:33 +0000)]
* fhandler_socket.cc (fhandler_socket::recvfrom): Always initialize
ret to 0 when using in Winsock call.
(fhandler_socket::recvmsg): Ditto.
(fhandler_socket::sendto): Ditto.
(fhandler_socket::sendmsg): Ditto.
corinna [Wed, 31 Mar 2004 12:04:05 +0000 (12:04 +0000)]
* fhandler_tape.cc (mtinfo_drive::get_pos): Only set partition if
GetTapePosition returned a non-zero partition number.
(mtinfo_drive::create_partitions): Reinitialize to partition 0.
Support TAPE_DRIVE_INITIATOR and TAPE_DRIVE_FIXED partitioning.
(mtinfo_drive::set_partition): Initialize new partition.
(mtinfo_drive::status): Readd accidentally dropped setting of mt_resid.
* net.cc (wsock_event::prepare): Always print debug output in case
of error.
pbrook [Wed, 31 Mar 2004 10:20:10 +0000 (10:20 +0000)]
* elf32-arm.h (elf32_arm_final_link_relocate): Add R_ARM_ALU*.
* elfarm-nabi.c (elf32_arm_howto_table): Ditto.
corinna [Wed, 31 Mar 2004 10:10:58 +0000 (10:10 +0000)]
* fhandler_socket.cc (fhandler_socket::sendmsg): Add SIGPIPE handling.
nickc [Wed, 31 Mar 2004 09:27:39 +0000 (09:27 +0000)]
(struct stab_link_includes_totals): Rename field 'total' to 'sum_chars'
and add field 'num_chars'.
(_bfd_link_section_stabs): When computing the sum of the characters in a
B_INCL..B_EINCL range also keep a count of the number of characters. Use
this information to help distinguish between include sections when have
the same sum but which nevertheless are still unique.
corinna [Wed, 31 Mar 2004 09:13:52 +0000 (09:13 +0000)]
* fhandler_socket.cc (fhandler_socket::recvfrom): Initialize res to
SOCKET_ERROR. Use SOCKET_ERROR instead of -1 throughout.
(fhandler_socket::recvmsg): Ditto.
(fhandler_socket::sendto): Ditto.
(fhandler_socket::sendmsg): Ditto.
* net.cc (wsock_event::prepare): Call WSASetLastError instead of
SetLastError.
(wsock_event::wait): Use SOCKET_ERROR instead of -1.
nickc [Wed, 31 Mar 2004 08:44:59 +0000 (08:44 +0000)]
(_bfd_link_section_stabs): Do not skip N_EXCL stabs.
jjohnstn [Wed, 31 Mar 2004 01:27:53 +0000 (01:27 +0000)]
2003-03-30 Jeff Johnston <jjohnstn@redhat.com>
* libc/machine/h8300/Makefile.am: Reformat slightly.
* libc/machine/h8300/Makefile.in: Regenerate.
gdbadmin [Wed, 31 Mar 2004 00:00:05 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Wed, 31 Mar 2004 00:00:05 +0000 (00:00 +0000)]
daily update
dannysmith [Tue, 30 Mar 2004 21:49:12 +0000 (21:49 +0000)]
2004-03-30 Danny Smith <dannysmith@users.sourceforge.net>
* include/io.h: (_findfirst): Correct prototype.
2004-03-30 Hans Leidekker <hans@it.vu.nl>
* include/io.h: (_findnext, _findclose): Correct prototype.
cgf [Tue, 30 Mar 2004 21:27:50 +0000 (21:27 +0000)]
* thread.h (pthread::init_mainthread): Add parameter forked. Set forked
default to false..
* thread.cc (MTinterface::fixup_after_fork): Call pthread::init_mainthread with
forked = true.
(pthread::init_mainthread): Add parameter forked. Do not change thread self
pointer when forked.
jjohnstn [Tue, 30 Mar 2004 21:11:52 +0000 (21:11 +0000)]
2003-03-30 Thomas Pfaff <tpfaff@gmx.net>
* libc/stdio/findfp.c (__fp_lock_all): Add call to
__sfp_lock_acquire.
(__fp_unlock_all): Add call to __sfp_lock_release.
dj [Tue, 30 Mar 2004 20:03:09 +0000 (20:03 +0000)]
merge from gcc
shebs [Tue, 30 Mar 2004 20:02:03 +0000 (20:02 +0000)]
Remove long-obsolete MPW support.
* mpw-config.in, mpw-make.sed, mac-ld.r: Remove files.
* Makefile.am (mpw): Remove file-presynthesizing actions.
* Makefile.in: Likewise.
* ldfile.c (slash): Remove MPW case.
* ldlex.l [MPW]: Remove unused definition.
shebs [Tue, 30 Mar 2004 19:20:57 +0000 (19:20 +0000)]
* mpw-config.in, mpw-make.sed, mac-binutils.r: Remove MPW
support files, no longer used.
joshuadfranklin [Tue, 30 Mar 2004 19:20:41 +0000 (19:20 +0000)]
2004-03-30 Joshua Daniel Franklin <joshuadfranklin@yahoo.com>
* ntsec.sgml: Replace chapter numbers with <link>s,
replace release-numbers in <title>s with descriptions.
2004-03-30 Ronald Landheer-Cieslak <ronald@landheer.com>
* ntsec.sgml: Fix typos, correct chapter numbers.
shebs [Tue, 30 Mar 2004 18:43:16 +0000 (18:43 +0000)]
Remove long-obsolete MPW support.
* mpw-config.in, mpw-make.sed, mac-as.r: Remove files.
* configure.in: Remove mention of ppc-*-mpw* config.
* configure.in: Likewise.
[testsuite/ChangeLog]
* gas/macros/macros.exp: Remove mention of MPW config.
jimb [Tue, 30 Mar 2004 15:44:08 +0000 (15:44 +0000)]
From Ulrich Weigand:
* utils.c (query): Do not use a va_list variable multiple times.
corinna [Tue, 30 Mar 2004 15:21:18 +0000 (15:21 +0000)]
* sysv_shm.cc (shmget): Allow to retrieve shared memory segments
by shmid when IPC_KEY_IS_SHMID is set.
corinna [Tue, 30 Mar 2004 15:20:03 +0000 (15:20 +0000)]
* shm.cc (shmat): If shmid is unknown, call a special variation
of shmget to retrieve the shared memory segment from Cygserver
instead of failing immediately.
* include/cygwin/ipc.h (IPC_KEY_IS_SHMID): New internal flag for
shmget when called from shmat.
nickc [Tue, 30 Mar 2004 14:04:21 +0000 (14:04 +0000)]
Add (linker) support for CR16C processor
jakub [Tue, 30 Mar 2004 09:58:25 +0000 (09:58 +0000)]
* elf.c (map_sections_to_segments): Fix handling of .tbss.
jakub [Tue, 30 Mar 2004 09:54:13 +0000 (09:54 +0000)]
* binutils-all/objcopy.exp: Accept main as a data symbol as well.
nickc [Tue, 30 Mar 2004 09:48:26 +0000 (09:48 +0000)]
Updated Swedish translation
nickc [Tue, 30 Mar 2004 09:29:15 +0000 (09:29 +0000)]
Fix bug parsing shigh(0xffff8000)
nickc [Tue, 30 Mar 2004 08:53:01 +0000 (08:53 +0000)]
make use of meabi_flags be ELF specific
hunt [Tue, 30 Mar 2004 06:05:26 +0000 (06:05 +0000)]
2004-03-29 Martin Hunt <hunt@redhat.com>
* generic/gdbtk-register.c (map_arg_registers): If a specific
register was requested, just return it without validating it
has a name.
(get_register): Check DEPRECATED_REGISTER_CONVERTIBLE_P ().
hunt [Tue, 30 Mar 2004 06:03:08 +0000 (06:03 +0000)]
Moved ChangeLog to ChangeLog-2003
amodra [Tue, 30 Mar 2004 00:00:07 +0000 (00:00 +0000)]
daily update
gdbadmin [Tue, 30 Mar 2004 00:00:06 +0000 (00:00 +0000)]
*** empty log message ***
dannysmith [Mon, 29 Mar 2004 22:39:44 +0000 (22:39 +0000)]
* lib/Makefile,in; Add directx to .PHONY target.
* lib/directx/dxerr.c: Remove dependence on mingw runtime.
Don't include stdio.h or tchar.h.
Replace _T() macro with TEXT() macro, throughout.
Replace, _stprintf with wsprintf, throughout.
rsandifo [Mon, 29 Mar 2004 22:01:44 +0000 (22:01 +0000)]
Fix date in last delta.
rsandifo [Mon, 29 Mar 2004 21:58:00 +0000 (21:58 +0000)]
* sim/mips/hilo-hazard-[123].s: New files.
* sim/mips/basic.exp (run_hilo_test): New procedure.
(models): Only list models that are included in the configuration.
(submodels): New variable, set to submodels of the above.
(mips64vr-*-elf, mips64vrel-*-elf): New configuration stanza.
Run hilo-hazard-[123].s.
rsandifo [Mon, 29 Mar 2004 21:56:01 +0000 (21:56 +0000)]
* sim-main.h (MIPS_MACH_HAS_MT_HILO_HAZARD)
(MIPS_MACH_HAS_MULT_HILO_HAZARD, MIPS_MACH_HAS_DIV_HILO_HAZARD): New.
* mips.igen (check_mt_hilo, check_mult_hilo, check_div_hilo): Provide
separate implementations for mipsIV and mipsV. Use new macros to
determine whether the restrictions apply.
corinna [Mon, 29 Mar 2004 19:41:16 +0000 (19:41 +0000)]
* fhandler.h (class fhandler_socket): Add has_been_closed member.
* fhandler_socket.cc (fhandler_socket::fhandler_socket): Initialize
has_been_closed to 0.
(fhandler_socket::recvfrom): Use new asynchronous I/O driven
wsock_event methods.
(fhandler_socket::recvmsg): Ditto.
(fhandler_socket::sendto): Ditto.
(fhandler_socket::sendmsg): Ditto.
* net.cc (wsock_event::prepare): Reimplement using asynchronous I/O.
(wsock_event::wait): Ditto.
(wsock_event::release): New method.
* wsock_event.h (class wsock_event): Remove ovr member. Accomodate
new implementation of prepare and wait methods. Add release method.
shebs [Mon, 29 Mar 2004 18:09:08 +0000 (18:09 +0000)]
* mpw-config.in, mpw-make.sed: Remove MPW support files, no longer
used.
drow [Mon, 29 Mar 2004 18:07:13 +0000 (18:07 +0000)]
* Makefile.in (linux_nat_h): Update dependencies.
* configure.in: Check for <gnu/libc-version.h>.
* configure: Regenerate.
* config.in: Regenerate.
* linux-nat.h: Include "target.h". Add waitstatus field to
struct lwp_info.
* lin-lwp.c (add_lwp): Initialize waitstatus.kind.
(lin_lwp_attach_lwp): Don't attach to LWPs we have already attached
to.
(lin_lwp_handle_extended): New function. Handle clone events.
(wait_lwp): Use lin_lwp_handle_extended. Update comment about
thread exit events.
(child_wait): Handle clone events.
(lin_lwp_wait: Use lin_lwp_handle_extended and handle clone events.
* linux-nat.c (linux_enable_event_reporting): Turn on
PTRACE_O_TRACECLONE.
(linux_handle_extended_wait): Handle clone events.
* thread-db.c: Include <gnu/libc-version.h>.
(struct private_thread_info): Add dying flag.
(enable_thread_event_reporting): Enable TD_DEATH for glibc 2.2 and
higher.
(attach_thread): Update comments. Handle dying threads.
(detach_thread): Set the dying flag.
(check_event): Always call attach_thread.
drow [Mon, 29 Mar 2004 17:58:04 +0000 (17:58 +0000)]
* mips-tdep.c (mips_pdr_data): New.
(non_heuristic_proc_desc): Use objfile_data and set_objfile_data.
(_initialize_mips_tdep): Initialize mips_pdr_data.
carlton [Mon, 29 Mar 2004 16:52:33 +0000 (16:52 +0000)]
Add entry that I left out of 2004-03-15 ChangeLog:
(read_namespace): Set die->type.
cgf [Mon, 29 Mar 2004 15:14:07 +0000 (15:14 +0000)]
* thread.cc (pthread::atforkprepare): Call MT_INTERFACE->fixup_before_fork at
the end of atforkprepare.
corinna [Mon, 29 Mar 2004 14:08:43 +0000 (14:08 +0000)]
* net.cc (wsock_event::wait): Change scope of local "len" variable.
infidel [Mon, 29 Mar 2004 13:57:04 +0000 (13:57 +0000)]
2004-03-28 Hans Leidekker <hans@it.vu.nl>
* include/math.h (FP_*): Add defines.
corinna [Mon, 29 Mar 2004 11:26:02 +0000 (11:26 +0000)]
* minsyms.c (install_minimal_symbols): Move dropping leading
char from linkage name from here...
(prim_record_minimal_symbol_and_info): ...to here. Simplify
test for "__gnu_compiled*" symbols.
dannysmith [Mon, 29 Mar 2004 08:22:18 +0000 (08:22 +0000)]
* mingwex/math/round.c: Rewrite.
* mingwex/math/roundf.c: Rewrite.
* mingwex/math/roundl.c: Rewrite.
corinna [Mon, 29 Mar 2004 08:07:39 +0000 (08:07 +0000)]
* pathnames.sgml: Fix /dev/srX description.
joshuadfranklin [Mon, 29 Mar 2004 06:37:40 +0000 (06:37 +0000)]
2004-03-28 Joshua Daniel Franklin <joshuadfranklin@yahoo.com>
* how-programming.texinfo: Make list in .lib FAQ enumerative.
joshuadfranklin [Mon, 29 Mar 2004 05:56:46 +0000 (05:56 +0000)]
2004-03-28 Joshua Daniel Franklin <joshuadfranklin@yahoo.com>
* how-programming.texinfo: Add note about gcc .lib linking.
* pathnames.sgml: Mention create_devices.sh for /dev/ creation.
jimb [Mon, 29 Mar 2004 03:41:54 +0000 (03:41 +0000)]
* rs6000-tdep.c (skip_prologue): Recognize moves from argument
registers to temp register r0 and byte stores as prologue
instructions.
amodra [Mon, 29 Mar 2004 00:00:05 +0000 (00:00 +0000)]
daily update
gdbadmin [Mon, 29 Mar 2004 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
corinna [Sun, 28 Mar 2004 21:01:33 +0000 (21:01 +0000)]
* shm.cc (shmat): Return (void *) -1 on error instead of NULL.
cagney [Sun, 28 Mar 2004 19:56:40 +0000 (19:56 +0000)]
2004-03-28 Andrew Cagney <cagney@redhat.com>
* PROBLEMS (Stack backtraces): Rewrite. Remove reference to
arm*-*-*.
ciceron [Sun, 28 Mar 2004 12:22:55 +0000 (12:22 +0000)]
* gdb.texinfo (TUI Commands): Document tui reg commands.
infidel [Sun, 28 Mar 2004 11:22:09 +0000 (11:22 +0000)]
2004-03-27 Hosaka Yuji <hos@tamanegi.org>
* include/dbt.h (DBT_DEVTYP_DEVICEINTERFACE, DBT_DEVTYP_HANDLE):
Add define.
(DEV_BROADCAST_DEVICEINTERFACE, DEV_BROADCAST_HANDLE): Add struct.
* include/winuser.h (UnregisterDeviceNotification): Add prototype.
* lib/user32.def (UnregisterDeviceNotification): Add export stub.
ciceron [Sun, 28 Mar 2004 10:18:04 +0000 (10:18 +0000)]
* tui/tui-regs.c (tui_show_registers): Make sure the TUI is active
and switch the layout to force a display of register window.
gdbadmin [Sun, 28 Mar 2004 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Sun, 28 Mar 2004 00:00:08 +0000 (00:00 +0000)]
daily update
aoliva [Sat, 27 Mar 2004 21:11:14 +0000 (21:11 +0000)]
* ld-frv/fdpic*.d: Adjust to compensate for page size change.
cgf [Sat, 27 Mar 2004 18:01:04 +0000 (18:01 +0000)]
* fhandler_nodevice.cc (fhandler_nodevice::open): Assume that errno has already
been set if pc.error is nonzero.
corinna [Sat, 27 Mar 2004 16:02:04 +0000 (16:02 +0000)]
* Fix ChangeLog formatting.
corinna [Sat, 27 Mar 2004 15:59:44 +0000 (15:59 +0000)]
* cygserver.sgml: New file.
* using.sgml: Include Cygserver docs.
amodra [Sat, 27 Mar 2004 11:36:03 +0000 (11:36 +0000)]
* config/obj-aout.c (obj_aout_type): Remove #ifdef BFD_ASSEMBLER code.
amodra [Sat, 27 Mar 2004 10:58:34 +0000 (10:58 +0000)]
* emultempl/elf32.em: Update new bfd_elf_discard_info name.
* emultempl/hppaelf.em: Likewise.
* emultempl/ppc64elf.em: Likewise.
* emultempl/sh64elf.em: Likewise.
amodra [Sat, 27 Mar 2004 10:58:04 +0000 (10:58 +0000)]
* Makefile.am: Remove all mention of elflink.h.
* Makefile.in: Regenerate.
* bfd-in.h (bfd_elf_discard_info): Declare.
(bfd_elf32_discard_info, bfd_elf64_discard_info): Delete.
* bfd-in2.h: Regenerate.
* elf-bfd.h (bfd_elf32_print_symbol, bfd_elf64_print_symbol,
bfd_elf32_link_record_dynamic_symbol,
bfd_elf64_link_record_dynamic_symbol,
_bfd_elf_link_record_dynamic_symbol, bfd_elf32_bfd_final_link,
bfd_elf64_bfd_final_link, elf_link_record_local_dynamic_symbol,
_bfd_elf32_link_record_local_dynamic_symbol,
_bfd_elf64_link_record_local_dynamic_symbol,
_bfd_elf32_gc_sections, _bfd_elf32_gc_common_finalize_got_offsets,
_bfd_elf32_gc_common_final_link, _bfd_elf64_gc_common_final_link,
_bfd_elf32_gc_record_vtinherit, _bfd_elf32_gc_record_vtentry,
_bfd_elf64_gc_sections, _bfd_elf64_gc_common_finalize_got_offsets,
_bfd_elf64_gc_record_vtinherit, _bfd_elf64_gc_record_vtentry,
_bfd_elf32_reloc_symbol_deleted_p,
_bfd_elf64_reloc_symbol_deleted_p): Delete.
(bfd_elf_link_record_dynamic_symbol,
bfd_elf_link_record_local_dynamic_symbol,
bfd_elf_final_link, bfd_elf_gc_sections,
bfd_elf_gc_record_vtinherit, bfd_elf_gc_record_vtentry,
bfd_elf_gc_common_finalize_got_offsets, bfd_elf_gc_common_final_link,
bfd_elf_reloc_symbol_deleted_p): Declare.
(WILL_CALL_FINISH_DYNAMIC_SYMBOL): Define.
* elf32-arm.h: Update for changed function names. Remove local
WILL_CALL_FINISH_DYNAMIC_SECTION define.
* elf-hppa.h, elf-m10300.c, elf32-cris.c, elf32-d10v.c, elf32-dlx.c,
* elf32-fr30.c, elf32-frv.c, elf32-h8300.c, elf32-hppa.c, elf32-i386.c,
* elf32-iq2000.c, elf32-m32r.c, elf32-m68hc1x.c, elf32-m68k.c,
* elf32-mcore.c, elf32-openrisc.c, elf32-ppc.c, elf32-s390.c,
* elf32-sh.c, elf32-sparc.c, elf32-v850.c, elf32-vax.c,
* elf32-xstormy16.c, elf32-xtensa.c, elf64-alpha.c, elf64-hppa.c,
* elf64-mmix.c, elf64-ppc.c, elf64-s390.c, elf64-sh64.c, elf64-sparc.c,
* elf64-x86-64.c, elfxx-ia64.c, elfxx-mips.c, elfxx-target.h: Likewise.
* elfxx-target.h (bfd_elfNN_bfd_final_link): Define.
(bfd_elfNN_print_symbol): Define.
* elfcode.h: Don't include elflink.h.
(elf_bfd_discard_info, elf_reloc_symbol_deleted_p,
elf_link_record_dynamic_symbol, elf_bfd_final_link, elf_gc_sections,
elf_gc_common_finalize_got_offsets, elf_gc_common_final_link,
elf_gc_record_vtinherit, elf_gc_record_vtentry,
elf_link_record_local_dynamic_symbol): Don't define.
* elflink.c: Update for changed function names. Move elflink.h
code here.
* elflink.h: Delete file.
* po/SRC-POTFILES.in: Regenerate.
* po/bfd.pot: Regenerate.
doc/
* bfdint.texi: Remove all mention of elflink.h.
amodra [Sat, 27 Mar 2004 10:43:57 +0000 (10:43 +0000)]
* gas/i860/dir-intel03-err.l: Update for junk at end line becoming
an error.
* gas/m68hc11/m68hc11.exp: Likewise.
amodra [Sat, 27 Mar 2004 10:16:18 +0000 (10:16 +0000)]
* elf64-mmix.c (mmix_elf_relocate_section): Restore code setting
"name" for global syms accidentally removed in 2004-03-20 change.
amodra [Sat, 27 Mar 2004 10:08:58 +0000 (10:08 +0000)]
* elf-bfd.h (struct elf_reloc_cookie): Add r_sym_shift field.
* elflink.h: Replace all occurrences of sizeof (Elf_External_*)
where Elf_External_* is different for 64 and 32 bit, with
corresponding elf_size_info field.
(struct elf_final_link_info): Use "bfd_byte *" instead
of "Elf_External_Sym *" for external_syms and symbuf.
(elf_link_adjust_relocs): Set up r_type_mask and r_sym_shift local
vars and use instead of ELF_R_INFO and ELF_R_TYPE macros.
(struct elf_link_sort_rela): Add "sym_mask" alias for "offset".
(elf_link_sort_cmp1): Use sym_mask field instead of ELF_R_SYM.
(elf_link_sort_cmp2): Adjust.
(elf_link_sort_relocs): Set up r_sym_mask local var instead of
using ELF_R_SYM macro. Set u.sym_mask.
(elf_bfd_final_link): Call _bfd_elf_stringtab_init instead of macro
version, elf_stringtab_init. Ditto for bfd_section_from_elf_index
vs. section_from_elf_index. Adjust Elf_External_Sym pointer
arithmetic. Pass bed to elf_link_flush_output_syms. Adjust
Elf_External_Dyn pointer arithmentic. Use bed swap_dyn_in and
swap_syn_out functions. Rearrange dyn swap in/out switch.
(elf_link_output_sym): Adjust Elf_External_Sym pointer arithmentic.
Pass bed to elf_link_flush_output_syms. Use bed swap_symbol_out.
(elf_link_flush_output_syms): Add elf_backend_data arg.
(elf_link_check_versioned_symbol): Likewise.
(elf_link_output_extsym): Pass bed to elf_link_check_versioned_symbol.
Adjust Elf_External_Sym pointer arithmetic. Use bed swap_symbol_out.
(elf_link_input_bfd): Use bfd_section_from_elf_index. Set up
r_type_mask and r_sym_shift local vars and use instead of ELF_R_SYM,
ELF_R_TYPE and ELF_R_INFO macros.
(elf_reloc_link_order): Select ELF32_R_INFO or ELF64_R_INFO invocation
based on size rather than using ELF_R_INFO.
(elf_gc_mark): Set up r_sym_shift local var and use instead of
ELF_R_SYM macro.
(struct alloc_got_off_arg): New.
(elf_gc_common_finalize_got_offsets): Use elf_size_info instead of
ARCH_SIZE. Pass get entry size down to elf_gc_allocate_got_offsets.
(elf_gc_allocate_got_offsets): Adjust.
(elf_reloc_symbol_deleted_p): Usee cookie.r_sym_shift instead of
ELF_R_SYM. Use bfd_section_from_elf_index.
(elf_bfd_discard_info): Set cookie.r_sym_shift.
* elfcode.h (elf_stringtab_init, section_from_elf_index): Delete.
(elf_slurp_symbol_table): Use bfd_section_from_elf_index.
joshuadfranklin [Sat, 27 Mar 2004 06:48:10 +0000 (06:48 +0000)]
2004-03-26 Joshua Daniel Franklin <joshuadfranklin@yahoo.com>
* cygwinenv.sgml: Add example for CYGWIN=error_start.
* pathnames.sgml: Update list of /dev/ devices.
shebs [Sat, 27 Mar 2004 05:45:46 +0000 (05:45 +0000)]
Remove MPW support, no longer used.
* config.bfd (powerpc-*-mpw*): Remove configuration.
* mpw-config.in, mpw-make.sed: Remove files.
* ecoffswap.h [MPW_C]: Remove MPW-C-friendly version of code.
infidel [Sat, 27 Mar 2004 02:25:35 +0000 (02:25 +0000)]
2004-03-27 Filip Navara <xnavara@volny.cz>
* include/directx: New subdir.
* lib/directx: Ditto.
* include/directx/(d3d9.h, d3d9caps.h, d3d9types.h, dxerr8.h,
dxerr9.h): New files.
* lib/ddk/(Makefile.in, d3d8.def, d3d9.def, d3dim.def, d3drm.def,
d3dx8d.def, d3dx9d.def, d3dxof.def, ddraw.def, dinput.def,
dinput_joy.c, dinput_joy2.c, dinput_kbd.c, dinput_mouse.c,
dinput_mouse2.c, dinput_private.h, dinput8.def, dmoguids.c, dplayx.def,
dpnaddr.def, dpnet.def, dpnlobby.def, dpvoice.def, dsetup.def,
dsound.def, dxerr.c, dxerr8.c, dxerr8w.c, dxerr9.c, dxerr9w.c,
dxguid.c, ksproxy.def, ksuser.c, ksuser.def, msdmo.def, quartz.def,
strmiids.c, test.c): Ditto.
* lib/(d3dim.def, d3drm.def, d3dxof.def, ddraw.def, dinput.c,
dinput.def, dplayx.def, dsetup.def, dsound.def, dxguid.c): Removed.
echristo [Sat, 27 Mar 2004 00:07:10 +0000 (00:07 +0000)]
Fix ChangeLog entry.
gdbadmin [Sat, 27 Mar 2004 00:00:35 +0000 (00:00 +0000)]
*** empty log message ***
brobecke [Fri, 26 Mar 2004 23:15:40 +0000 (23:15 +0000)]
* amd64-tdep.c (amd64_classify): make RANGE_TYPE objects be part
of the INTEGER class.
amodra [Fri, 26 Mar 2004 23:00:05 +0000 (23:00 +0000)]
daily update
cgf [Fri, 26 Mar 2004 22:48:47 +0000 (22:48 +0000)]
* cygheap.cc (cygheap_fixup_in_child): Improve strace output.
corinna [Fri, 26 Mar 2004 21:43:48 +0000 (21:43 +0000)]
* errno.cc (errmap): Map ERROR_SHARING_VIOLATION to EBUSY,
ERROR_EOM_OVERFLOW and ERROR_NO_DATA_DETECTED to EIO. Add mappings
for ERROR_NO_MEDIA_IN_DRIVE, ERROR_DEVICE_REQUIRES_CLEANING and
ERROR_DEVICE_DOOR_OPEN.
* fhandler.h (class fhandler_dev_raw): Drop varblkop member.
(fhandler_dev_raw::is_eom): De-virtualize.
(fhandler_dev_raw::is_eof): Ditto.
(class fhandler_dev_tape): Drop lasterr and dp member. Add mt_mtx
member. Drop all private methods formerly used by ioctl.
(fhandler_dev_tape::is_rewind_device): Use get_minor for clarity.
(fhandler_dev_tape::driveno): New method.
(fhandler_dev_tape::drive_init): New method.
(fhandler_dev_tape::clear): Remove method.
(fhandler_dev_tape::is_eom): Ditto.
(fhandler_dev_tape::is_eof): Ditto.
(fhandler_dev_tape::write_file): Ditto.
(fhandler_dev_tape::read_file): Ditto.
(fhandler_dev_tape::_lock): New method.
(fhandler_dev_tape::unlock): New method.
(fhandler_dev_tape::raw_read): New method.
(fhandler_dev_tape::raw_write): New method.
* fhandler_raw.cc (fhandler_dev_raw::is_eom): New method.
(fhandler_dev_raw::is_eof): New method.
(fhandler_dev_raw::open): Allow setting write through option by
using the O_TEXT flag as ... flag.
(fhandler_dev_raw::writebuf): Remove usage of varblkop and other
tape specific code.
(fhandler_dev_raw::raw_read): Ditto.
(fhandler_dev_raw::dup): Ditto.
* fhandler_tape.cc: Rewrite tape operations entirely. Implement
new tape driver classes mtinfo, mtinfo_drive and mtinfo_part.
Reduce fhandler_dev_tape methods to mostly just calling appropriate
mtinfo_drive methods.
(mtinfo_init): New function adding the mtinfo shared memory area.
* mtinfo.h: New file, containing the definition of the new tape
driver classes.
* shared.cc: Include mtinfo.h.
(offsets): Add entry for mtinfo shared memory area.
(memory_init): Call mtinfo_init.
* shared_info.h (shared_locations): Add SH_MTINFO shared location.
* include/cygwin/mtio.h: Change and add various comments. Add GMT_xxx
macros for new generic flags. Add MT_ST_xxx bitfield definitions
for MTSETDRVBUFFER ioctl.
* include/cygwin/version.h: Bump API minor version number.
cgf [Fri, 26 Mar 2004 21:17:06 +0000 (21:17 +0000)]
add missing files
jimb [Fri, 26 Mar 2004 20:59:36 +0000 (20:59 +0000)]
* ppc-linux-tdep.c (ppc_linux_init_abi): Long doubles are eight
bytes long on PPC GNU/Linux.
jimb [Fri, 26 Mar 2004 20:23:40 +0000 (20:23 +0000)]
* tracedis.cxx (bfd_get_arch, bfd_getb16, bfd_getl16, bfd_getb32)
(bfd_getl32, bfd_put_bits, bfd_get_bits, bfd_lookup_arch): These
definitions are meant to satisfy references in libopcodes, which
is C code, so declare these with 'extern "C"'. Adjust types to
match those declared in the BFD header file.
cgf [Fri, 26 Mar 2004 20:02:00 +0000 (20:02 +0000)]
* path.cc (path_conv::check): Use 'strchr' rather than 'strrchr' to find end of
string, for efficiency.
* include/cygwin/_types.h: New file.
* include/sys/lock.h: Ditto.
* include/sys/stdio.h: Ditto.
* thread.cc: Include sys/lock.h
(__cygwin_lock_init): New function.
(__cygwin_lock_init_recursive): Ditto.
(__cygwin_lock_fini): Ditto.
(__cygwin_lock_lock): Ditto.
(__cygwin_lock_trylock): Ditto.
(__cygwin_lock_unlock): Ditto.
(pthread::atforkprepare): Lock file pointer before fork.
(pthread::atforkparent): Unlock file pointer after fork.
(pthread::atforkchild): Ditto.
carlton [Fri, 26 Mar 2004 17:05:39 +0000 (17:05 +0000)]
2004-03-26 David Carlton <carlton@kealia.com>
* PROBLEMS: Refer to gdb/1588 instead of gdb/826.
corinna [Fri, 26 Mar 2004 16:24:23 +0000 (16:24 +0000)]
* sem.cc (semget): Fix debug string.
(semop): Ditto.
* shm.cc (fixup_shms_after_fork): Ditto.
(shmat): Ditto.
(shmdt): Ditto.
(shmget): Ditto.
cagney [Fri, 26 Mar 2004 16:15:56 +0000 (16:15 +0000)]
2004-03-26 Andrew Cagney <cagney@redhat.com>
* gdb.texinfo (TUI): Delete reference to --enable-tui. Mention
"gdbtui".
(Mode Options): Mention "gdbtui". Use "Text" not "Terminal".
(Contributors): Mention both Text and Terminal User Interface.