OSDN Git Service
kevinb [Thu, 23 Jan 2003 06:40:07 +0000 (06:40 +0000)]
* linux-target.c (struct peekuser_pokeuser_reginfo)
[MIPS64_LINUX_TARGET, MIPS_LINUX_TARGET]: Disable registers ``cause''
and ``bad'' since they are not writable via ptrace().
drow [Thu, 23 Jan 2003 01:35:21 +0000 (01:35 +0000)]
* gdb.exp (gdb_test_multiple): New function, cloned from
gdb_test. Accept a list of expect arguments as the third
parameter.
(gdb_test): Use it.
gdbadmin [Thu, 23 Jan 2003 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
drow [Wed, 22 Jan 2003 23:50:34 +0000 (23:50 +0000)]
Original patch by Tom Tromey <tromey@cygnus.com> and
Jason Molenda <jmolenda@apple.com>.
* Makefile.in (PROFILE_CFLAGS): Substitute from configure.
(INTERNAL_LDFLAGS): Don't include PROFILE_CFLAGS.
* NEWS: Mention profiling.
* configure.in (--enable-gdbtk): Fix typo.
(--enable-profiling): New. Set PROFILE_CFLAGS.
* maint.c (maintenance_set_profile_cmd): Remove NOTYET.
Fill in function.
(profiling_state): New variable.
(mcleanup_wrapper): New function.
(_initialize_maint): Remove NOTYET, fix call to
add_setshow_boolean_cmd for "maint set profile".
* configure: Regenerated.
drow [Wed, 22 Jan 2003 23:50:13 +0000 (23:50 +0000)]
* gdb.texinfo (Maintenance Commands): Add "maint set profile"
and "maint show profile".
amodra [Wed, 22 Jan 2003 23:00:06 +0000 (23:00 +0000)]
daily update
tpfaff [Wed, 22 Jan 2003 19:51:31 +0000 (19:51 +0000)]
* include/pthread.h (PTHREAD_MUTEX_RECURSIVE): Revert changes from 2003-01-09 mutex patch.
(PTHREAD_MUTEX_ERRORCHECK): Ditto.
tpfaff [Wed, 22 Jan 2003 19:49:28 +0000 (19:49 +0000)]
* include/pthread.h (PTHREAD_MUTEX_RECURSIVE): Revert changes from 2003-01-09 mutex patch.
(PTHREAD_MUTEX_ERRORCHECK): Ditto.
corinna [Wed, 22 Jan 2003 17:15:53 +0000 (17:15 +0000)]
* Makefile.in (ALL_LDFLAGS): Remove newlib/libm from tools paths.
(MINGW_LDFLAGS): Remove in favor of definition from Makefile.common.
corinna [Wed, 22 Jan 2003 17:10:02 +0000 (17:10 +0000)]
* Makefile.common (MINGW_LDFLAGS): Add mingw/mingwex builddir.
corinna [Wed, 22 Jan 2003 15:23:23 +0000 (15:23 +0000)]
* cygrun.c: Move from here to ../testsuite.
* Makefile.in: Remove cygrun.exe dependencies.
corinna [Wed, 22 Jan 2003 15:18:58 +0000 (15:18 +0000)]
* cygrun.c: Move here from ../cygwin.
* Makefile.in: Build cygrun.exe.
* winsup.api/winsup.exp: Expect cygrun.exe in $rootme.
corinna [Wed, 22 Jan 2003 10:43:38 +0000 (10:43 +0000)]
* cygwin.din: Export nanosleep().
* signal.cc (nanosleep): New function.
(sleep): Move old functionality to nanosleep(). Call nanosleep().
(usleep): Remove old functionality. Call nanosleep().
* include/cygwin/version.h: Bump API minor number.
nickc [Wed, 22 Jan 2003 10:10:25 +0000 (10:10 +0000)]
Include fopen-bin.h not fopen-same.h for mingw32 hosts.
cgf [Wed, 22 Jan 2003 03:58:28 +0000 (03:58 +0000)]
* Makefile.in: Find tcl library in the right place.
cgf [Wed, 22 Jan 2003 03:57:52 +0000 (03:57 +0000)]
* Makefile.in: Find tcl library in the right place.
rth [Wed, 22 Jan 2003 00:47:57 +0000 (00:47 +0000)]
* elf64-alpha.c (ALPHA_ELF_LINK_HASH_PLT_LOC): New.
(struct alpha_elf_link_hash_entry): Add plt_old_section, plt_old_value.
(elf64_alpha_adjust_dynamic_symbol): Set them.
(elf64_alpha_size_plt_section_1): Reset them when plt entry removed.
(elf64_alpha_relax_tls_get_addr): Handle LDM relocs. Frob the
symbol index when relaxing LDM to TPREL.
(elf64_alpha_relax_section): Likewise. Allow relaxation of GD
relocs, even if the target isn't locally defined.
(elf64_alpha_check_relocs): Frob LDM reloc symndx to zero.
(elf64_alpha_relocate_section): Likewise. Force TP-relative
relocs vs symndx 0 to the tp base.
rth [Wed, 22 Jan 2003 00:41:58 +0000 (00:41 +0000)]
New TLS tests for Alpha.
gdbadmin [Wed, 22 Jan 2003 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Tue, 21 Jan 2003 23:00:06 +0000 (23:00 +0000)]
daily update
hunt [Tue, 21 Jan 2003 22:47:09 +0000 (22:47 +0000)]
Accidently removed.
hunt [Tue, 21 Jan 2003 22:29:36 +0000 (22:29 +0000)]
Accidently removed in last import.
hunt [Tue, 21 Jan 2003 21:58:33 +0000 (21:58 +0000)]
2003-01-21 Martin M. Hunt <hunt@redhat.com>
* library/main.tcl: Don't require iwidgets 3.0.
* library/console.itb (Console::_build_win): Rename
tkTextClosestGap to tk::TextClosestGap. Rename tkCancelRepeat
to tk::CancelRepeat. Rename tkPriv to tk::Priv. Needed for tk 8.4.1.
* library/bpwin.itb (BpWin::build_win): Don't
create sizebox.
* library/locals.tcl (build_win): Ditto.
* library/regwin.itb (RegWin::_build_win): Ditto.
* library/srcwin.itb (SrcWin::constructor): Ditto.
* library/stackwin.itb (StackWin::build_win): Ditto.
* library/watch.tcl (build_win): Ditto.
hunt [Tue, 21 Jan 2003 21:58:20 +0000 (21:58 +0000)]
2003-01-21 Martin M. Hunt <hunt@redhat.com>
* library/main.tcl: Don't require iwidgets 3.0.
* library/console.itb (Console::_build_win): Rename
tkTextClosestGap to tk::TextClosestGap. Rename tkCancelRepeat
to tk::CancelRepeat. Rename tkPriv to tk::Priv. Needed for tk 8.4.1.
* library/bpwin.itb (BpWin::build_win): Don't
create sizebox.
* library/locals.tcl (build_win): Ditto.
* library/regwin.itb (RegWin::_build_win): Ditto.
* library/srcwin.itb (SrcWin::constructor): Ditto.
* library/stackwin.itb (StackWin::build_win): Ditto.
* library/watch.tcl (build_win): Ditto.
hunt [Tue, 21 Jan 2003 21:58:09 +0000 (21:58 +0000)]
2003-01-21 Martin M. Hunt <hunt@redhat.com>
* library/main.tcl: Don't require iwidgets 3.0.
* library/console.itb (Console::_build_win): Rename
tkTextClosestGap to tk::TextClosestGap. Rename tkCancelRepeat
to tk::CancelRepeat. Rename tkPriv to tk::Priv. Needed for tk 8.4.1.
* library/bpwin.itb (BpWin::build_win): Don't
create sizebox.
* library/locals.tcl (build_win): Ditto.
* library/regwin.itb (RegWin::_build_win): Ditto.
* library/srcwin.itb (SrcWin::constructor): Ditto.
* library/stackwin.itb (StackWin::build_win): Ditto.
* library/watch.tcl (build_win): Ditto.
hunt [Tue, 21 Jan 2003 21:45:39 +0000 (21:45 +0000)]
2003-01-21 Martin M. Hunt <hunt@redhat.com>
* generic/gdbtk.c (gdbtk_init): Look for iwidgets in
"iwidgets" instead of "iwidgets3.0.0".
Don't call ide_create_sizebox_command.
* ChangeLog: New log for 2003.
* ChangeLog-2002: Renamed from ChangeLog.
hunt [Tue, 21 Jan 2003 21:39:31 +0000 (21:39 +0000)]
2003-01-21 Martin M. Hunt <hunt@redhat.com>
* Makefile.in (install-gdbtk): Install PNG images too.
tpfaff [Tue, 21 Jan 2003 21:36:31 +0000 (21:36 +0000)]
* winsup.api/pthread/cancel9.c: Make child pid static global.
(main): Wait in mainthread until child process has terminated.
hunt [Tue, 21 Jan 2003 21:35:15 +0000 (21:35 +0000)]
2003-01-21 Martin M. Hunt <hunt@redhat.com>
* src/tkTabletcl.h: Change all references of "tkPriv"
to "tk::Priv". Change all references of "tkCancelRepeat"
to "tk::CancelRepeat". Needed for tk 8.4.1.
* src/tkTable.tcl.h: Ditto.
* library/combobox.tcl: Ditto.
* src/Makefile.am: Remove tclsizebox.c.
* src/Makefile.in: Rebuilt.
* aclocal.m4: Rebuilt.
* Makefile.in: Rebuilt.
* configure: Rebuilt.
tpfaff [Tue, 21 Jan 2003 21:34:24 +0000 (21:34 +0000)]
* winsup.api/pthread/cancel9.c: Make child pid static global.
(main): Wait in mainthread until child process has terminated.
hunt [Tue, 21 Jan 2003 21:19:44 +0000 (21:19 +0000)]
Remove obsolete directory
hunt [Tue, 21 Jan 2003 21:04:22 +0000 (21:04 +0000)]
Updated to itcl 3.2.1.
tpfaff [Tue, 21 Jan 2003 20:51:14 +0000 (20:51 +0000)]
* winsup.api/pthread/cancel9.c: Wait in mainthread until child process has terminated.
hunt [Tue, 21 Jan 2003 20:42:54 +0000 (20:42 +0000)]
Initial revision
hunt [Tue, 21 Jan 2003 20:42:51 +0000 (20:42 +0000)]
Initial revision
hunt [Tue, 21 Jan 2003 20:40:24 +0000 (20:40 +0000)]
touched all sources to ease next import
hunt [Tue, 21 Jan 2003 20:24:39 +0000 (20:24 +0000)]
Updated to tk 8.4.1
hunt [Tue, 21 Jan 2003 19:54:42 +0000 (19:54 +0000)]
Initial revision
hunt [Tue, 21 Jan 2003 19:53:11 +0000 (19:53 +0000)]
touched all sources to ease next import
hunt [Tue, 21 Jan 2003 19:48:45 +0000 (19:48 +0000)]
Remove bogus file.
cagney [Tue, 21 Jan 2003 19:43:46 +0000 (19:43 +0000)]
2003-01-21 Andrew Cagney <
ac131313@redhat.com>
* exec.c (text_start): Delete global variable.
(exec_file_attach): Make text_start local to the function.
* inferior.h (BEFORE_TEXT_END, AFTER_TEXT_END): Delete macros.
* valops.c (hand_function_call): Delete code that handles
BEFORE_TEXT_END and AFTER_TEXT_END.
* gdbarch.sh (CALL_DUMMY_LENGTH): Test call_dummy_length instead
of CALL_DUMMY_LOCATION.
* gdbarch.c: Regenerate.
* inferior.h (deprecated_pc_in_call_dummy_before_text_end)
(deprecated_pc_in_call_dummy_after_text_end): Delete declaration.
* blockframe.c (deprecated_pc_in_call_dummy_before_text_end)
(deprecated_pc_in_call_dummy_after_text_end): Delete functions.
(text_end): Delete extern declaration.
hunt [Tue, 21 Jan 2003 19:39:56 +0000 (19:39 +0000)]
Updated to tcl 8.4.1
jjohnstn [Tue, 21 Jan 2003 19:37:04 +0000 (19:37 +0000)]
2003-01-21 Anita Kulkarni <anitak@kpit.com>
* libc/time/difftime.c : Typecast the result to double.
cagney [Tue, 21 Jan 2003 19:32:41 +0000 (19:32 +0000)]
2003-01-21 Andrew Cagney <
ac131313@redhat.com>
* frame.h (FRAME_OBSTACK_ZALLOC): Define.
* blockframe.c (backtrace_below_main): Move to "frame.c".
(frame_chain_valid): Delete check for backtrace_below_main.
(_initialize_blockframe): Delete initialization, move ``set
backtrace-below-main'' command to "frame.c".
(do_flush_frames_sfunc): Delete function.
* frame.c: Include "command.h" and "gdbcmd.h".
(frame_type_from_pc): New function.
(create_new_frame): Use frame_type_from_pc.
(legacy_get_prev_frame): New function.
(get_prev_frame): Rewrite. When an old style frame, call
legacy_get_prev_frame. Otherwize, unwind the PC first.
(_initialize_frame): Add ``set backtrace-below-main'' command.
* Makefile.in (frame.o): Update dependencies.
hunt [Tue, 21 Jan 2003 19:11:54 +0000 (19:11 +0000)]
Initial revision
nickc [Tue, 21 Jan 2003 17:11:56 +0000 (17:11 +0000)]
fix typo in previous entry
nickc [Tue, 21 Jan 2003 17:09:46 +0000 (17:09 +0000)]
Fix generation of tic3xcoff_onchip.c
nickc [Tue, 21 Jan 2003 16:08:29 +0000 (16:08 +0000)]
Add support for i386-*-aros triple.
nickc [Tue, 21 Jan 2003 15:54:09 +0000 (15:54 +0000)]
All NetBSD ELF targets should pass these tests.
nickc [Tue, 21 Jan 2003 15:41:10 +0000 (15:41 +0000)]
(display_debug_loc): Skip address base changes.
schwab [Tue, 21 Jan 2003 12:55:11 +0000 (12:55 +0000)]
* elf32-ppc.c (struct ppc_elf_dyn_relocs): Define.
(struct ppc_elf_link_hash_entry): Define.
(ppc_elf_hash_entry): New function.
(struct ppc_elf_link_hash_table): Define.
(ppc_elf_hash_table): New function.
(ppc_elf_link_hash_newfunc): New function.
(ppc_elf_link_hash_table_create): New function.
(ppc_elf_copy_indirect_symbol): New function.
(allocate_dynrelocs): New function.
(readonly_dynrelocs): New function.
(ppc_elf_size_dynamic_sections): Allocate space for dynamic
relocs and determine DT_TEXTREL.
(ppc_elf_check_relocs): Don't do that here, just count the
dynamic relocs.
(ppc_elf_gc_sweep_hook): Discard any dynamic relocs against the
removed section.
(bfd_elf32_bfd_link_hash_table_create): Define.
(elf_backend_copy_indirect_symbol): Define.
rth [Tue, 21 Jan 2003 08:59:25 +0000 (08:59 +0000)]
* elf64-alpha.c (alpha_dynamic_entries_for_reloc): GOTTPREL and
TPREL also get a reloc if shared. Remove SREL support.
(elf64_alpha_emit_dynrel): New.
(elf64_alpha_relocate_section): Use it. Resolve dynamic TPREL
and GOTTPREL relocs to local symbols against the tp base.
(elf64_alpha_finish_dynamic_symbol): Use elf64_alpha_emit_dynrel.
* elf64-alpha.c (elf64_alpha_relax_got_load): Decrement got
use count before clobbering r_type.
(elf64_alpha_relax_tls_get_addr): Don't use pos[1] if insn
ordering would mean dataflow inspection is necessary.
cgf [Tue, 21 Jan 2003 06:58:10 +0000 (06:58 +0000)]
* grp.cc: Call gr.refresh() rather than doing isunitialized tests throughout.
(gr): Use constructor (sigh).
(pwdgrp::parse_group): Rename from parse_grp.
(pwdgrp::read_group): Rename from read_etc_group. Just call gr.load with a
single argument.
* passwd.cc: Call pr.refresh() rather than doing isunitialized tests
throughout.
(pr): Use constructor (sigh).
(pwdgrp::parse_passwd): Rename from "parse_pwd".
(pwdgrp::read_passwd): Rename from read_etc_passwd. Just call pr.load with a
single argument.
* pwdgrp.h (pwdgrp_state): Eliminate.
(pwdgrp): Reflect above renamings.
(pwdgrp::etc_ix): Rename from pwd_ix.
(pwdgrp::read): New element.
(pwdgrp::lock): New element.
(pwdgrp::refresh): New function.
(pwdgrp::load): Eliminate variations which take buffer arguments.
(pwdgrp::pwdgrp): New constructors. Initialize mutex here.
* uinfo.cc (pwdgrp::load): Accommodate pwd_ix -> etc_ix renaming.
(pwdgrp::load): Set initialized state to true rather than setting state to
loaded.
cgf [Tue, 21 Jan 2003 05:13:42 +0000 (05:13 +0000)]
* include/cygwin/version.h: Bump DLL minor number.
cgf [Tue, 21 Jan 2003 05:09:48 +0000 (05:09 +0000)]
Fix ChangeLog entry.
cgf [Tue, 21 Jan 2003 05:09:20 +0000 (05:09 +0000)]
add missing ChangeLog entry.
cgf [Tue, 21 Jan 2003 05:08:55 +0000 (05:08 +0000)]
add missing ChangeLog entry.
cgf [Tue, 21 Jan 2003 05:07:27 +0000 (05:07 +0000)]
* path.h (etc::change_possible): Revert the type to bool.
(etc::set_last_modified): Remove obsolete function.
* path.cc (etc::change_possible): Revert type to bool.
(etc::test_file_change): Do not test for negative values of change_possible and
do not set it to -res.
(etc::dir_changed): When the handle is NULL, call memset instead of
test_file_changed. When the handle is invalid, return true.
(etc::file_changed): Remove unneeded check for !fn[n].
gdbadmin [Tue, 21 Jan 2003 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Mon, 20 Jan 2003 23:00:05 +0000 (23:00 +0000)]
daily update
sveinse [Mon, 20 Jan 2003 22:34:38 +0000 (22:34 +0000)]
Updates for fixing tic4x arch tagging of its object files.
* bfd/coffcode.h (coff_set_flags): Added get/set arch hooks.
* include/coff/tic4x.h (TICOFF_TARGET_MACHINE_GET): Fixed define bug
* include/coff/ti.h (TICOFF_TARGET_MACHINE_GET): Added macros
* ld/Makefile.am: Added etic3xcoff.o and etic4xcoff_onchip.o
* ld/Makefile.in: Regenerate
* ld/configure.tgt: Added extra target emulations
* ld/emulparams/tic3xcoff.sh: Remove old settings
* ld/emulparams/tic4xcoff.sh: Ditto
* ld/emulparams/tic3xcoff-onchip.sh: Added new
* ld/scripttempl/tic4xcoff.sc: Revise and combine both c3x and c4x
* ld/scripttempl/tic3xcoff.sc: Remove
dj [Mon, 20 Jan 2003 19:03:56 +0000 (19:03 +0000)]
merge from gcc
nickc [Mon, 20 Jan 2003 18:06:21 +0000 (18:06 +0000)]
Treat elfNN_bed like other macros defined in elfxx-target.h and #undef it
before #define'ing it.
ezannoni [Mon, 20 Jan 2003 15:40:07 +0000 (15:40 +0000)]
2003-01-20 Elena Zannoni <ezannoni@redhat.com>
* gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
allow for different test tree configurations. Update some
tescases accordingly.
* gdb.arch/altivec-regs.exp: Ditto.
* gdb.asm/asm-source.exp: Ditto.
* gdb.base/advance.exp: Ditto.
* gdb.base/display.exp: Ditto.
* gdb.base/long_long.exp: Ditto.
* gdb.base/mips_pro.exp: Ditto.
* gdb.base/overlays.exp: Ditto.
* gdb.base/relocate.exp: Ditto.
* gdb.base/setshow.exp: Ditto.
* gdb.base/step-line.exp: Ditto.
* gdb.base/step-test.exp: Ditto.
* gdb.base/until.exp: Ditto.
* gdb.c++/virtfunc.exp: Get rid of variable 'src'.
cgf [Mon, 20 Jan 2003 15:28:02 +0000 (15:28 +0000)]
* libc/include/sys/unistd.h: Add rresvport declaration for cygwin.
amodra [Mon, 20 Jan 2003 12:57:58 +0000 (12:57 +0000)]
* ld-srec/srec.exp (run_srec_test): Pass --traditional-format to ld.
sky [Mon, 20 Jan 2003 11:51:38 +0000 (11:51 +0000)]
* s390.h: Rename R_390_GOTOFF to R_390_GOTOFF32. Add new gotoff,
gotplt and pltoff relocations.
sky [Mon, 20 Jan 2003 11:50:37 +0000 (11:50 +0000)]
* gas/s390/reloc.d: Add tests for the new gotoff, gotplt and pltoff
relocations.
* gas/s390/reloc.s: Likewise.
* gas/s390/reloc64.d: Likewise.
* gas/s390/reloc64.s: Likewise.
sky [Mon, 20 Jan 2003 11:48:32 +0000 (11:48 +0000)]
* config/tc-s390.c (elf_suffix_type): Add suffix enums for gotoff,
gotplt and pltoff relocations.
(s390_elf_suffix): Add suffix strings for gotoff, gotplt and pltoff.
(s390_elf_cons): Map new lenght/elf suffix combinations for gotoff,
gotplt and pltoff to bfd relocations.
(md_gather_operands): Map new instruction operand/elf suffix
combinations to bfd relocations.
(tc_s390_fix_adjustable): Add new gotoff, gotplt and pltoff relocations
to the list of unadjustable relocations.
(tc_s390_force_relocation): Always emit relocations for gotoff, gotplt
and pltoff relocations.
(md_apply_fix3): Add the new relocations.
sky [Mon, 20 Jan 2003 11:46:33 +0000 (11:46 +0000)]
* bfd-in2.h: Regenerate.
* elf32-s390.c (elf_s390_adjust_gotplt): New prototype.
(elf_howto_table): Rename R_390_GOTOFF to R_390_GOTOFF32. Add
R_390_GOTOFF16, R_390_GOTOFF64, R_390_GOTPLT12, R_390_GOTPLT16,
R_390_GOTPLT32, R_390_GOTPLT64, R_390_GOTPLTENT, R_390_PLTOFF16,
R_390_PLTOFF32 and R_390_PLTOFF64.
(elf_s390_reloc_type_lookup): Likewise.
(struct elf_s390_link_hash_entry): Add gotplt_refcount to keep track
of GOTPLT references to a function.
(link_hash_newfunc): Initialize gotplt_refcount.
(elf_s390_check_relocs): Move allocation of local_got_refcounts array
and creation of the got section out of the main switch. Add support
for the gotoff, gotplt and pltoff relocations.
(elf_s390_gc_sweep_hook): Add reference counting for gotoff, gotplt
and pltoff.
(elf_s390_adjust_gotplt): New function.
(elf_s390_adjust_dynamic_symbol): Adjust gotplt refcount for removed
plt entries.
(allocate_dynrelocs): Add comment.
(elf_s390_relocate_section): Change r_type to unsigned. Add support
for gotoff, gotplt and pltoff relocations.
* elf64-s390.c: Same changes as for elf32-s390.c.
* libbfd.h: Regenerate.
* reloc.c: Add BFD_RELOC_390_GOTOFF64, BFD_RELOC_390_GOTPLT12,
BFD_RELOC_390_GOTPLT16, BFD_RELOC_390_GOTPLT32, BFD_RELOC_390_GOTPLT64,
BFD_RELOC_390_GOTPLTENT, BFD_RELOC_390_PLTOFF16, BFD_RELOC_390_PLTOFF32
and BFD_RELOC_390_PLTOFF64.
sky [Mon, 20 Jan 2003 11:44:47 +0000 (11:44 +0000)]
* bfd-in2.h: Regenerate.
* elf32-s390.c (elf_s390_adjust_gotplt): New prototype.
(elf_howto_table): Rename R_390_GOTOFF to R_390_GOTOFF32. Add
R_390_GOTOFF16, R_390_GOTOFF64, R_390_GOTPLT12, R_390_GOTPLT16,
R_390_GOTPLT32, R_390_GOTPLT64, R_390_GOTPLTENT, R_390_PLTOFF16,
R_390_PLTOFF32 and R_390_PLTOFF64.
(elf_s390_reloc_type_lookup): Likewise.
(struct elf_s390_link_hash_entry): Add gotplt_refcount to keep track
of GOTPLT references to a function.
(link_hash_newfunc): Initialize gotplt_refcount.
(elf_s390_check_relocs): Move allocation of local_got_refcounts array
and creation of the got section out of the main switch. Add support
for the gotoff, gotplt and pltoff relocations.
(elf_s390_gc_sweep_hook): Add reference counting for gotoff, gotplt
and pltoff.
(elf_s390_adjust_gotplt): New function.
(elf_s390_adjust_dynamic_symbol): Adjust gotplt refcount for removed
plt entries.
(allocate_dynrelocs): Add comment.
(elf_s390_relocate_section): Change r_type to unsigned. Add support
for gotoff, gotplt and pltoff relocations.
* elf64-s390.c: Same changes as for elf32-s390.c.
* libbfd.h: Regenerate.
* reloc.c: Add BFD_RELOC_390_GOTOFF64, BFD_RELOC_390_GOTPLT12,
BFD_RELOC_390_GOTPLT16, BFD_RELOC_390_GOTPLT32, BFD_RELOC_390_GOTPLT64,
BFD_RELOC_390_GOTPLTENT, BFD_RELOC_390_PLTOFF16, BFD_RELOC_390_PLTOFF32
and BFD_RELOC_390_PLTOFF64.
sky [Mon, 20 Jan 2003 10:22:24 +0000 (10:22 +0000)]
* config/tc-s390.c (md_apply_fix3): Emit error message for relocations
with a subsy symbol.
cgf [Mon, 20 Jan 2003 02:57:53 +0000 (02:57 +0000)]
* pwdgrp.h (etc): Move to path.h.
(pwdgrp::max_lines): New field.
(pwdgrp::curr_lines): New field.
(pwdgrp::pwdgrp_buf): Ditto.
(pwdgrp_buf_elem_size): Ditto.
(pwdgrp_parse): Ditto.
(pwdgrp::gets): Just declare here.
(pwdgrp::load): Ditto. Just take one argument.
(pwdgrp::load): Define overloaded function accepting passwd buf.
(pwdgrp::load): Define overloaded function accepting group buf.
* grp.cc: Use pwdgrp elements rather than standalone static variables
throughout.
(curr_lines): Eliminate.
(max_lines): Ditto.
(add_grp_line): Ditto.
(parse_grp): Define as returning boolean. Accept void * arg and line count.
Coerce first argument into __group32 buf reference. Increment curr_line as
appropriate.
(read_etc_group): Pass pwdgrp buffer to gr.load.
* passwd.cc: Use pwdgrp elements rather than standalone static variables
throughout.
(curr_lines): Eliminate.
(max_lines): Ditto.
(add_grp_line): Ditto.
(parse_passwd): Define as returning boolean. Accept void * arg and line count.
Coerce first argument into passwd buf reference. Increment curr_line as
appropriate.
(read_etc_group): Pass pwdgrp buffer to pr.load.
* path.cc (etc::fn): Extend buffer size to allow index by 1 rather than zero.
(etc::last_modified): Ditto.
(etc::change_possible): Ditto. Renamed from sawchange. Change to signed char
since elements are now tri-state.
(etc::init): Assume "handle" is 1 based rather than 0.
(etc::test_file_change): New function. Sets change_possible based on file date
comparison.
(etc::dir_changed): Check file states immediately after changed_h is
initialized to avoid a race.
(etc::file_changed): Use test_file_change to detect if file needs to be
updated.
* path.h (etc): Move class here from pwdgrp.h.
* uinfo.cc: Move etc:: functions to path.cc. Move pwdgrp functions here.
(pwdgrp::gets): Eliminate buf checks. Just check eptr and set lptr.
(pwdgrp::add_line): New function.
(pwdgrp::load): Call generic add_line function which will call correct parser.
cagney [Mon, 20 Jan 2003 01:01:46 +0000 (01:01 +0000)]
2003-01-19 Andrew Cagney <
ac131313@redhat.com>
* config/pa/tm-hppa.h (DEPRECATED_DO_REGISTERS_INFO): Rename
DEPRECATED_REGISTERS_INFO.
cagney [Mon, 20 Jan 2003 00:46:42 +0000 (00:46 +0000)]
2003-01-19 Andrew Cagney <
ac131313@redhat.com>
* MAINTAINERS: Replace `Blanket Write Privs' with `Global
Maintainers'. Update `Various Maintainers'.
gdbadmin [Mon, 20 Jan 2003 00:00:31 +0000 (00:00 +0000)]
*** empty log message ***
neroden [Sun, 19 Jan 2003 23:45:38 +0000 (23:45 +0000)]
* configure.in: Add missing \.
* configure: Rebuilt.
cagney [Sun, 19 Jan 2003 23:27:27 +0000 (23:27 +0000)]
2003-01-19 Andrew Cagney <
ac131313@redhat.com>
* frame.c (frame_saved_regs_pop): Assert POP_FRAME_P.
* gdbarch.sh (POP_FRAME): Change to function with predicate.
Suppress actual parameters when `-'.
* gdbarch.h, gdbarch.c: Regenerate.
cagney [Sun, 19 Jan 2003 22:24:50 +0000 (22:24 +0000)]
2003-01-19 Andrew Cagney <
ac131313@redhat.com>
* d10v-tdep.c (d10v_frame_saved_pc, d10v_frame_chain): Restore
code handling dummy frames.
cagney [Sun, 19 Jan 2003 17:39:15 +0000 (17:39 +0000)]
2003-01-19 Andrew Cagney <
ac131313@redhat.com>
* frame-unwind.h (frame_unwind_pop_ftype): Declare.
(struct frame_unwind): Add field pop.
* frame.h (frame_pop): Declare.
* frame.c (frame_saved_regs_pop): New function.
(trad_frame_unwinder): Add frame_saved_regs_pop.
(frame_pop): New function.
* dummy-frame.c (dummy_frame_pop): New function.
(discard_innermost_dummy): New function.
(generic_pop_dummy_frame): Use discard_innermost_dummy.
(dummy_frame_unwind): Add dummy_frame_pop.
* infrun.c (normal_stop): Call frame_pop instead of POP_FRAME.
* valops.c (hand_function_call): Ditto.
* stack.c (return_command): Ditto.
gdbadmin [Sun, 19 Jan 2003 17:00:32 +0000 (17:00 +0000)]
*** empty log message ***
cagney [Sun, 19 Jan 2003 04:06:45 +0000 (04:06 +0000)]
2003-01-18 Andrew Cagney <
ac131313@redhat.com>
* cris-tdep.c: Fix function declaration indentation.
* dwarfread.c, gdbcore.h, gdbtypes.h, i386v-nat.c: Ditto.
* mips-tdep.c, monitor.h, parse.c, proc-utils.h: Ditto.
* rs6000-nat.c, ser-go32.c, somread.c, stabsread.c: Ditto.
* symfile.h, symtab.h, target.c, target.h, value.h: Ditto.
* xcoffread.c, config/pa/tm-hppa.h: Ditto.
* config/sparc/tm-sp64.h, config/sparc/tm-sparc.h: Ditto.
amodra [Sat, 18 Jan 2003 23:00:04 +0000 (23:00 +0000)]
daily update
chastain [Sat, 18 Jan 2003 17:43:14 +0000 (17:43 +0000)]
2003-01-16 Michael Chastain <mec@shout.net>
* README (Unpacking and Installation -- quick overview):
Warn against ".../gdb-5.3/gdb/configure".
chastain [Sat, 18 Jan 2003 17:41:34 +0000 (17:41 +0000)]
2003-01-16 Michael Chastain <mec@shout.net>
* gdb.texinfo (Installing GDB): Warn against
".../gdb-VERSION/gdb/configure".
(Separate Objdir): Likewise.
cagney [Sat, 18 Jan 2003 17:25:22 +0000 (17:25 +0000)]
2003-01-18 Andrew Cagney <
ac131313@redhat.com>
* dummy-frame.h (dummy_frame_id_unwind): Delete declaration.
(dummy_frame_pc_unwind, dummy_frame_register_unwind): Ditto.
(struct frame_unwind): Declare opaque.
(dummy_frame_p): Declare function.
* dummy-frame.c (dummy_frame_id_unwind): Make static.
(dummy_frame_pc_unwind, dummy_frame_register_unwind): Ditto.
* dummy-frame.c: Include "frame-unwind.h".
(dummy_frame_p): New function.
(dummy_frame_unwind): New variable.
* frame.c: Include "frame-unwind.h".
(frame_pc_unwind, frame_id_unwind, frame_register_unwind): Update
to use the new unwind field.
(set_unwind_by_pc): Delete function.
(create_new_frame, get_prev_frame): Set unwind field using
frame_unwind_find_by_pc.
(trad_frame_unwind, trad_frame_unwinder): New variables.
* frame.h (trad_frame_unwind): Declare variable.
(frame_id_unwind_ftype): Delete declaration.
(frame_pc_unwind_ftype, frame_register_unwind_ftype): Ditto.
(struct frame_unwind): Declare opaque.
(struct frame_info): Replace the fields id_unwind, pc_unwind and
register_unwind with a single unwind pointer.
* frame-unwind.h, frame-unwind.c: New files.
* Makefile.in (SFILES): Add frame-unwind.c.
(frame_unwind_h): Define.
(COMMON_OBS): Add frame-unwind.o.
(frame-unwind.o): Specify dependencies.
(frame.o, dummy-frame.o): Update dependencies.
cagney [Sat, 18 Jan 2003 15:55:51 +0000 (15:55 +0000)]
2003-01-18 Andrew Cagney <
ac131313@redhat.com>
* ada-valprint.c: Eliminate PTR.
* breakpoint.c, corelow.c, cris-tdep.c, dbxread.c: Ditto.
* defs.h, dve3900-rom.c, dwarf2read.c, dwarfread.c: Ditto.
* exec.c, hppa-tdep.c, hpread.c, infcmd.c, mdebugread.c: Ditto.
* objfiles.c, objfiles.h, ocd.c, remote-es.c: Ditto.
* remote-mips.c, remote-sds.c, remote-vx.c: Ditto.
* solib-svr4.c, solib.c, stack.c, symfile.c, symfile.h: Ditto.
* symmisc.c, v850ice.c, xcoffread.c, cli/cli-script.c: Ditto.
nickc [Sat, 18 Jan 2003 08:55:07 +0000 (08:55 +0000)]
Define __IEEE_BIG_ENDIAN, __SMALL_BITFIELDS and _DOUBLE_IS_32BITS for IP2K.
cgf [Sat, 18 Jan 2003 03:43:48 +0000 (03:43 +0000)]
fix typo
cgf [Sat, 18 Jan 2003 03:26:05 +0000 (03:26 +0000)]
* cygheap.cc: Change most 'int's to 'unsigned's.
(_cmalloc): Only check for size of malloced region when calculating budget.
Add overhead when performing the sbrk. Previous change broke _crealloc.
gdbadmin [Sat, 18 Jan 2003 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
rth [Fri, 17 Jan 2003 23:43:20 +0000 (23:43 +0000)]
* alpha-opc.c (alpha_opcodes): Add bugchk, rduniq, wruniq, gentrap
PAL entry points.
jakub [Fri, 17 Jan 2003 23:27:55 +0000 (23:27 +0000)]
* elfxx-ia64.c (elfNN_ia64_relocate_section): Handle
R_IA64_TPREL64[LM]SB against non-global symbol properly.
* ld-ia64/tlspic1.s: Add tests for IE in shared libraries.
* ld-ia64/tlspic.rd: Adjust.
* ld-ia64/tlspic.dd: Adjust.
* ld-ia64/tlspic.sd: Adjust.
amodra [Fri, 17 Jan 2003 23:00:06 +0000 (23:00 +0000)]
daily update
ciceron [Fri, 17 Jan 2003 22:51:27 +0000 (22:51 +0000)]
* config/tc-m68hc11.c (tc_m68hc11_fix_adjustable): Prevent adjustment
of relocs for memory bank addressing.
ciceron [Fri, 17 Jan 2003 22:29:52 +0000 (22:29 +0000)]
* config/tc-m68hc11.c (md_show_usage): Update usage.
(md_parse_option): Recognize -m68hcs12.
(m68hc11_elf_final_processing): Set EF_M68HCS12_MACH flag to identify
HCS12.
* doc/as.texinfo (Overview): Document new option -m68hcs12.
carlton [Fri, 17 Jan 2003 20:24:49 +0000 (20:24 +0000)]
2003-01-17 David Carlton <carlton@math.stanford.edu>
* gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
corresponding to PR c++/945.
Update copyright.
kevinb [Fri, 17 Jan 2003 20:05:33 +0000 (20:05 +0000)]
* configure.in (mips64*linux*n64, mips64*linux*n32, mips64*linux*o32):
Remove cases. Instead, use compiler's preprocessor symbols to test
which ABI is being used.
* configure: Regenerate.
carlton [Fri, 17 Jan 2003 19:24:15 +0000 (19:24 +0000)]
2003-01-17 David Carlton <carlton@math.stanford.edu>
* gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
corresponding to PR c++/68.
(and fix date of previous ChangeLog entry; oops.)
carlton [Fri, 17 Jan 2003 19:22:27 +0000 (19:22 +0000)]
2003-01-16 David Carlton <carlton@math.stanford.edu>
* gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
(test_paddr_hairy_functions): Call print_addr_2_kfail for
hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.