Ian Lance Taylor [Tue, 22 Jul 1997 18:47:27 +0000 (18:47 +0000)]
Tue Jul 22 14:44:00 1997 Robert Hoehne <robert.hoehne@Mathematik.TU-Chemnitz.DE>
* Makefile.in: Change stamp-* files to s-* files. Use bfdt.texi
rather than bfd.texi.
(DOCFILES): Change bfd.texi to bfdt.texi.
* bfd.texinfo: Include bfdt.texi, not bfd.texi.
David Edelsohn [Tue, 22 Jul 1997 17:36:23 +0000 (17:36 +0000)]
* sim-n-core.h (sim_core_write_unaligned_N): Add missing break
to FORCED_ALIGNMENT case.
Ian Lance Taylor [Tue, 22 Jul 1997 17:26:52 +0000 (17:26 +0000)]
* config/tc-m68k.c (md_apply_fix_2): Check for PC relative reloc
code if BFD_ASSEMBLER.
PR 12926.
Martin Hunt [Tue, 22 Jul 1997 05:26:21 +0000 (05:26 +0000)]
Mon Jul 21 22:24:07 1997 Martin M. Hunt <hunt@cygnus.com>
* configure: Rebuilt.
Martin Hunt [Tue, 22 Jul 1997 05:24:01 +0000 (05:24 +0000)]
Mon Jul 21 22:24:07 1997 Martin M. Hunt <hunt@cygnus.com>
* aclocal.m4: Search for the correct tix library.
Stephen Peters [Mon, 21 Jul 1997 17:38:57 +0000 (17:38 +0000)]
Don't ignore grep when compiling on alpha-dec-osf.
Jeff Law [Mon, 21 Jul 1997 14:54:49 +0000 (14:54 +0000)]
* config/tc-v850.c (system_registers): Fix ordering of registers.
pr12913 (c/h from nec).
Ian Lance Taylor [Mon, 21 Jul 1997 03:06:42 +0000 (03:06 +0000)]
* sunos.c (sunos_create_dynamic_sections): Set SEC_LINKER_CREATED
flag for newly created sections.
(sunos_add_dynamic_symbols): Don't discard newly created sections
if shared library is dynobj.
Michael Snyder [Thu, 17 Jul 1997 18:45:11 +0000 (18:45 +0000)]
Thu Jul 17 11:38:46 1997 Michael Snyder (msnyder@cleaver.cygnus.com)
* partial-stab.h (case N_BINCL): detect missing partial symtab.
* dbxread.c: Add a complaint for N_BINCL without a corresponding
partial symtab. Remove earlier change of 5/27/97.
Michael Snyder [Wed, 16 Jul 1997 20:42:28 +0000 (20:42 +0000)]
Wed Jul 16 10:38:03 1997 Michael Snyder (msnyder@cleaver.cygnus.com)
* sol-thread.c (sol_thread_[store, fetch]_registers): if
inferior_pid is an LWP rather than a Solaris thread, let
procfs handle the request.
(rw_common, sol_thread_xfer_memory): procfs_xfer_memory will
only work if inferior_pid points to an LWP (rather than a
Solaris thread). Use procfs_first_available to find a good LWP.
(info_solthreads): added a maintenance command to list all
known Solaris threads and their attributes.
* mips-tdep.c (mips_do_registers_info): Completely changed the
output format to be neat and columnar. Added the helper funcs
do_fp_register_row and do_gp_register_row. Also small mods to
mips_print_register, which is still used to print a single reg.
Michael Snyder [Wed, 16 Jul 1997 19:16:07 +0000 (19:16 +0000)]
Wed Jul 16 10:38:03 1997 Michael Snyder (msnyder@cleaver.cygnus.com)
* sol-thread.c (sol_thread_[store, fetch]_registers): if
inferior_pid is an LWP rather than a Solaris thread, let
procfs handle the request.
(rw_common, sol_thread_xfer_memory): procfs_xfer_memory will
only work if inferior_pid points to an LWP (rather than a
Solaris thread). Use procfs_first_available to find a good LWP.
(info_solthreads): added a maintenance command to list all
known Solaris threads and their attributes.
Fred Fish [Wed, 16 Jul 1997 05:19:20 +0000 (05:19 +0000)]
* config/tc-tic80.c (build_insn): Initialize extended word to zero
when it will be filled in later by relocation information.
PR 12796
Brendan Kehoe [Tue, 15 Jul 1997 21:33:49 +0000 (21:33 +0000)]
* install-sh (chmodcmd): Set to null if the DST directory already
exists. Same as Nov 11th change.
Andrew Cagney [Tue, 15 Jul 1997 20:46:15 +0000 (20:46 +0000)]
Configure r5900 testsuite sub-directory.
Andrew Cagney [Tue, 15 Jul 1997 20:35:26 +0000 (20:35 +0000)]
Similistic configure/build scripts for tx59 simulator tests.
Andrew Cagney [Tue, 15 Jul 1997 20:25:09 +0000 (20:25 +0000)]
Generic tests for 5900.
David Edelsohn [Tue, 15 Jul 1997 20:04:40 +0000 (20:04 +0000)]
* gas/m32r/uppercase.[sd]: New testcase.
* gas/m32r/m32r.exp: New file.
David Edelsohn [Tue, 15 Jul 1997 20:02:47 +0000 (20:02 +0000)]
* cgen-opc.c: #include <ctype.h>.
(hash_keyword_name): New arg `case_sensitive_p'. Callers updated.
Handle case insensitive hashing.
(hash_keyword_value): Change type of `value' to unsigned int.
Ian Lance Taylor [Tue, 15 Jul 1997 17:03:15 +0000 (17:03 +0000)]
* config/tc-mips.c (macro_build): Restore check of fmt argument.
(mips_ip): Fix ISA checks.
Jeff Law [Tue, 15 Jul 1997 16:15:40 +0000 (16:15 +0000)]
* configure.tgt: Default the r5900 to little endian.
Jeff Law [Tue, 15 Jul 1997 16:13:18 +0000 (16:13 +0000)]
* configure.in: Default the r5900 to little endian.
* configure: Rebuilt.
Fred Fish [Tue, 15 Jul 1997 02:53:47 +0000 (02:53 +0000)]
* config/tc-tic80.c (build_insn): Fix endianness problem with
O_big operands.
PR 12765
Michael Snyder [Tue, 15 Jul 1997 01:05:10 +0000 (01:05 +0000)]
Mon Jul 14 18:02:53 1997 Michael Snyder (msnyder@cleaver.cygnus.com)
* procfs.c (wait_fd): Handle an fd that has "hung up" or
otherwise terminated (Solaris threads).
Ian Lance Taylor [Mon, 14 Jul 1997 22:35:27 +0000 (22:35 +0000)]
* elf.c (map_sections_to_segments): When checking whether
including a section in a segment would force us to skip a page,
align the address of the next segment to avoid wraparound
problems.
PR 12828.
Martin Hunt [Mon, 14 Jul 1997 20:18:16 +0000 (20:18 +0000)]
Mon Jul 14 11:01:15 1997 Martin M. Hunt <hunt@cygnus.com>
* configure (GDB_TK): Needs itcl and tix.
Andrew Cagney [Mon, 14 Jul 1997 16:53:04 +0000 (16:53 +0000)]
Standard simulator tests.
Jason Merrill [Mon, 14 Jul 1997 07:32:55 +0000 (07:32 +0000)]
* config.guess: Update from FSF.
For pc-linux-gnulibc1
Ian Lance Taylor [Mon, 14 Jul 1997 03:45:16 +0000 (03:45 +0000)]
* config/tc-mips.c (check_absolute_expr): Change warning to
error.
PR 12849.
Andrew Cagney [Fri, 11 Jul 1997 21:36:11 +0000 (21:36 +0000)]
Tests for mips r5900 instructions
Martin Hunt [Fri, 11 Jul 1997 18:58:56 +0000 (18:58 +0000)]
Fri Jul 11 11:57:11 1997 Martin M. Hunt <hunt@cygnus.com>
* Makefile.in (GDB_TK): Depend on itcl and tix.
Jeff Law [Fri, 11 Jul 1997 16:40:14 +0000 (16:40 +0000)]
* config/tc-mips.c (macro_build): Refine code to check if an
instruction is available on a particular cpu variant.
(mips_ip): Likewise.
toshiba 5900 stuff
Jeff Law [Fri, 11 Jul 1997 16:13:42 +0000 (16:13 +0000)]
* mips-opc.c (mips_builtin_opcodes): If an insn uses single
precision FP, mark it as such. Likewise for double precision
FP. Mark ISA1 insns. Consolidate duplicate opcodes where
possible.
(mips_builtin_opcodes): Remove non-existant r5900 instructions
toshiba_5900 stuff
Jeff Law [Fri, 11 Jul 1997 16:12:56 +0000 (16:12 +0000)]
* mips.h (FP_S, FP_D): Define. Bitmasks indicating if an insn
uses single or double precision floating point resources.
(INSN_NO_ISA, INSN_ISA1): Define.
(cpu specific INSN macros): Tweak into bitmasks outside the range
of INSN_ISA field.
toshiba_5900 stuff
Andrew Cagney [Fri, 11 Jul 1997 03:07:29 +0000 (03:07 +0000)]
Fix a number of problems in the r5900 specific p* (parallel) instructions.
In particular a host endian dependency one fixed resolved most problems.
Martin Hunt [Thu, 10 Jul 1997 07:15:26 +0000 (07:15 +0000)]
Thu Jul 10 00:02:41 1997 Martin M. Hunt <hunt@cygnus.com>
* Makefile.in, configure.in, aclocal.m4: Add Itcl, Tix, and
IDE configuration information.
* gdbtk.c (breakpoint_notify): Send address, linenumber and
filename when a breakpoint is set. Avoids call to bp_info.
(gdbtk_init): Call Tcl_FindExecutable(). Add code to handle
Itcl, Tix and IDE initialization.
* defs.h (init_ui_hook): Change prototype to accept one arg.
* main.c (gdb_init): Change prototype to accept one arg.
* top.c (gdb_init): Accepts one argument which it uses to
call (*init_ui_hook), which will be gdbtk_init(). This is
used for calling Tcl_FindExecutable().
* gdbtcl/breakpoint.tcl (gdbtk_tcl_breakpoint): Change to
accept variable number of args for compatibility with
cchanges in gdbtk.c.
* configure: Regenerated.
* gdbtcl/tclIndex: Regenerated.
Fred Fish [Wed, 9 Jul 1997 00:34:22 +0000 (00:34 +0000)]
Add coffswap.h to file list for TIc80 sanitization.
Fred Fish [Wed, 9 Jul 1997 00:19:41 +0000 (00:19 +0000)]
* coffcode.h (coff_write_object_contents): Initialize
target id field to TIC80_TARGET_ID.
* coffswap.h (coff_swap_filehdr_out): Swap out target id field
if used.
(coff_swap_filehdr_in): Swap in target id field if used.
Fred Fish [Tue, 8 Jul 1997 23:43:17 +0000 (23:43 +0000)]
> * tic80.h (TIC80_TARGET_ID): Add define.
> * internal.h (struct internal_filehdr): Add f_target_id field.
Ian Lance Taylor [Tue, 8 Jul 1997 02:57:50 +0000 (02:57 +0000)]
* config/tc-i386.c (tc_i386_fix_adjustable): Change ifndef
OBJ_AOUT to ifdef OBJ_ELF.
(md_apply_fix3): When mangling 32 bit PC relative reloc for
BFD_ASSEMBLER, handle one ELF case for COFF as well, and add a PE
case.
* write.c (fixup_segment): Change special case for i386-coff to
not apply for i386-pe.
* config/obj-coff.c (coff_adjust_section_syms): Only count fixups
which were not done.
(coff_frob_file_after_relocs): Rename from coff_frob_file.
(coff_format_ops): Initialize frob_file_after_relocs field rather
than frob_file field.
* config/obj-coff.h (coff_frob_file): Don't declare.
(coff_frob_file_after_relocs): Declare.
(obj_frob_file): Don't define.
(obj_frob_file_after_relocs): Define.
* configure.in: Set bfd_gas to yes for i386-*-cygwin32.
* configure: Rebuild.
Ian Lance Taylor [Mon, 7 Jul 1997 20:42:48 +0000 (20:42 +0000)]
* coff-i386.c (coff_i386_is_local_label_name): New static function
if TARGET_UNDERSCORE.
(coff_bfd_is_local_label_name): Define if TARGET_UNDERSCORE.
(i386coff_vec): Add SEC_CODE and SEC_DATA to section_flags.
Ian Lance Taylor [Mon, 7 Jul 1997 16:41:04 +0000 (16:41 +0000)]
From Manfred Hollstein <manfred@s-direktnet.de>:
* configure.host (i[3456]86-*-linux*libc1*): Renamed from
i[3456]86-*-linux*.
(i[3456]86-*-linux*): New host.
Ian Lance Taylor [Fri, 4 Jul 1997 18:54:57 +0000 (18:54 +0000)]
* source.c (OPEN_MODE, FDOPEN_MODE): Define; value depends upon
whether CRLF_SOURCE_FILES is defined.
(open_source_file): Use OPEN_MODE with open and openp.
(print_source_lines): Use FDOPEN_MODE with fdopen. If
CRLF_SOURCE_FILES is defined, ignore \r characters.
(forward_search_command): Use FDOPEN_MODE with fdopen.
(reverse_search_command): Likewise.
* config/i386/xm-cygwin32.h (CRLF_SOURCE_FILES): Define.
(LSEEK_NOT_LINEAR): Don't define.
Ian Lance Taylor [Fri, 4 Jul 1997 18:53:24 +0000 (18:53 +0000)]
* gdbint.texinfo (Host Conditionals): Add CRLF_SOURCE_LINES.
Document LSEEK_NOT_LINEAR.
Ian Lance Taylor [Fri, 4 Jul 1997 17:27:30 +0000 (17:27 +0000)]
* Makefile.in (INSTALL_PROGRAM_ARGS): New variable.
(INSTALL_PROGRAM): Use $(INSTALL_PROGRAM_ARGS).
(INSTALL_SCRIPT): New variable.
(BASE_FLAGS_TO_PASS): Pass down INSTALL_SCRIPT.
* configure.in: If host is *-*-cygwin32*, set INSTALL_PROGRAM_ARGS
to -x.
* install-sh: Add support for -x option.
Bob Manson [Fri, 4 Jul 1997 01:04:45 +0000 (01:04 +0000)]
* lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
if we can't get a debug format from GDB (we may be testing an
older GDB). Use a 10 second timeout when checking for the format.
* gdb.stabs/weird.exp: Fix quoting.
Michael Snyder [Fri, 4 Jul 1997 00:44:01 +0000 (00:44 +0000)]
Thu Jul 3 17:41:46 1997 Michael Snyder (msnyder@cleaver.cygnus.com)
* mips-tdep.c (mips_extract_return_value): align 4-byte float
return values within the 8-byte FP register.
Bob Manson [Thu, 3 Jul 1997 22:38:51 +0000 (22:38 +0000)]
* config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
Michael Snyder [Thu, 3 Jul 1997 20:50:11 +0000 (20:50 +0000)]
Thu Jul 3 13:48:11 1997 Michael Snyder (msnyder@cleaver.cygnus.com)
* mips-tdep.c (mips_push_arguments): don't left-adjust 32-bit
integers in 64-bit register parameters before function calls.
Andrew Cagney [Thu, 3 Jul 1997 07:44:38 +0000 (07:44 +0000)]
Sync powerpc simulator with public version. Enable FPSCR and string
instructions.
Jeff Law [Wed, 2 Jul 1997 18:41:22 +0000 (18:41 +0000)]
* gencode.c (build_instruction): Handle "pext5" according to
version 1.95 of the r5900 ISA.
Fixes pr12413 (c/h from toshiba).
Jeff Law [Wed, 2 Jul 1997 18:29:16 +0000 (18:29 +0000)]
* gencode.c (build_instruction): Handle "ppac5" according to
version 1.95 of the r5900 ISA.
fixes pr12407 (c/h from toshiba).
Jeff Law [Wed, 2 Jul 1997 18:13:00 +0000 (18:13 +0000)]
* interp.c (sim_engine_run): Reset the ZERO register to zero
regardless of FEATURE_WARN_ZERO.
Jeff Law [Wed, 2 Jul 1997 17:57:56 +0000 (17:57 +0000)]
* gencode.c (FEATURE_WARNINGS): Remove FEATURE_WARN_ZERO.
Fix for pr12402 (c/h from toshiba).
Ian Lance Taylor [Wed, 2 Jul 1997 16:05:55 +0000 (16:05 +0000)]
* config/obj-coff.c (fixup_segment): Never subtract section
address from PC relative reloc which will be fully resolved.
Jeff Law [Tue, 1 Jul 1997 21:22:38 +0000 (21:22 +0000)]
* ecoff.c (page_type): Renamed from page_t to avoid conflict
with hpux10 header files.
Bob Manson [Tue, 1 Jul 1997 01:33:58 +0000 (01:33 +0000)]
* config/arm-ice.exp: New file.
Michael Snyder [Tue, 1 Jul 1997 00:57:19 +0000 (00:57 +0000)]
Mon Jun 30 17:54:51 1997 Michael Snyder (msnyder@cleaver.cygnus.com)
* mips-tdep.c (mips_push_arguments): special-case handling for
odd-sized struct parameters passed in registers / on stack.
Michael Snyder [Mon, 30 Jun 1997 22:32:20 +0000 (22:32 +0000)]
Mon Jun 30 15:30:38 1997 Michael Snyder (msnyder@cleaver.cygnus.com)
* mips-tdep.c (mips_push_arguments): tweak alignment of small
structs passed in registers for little-endian non-EABI mode.
Michael Snyder [Mon, 30 Jun 1997 20:08:11 +0000 (20:08 +0000)]
Mon Jun 30 13:05:39 1997 Michael Snyder (msnyder@cleaver.cygnus.com)
* breakpoint.c (frame_in_dummy): use generic dummy if available.
(check_duplicates, clear_command): compare sections only if
doing overlay debugging.
Ian Lance Taylor [Mon, 30 Jun 1997 19:52:58 +0000 (19:52 +0000)]
* configure.in, Makefile.in: Treat tix like itcl.
Ian Lance Taylor [Mon, 30 Jun 1997 18:30:55 +0000 (18:30 +0000)]
* elf32-m68k.c (howto_table): Use complain_overflow_bitfield, not
complain_overflow_signed, for 32 bit PC relative relocations.
Ian Lance Taylor [Mon, 30 Jun 1997 16:38:17 +0000 (16:38 +0000)]
From Jason Merrill <jason@cygnus.com>:
* read.c (do_align): If BFD_ASSEMBLER, only use NOP_OPCODE if
SEC_CODE is set.
* config/tc-i386.h (md_maybe_text): Define.
(md_do_align): Use md_maybe_text.
Ian Lance Taylor [Mon, 30 Jun 1997 16:05:51 +0000 (16:05 +0000)]
finish upgrade to automake 1.2
Jeff Law [Mon, 30 Jun 1997 15:06:50 +0000 (15:06 +0000)]
* mips-opc.c (mips_builtin_opcodes): Add "pinteh", "pexeh" and
"pexew" as synonyms for "pintoh", "pexoh", "pexow".
pr12399.
Bob Manson [Mon, 30 Jun 1997 04:24:17 +0000 (04:24 +0000)]
* gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
until it has been modified to work with the new testsuite.
* gdb.*/*.exp: Instead of causing 1 unresolved test when the
testcase won't compile, cause all of the testcases in the file to
fail instead.
* lib/gdb.exp(gdb_suppress_entire_file): New procedure.
(gdb_clear_suppressed): New procedure.
(gdb_stop_suppressing_tests): Only clear suppress_flag if
it contains a positive value.
Bob Manson [Sun, 29 Jun 1997 23:26:33 +0000 (23:26 +0000)]
Check in correct file (config/m32r-stub.exp)
Bob Manson [Sun, 29 Jun 1997 04:05:41 +0000 (04:05 +0000)]
* lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
Ian Lance Taylor [Sun, 29 Jun 1997 03:21:56 +0000 (03:21 +0000)]
* aclocal.m4, configure, Makefile.in: Rebuild with automake 1.2.
Bob Manson [Sat, 28 Jun 1997 20:32:31 +0000 (20:32 +0000)]
* gdb.c++/virtfunc.exp: Remove setting of libs variable.
Fred Fish [Sat, 28 Jun 1997 06:10:06 +0000 (06:10 +0000)]
* buildsym.h (struct subfile): Add debugformat member.
(record_debugformat): Declare global function.
* buildsym.c (start_subfile): Initialize debugformat member
to NULL.
(record_debugformat): New function to record the format.
(end_symtab): Copy format into symtab debugformat member.
(end_symtab): Free subfile debugformat member.
* symmisc.c (free_symtab): Free debugformat when freeing
symtab.
* symfile.c (allocate_symtab): Initialize the new debugformat
member for new symtabs.
* symtab.h (struct symtab): Add debugformat member.
* source.c (source_info): Print the debug format.
* os9kread.c (os9k_process_one_symbol): Call record_debugformat
with "OS9".
* hpread.c (hpread_expand_symtab): Call record_debugformat
with "HP".
(hpread_process_one_debug_symbol): Ditto.
* dbxread.c (process_one_symbol): Call record_debugformat
with "stabs".
* coffread.c (coff_start_symtab): Call record_debugformat
with "COFF".
* xcoffread.c (read_xcoff_symtab): Call record_debugformat
with "XCOFF".
* dwarfread.c (read_file_scope): Call record_debugformat
with "DWARF 1".
* dwarf2read.c (read_file_scope): Call record_debugformat
with "DWARF 2".
* dstread.c (dst_end_symtab): Set debugformat to be
"Apollo DST".
* mdebugread.c (new_symtab): Set debugformat to be "ECOFF".
Fred Fish [Sat, 28 Jun 1997 06:03:43 +0000 (06:03 +0000)]
* lib/gdb.exp (setup_xfail_format): New function.
(get_debug_format): New function to get debug format.
(debug_format): New global variable to hold last value set
by get_debug_format.
* gdb.base/list.exp: Call get_debug_format and expect some
tests to fail for DWARF 1 and COFF formats.
* gdb.c++/ptype.exp: Ditto.
* gdb.c++/classes.exp: Ditto.
* gdb.c++/cplusfuncs.exp: Ditto.
* gdb.c++/inherit.exp: Ditto.
* gdb.c++/templates.exp: Ditto.
* gdb.c++/virtfunc.exp: Ditto.
Michael Snyder [Sat, 28 Jun 1997 04:07:56 +0000 (04:07 +0000)]
Fri Jun 27 21:05:45 1997 Michael Snyder (msnyder@cleaver.cygnus.com)
* mips-tdep.c (mips_push_arguments): handle alignment of
integer and struct args on stack for mips64 big-endian.
Michael Snyder [Sat, 28 Jun 1997 02:23:30 +0000 (02:23 +0000)]
Fri Jun 27 19:19:12 1997 Michael Snyder (msnyder@cleaver.cygnus.com)
* config/mips/tm-mips.h (USE_STRUCT_CONVENTION): MIPS_EABI returns
structs in a register wherever possible.
Michael Meissner [Fri, 27 Jun 1997 23:19:15 +0000 (23:19 +0000)]
Remove brokeness in PowerPC asm
Andrew Cagney [Fri, 27 Jun 1997 08:33:16 +0000 (08:33 +0000)]
Add test for dbt/rtd instructions
Ian Lance Taylor [Thu, 26 Jun 1997 19:27:42 +0000 (19:27 +0000)]
More tweaks. Add windres documentation.
Ian Lance Taylor [Thu, 26 Jun 1997 18:21:02 +0000 (18:21 +0000)]
* rcparse.y: Add a couple of missing semicolons (accepted by bison
but not byacc).
Ian Lance Taylor [Thu, 26 Jun 1997 18:00:57 +0000 (18:00 +0000)]
* Makefile.in (WINDRES): New variable.
(WINDRES_FOR_TARGET): New variable.
(BASE_FLAGS_TO_PASS): Add WINDRES_FOR_TARGET.
(EXTRA_HOST_FLAGS): Add WINDRES.
(EXTRA_TARGET_FLAGS): Add WINDRES.
(EXTRA_GCC_FLAGS): Add WINDRES.
($(DO_X)): Pass down WINDRES.
($(CONFIGURE_TARGET_MODULES)): Set WINDRES when configuring.
* configure: Treat WINDRES like DLLTOOL, and WINDRES_FOR_TARGET like
DLLTOOL_FOR_TARGET.
Ian Lance Taylor [Thu, 26 Jun 1997 17:54:35 +0000 (17:54 +0000)]
* scripttempl/pe.sc: Put .rsrc after .reloc. Put input .rsrc
sections in the output .rsrc section.
Ian Lance Taylor [Thu, 26 Jun 1997 17:53:57 +0000 (17:53 +0000)]
* windres.c (main): Quit if we didn't get any resources.
* rescoff.c (write_coff_file): Don't free the relocation array
until after we've closed the BFD.
Ian Lance Taylor [Thu, 26 Jun 1997 16:08:17 +0000 (16:08 +0000)]
* ld-elfvers/vers.exp: Use egrep rather than grep when looking for
an alternation. From Greg Margo <gmargo@dl.com>.
Ian Lance Taylor [Thu, 26 Jun 1997 16:06:03 +0000 (16:06 +0000)]
* elflink.h (elf_link_add_object_symbols): When a version
indirection symbol is overridden, make the original symbol point
at the real overriding symbol.
Ian Lance Taylor [Thu, 26 Jun 1997 15:40:41 +0000 (15:40 +0000)]
* elf.c (bfd_elf_string_from_elf_section): Check for an invalid
string index.
Ian Lance Taylor [Thu, 26 Jun 1997 05:27:56 +0000 (05:27 +0000)]
* elflink.h (elf_link_output_extsym): Use the right section for a
common symbol.
* elf32-mips.c (mips_elf_link_output_symbol_hook): If a common
symbol was in .scommon, mark it as SHN_MIPS_SCOMMON.
PR 12697.
Ian Lance Taylor [Thu, 26 Jun 1997 00:59:44 +0000 (00:59 +0000)]
* resbin.c: New file.
* rclex.l, rcparse.y, rescoff.c, resrc.c, windres.c, windres.h:
Numerous fixes and improvements.
* Makefile.in: Rebuild dependencies.
(CFILES): Add resbin.c.
(WINDRES_OBJS): Add resbin.o.
Felix Lee [Wed, 25 Jun 1997 22:35:14 +0000 (22:35 +0000)]
* ppc-opc.c (extract_nsi): make unsigned expression signed before
negating it.
(UNUSED): remove one level of parens, so MSVC doesn't choke on
nesting depth when all the macros are expanded.
Felix Lee [Wed, 25 Jun 1997 22:20:22 +0000 (22:20 +0000)]
* configure.in: configure sim before gdb for win32-x-ppc
Brendan Kehoe [Wed, 25 Jun 1997 19:24:03 +0000 (19:24 +0000)]
Move gperf into the toplevel, from libg++.
* configure.in (target_tools): Add target-gperf.
(native_only): Add target-gperf.
* Makefile.in (all-target-gperf): New target, depend on
all-target-libg++.
(configure-target-gperf): Empty rule.
(ALL_TARGET_MODULES): Add all-target-gperf.
(CONFIGURE_TARGET_MODULES): Add configure-target-gperf.
(CHECK_TARGET_MODULES): Add check-target-gperf.
(INSTALL_TARGET_MODULES): Add install-target-gperf.
(CLEAN_TARGET_MODULES): Add clean-target-gperf.
Ian Lance Taylor [Wed, 25 Jun 1997 16:49:19 +0000 (16:49 +0000)]
Wed Jun 25 12:48:41 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* configure.host (m68*-*-linux*libc1*): Renamed from
`m68*-*-linux*'.
(m68*-*-linux*): New configuration for use with GNU libc 2.
Ian Lance Taylor [Wed, 25 Jun 1997 16:47:59 +0000 (16:47 +0000)]
Wed Jun 25 12:47:22 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* ld-shared/shared.exp: Add setup_xfail for m68k-linux on tests
with non PIC shared libraries.
Ian Lance Taylor [Wed, 25 Jun 1997 16:45:12 +0000 (16:45 +0000)]
Wed Jun 25 12:43:10 1997 H.J. Lu <hjl@gnu.ai.mit.edu>
* elflink.h (elf_merge_symbols): Resolve indirect and warning
symbols before checking for new symbols.
Ian Lance Taylor [Wed, 25 Jun 1997 16:43:48 +0000 (16:43 +0000)]
Wed Jun 25 12:43:10 1997 H.J. Lu <hjl@gnu.ai.mit.edu>
* elfcore.h (elf_corefile_note): Move out of HAVE_SYS_PROCFS_H.
Bob Manson [Wed, 25 Jun 1997 16:29:59 +0000 (16:29 +0000)]
* lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
host doesn't have a currently-open connection.
* config/sparclet.exp: Cleanups and fixes to make it generic for
any gdb stub target. Handle cases where gdb doesn't respond when
interrupted in a sane fashion.
* config/m32r.exp: Load sparclet.exp instead of trying to do the
same thing in a totally different way.
* config/monitor.exp: Pass in timeouts to gdb_expect instead of
setting "timeout".
(gdb_start): We set the global gdb_prompt variable in
default_gdb_init now.
Jeff Law [Tue, 24 Jun 1997 19:45:17 +0000 (19:45 +0000)]
* interp.c (sim_resume): Clear State.exited.
(sim_stop_reason): If State.exited is nonzero, then indicate that
the simulator exited instead of stopped.
* mn10300_sim.h (struct _state): Add exited field.
* simops.c (syscall): Set State.exited for SYS_exit.
Fixes problem found bin Felix.
Ian Lance Taylor [Tue, 24 Jun 1997 15:22:35 +0000 (15:22 +0000)]
* coffgen.c (coff_object_p): Read the f_opthdr bytes from the
file, not aoutsz bytes (they are different in XCOFF .o files).
Ian Lance Taylor [Tue, 24 Jun 1997 14:34:47 +0000 (14:34 +0000)]
comment fix
Ian Lance Taylor [Tue, 24 Jun 1997 02:28:03 +0000 (02:28 +0000)]
* elflink.h (elf_merge_symbol): In the case of a new defined
symbol overriding an old defined symbol, return the hash table
entry which we modify, even if it is the target of an
indirection.
(elf_link_add_object_symbols): If the real name of the symbol gets
overridden, convert the versioned symbol into an indirect symbol
to the real symbol.
Ian Lance Taylor [Mon, 23 Jun 1997 22:06:29 +0000 (22:06 +0000)]
* elflink.h (elf_merge_symbol): New static function, broken out of
elf_link_add_object_symbols.
(elf_link_add_object_symbols): Call it.
Jeff Law [Mon, 23 Jun 1997 17:56:05 +0000 (17:56 +0000)]
Remove CYGNUS LOCAL markers for mn10200.
Ian Lance Taylor [Mon, 23 Jun 1997 00:08:54 +0000 (00:08 +0000)]
Another windres snapshot. Can now read the COFF resources directory,
although it doesn't yet parse out the binary format.