OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
23 years ago* path.cc (chdir): Really make sure that isspace gets only an unsigned char.
cgf [Fri, 1 Jun 2001 14:57:52 +0000 (14:57 +0000)]
* path.cc (chdir): Really make sure that isspace gets only an unsigned char.

23 years ago * syscalls.cc (_rename): Handle the case that `foo' is renamed to
corinna [Fri, 1 Jun 2001 11:53:19 +0000 (11:53 +0000)]
    * syscalls.cc (_rename): Handle the case that `foo' is renamed to
        `bar' while `bar.lnk' is an existing shortcut-symlink.

23 years ago * elf64-x86-64.c (elf64_x86_64_relocate_section): Add PC8
aj [Fri, 1 Jun 2001 11:52:11 +0000 (11:52 +0000)]
* elf64-x86-64.c (elf64_x86_64_relocate_section): Add PC8
relocation, small reformatting.

23 years ago* MAINTAINERS: Update my email address.
amodra [Fri, 1 Jun 2001 04:21:57 +0000 (04:21 +0000)]
* MAINTAINERS: Update my email address.

23 years ago * gdb.base/annota1.exp (info break): Match four or more spaces
kevinb [Fri, 1 Jun 2001 02:50:16 +0000 (02:50 +0000)]
* gdb.base/annota1.exp (info break): Match four or more spaces
after "Address".

23 years agoPrologue scanner modifications.
kevinb [Fri, 1 Jun 2001 02:39:51 +0000 (02:39 +0000)]
Prologue scanner modifications.

23 years ago * ia64-linux-tdep.c (IA64_LINUX_SIGCONTEXT_OFFSET): Revise to
kevinb [Fri, 1 Jun 2001 02:22:01 +0000 (02:22 +0000)]
* ia64-linux-tdep.c (IA64_LINUX_SIGCONTEXT_OFFSET):  Revise to
match the location at which the kernel is placing the sigcontext
struct.

23 years agorevert.
cgf [Fri, 1 Jun 2001 01:45:53 +0000 (01:45 +0000)]
revert.

23 years ago * library/interface.tcl (gdbtk_idle): Run hooks, too,
kseitz [Thu, 31 May 2001 22:11:26 +0000 (22:11 +0000)]
* library/interface.tcl (gdbtk_idle): Run hooks, too,
until they're all gone.

23 years ago2001-05-31 Michael Chastain <chastain@redhat.com>
chastain [Thu, 31 May 2001 22:04:42 +0000 (22:04 +0000)]
2001-05-31  Michael Chastain  <chastain@redhat.com>

* gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
(dm_type_int_star): Likewise.
(dm_type_long_star): Likewise.
(dm_type_void_star): Likewise.

23 years ago2001-05-31 H.J. Lu <hjl@gnu.org>
hjl [Thu, 31 May 2001 21:14:58 +0000 (21:14 +0000)]
2001-05-31  H.J. Lu  <hjl@gnu.org>

* ldlang.c (open_input_bfds): Don't change the bfd error
handler whilst loading symbols.

23 years agoChangeLog for the gdb_idle_hook->GDBEventHandler::idle change.
kseitz [Thu, 31 May 2001 20:35:56 +0000 (20:35 +0000)]
ChangeLog for the gdb_idle_hook->GDBEventHandler::idle change.

23 years ago * library/interface.tcl (gdb_idle_hook): Mark as deprecated.
kseitz [Thu, 31 May 2001 20:32:57 +0000 (20:32 +0000)]
* library/interface.tcl (gdb_idle_hook): Mark as deprecated.
(gdbtk_idle): Dispatch an IdleEvent. gdb_idle_hook is gone.
* library/ehandler.ith (idle): New event handler.
* library/gdbevent.ith (IdleEvent): New event.
* library/console.ith (idle): Match event handler definition.
* library/console.itb (idle): Ditto.
(constructor): Remove gdb_idle_hook.
(destructor): Ditto.
* library/kod.ith (idle): Match event handler definition.
* library/kod.itb (idle): Ditto.
(constructor): Remove gdb_idle_hook.
(destructor): Ditto.
* library/memwin.ith (idle): Match event handler definition.
* library/memwin.itb (idle): Ditto.
(constructor): Remove gdb_idle_hook.
(destructor): Ditto.
* library/pluginwin.itcl (stopped): Rename to "idle" and
match event handler definition.
Fix misleading comments.
* library/process.ith (idle): Match event handler definition.
* library/process.itb (idle): Ditto.
(constructor): Remove gdb_idle_hook.
(destructor): Ditto.
* library/regwin.ith (idle): Match event handler definition.
* library/regwin.itb (idle): Ditto.
(constructor): Remove gdb_idle_hook.
(destructor): Ditto.
* library/srcbar.itcl (idle): New method.
(constructor): Remove gdb_idle_hook.
(destructor): Ditto.
* library/srcwin.ith (idle): Match event handler definition.
* library/srcwin.itb (idle): Ditto.
(constructor): Remove gdb_idle_hook.
(destructor): Ditto.
* library/stackwin.ith (idle): Match event handler definition.
* library/stackwin.itb (idle): Ditto.
(constructor): Remove gdb_idle_hook.
(destructor): Ditto.
* library/variables.tcl (idle): Match event handler definition.
(constructor): Remove gdb_idle_hook.
(destructor): Ditto.
* library/plugins/rhabout/rhabout.itcl (stopped): Rename
to "idle" and match new event handler definition.
* library/tclIndex: Regenerated.

23 years ago* fhandler.cc (fhandler_disk_file::fstat): Avoid clearing S_IFMT bits since
cgf [Thu, 31 May 2001 19:58:59 +0000 (19:58 +0000)]
* fhandler.cc (fhandler_disk_file::fstat): Avoid clearing S_IFMT bits since
we've already pre-cleared everything anyway.

23 years agoMaintain 80 col line length.
cgf [Thu, 31 May 2001 17:35:32 +0000 (17:35 +0000)]
Maintain 80 col line length.

23 years ago * library/interface.tcl (gdb_busy_hook): Deprecate.
kseitz [Thu, 31 May 2001 15:21:39 +0000 (15:21 +0000)]
* library/interface.tcl (gdb_busy_hook): Deprecate.
(gdbtk_busy): Create and dispatch a BusyEvent instead
of running hooks.
* library/ehandler.ith (busy): New event handler.
* library/gdbevent.ith (BusyEvent): New event class.
* library/console.ith: Inherit from GDBEventHandler.
(busy): Match event handler definition.
* library/console.itb (busy): Ditto.
(constructor): Remove gdb_busy_event.
(destructor): Ditto.
* library/kod.ith (busy): Match event handler definition.
* library/kod.itb (busy): Ditto.
(constructor): Remove gdb_busy_hook.
(destructor): Ditto.
* library/memwin.ith (busy): Match event handler definition.
* library/memwin.itb (busy): Ditto.
(constructor): Remove gdb_busy_hook.
(destructor): Ditto.
* library/pluginwin.itcl (running): Rename to "busy" and
match event handler definition.
(consturctor): Remove gdb_busy_hook.
(destructor): Ditto.
* library/process.ith (busy): Match event handler definition.
* library/process.itb (busy): Ditto.
(constructor): Remove gdb_busy_hook.
(destructor): Ditto.
* library/regwin.ith (busy): Match event handler definition.
* library/regwin.itb (busy): Ditto.
(constructor): Remove gdb_busy_hook.
(destructor): Ditto.
* library/srcbar.itcl (constructor): Remove gdb_busy_hook.
(destructor): Ditto.
(busy): New method.
* library/srcwin.ith (busy): Match event handler definition.
* library/srcwin.itb (busy): Ditto.
Only do the "busy" stuff if do_updates is set.
(toggle_updates): Remove gdb_busy_hook.
(constructor): Ditto.
(destructor): Ditto.
* library/stackwin.ith (busy): Match event handler definition.
* library/stackwin.itb (busy): Ditto.
(constructor): Remove gdb_busy_hook.
(destructor): Ditto.
* library/variables.tcl (constructor): Ditto.
(destructor): Ditto.
(disable_ui): Rename to "busy" and match event handler
definition.
* library/plugins/rhabout/rhabout.itcl (running): Rename
to "busy" and match new event handler definition.
* library/tclIndex: Regenerated.

23 years ago2001-05-31 Ben Elliston <bje@redhat.com>
bje [Thu, 31 May 2001 06:27:29 +0000 (06:27 +0000)]
2001-05-31  Ben Elliston  <bje@redhat.com>

* Makefile.am (DEJAGNUTESTS): Add idedocs.exp.
* Makefile.in: Regenerate.

23 years ago2001-05-31 Ben Elliston <bje@redhat.com>
bje [Thu, 31 May 2001 06:19:53 +0000 (06:19 +0000)]
2001-05-31  Ben Elliston  <bje@redhat.com>

* lib/docs.exp (doc_includes_component): Fail on regexp misses.
* lib/monkey.exp (monkey_test): Re-enable tests.
* sidcomp.ide/diskio.exp: Unset $contents at completion.

23 years ago* path.cc (chdir): Always send unsigned chars to isspace since newlib's isspace
cgf [Thu, 31 May 2001 05:25:45 +0000 (05:25 +0000)]
* path.cc (chdir): Always send unsigned chars to isspace since newlib's isspace
doesn't deal well with "negative" chars.
* fhandler.cc (fhandler_disk_file::open): Propagate remote status of file
garnered from path_conv.  Move #! checking to fstat.
(fhandler_disk_file::fstat): Reorganize st_mode setting to eliminate
duplication.  Move check for #! here from fhandler::open.
* fhandler.h (fhandler_base::isremote): New method.
(fhandler_base::set_isremote): Ditto.
(fhandler_base::set_execable_p): Also record "don't care if executable state".
(fhandler_base::dont_care_if_execable): New method.
* path.cc (path_conv::check): Clear new flags.  Appropriately set vol_flags,
drive_type, and is_remote_drive.
* path.h: Add new flags and methods for manipulating them.
* syscalls.cc (_unlink): Use isremote() to determine if a path is remote rather
than calling GetDriveType.
(stat_worker): Ditto.
* security.cc (get_file_attribute): Or attribute with result of NTReadEA to be
consistent with get_nt_attribute.

23 years ago* partial-stab.h: Revert previous patch.
cgf [Thu, 31 May 2001 03:41:30 +0000 (03:41 +0000)]
* partial-stab.h: Revert previous patch.

23 years ago* partial-stab.h: Consistently guard against pst being NULL.
cgf [Thu, 31 May 2001 02:58:57 +0000 (02:58 +0000)]
* partial-stab.h: Consistently guard against pst being NULL.

23 years ago * read.c (emit_leb128_expr): Call md_cons_align.
rth [Thu, 31 May 2001 00:00:29 +0000 (00:00 +0000)]
    * read.c (emit_leb128_expr): Call md_cons_align.

23 years ago2001-05-25 Michael Snyder <msnyder@redhat.com>
msnyder [Wed, 30 May 2001 22:58:36 +0000 (22:58 +0000)]
2001-05-25  Michael Snyder  <msnyder@redhat.com>

* lin-lwp.c (lin_lwp_attach_lwp): Call stop_wait_callback,
to consume the SIGSTOP generated by PTRACE_ATTACH.
(stop_wait_callback): If a SIGTRAP or a SIGINT event is consumed,
try again to get the SIGSTOP event.
(lin_lwp_wait): Resume all threads when ignoring a signal.
This will insure that newly attached threads get resumed.

23 years ago* consistency fix
fche [Wed, 30 May 2001 19:27:51 +0000 (19:27 +0000)]
* consistency fix

2001-05-30  Frank Ch. Eigler  <fche@redhat.com>

        * sidcpuutil.h (step_pin_handler): Check for triggerpoints due right
        now, before instruction evaluation loop.

23 years ago * elf64-x86-64.c (elf64_x86_64_check_relocs): Handle R_X86_64_64.
aj [Wed, 30 May 2001 18:44:46 +0000 (18:44 +0000)]
* elf64-x86-64.c (elf64_x86_64_check_relocs): Handle R_X86_64_64.
(elf64_x86_64_relocate_section): Likewise.

23 years ago2001-05-25 Michael Snyder <msnyder@redhat.com>
msnyder [Wed, 30 May 2001 18:15:44 +0000 (18:15 +0000)]
2001-05-25  Michael Snyder  <msnyder@redhat.com>

* lin-lwp.c (stop_wait_callback): Discard redundant SIGINT events.

23 years ago * elf32-hppa.c (elf32_hppa_check_relocs): Don't NEED_PLT for
amodra [Wed, 30 May 2001 14:30:32 +0000 (14:30 +0000)]
* elf32-hppa.c (elf32_hppa_check_relocs): Don't NEED_PLT for
millicode.  Don't allocate .got and .rela.got space here..
(elf32_hppa_gc_sweep_hook): ..and no need to deallocate here..
(elf32_hppa_adjust_dynamic_symbol): ..and don't allocate .plt and
.rela.plt here..
(hppa_handle_PIC_calls): ..nor here..
(allocate_plt_and_got): ..instead do it all here.  New function.
(elf32_hppa_size_dynamic_sections): Allocate local .got space and
call allocate_plt_and_got.  No need to zap .got if not dynamic.
(elf32_hppa_final_link): Call regular bfd_final_link instead of
gc_common_final_link.
(WILL_CALL_FINISH_DYNAMIC_SYMBOL): Define.
(elf32_hppa_relocate_section): Use it here.
(elf32_hppa_finish_dynamic_symbol): Remove superfluous test of
dynamic_sections_created.
(hppa_type_of_stub): Don't LONG_BRANCH_VIA_PLT if millicode sym.

23 years agoAdd command line switches to objcopy to provide lists of symbols in files
nickc [Wed, 30 May 2001 10:46:25 +0000 (10:46 +0000)]
Add command line switches to objcopy to provide lists of symbols in files

23 years agoNew entry "How do I print under Cygwin?"
davidsb [Wed, 30 May 2001 09:42:36 +0000 (09:42 +0000)]
New entry "How do I print under Cygwin?"

23 years agoNew entry "Where is Objective C?"
davidsb [Wed, 30 May 2001 09:26:59 +0000 (09:26 +0000)]
New entry "Where is Objective C?"

23 years agoNew entry "How do I contribute to Cygwin?"
davidsb [Wed, 30 May 2001 09:17:59 +0000 (09:17 +0000)]
New entry "How do I contribute to Cygwin?"

23 years ago * gdb.base/completion.exp (INPUTRC): Set this environment variable
kevinb [Wed, 30 May 2001 02:54:41 +0000 (02:54 +0000)]
* gdb.base/completion.exp (INPUTRC): Set this environment variable
to a known value in order to get consistent results regardless
of the setting of INPUTRC or the presence or contents of .inputrc.

23 years ago* Makefile.in: Tweak to attempt to accomodate older texi2html.
cgf [Wed, 30 May 2001 01:30:38 +0000 (01:30 +0000)]
* Makefile.in: Tweak to attempt to accomodate older texi2html.

23 years ago * sec_helper.cc (cygsid::getfrompw): Change parameter to `const'.
corinna [Tue, 29 May 2001 20:43:39 +0000 (20:43 +0000)]
    * sec_helper.cc (cygsid::getfrompw): Change parameter to `const'.
        (cygsid::getfromgr): Ditto.
        * security.cc: Use `sys_mbstowcs' and `sys_wcstombs' throughout.
        (extract_nt_dom_user): Try to get user and domain from SID in
        pw->pw_gecos first.
        * security.h (class cygsid): Change parameter of getfrompw() and
        getfromgr() to `const'.
        * uinfo.cc (internal_getlogin): Change order for evaluating user
        information in winNT case. Drop usage of NetWkstaUserGetInfo().

23 years ago* Makefile.in: Accomodate newer versions of docbook and openjade.
cgf [Tue, 29 May 2001 20:25:21 +0000 (20:25 +0000)]
* Makefile.in: Accomodate newer versions of docbook and openjade.

23 years agoAvoid NAME too long error.
cgf [Tue, 29 May 2001 20:24:51 +0000 (20:24 +0000)]
Avoid NAME too long error.

23 years agoExpand entry "why doesn't my script work"
davidsb [Tue, 29 May 2001 18:11:29 +0000 (18:11 +0000)]
Expand entry "why doesn't my script work"

23 years agoUpdate entry about PATH, now done in /etc/profile not cygwin.bat.
davidsb [Tue, 29 May 2001 15:19:25 +0000 (15:19 +0000)]
Update entry about PATH, now done in /etc/profile not cygwin.bat.
Remove entry "Where can I find 'which'" since it's included now.

23 years agoAdd pointer to google for searching list archives.
davidsb [Tue, 29 May 2001 15:00:42 +0000 (15:00 +0000)]
Add pointer to google for searching list archives.

23 years agoformatting change
trix [Tue, 29 May 2001 14:53:22 +0000 (14:53 +0000)]
formatting change

23 years agoRemove distinction between latest and contrib in list of packages.
davidsb [Tue, 29 May 2001 14:42:07 +0000 (14:42 +0000)]
Remove distinction between latest and contrib in list of packages.

23 years ago* symfile.c (compare_psymbols, compare_symbols): Declare using
aoliva [Tue, 29 May 2001 10:45:10 +0000 (10:45 +0000)]
* symfile.c (compare_psymbols, compare_symbols): Declare using
PTR, as in the definition.
* minsyms.c (compare_minimal_symbols): Likewise.
* coffread.c (find_targ_sec): Likewise.
* elfread.c (free_elfinfo, elf_locate_sections): Likewise.
* mipsread.c (alphacoff_locate_sections): Likewise.
* mdebugread.c (compare_blocks): Likewise.

23 years ago* symfile.c (compare_psymbols, compare_symbols): Declare using
aoliva [Tue, 29 May 2001 10:20:27 +0000 (10:20 +0000)]
* symfile.c (compare_psymbols, compare_symbols): Declare using
PTR, as in the definition.

23 years ago * shortcut.c (check_shortcut): Treat only Cygwin shortcuts as symlinks.
corinna [Tue, 29 May 2001 08:04:54 +0000 (08:04 +0000)]
    * shortcut.c (check_shortcut): Treat only Cygwin shortcuts as symlinks.

23 years ago* ltcf-cxx.sh (osf3/osf4/osf5): Support creation of C++ shared
aoliva [Mon, 28 May 2001 21:05:34 +0000 (21:05 +0000)]
* ltcf-cxx.sh (osf3/osf4/osf5): Support creation of C++  shared
libraries when using g++ with native linker.

23 years ago* ltconfig, ltmain.sh: Upgrade to libtool 1.4a 1.641.2.256.
aoliva [Mon, 28 May 2001 20:56:20 +0000 (20:56 +0000)]
* ltconfig, ltmain.sh: Upgrade to libtool 1.4a 1.641.2.256.

23 years agoHandle printf ("%#.0o",0);
nickc [Mon, 28 May 2001 18:22:44 +0000 (18:22 +0000)]
Handle printf ("%#.0o",0);

23 years ago * elf64-x86-64.c (elf64_86_64_size_info): Remove, we can use the
aj [Mon, 28 May 2001 15:45:46 +0000 (15:45 +0000)]
* elf64-x86-64.c (elf64_86_64_size_info): Remove, we can use the
generic version since we want a hashsize of 4.
(elf_backend_size_info): Likewise.

23 years ago * readelf.c (display_debug_frames): Fix warnings: Remove unused
aj [Mon, 28 May 2001 15:41:33 +0000 (15:41 +0000)]
* readelf.c (display_debug_frames): Fix warnings: Remove unused
variables, fix format strings.

23 years agoHandle MIPS64 relocs which use a non-1 valued int_rels_per_ext_rel
nickc [Mon, 28 May 2001 11:57:53 +0000 (11:57 +0000)]
Handle MIPS64 relocs which use a non-1 valued int_rels_per_ext_rel

23 years agoFor sh-*-linux-gnu target add a start address for the text section.
nickc [Mon, 28 May 2001 10:55:22 +0000 (10:55 +0000)]
For sh-*-linux-gnu target add a start address for the text section.

23 years agoSupport big endian PLT entries.
nickc [Mon, 28 May 2001 10:50:30 +0000 (10:50 +0000)]
Support big endian PLT entries.

23 years agoFix some entries.
amodra [Mon, 28 May 2001 10:37:49 +0000 (10:37 +0000)]
Fix some entries.

23 years ago * elf32-hppa.c (elf32_hppa_relocate_section): Set up .plt entries
amodra [Mon, 28 May 2001 10:12:04 +0000 (10:12 +0000)]
* elf32-hppa.c (elf32_hppa_relocate_section): Set up .plt entries
for symbols forced local that need plabels.
(elf32_hppa_adjust_dynamic_symbol): Don't allocate space in
.plt.rela for local syms if non-shared.
(hppa_build_one_stub): Mask lsb of plt.offset.
(elf32_hppa_finish_dynamic_symbol): Abort if lsb of plt.offset set.
(clobber_millicode_symbols): Correct comment.
(elf32_hppa_relocate_section): Likewise.
(elf32_hppa_finish_dynamic_symbol): Likewise.

23 years agoRemove section VMA adjustment when computing the address of the line to show.
nickc [Mon, 28 May 2001 10:03:18 +0000 (10:03 +0000)]
Remove section VMA adjustment when computing the address of the line to show.

23 years agoAdd support for .uahword, .uaword and .uaxword pseudo ops
nickc [Mon, 28 May 2001 09:23:52 +0000 (09:23 +0000)]
Add support for .uahword, .uaword and .uaxword pseudo ops

23 years agoRmeove i370-mvs architecture - it is not supported.
nickc [Mon, 28 May 2001 08:25:20 +0000 (08:25 +0000)]
Rmeove i370-mvs architecture - it is not supported.

23 years ago * write.c (relax_segment <rs_space>): Check the section of a
amodra [Sun, 27 May 2001 12:17:38 +0000 (12:17 +0000)]
* write.c (relax_segment <rs_space>): Check the section of a
symbol to determine whether it is absolute rather than comparing
its frag against zero_address_frag as listings play tricks with
frags.

23 years ago * config/tc-m68k.c (md_assemble): Ensure variable part of frag is
amodra [Sun, 27 May 2001 11:57:24 +0000 (11:57 +0000)]
* config/tc-m68k.c (md_assemble): Ensure variable part of frag is
allocated in the same chunk as the fixed part.

23 years ago * gas/cris/addi.d: Tweak for 64-bit BFD.
hp [Sun, 27 May 2001 09:34:06 +0000 (09:34 +0000)]
* gas/cris/addi.d: Tweak for 64-bit BFD.
* gas/cris/binop-cmpmove.d, gas/cris/binop-cmpmovx.d,
gas/cris/binop-extx.d, gas/cris/binop.d, gas/cris/bork.d,
gas/cris/branch.d, gas/cris/break.d, gas/cris/brokw-1.d,
gas/cris/brokw-2.d, gas/cris/brokw-3.d, gas/cris/ccr.d,
gas/cris/clear.d, gas/cris/continue.d, gas/cris/fragtest.d,
gas/cris/jump-type.d, gas/cris/labfloat.d, gas/cris/macroat.d,
gas/cris/movem-to-reg.d, gas/cris/nosep.d, gas/cris/oneop-type.d,
gas/cris/prefix.d, gas/cris/pushpop-byte-sreg.d,
gas/cris/pushpop-dword-sreg.d, gas/cris/pushpop-word-sreg.d,
gas/cris/pushpop.d, gas/cris/quick-s6.d, gas/cris/quick-u5.d,
gas/cris/quick-u6.d, gas/cris/range-err-1.s, gas/cris/rd-pic-1.d,
gas/cris/rd-regprefix-1.d, gas/cris/rd-regprefix-1b.d,
gas/cris/reg-to-mem.d, gas/cris/regreg.d, gas/cris/return.d,
gas/cris/scc.d, gas/cris/separator.d, gas/cris/shexpr-1.d,
gas/cris/sreg-to-x.d, gas/cris/test.d, gas/cris/unimplemented.d,
gas/cris/unop-mem.d, gas/cris/x-to-byte-sreg.d,
gas/cris/x-to-dcr1-sreg.d, gas/cris/x-to-dword-sreg.d,
gas/cris/x-to-word-sreg.d: Ditto.
* gas/cris/shexpr-1.d: Ditto.  Correct format.

23 years ago * write.c (relax_segment <rs_space>): Calculate growth using
amodra [Sat, 26 May 2001 12:45:15 +0000 (12:45 +0000)]
* write.c (relax_segment <rs_space>): Calculate growth using
addresses before stretch.  Prevent repeated error messages.
From Peter Jakubek  <pjak@snafu.de>
Use as_bad_where and as_warn_where to pinpoint errors.

23 years ago * solib.c (update_solib_list): Move target_resize_to_sections()
nsd [Sat, 26 May 2001 00:55:11 +0000 (00:55 +0000)]
* solib.c (update_solib_list): Move target_resize_to_sections()
into solib_map_sections() loop.
(info_sharedlibrary_command): Try bfd_arch_bits_per_address() if
bfd_get_arch_size() fails.

23 years ago * Makefile.in (osfsolib.c, osfsolib.o): Rename to solib-osf.c and
nsd [Sat, 26 May 2001 00:52:13 +0000 (00:52 +0000)]
* Makefile.in (osfsolib.c, osfsolib.o): Rename to solib-osf.c and
solib-osf.o.
* config/alpha/alpha-osf1.mh (NATDEPFILES): Replace osfsolib.o
with solib-osf.o and solib.o.
* config/alpha/alpha-osf2.mh: Likewise.
* config/alpha/alpha-osf3.mh: Likewise.
* solib-osf.c: New file, renamed and largely rewritten from
osfsolib.c.

23 years ago2001-05-25 H.J. Lu <hjl@gnu.org>
hjl [Fri, 25 May 2001 22:50:26 +0000 (22:50 +0000)]
2001-05-25  H.J. Lu  <hjl@gnu.org>

* Makefile.am (BFD32_BACKENDS): Remove coff-pmac.lo.
(BFD32_BACKENDS_CFILES): Remove coff-pmac.c.
(coff-rs6000.lo): Remove the old dependency.
* Makefile.in: Rebuild.

* configure.in (pmac_xcoff_vec): Replace coff-pmac.lo with
coff-rs6000.lo.

23 years ago2001-05-25 H.J. Lu <hjl@gnu.org>
hjl [Fri, 25 May 2001 22:49:12 +0000 (22:49 +0000)]
2001-05-25  H.J. Lu  <hjl@gnu.org>

* emulparams/ppcmacos.sh: Add SYSCALL_MASK and SYMBOL_MODE_MASK
like emulparams/aixppc.sh.

23 years ago2001-05-25 H.J. Lu <hjl@gnu.org>
hjl [Fri, 25 May 2001 22:48:12 +0000 (22:48 +0000)]
2001-05-25  H.J. Lu  <hjl@gnu.org>

* emultempl/beos.em (gld${EMULATION_NAME}_before_parse): Move
setting of output_filename after bfd_scan_arch.
* emultempl/pe.em: Likewise.

23 years ago2001-05-25 H.J. Lu <hjl@gnu.org>
hjl [Fri, 25 May 2001 21:23:47 +0000 (21:23 +0000)]
2001-05-25  H.J. Lu  <hjl@gnu.org>

* coff-rs6000.c (rs6000coff_vec): Use rs6000coff_core_p,
rs6000coff_core_file_matches_executable_p,
rs6000coff_core_file_failing_command and
rs6000coff_core_file_failing_signal only if AIX_CORE is
defined.
(pmac_xcoff_vec): Likewise.
* coff64-rs6000.c (rs6000coff64_vec): Likewise.

23 years ago2001-05-25 H.J. Lu <hjl@gnu.org>
hjl [Fri, 25 May 2001 21:19:45 +0000 (21:19 +0000)]
2001-05-25  H.J. Lu  <hjl@gnu.org>

* emulparams/aixrs6.sh: Add SYSCALL_MASK and SYMBOL_MODE_MASK
like emulparams/aixppc.sh.

* emultempl/aix.em (sc): Use ${srcdir}/emultempl/ostring.sed
instead of ${srcdir}/emultempl/stringify.sed.

23 years agoFix bug when both pointers have matching, non-word alignment, and the length
nickc [Fri, 25 May 2001 21:17:05 +0000 (21:17 +0000)]
Fix  bug when both pointers have matching, non-word alignment, and the length
is <= 4 but more than enough to move them over a word boundary.
Add comments explaining what each instruction does.

23 years ago * generic/gdbtk-cmds.c (bin2hex): New function.
kseitz [Fri, 25 May 2001 21:06:18 +0000 (21:06 +0000)]
* generic/gdbtk-cmds.c (bin2hex): New function.
(fromhex): New function.
(gdb_set_mem): New function.
(Gdbtk_Init): Add new command, "gdb_set_mem".
* library/memwin.itb (edit): Use "gdb_set_mem" to set
memory, not some gdb_cmd contrivance.
When sending data to gdb_set_mem, make sure that it
is properly zero-padded.

23 years ago2001-05-25 H.J. Lu <hjl@gnu.org>
hjl [Fri, 25 May 2001 18:58:10 +0000 (18:58 +0000)]
2001-05-25  H.J. Lu  <hjl@gnu.org>

* binutils-all/readelf.exp (readelf_test): Set target_machine
to tmips for traditional mips.

* binutils-all/readelf.s: Support traditional mips.

* binutils-all/readelf.ss-tmips: New for traditional mips.

23 years ago2001-05-25 H.J. Lu <hjl@gnu.org>
hjl [Fri, 25 May 2001 18:39:01 +0000 (18:39 +0000)]
2001-05-25  H.J. Lu  <hjl@gnu.org>

* gas/mips/e32el-rel2.d: New for little endian mips.
* gas/mips/elfel-rel2.d: Likewise.
* gas/mips/elfel-rel.d: Likewise.
* gas/mips/mipsel16-f.d: Likewise.
* gas/mips/telempic.d: Likewise.
* gas/mips/tmipsel16-e.d: Likewise.

* gas/mips/tempic.d: New for traditional mips.
* gas/mips/tmips16-e.d: Likewise.

* gas/mips/elf-rel.d: Handle alignment padding.
* gas/mips/elf-rel2.d: Likewise.

* gas/mips/mips.exp: Support little endian and traditional
mips.

23 years ago2001-05-25 Michael Snyder <msnyder@redhat.com>
msnyder [Fri, 25 May 2001 17:46:33 +0000 (17:46 +0000)]
2001-05-25  Michael Snyder  <msnyder@redhat.com>

* remote.c (remote_write_bytes): Update 'p' packet pointer.

23 years ago* gnu-v2-abi.c (gnuv2_virtual_fn_field): There's no need to clear
jimb [Fri, 25 May 2001 17:09:46 +0000 (17:09 +0000)]
* gnu-v2-abi.c (gnuv2_virtual_fn_field): There's no need to clear
VALUE_POINTED_TO_OFFSET here; if value_cast doesn't return a
useful value, then we should fix that instead.

23 years ago* build fix
fche [Fri, 25 May 2001 15:32:51 +0000 (15:32 +0000)]
* build fix

2001-05-25  Will Cohen  <wcohen@redhat.com>

* sidmiscutil.h: Added #include <sys/cygwin.h> for cygwin builds.

23 years ago* path.cc (symlink_info::check): Correctly set 'ext_tacked_on'. Use this to
cgf [Fri, 25 May 2001 15:07:46 +0000 (15:07 +0000)]
* path.cc (symlink_info::check): Correctly set 'ext_tacked_on'.  Use this to
determine if user specified 'foo.lnk' explicitly.  Reorganize slightly to get
rid of one goto.

23 years agomonterey updates
twall [Fri, 25 May 2001 12:42:26 +0000 (12:42 +0000)]
monterey updates

23 years ago * symbols.c (resolve_symbol_value): Always set segment, even when
amodra [Fri, 25 May 2001 10:07:43 +0000 (10:07 +0000)]
* symbols.c (resolve_symbol_value): Always set segment, even when
not finalizing symbol value.

23 years ago * config/obj-ieee.c (write_object_file): Set finalize_syms.
amodra [Fri, 25 May 2001 09:40:10 +0000 (09:40 +0000)]
* config/obj-ieee.c (write_object_file): Set finalize_syms.
* config/obj-coff.c (write_object_file): Likewise.
* (size_section): Remove rs_space assert as fr_symbol is no longer
removed.
(fill_section): Likewise.

23 years ago * path.cc (symlink_info::check): Add a check to return correctly
corinna [Fri, 25 May 2001 08:31:56 +0000 (08:31 +0000)]
    * path.cc (symlink_info::check): Add a check to return correctly
        if incoming `*.lnk' file is not a symlink.

23 years agos/linuxaout/linux*aout/, s/linuxoldld/linux*oldld/
amodra [Fri, 25 May 2001 07:21:00 +0000 (07:21 +0000)]
s/linuxaout/linux*aout/, s/linuxoldld/linux*oldld/

23 years ago2001-05-25 H.J. Lu <hjl@gnu.org>
hjl [Fri, 25 May 2001 06:29:20 +0000 (06:29 +0000)]
2001-05-25  H.J. Lu  <hjl@gnu.org>

* bfd-in2.h: Regenerated.
* libcoff.h: Likewise.

23 years ago2001-05-24 H.J. Lu <hjl@gnu.org>
hjl [Fri, 25 May 2001 05:56:38 +0000 (05:56 +0000)]
2001-05-24  H.J. Lu  <hjl@gnu.org>

* emultempl/stringify.sed: Removed again.

23 years ago2001-05-24 H.J. Lu <hjl@gnu.org>
hjl [Fri, 25 May 2001 05:39:21 +0000 (05:39 +0000)]
2001-05-24  H.J. Lu  <hjl@gnu.org>

* emultempl/aix.em (OUTPUT_ARCH): Defined.
(gld${EMULATION_NAME}_before_parse): Initialize
ldfile_output_architecture, ldfile_output_machine and
ldfile_output_machine_name from ${OUTPUT_ARCH} if possible.
* emultempl/beos.em: Likewise.
* emultempl/elf32.em: Likewise.
* emultempl/linux.em: Likewise.
* emultempl/mipsecoff.em: Likewise.
* emultempl/pe.em: Likewise.
* emultempl/sunos.em: Likewise.

23 years ago2001-05-24 H.J. Lu <hjl@gnu.org>
hjl [Fri, 25 May 2001 04:31:55 +0000 (04:31 +0000)]
2001-05-24  H.J. Lu  <hjl@gnu.org>

* ld-scripts/phdrs.exp: Add sparc64 to 64 bit platform.

23 years ago * elf32-hppa.c (elf32_hppa_relocate_section): Don't allow
amodra [Fri, 25 May 2001 03:46:48 +0000 (03:46 +0000)]
* elf32-hppa.c (elf32_hppa_relocate_section): Don't allow
undefined millicode syms in shared libs.
(hppa_build_one_stub): Turn BFD_ASSERTs into aborts.
(elf32_hppa_check_relocs): Likewise.
(elf32_hppa_adjust_dynamic_symbol): Likewise.
(elf32_hppa_size_dynamic_sections): Likewise.
(elf32_hppa_relocate_section): Likewise.
(elf32_hppa_finish_dynamic_symbol): Likewise.
(elf32_hppa_finish_dynamic_sections): Likewise.

23 years ago* path.cc (slash_drive_prefix_p): Remove.
cgf [Fri, 25 May 2001 03:13:14 +0000 (03:13 +0000)]
* path.cc (slash_drive_prefix_p): Remove.
(mount_info::slash_drive_to_win32_path): Ditto.
(mount_info::conv_to_win32_path): Remove slash drive prefix check.
(mount_info::add_item): Ditto.
(mount_info::del_item): Ditto.
* shared_info.h (mount_info): Remove slash_drive_to_win32_path declaration.

23 years agoRevert last patch.
amodra [Fri, 25 May 2001 01:59:43 +0000 (01:59 +0000)]
Revert last patch.

23 years ago2001-05-24 Michael Snyder <msnyder@redhat.com>
msnyder [Fri, 25 May 2001 01:29:01 +0000 (01:29 +0000)]
2001-05-24  Michael Snyder  <msnyder@redhat.com>

* gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
Don't require that the main thread and the manager thread are the
first in the list.

23 years ago * solist.h (struct so_list): Document the requirement that
nsd [Fri, 25 May 2001 01:27:11 +0000 (01:27 +0000)]
* solist.h (struct so_list): Document the requirement that
current_sos initialize some fields to 0.

23 years ago2001-05-24 Michael Snyder <msnyder@redhat.com>
msnyder [Fri, 25 May 2001 01:10:20 +0000 (01:10 +0000)]
2001-05-24  Michael Snyder  <msnyder@redhat.com>

* gdb.threads/pthreads.exp (test_startup): Relax test for thread
debugging.  If test fails, issue an "unsupported" not a "fail".

23 years ago * expr.c (expr): Set return value to absolute_section for
amodra [Fri, 25 May 2001 00:01:30 +0000 (00:01 +0000)]
* expr.c (expr): Set return value to absolute_section for
subtractive operations on symbols within a segment.
* read.c (pseudo_set): Set segment for complex expressions.

23 years agoDon't assume that short is shorter than int.
jimb [Fri, 25 May 2001 00:01:28 +0000 (00:01 +0000)]
Don't assume that short is shorter than int.
* gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
assume that shorts are smaller than ints.  On a 16-bit machine,
this isn't true.
("print unsigned char == (~0)"): Add test that verifies that ~0,
an int, is not equal to ~0 stored in an unsigned char.  This tests
the same thing that the previous test meant to, but works on
16-bit machines, too.
("print unsigned char != (~0)"): Same test, complemented.

23 years ago From 2.11 branch 2001-03-30 Richard Henderson <rth@redhat.com>
amodra [Thu, 24 May 2001 23:52:22 +0000 (23:52 +0000)]
From 2.11 branch 2001-03-30  Richard Henderson  <rth@redhat.com>
* config/tc-i386.c (md_convert_frag): Don't die on local symbols
that have been finalized.

23 years ago * symbols.c (resolve_symbol_value): Clear sy_resolving before
amodra [Thu, 24 May 2001 23:44:06 +0000 (23:44 +0000)]
* symbols.c (resolve_symbol_value): Clear sy_resolving before
taking exit_dont_set_value.

23 years ago * write.c (relax_segment): Don't zap fr_symbol when relaxing.
amodra [Thu, 24 May 2001 23:32:59 +0000 (23:32 +0000)]
* write.c (relax_segment): Don't zap fr_symbol when relaxing.

23 years ago2001-05-24 H.J. Lu <hjl@gnu.org>
hjl [Thu, 24 May 2001 22:01:23 +0000 (22:01 +0000)]
2001-05-24  H.J. Lu  <hjl@gnu.org>

* binutils-all/objdump.exp (cpus_expected): Add s390.

23 years agoFix for gas seg fault and neg line numbers
trix [Thu, 24 May 2001 21:39:09 +0000 (21:39 +0000)]
Fix for gas seg fault and neg line numbers

23 years agoSupport for xcoff64, enable ld for aix
trix [Thu, 24 May 2001 21:06:16 +0000 (21:06 +0000)]
Support for xcoff64, enable ld for aix

23 years agoSupport for xcoff64
trix [Thu, 24 May 2001 20:59:20 +0000 (20:59 +0000)]
Support for xcoff64