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
Fred Fish
7c0cb2b726
Fix one of my "ninemoons" email addresses that slipped in.
1997-06-22 16:32:18 +00:00
Fred Fish
41438a392a
* gdb.base/printcmds.exp: Fix "check for floating addition"
...
regexp to accept results within approx +/- .01 of exact value.
* lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
1997-06-22 16:17:49 +00:00
Fred Fish
4a9d4495eb
* sh-tdep.c (sh_skip_prologue): Also recognize fmov insns.
...
(sh_frame_find_saved_regs): Recognize fmov insns and adjust
stack push count accordingly.
* sh-tdep.c (IS_FMOV, FPSCR_SZ): New defines
1997-06-21 03:50:11 +00:00
Fred Fish
73bb488673
Sanitize away sh4 stuff for now.
1997-06-21 03:48:48 +00:00
Fred Fish
b25b1c62b0
Minor formatting change (whitespace only).
1997-06-21 03:42:10 +00:00
Brendan Kehoe
c80c4a58df
* configure.in: Don't set ENABLE_MULTILIB, so we'll be passing
...
--enable-multilib down to subdirs; setting TARGET_SUBDIR was enough.
1997-06-19 21:17:20 +00:00
Mark Alexander
9b91bc2295
* utils.c (floatformat_from_doublest): Improve test for infinity.
1997-06-19 15:18:13 +00:00
Bob Manson
283e535d3f
(gdb_expect): Add optional timeout parameter, and add timeout
...
value to various calls.
(gdb_suppress_tests): Only give one warning message per group.
1997-06-19 04:36:04 +00:00
Ian Lance Taylor
ba0e3b78dc
* linker.c (link_action): Change COMMON_ROW/indr to from CREF to
...
REFC.
1997-06-18 23:04:29 +00:00
Ian Lance Taylor
c4badc83ec
revert last patch
1997-06-18 23:02:58 +00:00
Fred Fish
705ebd9239
* dwarfread.c (isreg, optimized_out, offreg, basereg): Move
...
global variables into the struct dieinfo structure.
(locval): Pass pointer to a dieinfo struct rather than a
pointer to the raw location information. Change prototype.
Set isreg, optimized_out, offreg and basereg as appropriate.
(struct_type): Call locval with dieinfo struct pointer.
(new_symbol): Ditto.
(new_symbol): Call locval and save location before testing
the values of the new dieinfo struct flags, set by locval.
1997-06-18 21:38:57 +00:00
Bob Manson
585a4b7b35
* lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
...
properly.
1997-06-18 18:13:19 +00:00
Ian Lance Taylor
c68867051c
* elflink.h (elf_link_add_object_symbols): Don't let a common
...
symbol in a regular object override a common symbol in a shared
object if the latter was found via an indirect symbol.
1997-06-18 15:36:33 +00:00
Bob Manson
66e38fb282
lib/gdb.exp(gdb_expect): Handle getting a value for $timeout
...
more gracefully.
1997-06-18 05:10:11 +00:00
Brendan Kehoe
3c4e3186a4
* configure.in (is_cross_compiler): If we're building
...
mips-sgi-irix6* native, turn on ENABLE_MULTILIB and set TARGET_SUBDIR.
forces it to build libiberty w/ the newly built compiler, solving the
n32 vs o32 problem doing the tests
1997-06-17 22:31:59 +00:00
Ian Lance Taylor
3d116ccd46
* sparc-opc.c: The fcmp v9a instructions take an integer register
...
as a destination, not a floating point register. From Christian
Kuehnke <Christian.Kuehnke@arbi.Informatik.Uni-Oldenburg.DE>.
1997-06-17 21:03:18 +00:00
Peter Schauer
b682323727
* procfs.c (proc_set_exec_trap, procfs_init_inferior, procfs_wait,
...
unconditionally_kill_inferior): Undo Oct 26 1996 and Apr 26 1997
changes to trace PRFS_STOPTERM and handle PR_DEAD.
These changes tried to work around a problem with an early DU 4.0
release, but they trigger subtle timing dependent kernel bugs
in older OSF/1 releases.
1997-06-17 20:33:18 +00:00
Bob Manson
17b59a7407
* lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode
...
as global variables.
1997-06-17 20:11:04 +00:00