Commit Graph

19561 Commits

Author SHA1 Message Date
Ian Lance Taylor
b709b16fdc * config/obj-coff.c (fixup_segment): Never subtract section
address from PC relative reloc which will be fully resolved.
1997-07-02 16:05:55 +00:00
Jeff Law
db3152efa0 * ecoff.c (page_type): Renamed from page_t to avoid conflict
with hpux10 header files.
1997-07-01 21:22:38 +00:00
Bob Manson
2255614907 * config/arm-ice.exp: New file. 1997-07-01 01:33:58 +00:00
Michael Snyder
781a59b28a 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.
1997-07-01 00:57:19 +00:00
Michael Snyder
158bda58c5 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.
1997-06-30 22:32:20 +00:00
Michael Snyder
71e099952d 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.
1997-06-30 20:08:11 +00:00
Ian Lance Taylor
c446cc8bb4 * configure.in, Makefile.in: Treat tix like itcl. 1997-06-30 19:52:58 +00:00
Ian Lance Taylor
01da2d5213 * elf32-m68k.c (howto_table): Use complain_overflow_bitfield, not
complain_overflow_signed, for 32 bit PC relative relocations.
1997-06-30 18:30:55 +00:00
Ian Lance Taylor
b73fcae86e 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.
1997-06-30 16:38:17 +00:00
Ian Lance Taylor
c78b9c2511 finish upgrade to automake 1.2 1997-06-30 16:05:51 +00:00
Jeff Law
d0efa46b2d * mips-opc.c (mips_builtin_opcodes): Add "pinteh", "pexeh" and
"pexew" as synonyms for "pintoh", "pexoh", "pexow".

pr12399.
1997-06-30 15:06:50 +00:00
Bob Manson
a6d380b997 * 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.
1997-06-30 04:24:17 +00:00
Bob Manson
4ea71e9de9 Check in correct file (config/m32r-stub.exp) 1997-06-29 23:26:33 +00:00
Bob Manson
b14f3a01ff * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature. 1997-06-29 04:05:41 +00:00
Ian Lance Taylor
50fb79778f * aclocal.m4, configure, Makefile.in: Rebuild with automake 1.2. 1997-06-29 03:21:56 +00:00
Bob Manson
3128c5978f * gdb.c++/virtfunc.exp: Remove setting of libs variable. 1997-06-28 20:32:31 +00:00
Fred Fish
609fd03384 * 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".
1997-06-28 06:10:06 +00:00
Fred Fish
70742cd831 * 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.
1997-06-28 06:03:43 +00:00
Michael Snyder
08d8f99560 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.
1997-06-28 04:07:56 +00:00
Michael Snyder
0af60e0326 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.
1997-06-28 02:23:30 +00:00
Michael Meissner
d006e43527 Remove brokeness in PowerPC asm 1997-06-27 23:19:15 +00:00
Andrew Cagney
3a8e858f24 Add test for dbt/rtd instructions 1997-06-27 08:33:16 +00:00
Ian Lance Taylor
217947b23d More tweaks. Add windres documentation. 1997-06-26 19:27:42 +00:00
Ian Lance Taylor
a89c9be075 * rcparse.y: Add a couple of missing semicolons (accepted by bison
but not byacc).
1997-06-26 18:21:02 +00:00
Ian Lance Taylor
d29cd97071 * 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.
1997-06-26 18:00:57 +00:00
Ian Lance Taylor
34260fe0d0 * scripttempl/pe.sc: Put .rsrc after .reloc. Put input .rsrc
sections in the output .rsrc section.
1997-06-26 17:54:35 +00:00
Ian Lance Taylor
d5a7bb530d * 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.
1997-06-26 17:53:57 +00:00
Ian Lance Taylor
907672ebb2 * ld-elfvers/vers.exp: Use egrep rather than grep when looking for
an alternation.  From Greg Margo <gmargo@dl.com>.
1997-06-26 16:08:17 +00:00
Ian Lance Taylor
677525e961 * elflink.h (elf_link_add_object_symbols): When a version
indirection symbol is overridden, make the original symbol point
	at the real overriding symbol.
1997-06-26 16:06:03 +00:00
Ian Lance Taylor
20db24950c * elf.c (bfd_elf_string_from_elf_section): Check for an invalid
string index.
1997-06-26 15:40:41 +00:00
Ian Lance Taylor
8211c92986 * 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.
1997-06-26 05:27:56 +00:00
Ian Lance Taylor
662cc41eaf * 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.
1997-06-26 00:59:44 +00:00
Felix Lee
9fd0d551fc * 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.
1997-06-25 22:35:14 +00:00
Felix Lee
e8f6afa32d * configure.in: configure sim before gdb for win32-x-ppc 1997-06-25 22:20:22 +00:00
Brendan Kehoe
10be59aa1e 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.
1997-06-25 19:24:03 +00:00
Ian Lance Taylor
fe80f6384a 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.
1997-06-25 16:49:19 +00:00
Ian Lance Taylor
682b4d3322 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.
1997-06-25 16:47:59 +00:00
Ian Lance Taylor
e9982ee534 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.
1997-06-25 16:45:12 +00:00
Ian Lance Taylor
0ac96a37f6 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.
1997-06-25 16:43:48 +00:00
Bob Manson
5e7be5310d * 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.
1997-06-25 16:29:59 +00:00
Jeff Law
d05b86b7fb * 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.
1997-06-24 19:45:17 +00:00
Ian Lance Taylor
a90f6864be * coffgen.c (coff_object_p): Read the f_opthdr bytes from the
file, not aoutsz bytes (they are different in XCOFF .o files).
1997-06-24 15:22:35 +00:00
Ian Lance Taylor
862eaedc1a comment fix 1997-06-24 14:34:47 +00:00
Ian Lance Taylor
541a4b5425 * 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.
1997-06-24 02:28:03 +00:00
Ian Lance Taylor
044d7d4944 * elflink.h (elf_merge_symbol): New static function, broken out of
elf_link_add_object_symbols.
	(elf_link_add_object_symbols): Call it.
1997-06-23 22:06:29 +00:00
Jeff Law
5b1875c694 Remove CYGNUS LOCAL markers for mn10200. 1997-06-23 17:56:05 +00:00
Ian Lance Taylor
e4486bdf9f Another windres snapshot. Can now read the COFF resources directory,
although it doesn't yet parse out the binary format.
1997-06-23 00:08:54 +00:00
Ian Lance Taylor
3ce6d9410c * coff-i386.c (i3coff_object_p): If COFF_IMAGE_WITH_PE, hack to
handle case where COFF filehdr does not immediately follow PE
	header.
	* coffgen.c (coff_object_p): Remove useless seek to current
	location.
1997-06-22 23:41:55 +00:00
Ian Lance Taylor
1d371d35ee First stab at Windows resource compiler:
* windres.h: New file.
	* windres.c: New file.
	* resrc.c: New file.
	* rcparse.y: New file.
	* rclex.l: New file.
	* configure.in: Define and substitute BUILD_WINDRES.
	* configure: Rebuild.
	* Makefile.in: Rebuild dependencies.
 	(WINDRES_PROG): New variable.
	(PROGS): Add @BUILD_WINDRES@.
	(HFILES): Add dlltool.h and windres.h.
	(CFILES): Add windres.c and resrc.c.
	(GENERATED_CFILES): Add rcparse.c and rclex.c.
	(WINDRES_OBJS): New variable.
	$(WINDRES_PROG): New target.
	(rcparse.c, rcparse.h, rclex.c): New targets.
Snapshot.  windres can parse and print rc files.
1997-06-22 21:35:35 +00:00
Fred Fish
677a92a07d Fix a "ninemoons" email address that slipped in. 1997-06-22 16:40:16 +00:00