OSDN Git Service
dj [Tue, 4 Sep 2001 21:33:55 +0000 (21:33 +0000)]
merge from gcc
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.
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.
cgf [Tue, 4 Sep 2001 20:48:45 +0000 (20:48 +0000)]
* thread.cc (InterlockedExchangePointer): Don't define if it already exists.
corinna [Tue, 4 Sep 2001 20:16:33 +0000 (20:16 +0000)]
* uname.cc (uname): Eliminate os specific retrieving of x86
processor type.
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.
cgf [Tue, 4 Sep 2001 18:19:33 +0000 (18:19 +0000)]
* winbase.h: Add missing closing parentheses to InterlockedExchangePointer
declaration.
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.
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.
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.
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.
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.
cgf [Tue, 4 Sep 2001 01:09:39 +0000 (01:09 +0000)]
* mount.cc (mount_commands): Don't write /cygdrive/u mount points.
gdbadmin [Tue, 4 Sep 2001 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
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.
cgf [Mon, 3 Sep 2001 20:36:52 +0000 (20:36 +0000)]
*** empty log message ***
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.
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.
corinna [Mon, 3 Sep 2001 19:06:58 +0000 (19:06 +0000)]
* dir.cc (opendir): Write version information to __d_dirent->d_version.
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.
corinna [Mon, 3 Sep 2001 16:39:49 +0000 (16:39 +0000)]
Add missing ChangeLog entries.
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.
corinna [Mon, 3 Sep 2001 16:33:53 +0000 (16:33 +0000)]
* libc/sys/cygwin/sys/dirent.h (struct dirent): Add `d_fd' member.
aj [Mon, 3 Sep 2001 07:29:50 +0000 (07:29 +0000)]
* emultempl/beos.em: Declare prototypes for comparions functions,
adjust definitions.
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.
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.
gdbadmin [Mon, 3 Sep 2001 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
gdbadmin [Sun, 2 Sep 2001 00:00:05 +0000 (00:00 +0000)]
*** empty log message ***
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.
cgf [Sat, 1 Sep 2001 19:58:40 +0000 (19:58 +0000)]
* mount.cc (main): Eliminate excess arguments in printf.
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.
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.
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.
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.
gdbadmin [Sat, 1 Sep 2001 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
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.
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.
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.
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.
echristo [Fri, 31 Aug 2001 21:21:54 +0000 (21:21 +0000)]
mips3264 support
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.
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.
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.
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.
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.
kevinb [Fri, 31 Aug 2001 19:58:40 +0000 (19:58 +0000)]
Don't let a branch unit nop terminate the prologue scan.
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.
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.
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.
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.
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.
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.
nickc [Fri, 31 Aug 2001 16:24:39 +0000 (16:24 +0000)]
amend entry to mention only 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.
nickc [Fri, 31 Aug 2001 16:16:14 +0000 (16:16 +0000)]
Fix off-by-one error whilst sweeping vtable relocs
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.
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.
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.
cgf [Fri, 31 Aug 2001 05:24:36 +0000 (05:24 +0000)]
minor wording change.
cgf [Fri, 31 Aug 2001 05:23:04 +0000 (05:23 +0000)]
space reduction.
cgf [Fri, 31 Aug 2001 05:17:47 +0000 (05:17 +0000)]
space reduction.
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.
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.
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.
jimb [Fri, 31 Aug 2001 00:36:22 +0000 (00:36 +0000)]
* symfile.c (load_command): Invalidate the overlay cache.
gdbadmin [Fri, 31 Aug 2001 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
jimb [Thu, 30 Aug 2001 23:57:06 +0000 (23:57 +0000)]
*** empty log message ***
kettenis [Thu, 30 Aug 2001 21:53:47 +0000 (21:53 +0000)]
* config/i386/xm-i386.h (HOST_BYTE_ORDER): Removed.
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.
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 .
law [Thu, 30 Aug 2001 20:38:35 +0000 (20:38 +0000)]
Nuts. Checked in wrong version of previous patch. Fixed.
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/
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.
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.
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.
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.
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.
cgf [Thu, 30 Aug 2001 13:37:23 +0000 (13:37 +0000)]
* include/winsock2.h: Remove "extra token" after #endif.
trix [Thu, 30 Aug 2001 12:48:35 +0000 (12:48 +0000)]
Fix for xty_ld symbols
nickc [Thu, 30 Aug 2001 12:19:49 +0000 (12:19 +0000)]
omitted in previous delta
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.
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.
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.
cagney [Thu, 30 Aug 2001 01:45:30 +0000 (01:45 +0000)]
Cleanups. Now passes!
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.
gdbadmin [Thu, 30 Aug 2001 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
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.
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.
dj [Wed, 29 Aug 2001 20:03:08 +0000 (20:03 +0000)]
merge from gcc
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.
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 *.
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.
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.
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.
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.
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.
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.
law [Wed, 29 Aug 2001 18:45:18 +0000 (18:45 +0000)]
Fix brown-paper-bag thinko in last change.
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.
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.