OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
22 years agoRevert incorrect checkins.
cgf [Fri, 5 Oct 2001 04:37:33 +0000 (04:37 +0000)]
Revert incorrect checkins.

22 years ago* heap.h (inheap): Check for NULL.
cgf [Fri, 5 Oct 2001 04:36:14 +0000 (04:36 +0000)]
* heap.h (inheap): Check for NULL.

22 years agoAdd second path_conv * argument to fstat()s throughout.
cgf [Fri, 5 Oct 2001 04:21:41 +0000 (04:21 +0000)]
Add second path_conv * argument to fstat()s throughout.
* fhandler.h: Change read and fstat to regparm/stdcall throughout.
(fhandler_base::fstat): Just declare.  Don't define.
(fhandler_disk_file::fstat_helper): Declare.
* fhandler.cc (fhandler_base::fstat): Move here from fhandler.h, adapt from
former stat_dev().
(fhandler_disk_file::fstat): Move most of the disk-file-specific logic from
stat_worker to here.  Use fstat_helper to derive final fstat output.
(fhandler_disk_file::fstat_helper): New method, renamed from former fstat
method.
(num_entries): Moved here from syscalls.cc.
* fhandler_mem.cc (fhandler_dev_mem::fstat): Use base class to initialize most
stuff.  Invert has_physical_mem_access test for establishing permissions.
* fhandler_raw.cc (fhandler_dev_raw::fstat): Eliminate unneed test and memory
clearing.  Use base class to initialize most stuff.
* syscalls.cc (stat_dev): Eliminate.
(stat_worker): Simply call fstat method to generate fstat output.  Move all
device specific code to appropriate fstats.
* dir.cc (opendir): Pass correct arg to stat_worker to allow following
symlinks.

22 years ago* winsup.api/systemcall.c (main): Change some messages for clarity.
cgf [Fri, 5 Oct 2001 02:47:28 +0000 (02:47 +0000)]
* winsup.api/systemcall.c (main): Change some messages for clarity.

22 years ago* winsup.api/systemcall.c: New file. Check for system call problems.
cgf [Fri, 5 Oct 2001 02:29:46 +0000 (02:29 +0000)]
* winsup.api/systemcall.c: New file.  Check for system call problems.

22 years ago* spawn.cc (perhaps_suffix): Return NULL on non-existence of file as well as
cgf [Fri, 5 Oct 2001 01:39:08 +0000 (01:39 +0000)]
* spawn.cc (perhaps_suffix): Return NULL on non-existence of file as well as
"directoryness".  Previous code modified on 2001/09/30 actually had an arguable
bug which was unmasked by the change on that day.

22 years ago* converge with internal tree.
bje [Fri, 5 Oct 2001 01:14:34 +0000 (01:14 +0000)]
* converge with internal tree.

22 years ago* regenerate with latest maintainer-tools.
bje [Fri, 5 Oct 2001 01:11:48 +0000 (01:11 +0000)]
* regenerate with latest maintainer-tools.

22 years ago* path.cc (path_conv::check): Return ENOTDIR when leading device and trailing
cgf [Fri, 5 Oct 2001 00:52:39 +0000 (00:52 +0000)]
* path.cc (path_conv::check): Return ENOTDIR when leading device and trailing
component.

22 years ago* belated merge.
bje [Fri, 5 Oct 2001 00:36:16 +0000 (00:36 +0000)]
* belated merge.

2001-08-15  John Healy  <jhealy@redhat.com>

* sw-load-elf.xml: Changed "set loader file" to "set cpu-loader file".
* sw-load-elf.txt: Ditto.

22 years ago* syscalls.cc (stat_worker): Make global. Accept path_conv parameter for
cgf [Fri, 5 Oct 2001 00:17:57 +0000 (00:17 +0000)]
* syscalls.cc (stat_worker): Make global.  Accept path_conv parameter for
passing information back to caller.
* winsup.h: Declare stat_worker.
* dir.cc (opendir): Use stat_worker rather than stat and pass path_conv
parameter to stat_worker for later inspection.
* syslog.cc (syslog): Teach syslog about syslog priorities other than LOG_ERR,
LOG_WARNING and LOG_INFO
* path.cc (path_conv::check): Don't perform file system or rootdir checks on
devices.

22 years agodaily update
amodra [Fri, 5 Oct 2001 00:00:06 +0000 (00:00 +0000)]
daily update

22 years ago*** empty log message ***
gdbadmin [Fri, 5 Oct 2001 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago2001-10-04 Frank Ch. Eigler <fche@redhat.com>
fche [Thu, 4 Oct 2001 22:11:12 +0000 (22:11 +0000)]
2001-10-04  Frank Ch. Eigler  <fche@redhat.com>

* lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
if gdb child process crashes, just signal an error.

22 years ago * config/tc-mips.c (prev_insn_reloc_type): Make it an array to hold a
ths [Thu, 4 Oct 2001 20:07:00 +0000 (20:07 +0000)]
* config/tc-mips.c (prev_insn_reloc_type): Make it an array to hold a
relocation triple.
(prev_insn_fixp): Likewise.
(append_insn): Changed prototype to accept a relocation pointer.
(imm_reloc): Make it an array.
(offset_reloc): Likewise.
(md_assemble): Handle triple relocations.
(append_insn): Likewise. Add handling for some NewABI relocations.
(mips_no_prev_insn): Handle triple relocations.
(macro_build): Likewise. Add handling for some NewABI relocations.
Move handling for the 'u' case to append_insn().
(mips16_macro_build): Handle triple relocations.
(macro_build_lui): Likewise. Don't handle _gp_disp as special symbol
for NewABI.
(mips_ip): Handle triple relocations.
(mips16_ip): Likewise.
(mips_force_relocation): Force handling of triple relocations
without symbols for NewABI.
(md_apply_fix): Add handling for some NewABI relocations.

22 years ago * config/tc-i386.c (parse_register): If not producing code for
amodra [Thu, 4 Oct 2001 18:01:45 +0000 (18:01 +0000)]
* config/tc-i386.c (parse_register): If not producing code for
x86_64, reject x86_64 register name matches.
(md_assemble): Remove now redundant check for x86_64 regs.

22 years ago2001-10-04 Frank Ch. Eigler <fche@redhat.com>
fche [Thu, 4 Oct 2001 17:33:48 +0000 (17:33 +0000)]
2001-10-04  Frank Ch. Eigler  <fche@redhat.com>

* configrun-sid.in: Throughout, set boolean attributes only to
non-default values.

22 years ago* cleanup++
fche [Thu, 4 Oct 2001 17:28:44 +0000 (17:28 +0000)]
* cleanup++

2001-10-04  Frank Ch. Eigler  <fche@redhat.com>

        * sidcpuutil.h (basic_cpu ctor): Initialize those tracing flags.

22 years ago* cleanup
fche [Thu, 4 Oct 2001 16:50:11 +0000 (16:50 +0000)]
* cleanup

2001-10-04  Frank Ch. Eigler  <fche@redhat.com>

        * sidcpuutil.h (update_trace_result_p): New function.
        ({get,set}_trace_{sem,disasm,count,result}): Removed functions.
        (basic_cpu ctor): Use plain attributes or notify-attributes,
        not general virtual ones for the various tracing flags.

22 years agoFix a comment typo in last commit.
amodra [Thu, 4 Oct 2001 16:18:32 +0000 (16:18 +0000)]
Fix a comment typo in last commit.

22 years ago * elf32-mips.c (_bfd_mips_elf_copy_indirect_symbol): Bail out after
amodra [Thu, 4 Oct 2001 16:09:02 +0000 (16:09 +0000)]
* elf32-mips.c (_bfd_mips_elf_copy_indirect_symbol): Bail out after
copying flags if this is a weakdef.

22 years agosomehow missed committing this.
amodra [Thu, 4 Oct 2001 15:37:38 +0000 (15:37 +0000)]
somehow missed committing this.
* dep-in.sed: Remove symcat.h from dependencies.

22 years ago * main.c (enable_external_editor): Don't declare.
tromey [Thu, 4 Oct 2001 15:04:26 +0000 (15:04 +0000)]
* main.c (enable_external_editor): Don't declare.
(captured_main): Don't set enable_external_editor.

22 years ago * library/tclIndex: Updated.
tromey [Thu, 4 Oct 2001 15:01:33 +0000 (15:01 +0000)]
* library/tclIndex: Updated.
* library/prefs.tcl (pref_set_defaults): Define gdb/editor
preference.
* library/srcpref.itb (SrcPref::constructor): Save gdb/editor
preference.
(SrcPref::build_win): Added external editor control.
* library/srctextwin.itb (SrcTextWin::do_source_popup): Always
enable external editor.  Use `code' instead of `list'.
* library/srcwin.itb (SrcWin::edit): Use Editor::edit.
* library/editor.tcl: New file.
* generic/gdbtk.c (enable_external_editor): Removed.
(external_editor_command): Default to NULL.
(gdbtk_init): Don't set enable_external_editor.  Free external
editor command when finished with it.

22 years ago * elf-bfd.h (struct elf_link_hash_entry): Reorganise for better
amodra [Thu, 4 Oct 2001 12:30:25 +0000 (12:30 +0000)]
* elf-bfd.h (struct elf_link_hash_entry): Reorganise for better
packing.

22 years ago * elf32-mips.c (mips_elf_record_global_got_symbol): Set got.offset
amodra [Thu, 4 Oct 2001 05:50:29 +0000 (05:50 +0000)]
* elf32-mips.c (mips_elf_record_global_got_symbol): Set got.offset
to 1 rather than 0 to avoid confusing copy_indirect_symbol.
(mips_elf_sort_hash_table_f): Compare got.offset against 1.

22 years ago * Makefile.am (BFD_H_DEPS): Add symcat.h. Ensure everything
amodra [Thu, 4 Oct 2001 05:40:42 +0000 (05:40 +0000)]
* Makefile.am (BFD_H_DEPS): Add symcat.h.  Ensure everything
depends on $(BFD_H) $(BFD_H_DEPS) $(LOCAL_H_DEPS), not just those
backends we configure.  Run "make dep-am".
(install-data-local): Install symcat.h.
* dep-in.sed: Remove symcat.h from dependencies.
* Makefile.in: Regenerate.

22 years ago * config/tc-ppc.c (md_assemble <DS relocs>): Test ppc_size as well
amodra [Thu, 4 Oct 2001 05:03:43 +0000 (05:03 +0000)]
* config/tc-ppc.c (md_assemble <DS relocs>): Test ppc_size as well
as BFD_DEFAULT_TARGET_SIZE.
(ppc_tc): Likewise.
(ppc_is_toc_sym): Likewise.
(md_apply_fix3): Likewise.

22 years ago * configure.in: Updated Tcl and Tk library
irox [Thu, 4 Oct 2001 02:45:51 +0000 (02:45 +0000)]
* configure.in:  Updated Tcl and Tk library
version numbers.
* configure: Regenerated.

22 years ago* dcrt0.cc (dll_crt0_1): Don't close hexec_proc if it is NULL.
cgf [Thu, 4 Oct 2001 02:34:19 +0000 (02:34 +0000)]
* dcrt0.cc (dll_crt0_1): Don't close hexec_proc if it is NULL.
* fork.cc (vfork): Add debugging statements.
* path.cc (get_device_number): Make static.  Rewrite to inspect both unix and
windows paths.
(get_raw_device_number): Just check for parts of raw device that we care about.
(get_devn): New function, pulled from get_device_number.
(win32_device_name): Accomodate arg changes to get_device_number.
(mount_info::get_device_number): Call get_device_number on translated Windows
path.
* spawn.cc (spawn_guts): Don't treat P_VFORK differently from P_NOWAIT.  Add
handle to child's shared region to child so that it will be preserved if the
parent goes away.
* fhandler.h: Throughout, simplify to one open method for all fhandler classes,
requiring a path_conv first element.
* fhandler.cc (fhandler_base::open): Remove obsolete method.  Generalize to
require path_conv * as first argument.
(fhandler_disk_file::open): Remove obsolete method.
(fhandler_disk_file::open): Use path_conv pointer rather than reference.
* fhandler_clipboard.cc (fhandler_dev_clipboard::dup): Use new open method.
(fhandler_dev_clipboard::open): Accomodate new argument for open methods.
* fhandler_console.cc (fhandler_console::open): Ditto.
(fhandler_console::dup): Use new open method.
(fhandler_console::fixup_after_fork): Ditto.
(fhandler_console::fixup_after_exec): Ditto.
* fhandler_dsp.cc (fhandler_dev_dsp::open): Accomodate new argument for open
methods.
* fhandler_floppy.cc (fhandler_dev_floppy::open): Ditto.
* fhandler_mem.cc (fhandler_dev_mem::open): Ditto.
* fhandler_random (fhandler_dev_random::open): Ditto.
* fhandler_raw.cc (fhandler_dev_raw::open): Ditto.
* fhandler_serial.cc (fhandler_serial::open): Ditto.
* fhandler_tape.cc (fhandler_dev_tape::open): Ditto.
* fhandler_tty.cc (fhandler_tty_slave::open): Ditto.
(fhandler_pty_master::open): Ditto.
* fhandler_windows.cc (fhandler_windows::open): Ditto.
* fhandler_zero.cc (fhandler_dev_zero::open): Ditto.
* fhandler_socket.cc (fhandler_socket::set_connect_secret): Accomodate new
argument for open methods.
* syscalls.cc (_open): Ditto.
(stat_worker): Ditto.

22 years ago Testcase updates for the previous patch.
ths [Thu, 4 Oct 2001 00:57:00 +0000 (00:57 +0000)]
 Testcase updates for the previous patch.

22 years agodaily update
amodra [Thu, 4 Oct 2001 00:03:26 +0000 (00:03 +0000)]
daily update

22 years ago*** empty log message ***
gdbadmin [Thu, 4 Oct 2001 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago* genscripts.sh: Include a comment at the top of each generated
jimb [Wed, 3 Oct 2001 21:36:43 +0000 (21:36 +0000)]
* genscripts.sh: Include a comment at the top of each generated
script, explaining its purpose.

22 years ago * config/tc-mips.c (mips_64): Remove.
ths [Wed, 3 Oct 2001 20:30:14 +0000 (20:30 +0000)]
* config/tc-mips.c (mips_64): Remove.
(mips_target_format): Move downwards in file, use HAVE_64BIT_OBJECTS
in it.
(mips_abi_level, mips_abi): New enum.
(mips_32bit_abi): Remove.
(HAVE*PRS): Use mips_abi instead of mips_32bit_abi.
(HAVE_NEWABI): New define.
(HAVE_64BIT_OBJECTS): New define.
(HAVE_32BIT_ADDRESSES): Don't return true for 64bit objects.
(HAVE_64BIT_ADDRESSES): New define, inverse of HAVE_32BIT_ADDRESSES.
(support_64bit_objects): New prototype.
(md_begin): Use mips_abi instead of mips_32bit_abi. Don't write
.reginfo section for n32, use .MIPS.options instead.
(support_64bit_objects): New function, code from md_parse_option.
(md_longopts): Add -n32 option.
(md_parse_option): Use mips_abi instead of mips_32bit_abi/mips64.
Add -n32 option. Protect with OBJ_ELF.
(s_mipsset): Use mips_abi instead of mips_32bit_abi.
(mips_elf_final_processing): Likewise. Don't write .reginfo section
for n32, use .MIPS.options instead.

22 years ago* regen
fche [Wed, 3 Oct 2001 17:29:03 +0000 (17:29 +0000)]
* regen

2001-10-03  Frank Ch. Eigler  <fche@redhat.com>

        * (*.conf): Regenerated with gdb cfgroot relationship.

22 years ago2001-10-03 Frank Ch. Eigler <fche@redhat.com>
fche [Wed, 3 Oct 2001 17:24:17 +0000 (17:24 +0000)]
2001-10-03  Frank Ch. Eigler  <fche@redhat.com>

        * configrun-sid.in (gdb): Add cfgroot relationship.

22 years ago* support "monitor set COMPONENT ATTRIBUTE VALUE" from gdb.
fche [Wed, 3 Oct 2001 17:06:01 +0000 (17:06 +0000)]
* support "monitor set COMPONENT ATTRIBUTE VALUE" from gdb.
* part 1/2

2001-10-03  Frank Ch. Eigler  <fche@redhat.com>

        * gdb.cxx (ctor): Add "cfgroot" relationship.
        (process_rcmd_hook, process_rcmd): Support "set" Rcmds.
        * gdb.h: Corresponding changes.

22 years agoAdd support for -z nocopyreloc.
amodra [Wed, 3 Oct 2001 15:11:45 +0000 (15:11 +0000)]
Add support for -z nocopyreloc.

22 years agoMissed mention of regenerating po/POTFILES.in
amodra [Wed, 3 Oct 2001 14:17:12 +0000 (14:17 +0000)]
Missed mention of regenerating po/POTFILES.in

22 years ago * elf64-mips.c (elf_backend_may_use_rela_p): New define.
ths [Wed, 3 Oct 2001 14:12:12 +0000 (14:12 +0000)]
* elf64-mips.c (elf_backend_may_use_rela_p): New define.
(elf_backend_default_use_rela_p): New define.

22 years ago * binutils-all/readelf.exp: Exclude mips*-*-elf* from 'readelf -wi'
ths [Wed, 3 Oct 2001 13:51:09 +0000 (13:51 +0000)]
* binutils-all/readelf.exp: Exclude mips*-*-elf* from 'readelf -wi'
test.

22 years agoRegenerate configure to include the gettext.m4 change. Update
amodra [Wed, 3 Oct 2001 13:46:18 +0000 (13:46 +0000)]
Regenerate configure to include the gettext.m4 change.  Update
opcodes/po/POTFILES.in

22 years ago * elfxx-ia64.c (elfNN_ia64_hash_copy_indirect): Fix typos in last
amodra [Wed, 3 Oct 2001 13:16:17 +0000 (13:16 +0000)]
* elfxx-ia64.c (elfNN_ia64_hash_copy_indirect): Fix typos in last
change.

22 years agobfd/ChangeLog
amodra [Wed, 3 Oct 2001 12:29:06 +0000 (12:29 +0000)]
bfd/ChangeLog
* configure.in (AC_OUTPUT <bfd-in3.h>): Remove version.h.
* configure: Regenerate.
* Makefile.am (BFD_H_FILES): Add version.h.
* Makefile.in: Regenerate.
* po/SRC-POTFILES.in: Regenerate.

bfd/doc/ChangeLog
* Makefile.am (BFD_H_DEP): Add ../version.h.
* Makefile.in: Regenerate.

22 years ago * elflink.h (elf_fix_symbol_flags): Copy flags to weakdef using
amodra [Wed, 3 Oct 2001 08:33:17 +0000 (08:33 +0000)]
* elflink.h (elf_fix_symbol_flags): Copy flags to weakdef using
elf_backend_copy_indirect_symbol so that backend has a chance to
copy other necessary fields.
* elf-bfd.h (struct elf_backend_data): Update description of
elf_backend_copy_indirect_symbol.
* elf.c (_bfd_elf_link_hash_copy_indirect): Bail out after
copying flags if this is a weakdef.
* elfxx-ia64.c (elfNN_ia64_hash_copy_indirect): Likewise.
(elfNN_ia64_aix_add_symbol_hook): Use elf_link_hash_lookup rather
than bfd_link_hash_lookup.
* elf32-i386 (elf_i386_adjust_dynamic_symbol): Don't do copy
reloc processing for weakdefs.
* elf32-hppa.c (elf32_hppa_adjust_dynamic_symbol): Likewise.
* elf64-ppc.c (ppc64_elf_adjust_dynamic_symbol): Likewise.

22 years ago* cygheap.cc (cfree): Remove malloc debugging probe.
cgf [Wed, 3 Oct 2001 03:49:25 +0000 (03:49 +0000)]
* cygheap.cc (cfree): Remove malloc debugging probe.
* dlmalloc.c (errprint): Remove abort() call which causes interesting error
message printing to abort prematurely.
* environ.cc: Sprinkle MALLOC_CHECKs liberally throughout.
(_addenv): Allocate two empty elements at end of environ to
(apparently) work around problems with some buggy applications.
(winenv): Avoid calling alloca if no forced environment variable is present.

* exceptions.cc (open_stackdumpfile): Don't print "Dumping stack trace to..."
when running in a cygwin environment (i.e., the parent is a cygwin process).

* dtable.cc (dtable::init_std_file_from_handle): Move device type detection
code from build_fhandler here since it is only used by this function.
(dtable::build_fhandler_from_name): New method.  Renamed from
dtable::build_fhandler.
(dtable::build_fhandler): Use build_fhandler_from_name.
(cygwin_attach_handle_to_fd): Ditto.
* syscalls.cc (_open): Ditto.
(stat_worker): Ditto.
* dtable.h (dtable::build_fhandler_from_name): Rename declaration from
dtable::build_fhandler.

22 years agodaily update
amodra [Wed, 3 Oct 2001 02:02:26 +0000 (02:02 +0000)]
daily update

22 years ago * gettext.m4: Test po/POTFILES.in exists before trying to read.
amodra [Wed, 3 Oct 2001 01:46:25 +0000 (01:46 +0000)]
* gettext.m4: Test po/POTFILES.in exists before trying to read.

22 years ago*** empty log message ***
gdbadmin [Wed, 3 Oct 2001 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

22 years agoSplit SVR4/SunOS solib support.
kevinb [Tue, 2 Oct 2001 23:11:20 +0000 (23:11 +0000)]
Split SVR4/SunOS solib support.

22 years ago* lib/gdb.exp (test_xfail_format): Simplify.
jimb [Tue, 2 Oct 2001 19:42:07 +0000 (19:42 +0000)]
* lib/gdb.exp (test_xfail_format): Simplify.

* lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
front of the variable name `format'.  Simplify `if'.

22 years ago2001-09-28 Frank Ch. Eigler <fche@redhat.com>
fche [Tue, 2 Oct 2001 16:12:57 +0000 (16:12 +0000)]
2001-09-28  Frank Ch. Eigler  <fche@redhat.com>

        * lib/cpudefs.exp (run-sid-tests-raw, run-one-sid-tests):
        Support "# configline()" test directive.

22 years agoFix (for the last time, I hope) handling of R_ARC_B22_PCREL.
nickc [Tue, 2 Oct 2001 14:28:42 +0000 (14:28 +0000)]
Fix (for the last time, I hope) handling of R_ARC_B22_PCREL.

22 years agoTue Oct 2 22:25:23 2001 Robert Collins <rbtcollins@hotmail.com>
rbcollins [Tue, 2 Oct 2001 12:27:03 +0000 (12:27 +0000)]
Tue Oct  2 22:25:23 2001  Robert Collins <rbtcollins@hotmail.com>

        * how-fhandlers-work.txt: New file.

22 years ago * config/tc-ppc.c (md_apply_fix3 <BFD_RELOC_CTOR>): Make it 64
amodra [Tue, 2 Oct 2001 09:28:53 +0000 (09:28 +0000)]
* config/tc-ppc.c (md_apply_fix3 <BFD_RELOC_CTOR>): Make it 64
bits if target is 64 bit.

22 years ago * elf64-ppc.c (ppc64_elf_check_relocs): Use a local var and cast
amodra [Tue, 2 Oct 2001 09:22:46 +0000 (09:22 +0000)]
* elf64-ppc.c (ppc64_elf_check_relocs): Use a local var and cast
result of ELF64_R_TYPE to enum before using in a switch.
(ppc64_elf_gc_mark_hook): Likewise.
(ppc64_elf_gc_sweep_hook): Likewise.
(ppc64_elf_reloc_type_class): Likewise.

22 years ago * doc/as.texinfo (listing): Fix typo.
amodra [Tue, 2 Oct 2001 09:18:41 +0000 (09:18 +0000)]
* doc/as.texinfo (listing): Fix typo.

22 years agoAdd more detection of 64-bit DWARF sections
nickc [Tue, 2 Oct 2001 09:08:43 +0000 (09:08 +0000)]
Add more detection of 64-bit DWARF sections

22 years ago * ldver.h (ld_program_version): Remove declaration.
amodra [Tue, 2 Oct 2001 06:04:22 +0000 (06:04 +0000)]
* ldver.h (ld_program_version): Remove declaration.
* lexsup.c (parse_args): Move printing of copyright message..
* ldver.c (ldversion): .. to here.
Use BFD_VERSION_STRING in place of BFD_VERSION.
(ld_program_version): Remove.
* Makefile.am (Makefile): Depend on bfd/configure.in
Run "make dep-am"
* Makefile.in: Regenerate.

22 years ago * Makefile.am (Makefile): Depend on bfd/configure.in
amodra [Tue, 2 Oct 2001 06:03:15 +0000 (06:03 +0000)]
* Makefile.am (Makefile): Depend on bfd/configure.in
Run "make dep-am"
* Makefile.in: Regenerate.

22 years ago * as.c (print_version_id): Use BFD_VERSION_STRING in place of
amodra [Tue, 2 Oct 2001 06:02:49 +0000 (06:02 +0000)]
* as.c (print_version_id): Use BFD_VERSION_STRING in place of
BFD_VERSION.
* Makefile.am (Makefile): Depend on bfd/configure.in
Run "make dep-am"
* Makefile.in: Regenerate.

22 years ago * coffdump.c (PROGRAM_VERSION): Delete.
amodra [Tue, 2 Oct 2001 06:02:11 +0000 (06:02 +0000)]
* coffdump.c (PROGRAM_VERSION): Delete.
(main <'V'>): Call print_version.
* srconv.c: Likewise.
* sysdump.c: Likewise.
* version.c (program_version): Remove.
(print_version): Use BFD_VERSION_STRING.  Just print the current
year in copyright message.
* addr2line.c (program_version): Remove unused declaration.
* objdump.c (display_target_tables): Use BFD_VERSION_STRING in
place of BFD_VERSION.
* Makefile.am (Makefile): Depend on bfd/configure.in
(cplus-dem.o): Depend on Makefile.
Run "make dep-am"
* Makefile.in: Regenerate.

22 years ago * Makefile.am (Makefile): Depend on bfd/configure.in
amodra [Tue, 2 Oct 2001 06:00:48 +0000 (06:00 +0000)]
* Makefile.am (Makefile): Depend on bfd/configure.in
Run "make dep-am"
* Makefile.in: Regenerate.

22 years ago * common.h (NLM_CAT, NLM_CAT3): Don't define.
amodra [Tue, 2 Oct 2001 05:59:56 +0000 (05:59 +0000)]
* common.h (NLM_CAT, NLM_CAT3): Don't define.
(NLM_CAT4): Update conditions under which this is defined.  Document
why CONCAT4 can't be used.

22 years ago * Makefile.in: Regenerate.
amodra [Tue, 2 Oct 2001 05:59:30 +0000 (05:59 +0000)]
* Makefile.in: Regenerate.

22 years ago * version.h: New file.
amodra [Tue, 2 Oct 2001 05:58:36 +0000 (05:58 +0000)]
* version.h: New file.
* bfd-in.h: (BFD_VERSION): Substitute bfd_version.
(BFD_VERSION_DATE): Define.
(BFD_VERSION_STRING): Define.
* configure.in: AC_SUBST bfd_version, bfd_version_date and
bfd_version_string.
(AC_OUTPUT <bfd-in3.h>): Depend on version.h.
* bfd-in2.h: Regenerate.
* configure: Regenerate.
* Makefile.am: Run "make dep-am"
* Makefile.in: Regenerate.

* bfd-in.h: Include "symcat.h".
(CONCAT4): Redefine as for old CAT4.
* aout-arm.c: Use equivalent CONCAT* macro in place of CAT* macros.
Add warning regarding whitespace.
* aout-cris.c: Likewise.
* aout-ns32k.c: Likewise.
* aout-sparcle.c: Likewise.
* aout-tic30.c: Likewise.
* aout0.c: Likewise.
* armnetbsd.c: Likewise.
* demo64.c: Likewise.
* elf-bfd.h: Likewise.
* gen-aout.c: Likewise.
* host-aout.c: Likewise.
* hp300bsd.c: Likewise.
* hp300hpux.c: Likewise.
* i386aout.c: Likewise.
* i386bsd.c: Likewise.
* i386dynix.c: Likewise.
* i386freebsd.c: Likewise.
* i386linux.c: Likewise.
* i386lynx.c: Likewise.
* i386mach3.c: Likewise.
* i386netbsd.c: Likewise.
* libaout.h: Likewise.
* m68k4knetbsd.c: Likewise.
* m68klinux.c: Likewise.
* m68klynx.c: Likewise.
* m68knetbsd.c: Likewise.
* m88kmach3.c: Likewise.
* mipsbsd.c: Likewise.
* newsos3.c: Likewise.
* ns32knetbsd.c: Likewise.
* pc532-mach.c: Likewise.
* pdp11.c: Likewise.
* riscix.c: Likewise.
* sparclinux.c: Likewise.
* sparclynx.c: Likewise.
* sparcnetbsd.c: Likewise.
* sunos.c: Likewise.
* targets.c: Likewise.
* vaxnetbsd.c: Likewise.
* vms-hdr.c: Likewise.

22 years ago 2001-10-01 Elena Zannoni <ezannoni@redhat.com>
ezannoni [Tue, 2 Oct 2001 02:53:48 +0000 (02:53 +0000)]
 2001-10-01  Elena Zannoni <ezannoni@redhat.com>

        * Makefile.in (mipsread.o): Remove old dependency on partial-stab.h.

22 years ago2001-10-01 Elena Zannoni <ezannoni@redhat.com>
ezannoni [Tue, 2 Oct 2001 02:51:41 +0000 (02:51 +0000)]
2001-10-01  Elena Zannoni <ezannoni@redhat.com>

        * xcoffread.c (N_UNDF, N_ABS, N_TEXT, N_DATA, N_BSS, N_COMM, N_FN,
        N_EXT, N_INDR, N_SETA, N_SETT, N_SETD, N_SETB, N_SETV,
        CUR_SYMBOL_TYPE, CUR_SYMBOL_VALUE, START_PSYMTAB, END_PSYMTAB,
        SET_NAMESTRING): Delete definitions.
        Don't include language.h any more.
        Don't include partial-stab.h any more.
        (scan_xcoff_symtab): Don't jump through hoops to reuse code in
        partial-stab.h, include the code directly, instead.

        * Makefile.in (xcoffread.o): Remove dependency on partial-stab.h.

22 years ago2001-10-01 Elena Zannoni <ezannoni@redhat.com>
ezannoni [Tue, 2 Oct 2001 02:39:47 +0000 (02:39 +0000)]
2001-10-01  Elena Zannoni <ezannoni@redhat.com>

* xcoffread.c (N_UNDF, N_ABS, N_TEXT, N_DATA, N_BSS, N_COMM, N_FN,
N_EXT, N_INDR, N_SETA, N_SETT, N_SETD, N_SETB, N_SETV,
CUR_SYMBOL_TYPE, CUR_SYMBOL_VALUE, START_PSYMTAB, END_PSYMTAB,
SET_NAMESTRING): Delete definitions.
Don't include language.h any more.
Don't include partial-stab.h any more.
(scan_xcoff_symtab): Don't jump through hoops to reuse code in
partial-stab.h, include the code directly, instead.

* Makefile.in (xcoffread.o): Remove dependency on partial-stab.h.

22 years ago* dtable.h (dtable::build_fhandler): Make path_conv parameter non-optional.
cgf [Tue, 2 Oct 2001 01:58:06 +0000 (01:58 +0000)]
* dtable.h (dtable::build_fhandler): Make path_conv parameter non-optional.
(dtable::init_std_file_from_handle): Eliminate name parameter.
* dtable.cc (stdio_init): Don't pass bogus name to init_std_file_from_handle.
The function will figure out the name itself.
(dtable::init_std_file_from_handle): Eliminate name parameter.  Assume that
we're always called with an appropriate fd.  Pass name as NULL if we can't
simply figure it out from context.
(cygwin_attach_handle_to_fd): Pass path_conv argument to build_fhandler.
(dtable::build_fhandler): Make path_conv argument mandatory.  Eliminate
specific call to get_device_number.  With unknown device names, set name from
handle context for parsing by path_conv.
(dtable::build_fhandler): Pass path_conv argument to build_fhandler.
* path.h (path_conv::set_isdisk): Set disk device type.
(path_conv::is_device): Don't consider FH_DISK a "device".
* syscalls.cc (_open): Pass path_conv argument by reference.
(stat_worker): Ditto.
(_rename): Use path_conv operators.  Add bounds to DeleteFile/MoveFile for
loop.

22 years ago*** empty log message ***
gdbadmin [Tue, 2 Oct 2001 00:00:06 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago * gdb.threads/pthreads.exp: Wait for output and delay
drow [Mon, 1 Oct 2001 20:36:47 +0000 (20:36 +0000)]
    * gdb.threads/pthreads.exp: Wait for output and delay
        before sending ^C.

22 years ago * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
drow [Mon, 1 Oct 2001 20:31:37 +0000 (20:31 +0000)]
    * gdb.mi/mi-var-display.exp (continue to incr_a):  Recognize
        some incorrect output instead of timing out.
        * gdb.mi/mi-var-display.exp (continue to incr_a):  Likewise.

22 years ago* cygwin.din: export strtoll and strtoull
cgf [Mon, 1 Oct 2001 19:47:37 +0000 (19:47 +0000)]
* cygwin.din: export strtoll and strtoull

22 years ago* infcmd.c (do_registers_info): Delete code dumping large
cagney [Mon, 1 Oct 2001 18:11:18 +0000 (18:11 +0000)]
* infcmd.c (do_registers_info): Delete code dumping large
registers.  Handled by val_print.

22 years ago2001-10-01 Charles Wilson <cwilson@ece.gatech.edu>
jjohnstn [Mon, 1 Oct 2001 18:05:08 +0000 (18:05 +0000)]
2001-10-01  Charles Wilson  <cwilson@ece.gatech.edu>

        * libc/include/stdlib.h: add declarations for
        _strtoull_r, _strtoll_r, strtoull, and strtoll.
        * libc/stdio/local.h: remove declarations of
        __strtoull_r and __strtoll_r.
        * libc/stdio/vfscanf.c(__svfscanf_r): call
        _strtoull_r instead of __strtoull_r. Ditto
        _strtoll_r vs. __strtoll_r.
        * libc/stdlib/Makefile.am: add new files to
        .c list and .def list
        * libc/stdlib/Makefile.in: regenerate
        * libc/stdlib/strtoll_r.c: rename __strtoll_r
        as _strtoll_r
        * libc/stdlib/strtoull_r.c: rename __strtoull_r
        as _strtoull_r
        * libc/stdlib/strtoull.c: new file
        * libc/stdlib/strtoll.c: new file

22 years agoDetect and warn about DWARF64 format .debug_arange sections
nickc [Mon, 1 Oct 2001 16:15:48 +0000 (16:15 +0000)]
Detect and warn about DWARF64 format .debug_arange sections

22 years agobfd/
amodra [Mon, 1 Oct 2001 14:03:34 +0000 (14:03 +0000)]
bfd/
* bfd-in.h: Remove comments regarding generated files.
* libbfd-in.h: Likewise.
* libcoff-in.h: Likewise.
* bfd-in2.h: Regenerate.
* libbfd.h: Likewise.
* libcoff.h: Likewise.
bfd/doc/
* header.sed: New file, adds header to generated files.
* Makefile.am: Rewrite rules generating libbfd.h, libcoff.h and
bfd.h, using above.  Add missing elf.c dependecy for libbfd.h.
* Makefile.in: Regenerate.

22 years ago2001-09-30 H.J. Lu <hjl@gnu.org>
hjl [Mon, 1 Oct 2001 06:30:18 +0000 (06:30 +0000)]
2001-09-30  H.J. Lu  <hjl@gnu.org>

* config/obj-elf.c (obj_elf_parse_section_letters): Accept "am"
and "ams" for compatibility.

22 years agoAdd "path.h" include throughout, where needed. Use new path_conv methods and
cgf [Mon, 1 Oct 2001 04:10:05 +0000 (04:10 +0000)]
Add "path.h" include throughout, where needed.  Use new path_conv methods and
operators to simplify testing for directory and attributes, throughout.
* path.h (path_conv::exists): New method.
(path_conv::has_attribute): Ditto.
(path_conv::isdir): Ditto.
(path_conv::DWORD &): New operator.
(path_conv::int &): Ditto.
* dir.cc (rmdir): Eliminate a goto.
* dtable.cc (dtable::build_fhandler): Accept opt and suffix info for
path_conv.check.  Return fh == NULL on path_conv error.  Pass unit to set_name
as appropriate.
(dtable::reset_unix_path_name): New method.
* dtable.h (dtable): Declare new method.  Reflect arg changes to
build_fhandler.
* fhandler.cc (fhandler_disk_dummy_name): Eliminate.
(fhandler_base::set_name): Expect paths to be NULL.  Build unix_path_name from
win32_path_name when it is a device.
(fhandler_base::reset_unix_path_name): New method.
(fhandler_base::raw_read): Report EISDIR when ERROR_INVALID_FUNCTION or
ERROR_INVALID_PARAMETER and reading a directory.
(fhandler_disk_file::fstat): Don't call stat_dev since we should now never be
calling fhandler_disk_file methods with devices.
(fhandler_base::fhandler_base): Clear {unix,win32}_path_name.
(fhandler_base::~fhandler_base): Always free {unix,win32}_path_name.
(fhandler_disk_file::fhandler_disk_file): Remove set_no_free_names kludge.
(fhandler_disk_file::open): Ditto.
* fhandler.h (fhandler_base::no_free_names): Eliminate.
(fhandler_base::set_no_free_names): Ditto.
* fhandler_tty.cc (fhandler_tty_slave::fhandler_tty_slave): Don't set
unix_path_name here.
* path.cc (fchdir): Lock fd table throughout.  Use new
dtable::reset_unix_path_name method to reset path.
* syscalls.cc (stat_worker): Reorganize to always call fstat method.  Pass
path_conv method to fhandler_*::open.
(chroot): Elminate a goto.

22 years ago * elf32-sh.c (sh_elf_howto_table, R_SH_REL32): Make
hp [Mon, 1 Oct 2001 00:16:26 +0000 (00:16 +0000)]
* elf32-sh.c (sh_elf_howto_table, R_SH_REL32): Make
partial_inplace, matching assembler output.  Set src_mask to
all ones.
(sh_elf_relocate_section): Delete misplaced comment.
For relocatable linking against section symbol, call
_bfd_relocate_contents for partial_inplace relocs and adjust
rel->r_addend for others.
<case R_SH_DIR32, R_SH_REL32>: Fetch partial_inplace addend with
bfd_get_32, not at rel->r_addend.

22 years ago * config/tc-sh.h (MD_PCREL_FROM_SECTION): Define.
hp [Mon, 1 Oct 2001 00:08:34 +0000 (00:08 +0000)]
* config/tc-sh.h (MD_PCREL_FROM_SECTION): Define.
(md_pcrel_from_section): Prototype.

22 years ago * config/tc-sh.c (md_pcrel_from_section): Transformed from
hp [Mon, 1 Oct 2001 00:06:56 +0000 (00:06 +0000)]
* config/tc-sh.c (md_pcrel_from_section): Transformed from
md_pcrel_from.  Handle pc-relativeness against link-time
symbol.  Handle relativeness to elsewhere than the fixup.

22 years ago*** empty log message ***
gdbadmin [Mon, 1 Oct 2001 00:00:05 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago * Makefile.am: Update dependencies with "make dep-am".
hp [Sun, 30 Sep 2001 22:22:05 +0000 (22:22 +0000)]
* Makefile.am: Update dependencies with "make dep-am".
* Makefile.in: Regenerate.

22 years ago* environ.cc (winenv): Allocate exact amount of space needed for forced windows
cgf [Sun, 30 Sep 2001 21:37:53 +0000 (21:37 +0000)]
* environ.cc (winenv): Allocate exact amount of space needed for forced windows
environment variable rather than just using MAX_PATH.

22 years ago* Makefile.in: Depend on stamp to ensure rebuilding. Remove stamp file when
cgf [Sun, 30 Sep 2001 21:10:37 +0000 (21:10 +0000)]
* Makefile.in: Depend on stamp to ensure rebuilding.  Remove stamp file when
we've just built the DLL.

22 years ago2001-09-30 John Healy <jhealy@redhat.com>
jhealy [Sun, 30 Sep 2001 20:06:37 +0000 (20:06 +0000)]
2001-09-30  John Healy  <jhealy@redhat.com>

        * cgen-ibld.in (insert_1): Switched bfd_get_bits and bfd_set_bits
        calls to cgen_get_insn_value and cgen_put_insn_value calls.
        (extract_1): Switched bfd_get_bits call to cgen_get_insn_value call.

22 years ago * Makefile.am: Update dependencies with "make dep-am".
hp [Sun, 30 Sep 2001 19:53:06 +0000 (19:53 +0000)]
* Makefile.am: Update dependencies with "make dep-am".
* Makefile.in: Regenerate.

22 years ago * Makefile.am: Update dependencies with "make dep-am".
hp [Sun, 30 Sep 2001 18:54:18 +0000 (18:54 +0000)]
* Makefile.am: Update dependencies with "make dep-am".
* Makefile.in: Regenerate.

22 years ago* gdbarch.sh (gdbarch_alloc): Name the new architecture
cagney [Sun, 30 Sep 2001 16:54:28 +0000 (16:54 +0000)]
* gdbarch.sh (gdbarch_alloc): Name the new architecture
``current_gdbarch'' so that it, and not the identically named
global is refered to by macros.
* gdbarch.c: Regenerate.

22 years ago* cli/cli-decode.c (add_set_boolean_cmd): Define.
cagney [Sun, 30 Sep 2001 16:16:16 +0000 (16:16 +0000)]
* cli/cli-decode.c (add_set_boolean_cmd): Define.
* cli/cli-decode.h (add_set_boolean_cmd): Declare.
* command.h (add_set_boolean_cmd): Ditto.
* remote.c (_initialize_remote): Use add_set_boolean_cmd for "set
remotebreak"

22 years ago * Makefile.am: Update dependencies with "make dep-am".
hp [Sun, 30 Sep 2001 15:55:46 +0000 (15:55 +0000)]
* Makefile.am: Update dependencies with "make dep-am".
* Makefile.in: Regenerate.

22 years agoMon Oct 1 00:34:00 2001 Robert Collins <rbtcollins@hotmail.com>
rbcollins [Sun, 30 Sep 2001 14:39:55 +0000 (14:39 +0000)]
Mon Oct  1 00:34:00 2001  Robert Collins <rbtcollins@hotmail.com>

        * thread.cc (pthread_cond_dowait): Hopefully eliminate a race on multiple thread
        wakeups.

22 years ago * config/tc-m68hc11.c (cmp_opcode): Define prototype.
ciceron [Sun, 30 Sep 2001 09:20:54 +0000 (09:20 +0000)]
* config/tc-m68hc11.c (cmp_opcode): Define prototype.
(print_opcode_format, skip_whites): Likewise.
(convert_branch, m68hc11_new_insn): Likewise.
(build_dbranch_insn, build_indexed_byte): Likewise.
(build_reg_mode, find, find_opcode): Likewise.
(print_insn_format): Fix call to print_opcode_format.
(md_assemble): Fix call to build_dbranch_insn.

22 years ago2001-09-29 H.J. Lu <hjl@gnu.org>
hjl [Sun, 30 Sep 2001 04:09:34 +0000 (04:09 +0000)]
2001-09-29  H.J. Lu  <hjl@gnu.org>

* gas/i386/i386.exp: Run 64bit tests only for "i*86-*-* and
x86_64-*-*.

22 years ago * elf.c (_bfd_elf_link_hash_copy_indirect): Set ind refcounts to
amodra [Sun, 30 Sep 2001 03:03:10 +0000 (03:03 +0000)]
* elf.c (_bfd_elf_link_hash_copy_indirect): Set ind refcounts to
the old dir refcount, so we indirectly set them to init_refcount.
Short-circuit asserts when we've just verified they are true.

22 years ago*** empty log message ***
gdbadmin [Sun, 30 Sep 2001 00:00:06 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago* gdbarch.sh (gdbarch_dump): Sort output.
cagney [Sat, 29 Sep 2001 22:35:52 +0000 (22:35 +0000)]
* gdbarch.sh (gdbarch_dump): Sort output.
* gdbarch.c: Regenerate.