OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
22 years agomerge from gcc
dj [Tue, 4 Sep 2001 21:33:55 +0000 (21:33 +0000)]
merge from gcc

22 years ago * elf32-h8300.c (elf32_h8_relax_section): New function.
law [Tue, 4 Sep 2001 21:06:00 +0000 (21:06 +0000)]
    * elf32-h8300.c (elf32_h8_relax_section): New function.
        (elf32_h8_relax_delete_bytes): Likewise.
        (elf32_h8_symbol_address_p): Likewise.
        (elf32_h8_get_relocated_section_contents): Likewise.
        (bfd_elf32_bfd_relax_section): Define.
        (bfd_elf32_bfd_get_relocated_section_contents): Likewise.

22 years ago2001-09-04 Earnie Boyd <earnie@SF.Net>
earnie [Tue, 4 Sep 2001 20:56:23 +0000 (20:56 +0000)]
2001-09-04  Earnie Boyd  <earnie@SF.Net>

* lib/Makefile.in: Move the setting of variable libdir to after the
setting of exec_prefix since the value of libdir is dependant on it.

22 years ago* thread.cc (InterlockedExchangePointer): Don't define if it already exists.
cgf [Tue, 4 Sep 2001 20:48:45 +0000 (20:48 +0000)]
* thread.cc (InterlockedExchangePointer): Don't define if it already exists.

22 years ago * uname.cc (uname): Eliminate os specific retrieving of x86
corinna [Tue, 4 Sep 2001 20:16:33 +0000 (20:16 +0000)]
    * uname.cc (uname): Eliminate os specific retrieving of x86
processor type.

22 years ago2001-09-04 Jason Merrill <jason_merrill@redhat.com>
jjohnstn [Tue, 4 Sep 2001 19:05:43 +0000 (19:05 +0000)]
2001-09-04  Jason Merrill  <jason_merrill@redhat.com>

        * libc/sys/h8300hms/crt0.S: Support ELF initialization.

22 years ago* winbase.h: Add missing closing parentheses to InterlockedExchangePointer
cgf [Tue, 4 Sep 2001 18:19:33 +0000 (18:19 +0000)]
* winbase.h: Add missing closing parentheses to InterlockedExchangePointer
declaration.

22 years ago * elf32-h8300.c (special): New function.
law [Tue, 4 Sep 2001 17:29:36 +0000 (17:29 +0000)]
    * elf32-h8300.c (special): New function.
        (h8_elf_howto_table): Use it for SPECIAL_FUNCTION field in
        all relocations.
        (elf32_h8_final_link_relocate): Treat R_H8_DIR24A8 like 32bit
        relocations.  Fix problems with the true 24bit reloc R_H8_DIR24R8.
        Fix minor problems with 8bit and 16bit PC relative relocations.

22 years ago2001-09-01 Danny Smith <dannysmith@users.sourceforge.net>
earnie [Tue, 4 Sep 2001 14:57:51 +0000 (14:57 +0000)]
2001-09-01  Danny Smith  <dannysmith@users.sourceforge.net>

* include/shlobj.h (CFSTR_* ): Add new defines.
Thanks to: "Ron" <ron@debian.org> .
Unicode them.

22 years ago2001-09-04 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
corinna [Tue, 4 Sep 2001 10:45:54 +0000 (10:45 +0000)]
2001-09-04  Kazuhiro Fujieda  <fujieda@jaist.ac.jp>

        * fhandler_console.cc (fhandler_console::char_command): Save the cursor
        position relative to the top of the window.
        * fhandler_cc (fhandler_console::write): Ditto.

22 years ago2001-09-04 Ben Elliston <bje@redhat.com>
bje [Tue, 4 Sep 2001 03:43:07 +0000 (03:43 +0000)]
2001-09-04  Ben Elliston  <bje@redhat.com>

* gloss.h (do_sys_fstat): Declare.
(gloss32::get_halfword): Likewise.
(gloss32::set_halfword): Likewise.
* gloss.cxx (gloss32::syscall_trap): Handle libgloss::SYS_fstat.
(gloss32::get_halfword): New method.
(gloss32::set_halfword): Likewise.
(gloss32::do_sys_fstat): Likewise.

22 years ago * i386-dis.c (grps): Don't print the implicit al/ax/eax register
amodra [Tue, 4 Sep 2001 01:58:07 +0000 (01:58 +0000)]
* i386-dis.c (grps): Don't print the implicit al/ax/eax register
for opcode 0xf6 or 0xf7 forms of mul, imul, div, idiv insns.

22 years ago* mount.cc (mount_commands): Don't write /cygdrive/u mount points.
cgf [Tue, 4 Sep 2001 01:09:39 +0000 (01:09 +0000)]
* mount.cc (mount_commands): Don't write /cygdrive/u mount points.

22 years ago*** empty log message ***
gdbadmin [Tue, 4 Sep 2001 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago* mount.cc (longopts): Add mount-commands to options list.
cgf [Mon, 3 Sep 2001 22:02:54 +0000 (22:02 +0000)]
* mount.cc (longopts): Add mount-commands to options list.
(usage): Add mount-commands option.
(mount_commands): New function.  Write commands to recreate current mounts.

22 years ago*** empty log message ***
cgf [Mon, 3 Sep 2001 20:36:52 +0000 (20:36 +0000)]
*** empty log message ***

22 years ago2001-08-30 Jeff Holcomb <jeffh@redhat.com>
jeffh [Mon, 3 Sep 2001 19:54:32 +0000 (19:54 +0000)]
2001-08-30  Jeff Holcomb  <jeffh@redhat.com>

        * gdb.base/remote.c: Use a small buffer for targets with 16-bit
        ints.

22 years ago2001-09-03 Jeff Holcomb <jeffh@redhat.com>
jeffh [Mon, 3 Sep 2001 19:47:48 +0000 (19:47 +0000)]
2001-09-03  Jeff Holcomb  <jeffh@redhat.com>

        * configure.in: Enable libstdc++-v3 for h8300 targets.

22 years ago * dir.cc (opendir): Write version information to __d_dirent->d_version.
corinna [Mon, 3 Sep 2001 19:06:58 +0000 (19:06 +0000)]
    * dir.cc (opendir): Write version information to __d_dirent->d_version.

22 years ago * libc/sys/cygwin/sys/dirent.h (struct dirent): Add version number
corinna [Mon, 3 Sep 2001 19:04:04 +0000 (19:04 +0000)]
    * libc/sys/cygwin/sys/dirent.h (struct dirent): Add version number
        field.
        (__DIRENT_VERSION): New define.

22 years ago Add missing ChangeLog entries.
corinna [Mon, 3 Sep 2001 16:39:49 +0000 (16:39 +0000)]
Add missing ChangeLog entries.

22 years ago * cygwin.din: Add `dirfd'.
corinna [Mon, 3 Sep 2001 16:36:54 +0000 (16:36 +0000)]
    * cygwin.din: Add `dirfd'.
        * dir.cc (dirfd): New function.
        (opendir): Open a directory file descriptor and save it in
        __d_dirent->d_fd.
        (closedir): Close directory file descriptor.
        * include/cygwin/version.h: Bump API minor version to 44.

22 years ago * libc/sys/cygwin/sys/dirent.h (struct dirent): Add `d_fd' member.
corinna [Mon, 3 Sep 2001 16:33:53 +0000 (16:33 +0000)]
    * libc/sys/cygwin/sys/dirent.h (struct dirent): Add `d_fd' member.

22 years ago * emultempl/beos.em: Declare prototypes for comparions functions,
aj [Mon, 3 Sep 2001 07:29:50 +0000 (07:29 +0000)]
* emultempl/beos.em: Declare prototypes for comparions functions,
adjust definitions.

22 years ago * emultempl/aix.em: Add missing prototype.
aj [Mon, 3 Sep 2001 06:43:35 +0000 (06:43 +0000)]
* emultempl/aix.em: Add missing prototype.
* emultempl/lnk960.em: Likewise.
* emultempl/vanilla.em: Likewise.
* emultempl/armcoff.em: Likewise.
* emultempl/armelf_oabi.em: Likewise.
* emultempl/beos.em: Likewise.
* emultempl/gld960c.em: Likewise.
* emultempl/gld960.em: Likewise.

* emulparams/elf64alpha.sh (PARSE_AND_LIST_PROLOGUE): Add parameter
for prototype declaration.

22 years ago* child_info.h: Modify magic number.
cgf [Mon, 3 Sep 2001 02:13:05 +0000 (02:13 +0000)]
* child_info.h: Modify magic number.
* dcrt0.cc (_cygwin_testing): Define.
(_dll_crt0): Set _cygwin_testing if CYGWIN_TESTING environment variable exists.
Don't issue "conflicting versions" error if _cygwin_testing is true.
* shared.cc (shared_name): Use _cygwin_testing global rather than testing the
environment.
* syscalls.cc (_write): Remove debugging info.

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

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

22 years agoMake GDB use libiberty regex implementation.
kettenis [Sat, 1 Sep 2001 21:38:05 +0000 (21:38 +0000)]
Make GDB use libiberty regex implementation.
* gdb_regex.h: Normalize protection against multiple inclusion.
Include "xregex.h" instead of "gnu-regex.h".
* cli/cli-cmds.c: Include "gdb_regex.h" instead of "gnu-regex.h".
* cli/cli-decode.c: Likewise.
* Makefile.in (REGEX): Remove.
(GDB_CFLAGS): Remove reference to gnu-regex.h in comment.
(ADD_FILES, ADD_DEPS): Remove $(REGEX).
(POSSLIBS): Remove.
(TAGFILES_NO_SRCDIR): Remove $(POSSLIBS).
(irix5-nat.o, solib.o, solib-svr4.o, source.o, symtab.o,
xcoffsolib.o, cli-decode.o, cli-cmd.o): Replace gnu-regex.h with
gdb_regex.h in list of dependencies.
(gnu-regex.o): Remove rule.
* gnu-regex.c, gnu-regex.h: Remove files.

22 years ago* mount.cc (main): Eliminate excess arguments in printf.
cgf [Sat, 1 Sep 2001 19:58:40 +0000 (19:58 +0000)]
* mount.cc (main): Eliminate excess arguments in printf.

22 years ago* include/winnt.h: Use defined(_ANONYMOUS_STRUCT) to determine if anonymous
cgf [Sat, 1 Sep 2001 14:42:57 +0000 (14:42 +0000)]
* include/winnt.h: Use defined(_ANONYMOUS_STRUCT) to determine if anonymous
structs are available rather than just testing preprocessor variable directly.

22 years ago * vms-tir.c: Add missing prototypes.
aj [Sat, 1 Sep 2001 10:29:26 +0000 (10:29 +0000)]
* vms-tir.c: Add missing prototypes.
* vms-hdr.c: Likewise.
* vms-gsd.c: Likewise.
* vms-misc.c: Likewise.

22 years ago* tty.cc (tty::create_inuse): Eliminate unneeded argument.
cgf [Sat, 1 Sep 2001 05:38:46 +0000 (05:38 +0000)]
* tty.cc (tty::create_inuse): Eliminate unneeded argument.
* tty.h: Reflect above change.
* fhandler_tty.cc: Reflect argument reduction in tty::create_inuse, throughout.
Always make inuse inheritable.

22 years ago* debug.cc (mark_closed): Rename from debug_mark_closed and make static.
cgf [Sat, 1 Sep 2001 05:17:33 +0000 (05:17 +0000)]
* debug.cc (mark_closed): Rename from debug_mark_closed and make static.
(setclexec_pid): New function for marking saved handle as close-on-exec.
(delete_handle): New function.
(debug_fixup_after_fork): New function.
* debug.h: Declare new functions, remove obsolete ones.
* fork.cc (debug_fixup_after_fork): Call to cleanup close-on-exec handles.
* fhandler.cc (fhandler_disk_file::close): Minor reorg.
(fhandler_base::set_inheritance): Set flag appropriately for debugging when
close-on-exec so forked process can delete closed handles.
* tty.h (open_output_mutex): Eliminate unneeded argument.
(open_input_mutex): Ditto.
* fhandler_tty.cc (fhandler_tty_slave::open): reflect open_*_mutex argument
changes.
* fhandler.h (fhandler_socket): Make saw_shutdown_* functions type bool.
* tty.cc (tty::get_event): Eliminate unneeded argument.
(tty::common_init): Reflect change to get_event.  Events should always be
inherited.

22 years ago*** empty log message ***
gdbadmin [Sat, 1 Sep 2001 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago * config/tc-h8300.c (build_bytes): For OBJ_ELF, make relocation's
law [Fri, 31 Aug 2001 22:43:55 +0000 (22:43 +0000)]
    * config/tc-h8300.c (build_bytes): For OBJ_ELF, make relocation's
        offset match H8 ELF spec.
        (md_section_align): Alternate implementation for BFD_ASSEMBLER.
        (md_apply_fix): Fix argument and return types for BFD_ASSEMBLER.

22 years ago2001-08-31 H.J. Lu <hjl@gnu.org>
hjl [Fri, 31 Aug 2001 21:41:08 +0000 (21:41 +0000)]
2001-08-31  H.J. Lu  <hjl@gnu.org>

* elf32-mips.c (_bfd_mips_elf_check_relocs): Report filename
with bad relocation.

22 years ago2001-08-31 Eric Christopher <echristo@redhat.com>
echristo [Fri, 31 Aug 2001 21:28:05 +0000 (21:28 +0000)]
2001-08-31  Eric Christopher  <echristo@redhat.com>
    Jason Eckhardt  <jle@redhat.com>

* ldmain.c (get_emulation): Add support for -mips32 and -mips64.

22 years ago2001-08-31 Eric Christopher <echristo@redhat.com>
echristo [Fri, 31 Aug 2001 21:24:27 +0000 (21:24 +0000)]
2001-08-31  Eric Christopher  <echristo@redhat.com>
    Jason Eckhardt  <jle@redhat.com>

* bfd/archures.c: Add mipsisa32 and mipsisa64. Remove mips32,
mips32_4k and mips64.
* bfd/aoutx.h: Remove bfd_mach_mips32, bfd_mach_mips32_4k,
bfd_mach_mips64.  Add bfd_mach_mipsisa32, bfd_mach_mipsisa64.
* bfd/cpu-mips.c: Ditto.
* bfd/elf32-mips.c (_bfd_mips_elf_final_write_processing): Ditto.
* bfd/bfd-in2.h: Regenerate.

22 years agomips3264 support
echristo [Fri, 31 Aug 2001 21:21:54 +0000 (21:21 +0000)]
mips3264 support

22 years ago2001-08-31 Eric Christopher <echristo@redhat.com>
echristo [Fri, 31 Aug 2001 21:15:00 +0000 (21:15 +0000)]
2001-08-31  Eric Christopher  <echristo@redhat.com>
    Jason Eckhardt    <jle@redhat.com>

* mips-dis.c: Add support for bfd_mach_mipsisa32 and
bfd_mach_mipsisa64. Remove bfd_mach_mips32, bfd_mach_mips32_4k,
bfd_mach_mips64.

22 years ago2001-08-31 Eric Christopher <echristo@redhat.com>
echristo [Fri, 31 Aug 2001 21:12:33 +0000 (21:12 +0000)]
2001-08-31  Eric Christopher  <echristo@redhat.com>
    Jason Eckhardt    <jle@redhat.com>

* mips-dis.c: Add support for bfd_mach_mipsisa32 and
bfd_mach_mipsisa64. Remove bfd_mach_mips32, bfd_mach_mips32_4k,
bfd_mach_mips64.

22 years ago2001-08-31 Eric Christopher <echristo@redhat.com>
echristo [Fri, 31 Aug 2001 21:06:40 +0000 (21:06 +0000)]
2001-08-31  Eric Christopher  <echristo@redhat.com>
    Jason Eckhardt  <jle@redhat.com>

* config/tc-mips.c (mips_cpu_info): Add support for mipsisa32,
5kc, and 20kc.  Clean up old entries.

22 years ago2001-03-30 Richard Henderson <rth@redhat.com>
echristo [Fri, 31 Aug 2001 20:18:48 +0000 (20:18 +0000)]
2001-03-30  Richard Henderson  <rth@redhat.com>
    Eric Christopher  <echristo@redhat.com>

* mips/crt0.S: Fix for .init/.fini sections.

22 years ago * tic54x-opc.c: Add default initializers to avoid warnings.
aj [Fri, 31 Aug 2001 20:05:23 +0000 (20:05 +0000)]
* tic54x-opc.c: Add default initializers to avoid warnings.

* arc-opc.c: Include "sysdep.h" to get stdio.h as include file.
* arc-ext.c: Likewise.

22 years agoDon't let a branch unit nop terminate the prologue scan.
kevinb [Fri, 31 Aug 2001 19:58:40 +0000 (19:58 +0000)]
Don't let a branch unit nop terminate the prologue scan.

22 years ago * security.cc (create_token): Change initialization of `exp' to comply
corinna [Fri, 31 Aug 2001 19:48:34 +0000 (19:48 +0000)]
   * security.cc (create_token): Change initialization of `exp' to comply
        with new LARGE_INTEGER definition in winnt.h.

22 years ago * include/winnt.h: Change definition of `SYSTEM_LUID' to comply
corinna [Fri, 31 Aug 2001 19:48:04 +0000 (19:48 +0000)]
    * include/winnt.h: Change definition of `SYSTEM_LUID' to comply
        with new `LARGE_INTEGER' definition.

22 years ago2001-08-30 Richard Henderson <rth@redhat.com>
echristo [Fri, 31 Aug 2001 19:22:51 +0000 (19:22 +0000)]
2001-08-30  Richard Henderson  <rth@redhat.com>
    Eric Christopher  <echristo@redhat.com>

* mips/idt.ld: Rewrite for .init/.fini sections.

22 years ago * elf64-alpha.c (elf64_alpha_relocate_section): Duplicate memory
jakub [Fri, 31 Aug 2001 19:20:12 +0000 (19:20 +0000)]
* elf64-alpha.c (elf64_alpha_relocate_section): Duplicate memory
value into R_ALPHA_RELATIVE's addend.
(elf64_alpha_finish_dynamic_symbol): Likewise.

22 years ago* cygwin.sc: Revert to previous NO_COPY behavior.
cgf [Fri, 31 Aug 2001 18:16:16 +0000 (18:16 +0000)]
* cygwin.sc: Revert to previous NO_COPY behavior.
* winsup.h: Ditto.
* sigproc.cc: Ditto.
* autoload.cc: Ditto.

22 years ago * tc-h8300.c (relocation mappings): Remove. Moved to tc-h8300.h.
law [Fri, 31 Aug 2001 17:43:50 +0000 (17:43 +0000)]
    * tc-h8300.c (relocation mappings): Remove.  Moved to tc-h8300.h.
        (build_bytes): Mark fixups for PCrel branches as signed.  For
        OBJ_ELF, make sure the reloc's offset points to the first byte
        to be modified.
        (md_convert_frag): Update definiton based on BFD_ASSEMBLER.
        * tc-h8300.h (relocation mappings): Add.

22 years agoamend entry to mention only if not USE_REL
nickc [Fri, 31 Aug 2001 16:24:39 +0000 (16:24 +0000)]
amend entry to mention only if not USE_REL

22 years agoDo not rightshift recomputed addend during relocatable link if not USE_REL.
nickc [Fri, 31 Aug 2001 16:23:25 +0000 (16:23 +0000)]
Do not rightshift recomputed addend during relocatable link if not USE_REL.

22 years agoFix off-by-one error whilst sweeping vtable relocs
nickc [Fri, 31 Aug 2001 16:16:14 +0000 (16:16 +0000)]
Fix off-by-one error whilst sweeping vtable relocs

22 years ago * emultempl/pe.em: Add missing prototypes.
aj [Fri, 31 Aug 2001 13:30:12 +0000 (13:30 +0000)]
* emultempl/pe.em: Add missing prototypes.
(gld_${EMULATION_NAME}_after_open): Remove extra args to
pe_find_data_imports.
(pr_sym): Add unused attribute.

22 years ago2001-08-30 Eric Christopher <echristo@redhat.com>
echristo [Fri, 31 Aug 2001 06:37:19 +0000 (06:37 +0000)]
2001-08-30  Eric Christopher  <echristo@redhat.com>
    Jason Eckhardt  <jle@redhat.com>

* config.sub: Add support for mipsisa32.

22 years ago2001-08-30 Eric Christopher <echristo@redhat.com>
echristo [Fri, 31 Aug 2001 05:45:40 +0000 (05:45 +0000)]
2001-08-30  Eric Christopher  <echristo@redhat.com>

* config.sub, config.guess: Import latest from subversions.

22 years agominor wording change.
cgf [Fri, 31 Aug 2001 05:24:36 +0000 (05:24 +0000)]
minor wording change.

22 years agospace reduction.
cgf [Fri, 31 Aug 2001 05:23:04 +0000 (05:23 +0000)]
space reduction.

22 years agospace reduction.
cgf [Fri, 31 Aug 2001 05:17:47 +0000 (05:17 +0000)]
space reduction.

22 years ago* cygwin.sc: New file -- linker script for building cygwin DLL.
cgf [Fri, 31 Aug 2001 05:06:13 +0000 (05:06 +0000)]
* cygwin.sc: New file -- linker script for building cygwin DLL.
* Makefile.in: Use linker script to control location of cygheap.
* cygheap.cc (buckets): Make static.
(init_cheap): Remove special iswinnt handling.  Allocate cygheap at a fixed
location.  Display more info when allocation fails.
(cygheap_fixup_in_child): Try harder to move cygheap to correct location.
Display more info when allocation fails.
* fhandler.h (fhandler_socket): Add macros for tracking socket shutdown state.
* net.cc (cygwin_shutdown): Set appropriate shutdown value for future use.
* select.cc (select_stuff::cleanup): New method.
(cygwin_select): Call cleanup explicitly to avoid a race.
(select_stuff:~select_stuff): Call cleanup chain via cleanup method.
(fhandler_socket::select_read): Set *_ready when shutdown has been called on
the socket.
(fhandler_socket::select_write): Ditto.
(fhandler_socket::select_except): Ditto.
* winsup.h: Move NO_COPY to "COMMON" section.
* autoload.cc (wsock_started): Avoid initializing NO_COPY value.
* sigproc.cc: Remove initialization from NO_COPY variables.
(sigproc_init): Initialize sig_loop_wait here, rather than via initialization.
(subproc_init): Initialize proc_loop_wait here, rather than via initialization.

22 years ago* gdb.texinfo (`add-symbol-file'): Correct synopsis.
jimb [Fri, 31 Aug 2001 01:24:24 +0000 (01:24 +0000)]
* gdb.texinfo (`add-symbol-file'): Correct synopsis.
Explain what it means to load relocatable files.

22 years ago* symfile.c (sections_overlap): New function.
jimb [Fri, 31 Aug 2001 00:40:44 +0000 (00:40 +0000)]
* symfile.c (sections_overlap): New function.
(map_overlay_command): Call sections_overlap, instead of using
incorrect logic to recognize overlapping sections.

22 years ago* symfile.c (load_command): Invalidate the overlay cache.
jimb [Fri, 31 Aug 2001 00:36:22 +0000 (00:36 +0000)]
* symfile.c (load_command): Invalidate the overlay cache.

22 years ago*** empty log message ***
gdbadmin [Fri, 31 Aug 2001 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago*** empty log message ***
jimb [Thu, 30 Aug 2001 23:57:06 +0000 (23:57 +0000)]
*** empty log message ***

22 years ago* config/i386/xm-i386.h (HOST_BYTE_ORDER): Removed.
kettenis [Thu, 30 Aug 2001 21:53:47 +0000 (21:53 +0000)]
* config/i386/xm-i386.h (HOST_BYTE_ORDER): Removed.

22 years ago2001-08-30 H.J. Lu <hjl@gnu.org>
hjl [Thu, 30 Aug 2001 21:26:26 +0000 (21:26 +0000)]
2001-08-30  H.J. Lu  <hjl@gnu.org>

* elf32-mips.c (mips_elf_calculate_relocation): Revert the last
2 changes.
(_bfd_mips_elf_adjust_dynamic_symbol): Allocate dynamic
relocations for weak definitions.

22 years ago * gas/h8300/h8300.exp (do_h8300_cbranch): Remove invocation.
amylaar [Thu, 30 Aug 2001 21:08:43 +0000 (21:08 +0000)]
* gas/h8300/h8300.exp (do_h8300_cbranch): Remove invocation.
(do_h8300_branch, do_h8300h_cbranch, do_h8300h_branch): Likewise.
(do_h8300s_cbranch, do_h8300s_branch, ffxx1): Likwise.
* gas/h8300/h8300-coff.exp, gas/h8300/h8300-elf.exp: New files.
* gas/h8300/branch-elf.s, gas/h8300/branchh-elf.s: Likewise.
* gas/h8300/branchs-elf.s, gas/h8300/ffxx1-elf.d: Likewise.
* gas/h8300/ffxx1-elf.s: Likewise.
* gas/h8300/branch.s, gas/h8300/branchh.s: Move to:
* gas/h8300/branch-coff.s, gas/h8300/branchh-coff.s
* gas/h8300/branchs.s, gas/h8300/ffxx1.d: Move to:
* gas/h8300/branchs-coff.s, gas/h8300/ffxx1-coff.d .
* gas/h8300/ffxx1.s: Move to:
* gas/h8300/ffxx1-coff.s .

22 years agoNuts. Checked in wrong version of previous patch. Fixed.
law [Thu, 30 Aug 2001 20:38:35 +0000 (20:38 +0000)]
Nuts.  Checked in wrong version of previous patch.  Fixed.

22 years agoThu Aug 30 12:05:13 2001 J"orn Rennecke <amylaar@redhat.com>
law [Thu, 30 Aug 2001 20:15:05 +0000 (20:15 +0000)]
Thu Aug 30 12:05:13 2001  J"orn Rennecke <amylaar@redhat.com>

        * tc-h8300.c (tc_crawl_symbol_chain, tc_headers_hook): Don't
        define for BFD_ASSEMBLER.
        (tc_reloc_mangle): Likewise.
        (tc_gen_reloc): New function for BFD_ASSEMBLER.
More of Joern's patches with minor changes s/OBJ_ELF/BFD_ASSEMBLER/

22 years ago* dumper.h: Update copyright notice.
duda [Thu, 30 Aug 2001 16:47:50 +0000 (16:47 +0000)]
* dumper.h: Update copyright notice.
* dumper.cc: Ditto.
* dumper.cc: (dumper::print_core_section_list): New function.
* dumper.h: (dumper::print_core_section_list): Declare it.
* dumper.cc (print_section_name): New function.
(dumper::collect_process_information): Augment debugging output.
Stop debugee processing if it posts double exception.
(usage): Fix typo in option name.

22 years ago * README: Update documentation to reflect recent changes.
kseitz [Thu, 30 Aug 2001 16:36:13 +0000 (16:36 +0000)]
* README: Update documentation to reflect recent changes.
* browser.exp: Load the insight testsuite support library.
* c_variable.exp: Likewise.
* console.exp: Likewise.
* cpp_variable.exp: Likewise.
* srcwin.exp: Likewise.

22 years ago * lib/gdb.exp: Move all insight-related functionality into
kseitz [Thu, 30 Aug 2001 16:34:03 +0000 (16:34 +0000)]
* lib/gdb.exp: Move all insight-related functionality into
separate file.
* lib/insight-support.exp: New file.

22 years ago2001-08-30 H.J. Lu <hjl@gnu.org>
hjl [Thu, 30 Aug 2001 16:02:39 +0000 (16:02 +0000)]
2001-08-30  H.J. Lu  <hjl@gnu.org>

* Makefile.am (BFD32_BACKENDS): Add elf32-h8300.lo.
(BFD32_BACKENDS_CFILES): Add elf32-h8300.c.
* Makefile.in: Rebuild.

22 years ago2001-08-30 H.J. Lu <hjl@gnu.org>
hjl [Thu, 30 Aug 2001 15:24:17 +0000 (15:24 +0000)]
2001-08-30  H.J. Lu  <hjl@gnu.org>

* elf32-mips.c (mips_elf_calculate_relocation): Don't create
dynamic relocation for undefined weak symbols when creating
executables. Check h->root.root.type, instead of h->root.type.

22 years ago* include/winsock2.h: Remove "extra token" after #endif.
cgf [Thu, 30 Aug 2001 13:37:23 +0000 (13:37 +0000)]
* include/winsock2.h: Remove "extra token" after #endif.

22 years agoFix for xty_ld symbols
trix [Thu, 30 Aug 2001 12:48:35 +0000 (12:48 +0000)]
Fix for xty_ld symbols

22 years agoomitted in previous delta
nickc [Thu, 30 Aug 2001 12:19:49 +0000 (12:19 +0000)]
omitted in previous delta

22 years ago * select.cc (select_read): Add setting read_ready flag.
corinna [Thu, 30 Aug 2001 08:21:09 +0000 (08:21 +0000)]
    * select.cc (select_read): Add setting read_ready flag.
        (select_write): Add setting write_ready flag.

22 years ago * config.guess: Remove the \r from the end of line.
earnie [Thu, 30 Aug 2001 04:29:48 +0000 (04:29 +0000)]
* config.guess: Remove the \r from the end of line.
* config.sub: Ditto.
* include/winnt.h: Allow anonymous struct in [U]LARGE_INTEGER
if __cplusplus as well as if _ANONYMOUS_STRUCT.
* config.guess: Add the MSYS system.
* config.sub: Ditto.
* include/winsock.h: Add the __INSIDE_MSYS__ protections.
* incldue/winsock2.h: Ditto.

22 years ago * elf32-h8300.c (h8_elf_howto_table): Add new PC relative
law [Thu, 30 Aug 2001 02:15:57 +0000 (02:15 +0000)]
* elf32-h8300.c (h8_elf_howto_table): Add new PC relative
relocations.
(h8_reloc_map): Similarly.
(elf32_h8_final_link_relocate): Remove incorrect overflow tests.
Add support for PC relative relocations.

22 years agoCleanups. Now passes!
cagney [Thu, 30 Aug 2001 01:45:30 +0000 (01:45 +0000)]
Cleanups.  Now passes!

22 years ago * elf32-h8300.c: Put all prototypes together.
law [Thu, 30 Aug 2001 00:08:12 +0000 (00:08 +0000)]
    * elf32-h8300.c: Put all prototypes together.
        (elf32_h8_info_to_howto): Parameter elf_reloc is used.
        (elf32_h8_final_link_relocate): New function for linker.
        (elf32_h8_relocate_section): Similarly.
        (elf_backend_relocate_section): Define.

22 years ago*** empty log message ***
gdbadmin [Thu, 30 Aug 2001 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago* gdb/sid connect fix, etc.
fche [Wed, 29 Aug 2001 20:36:05 +0000 (20:36 +0000)]
* gdb/sid connect fix, etc.

2001-08-29  Frank Ch. Eigler  <fche@redhat.com>

        * config/sid.exp (sid_start): Never set sid verbosity; disable
        expect_background {} that consumed its stdout; tolerate </dev/null.
        Attempt to set endianness override in "sid" protocol mode.  Cleanup.

22 years ago2001-08-29 Joel Sherrill <joel@OARcorp.com>
jjohnstn [Wed, 29 Aug 2001 20:09:31 +0000 (20:09 +0000)]
2001-08-29  Joel Sherrill <joel@OARcorp.com>

        * libc/include/sys/unistd.h: Prototype chroot() for RTEMS.

2001-08-29  Ralf Corsepius <corsepiu@faw.uni-ulm.de>

        * libc/machine/i386/f_atan2.S, libc/machine/i386/f_atan2f.S,
          libc/machine/i386/f_exp.c, libc/machine/i386/f_expf.c,
          libc/machine/i386/f_frexp.S, libc/machine/i386/f_frexpf.S,
          libc/machine/i386/f_ldexp.S, libc/machine/i386/f_ldexpf.S,
          libc/machine/i386/f_log.S, libc/machine/i386/f_log10.S,
          libc/machine/i386/f_log10f.S, libc/machine/i386/f_logf.S,
          libc/machine/i386/f_pow.c, libc/machine/i386/f_powf.c,
          libc/machine/i386/f_tan.S, libc/machine/i386/f_tanf.S:
        Add conditional compilation to avoid HW FPU instructions
        when compiled for soft-float.

22 years agomerge from gcc
dj [Wed, 29 Aug 2001 20:03:08 +0000 (20:03 +0000)]
merge from gcc

22 years ago2001-08-29 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Wed, 29 Aug 2001 19:55:20 +0000 (19:55 +0000)]
2001-08-29  Jeff Johnston  <jjohnstn@redhat.com>

        * Makefile.am: Add check for ln failing when creating libg.a
        so that cp gets used as a backup.
        * Makefile.in: Regenerated.

22 years ago2001-08-29 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Wed, 29 Aug 2001 19:47:42 +0000 (19:47 +0000)]
2001-08-29  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/sys/reent.h: Add include of <sys/_types.h>.
        No longer include time.h.  Add struct __tm to use for
        _localtime_buf in the reentrant structure.  Add a
        _NULL definition to use in initializing the reentrant struct.
        * libc/include/sys/config.h: For CYGWIN32 and RTEMS, change
        the _READ_WRITE_RETURN_TYPE to _ssize_t which is found in
        <sys/_types.h>.
        * libc/include/sys/unistd.h: Include <sys/_types.h>.
        * libc/time/lcltime.c (localtime): Cast the reentrant struct
        _localtime_buf to be struct tm *.

22 years agoApplied Daniel Jacobowitz's patch for reattaching in the presence of
kevinb [Wed, 29 Aug 2001 19:34:08 +0000 (19:34 +0000)]
Applied Daniel Jacobowitz's patch for reattaching in the presence of
remote SVR4 shared libraries.

22 years ago * tc-h8300.c: If OBJ_ELF, include elf/h8.h, and define
law [Wed, 29 Aug 2001 18:56:49 +0000 (18:56 +0000)]
    * tc-h8300.c: If OBJ_ELF, include elf/h8.h, and define
        assorted coff relocations to the corresponding elf relocations.
        * tc-h8300.h (TARGET_ARCH, TARGET_FORMAT): Define appropriately.
More of Joern's patches.

22 years ago * config/tc-h8300.c (h8300hmode): Record the machine type
law [Wed, 29 Aug 2001 18:50:56 +0000 (18:50 +0000)]
* config/tc-h8300.c (h8300hmode): Record the machine type
if BFD_ASSEMBLER is defined.
(h8300smode, md_begin): Similarly.

22 years ago2001-08-29 Joel Sherrill <joel@OARcorp.com>
pb [Wed, 29 Aug 2001 18:47:28 +0000 (18:47 +0000)]
2001-08-29  Joel Sherrill <joel@OARcorp.com>

* configure.tgt (i[3456]86-*-rtems*, m68*-*-rtems*): Change
default from coff to elf.

22 years ago2001-08-29 Joel Sherrill <joel@OARcorp.com>
pb [Wed, 29 Aug 2001 18:46:31 +0000 (18:46 +0000)]
2001-08-29  Joel Sherrill <joel@OARcorp.com>

* configure.tgt (i[3456]86-*-rtems*, m68*-*-rtems*): Change
default from coff to elf.

22 years ago2001-08-29 Joel Sherrill <joel@OARcorp.com>
pb [Wed, 29 Aug 2001 18:45:26 +0000 (18:45 +0000)]
2001-08-29  Joel Sherrill <joel@OARcorp.com>

* configure.in (i[3456]86-*-rtems*, m68*-*-rtems*): Change
default from coff to elf.
* configure: Regenerate.

22 years agoFix brown-paper-bag thinko in last change.
law [Wed, 29 Aug 2001 18:45:18 +0000 (18:45 +0000)]
Fix brown-paper-bag thinko in last change.

22 years ago * lib/gas-defs.exp: (regexp_diff) At verbosity 3, also show
law [Wed, 29 Aug 2001 18:11:19 +0000 (18:11 +0000)]
    * lib/gas-defs.exp: (regexp_diff) At verbosity 3, also show
        where mismatch occurs due to regexp mismatch.

Another patch from Joern.

22 years ago * configure.in: Add case for h8300-*-elf.
law [Wed, 29 Aug 2001 17:44:38 +0000 (17:44 +0000)]
* configure.in: Add case for h8300-*-elf.
* configure: Regenerate.

Checking in parts of Joern's patch.